@assaabloy/amarr-wc-dc-stock-list 5.0.13 → 5.0.15
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dc-stock-list.js +1 -1
- package/package.json +2 -2
package/dc-stock-list.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(t){function e(e){for(var a,i,c=e[0],d=e[1],l=e[2],u=0,p=[];u<c.length;u++)i=c[u],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&p.push(r[i][0]),r[i]=0;for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(t[a]=d[a]);for(s&&s(e);p.length;)p.shift()();return o.push.apply(o,l||[]),n()}function n(){for(var t,e=0;e<o.length;e++){for(var n=o[e],a=!0,c=1;c<n.length;c++){var d=n[c];0!==r[d]&&(a=!1)}a&&(o.splice(e--,1),t=i(i.s=n[0]))}return t}var a={},r={19:0},o=[];function i(e){if(a[e])return a[e].exports;var n=a[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=a,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)i.d(n,a,function(e){return t[e]}.bind(null,a));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/";var c=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],d=c.push.bind(c);c.push=e,c=c.slice();for(var l=0;l<c.length;l++)e(c[l]);var s=d;o.push([590,0]),n()}({0:function(t,e){t.exports=React},1:function(t,e,n){"use strict";n.d(e,"g",(function(){return r})),n.d(e,"ib",(function(){return o})),n.d(e,"y",(function(){return i})),n.d(e,"i",(function(){return c})),n.d(e,"M",(function(){return d})),n.d(e,"P",(function(){return l})),n.d(e,"w",(function(){return s})),n.d(e,"K",(function(){return u})),n.d(e,"p",(function(){return p})),n.d(e,"s",(function(){return m})),n.d(e,"R",(function(){return f})),n.d(e,"Q",(function(){return b})),n.d(e,"bb",(function(){return h})),n.d(e,"N",(function(){return g})),n.d(e,"v",(function(){return x})),n.d(e,"h",(function(){return v})),n.d(e,"u",(function(){return w})),n.d(e,"A",(function(){return A})),n.d(e,"x",(function(){return U})),n.d(e,"L",(function(){return k})),n.d(e,"t",(function(){return M})),n.d(e,"cb",(function(){return y})),n.d(e,"r",(function(){return C})),n.d(e,"S",(function(){return D})),n.d(e,"O",(function(){return L})),n.d(e,"db",(function(){return P})),n.d(e,"n",(function(){return S})),n.d(e,"k",(function(){return N})),n.d(e,"o",(function(){return j})),n.d(e,"l",(function(){return I})),n.d(e,"m",(function(){return W})),n.d(e,"D",(function(){return z})),n.d(e,"W",(function(){return T})),n.d(e,"z",(function(){return _})),n.d(e,"gb",(function(){return Z})),n.d(e,"hb",(function(){return $})),n.d(e,"fb",(function(){return J})),n.d(e,"b",(function(){return H})),n.d(e,"Z",(function(){return F})),n.d(e,"F",(function(){return R})),n.d(e,"a",(function(){return G})),n.d(e,"jb",(function(){return V})),n.d(e,"d",(function(){return q})),n.d(e,"f",(function(){return Y})),n.d(e,"e",(function(){return B})),n.d(e,"mb",(function(){return K})),n.d(e,"c",(function(){return Q})),n.d(e,"kb",(function(){return X})),n.d(e,"lb",(function(){return tt})),n.d(e,"T",(function(){return et})),n.d(e,"U",(function(){return nt})),n.d(e,"V",(function(){return at})),n.d(e,"X",(function(){return rt})),n.d(e,"Y",(function(){return ot})),n.d(e,"q",(function(){return it})),n.d(e,"ab",(function(){return ct})),n.d(e,"C",(function(){return dt})),n.d(e,"J",(function(){return lt})),n.d(e,"j",(function(){return st})),n.d(e,"E",(function(){return ut})),n.d(e,"H",(function(){return pt})),n.d(e,"I",(function(){return mt})),n.d(e,"G",(function(){return ft})),n.d(e,"B",(function(){return ht})),n.d(e,"eb",(function(){return gt}));var a=n(4),r=function(t){return JSON.parse(decodeURIComponent(escape(atob(t))))},o=function(t){return btoa(unescape(encodeURIComponent(t)))},i=function(t){return o(JSON.stringify(t))},c=function(t){return t.toUpperCase()},d=function(t){return t.replaceAll(" ","-").toLowerCase()},l=new a.a(!1),s=new a.a(!1),u=new a.a(!1),p=new a.a(!1),m=new a.a(""),f=new a.a(!1),b=new a.a(!1),h=new a.a(!1),g=new a.a(!1),x=new a.a(!1),v=new a.a(!1),w=new a.a(""),A=new a.a(!0),U=new a.a(!0),k=new a.a(!0),M=new a.a(!0),y=new a.a(!0),C=new a.a(!0),D=new a.a({}),O=new a.a(!1),E=0,L=new a.a(!1),P=new a.a(""),S=new a.a(""),N=new a.a(""),j=new a.a(""),I=new a.a(""),W=new a.a(""),z=new a.a(""),T=new a.a(""),_=new a.a(!1),Z=new a.a(!1),$=new a.a(!1),J=(new a.a(!1),new a.a(!1),new a.a({flag:!1}),new a.a([])),H=function(){setTimeout((function(){E++,O.next(!0)}),0)},F=function(){setTimeout((function(){E>0&&E--,0==E&&O.next(!1)}),0)},R=function(){return O.asObservable()},G=function(t){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t)},V=function(t){var e=0;return!!/(?=.{8,})/.test(t)&&(/([a-z])/.test(t)&&e++,/([A-Z])/.test(t)&&e++,/(\d)/.test(t)&&e++,/([!@#$%^&*])/.test(t)&&e++,!(e<3))},q=function(t){return t.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},Y=function(t){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(t)},B=function(t){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(t)},K=function(t){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(t)},Q=function(t){return/^[0-9]*$/.test(t)},X=function(t){return new RegExp("^[0-9]+[.][0-9]{0,2}$").test(t)},tt=function(t){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(t)},et=function(t){if(t&&""!==t&&-1===t.indexOf("(")&&-1===t.indexOf(") ")&&-1===t.indexOf("-")){return"("+t.substring(0,3)+") "+t.substring(3,6)+"-"+t.substring(6,t.length)}return t},nt=function(t){var e=(""+t).replace(/\D/g,"");if(e.length>10){var n=(e=e.slice(0,10)).match(/^(\d{3})(\d{3})(\d{4})$/);if(n)return"("+n[1]+") "+n[2]+"-"+n[3]}var a="";return e.split("").forEach((function(t,e){a+=0==e?"("+t:2==e?t+") ":5==e?t+"-":t})),a},at=function(t){var e=t.target.value;return 1==e.length?"("+e:5==e.length?e.slice(0,e.length-1)+") "+e[e.length-1]:10==e.length&&"-"!==e[e.length-1]?e.slice(0,e.length-1)+"-"+e[e.length-1]:10==e.length&&"-"===e[e.length-1]?e.substring(0,e.length-1):6==e.length?e.substring(0,e.length-2):e},rt=function(t){return t&&(t=Number(t).toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==t&&"0"!==t||(t=t.toFixed(2)),t},ot=function(t,e){return t=t?Number(t):0,(0===(e=e?Number(e):0)||"0"===e?0:(t-e)/e*100).toFixed(2)},it=function(t){var e={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:t.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:t.selectedHeight,glass:t.selectedGlass,collection:t.selectedCollection,print:!0,baseUrl:"",gplacement:t.selectedWindowPlacement,width:t.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return t.selectedColor&&(e.color=t.selectedColor),t.colorHex&&(e.colorHex=t.colorHex),t.colorZone&&(e.colorZone=t.colorZone),t.selectedConstruction&&(e.model=t.selectedConstruction),t.selectedWindowDesign&&(e.top=t.selectedWindowDesign),t.glazepattern&&(e.glazepattern=t.glazepattern),t.selectedHardware&&(e.hardware=t.selectedHardware),e},ct=function(t,e,n){var a="",r=t.split(e);return r.forEach((function(t,e){"undefined"!==t&&t&&(a+=t,e!==r.length-1&&(a+=n))})),a},dt=function(t){return t.length>0?t.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"").replace(/ /g,""):t};function lt(t,e){var n=e||"html",a=t;return n||(n="html"),"html"==n&&(a=function(t){var e,n,a,i,c,s=t,u="";e=r(s,"<!--","-->",d,"W3HTMLCOMMENTPOS"),s=e.rest;for(;s.indexOf("<")>-1;)i="",n=s.indexOf("<"),"<STYLE"==s.substr(n,9).toUpperCase()&&(i="css"),"<SCRIPT"==s.substr(n,10).toUpperCase()&&(i="javascript"),-1==(a=s.indexOf(">",n))&&(a=s.length),u+=s.substring(0,n),u+=o(s.substring(n,a+4)),s=s.substr(a+4),"css"==i&&(a=s.indexOf("</style>"))>-1&&(u+=l(s.substring(0,a)),s=s.substr(a)),"javascript"==i&&(a=s.indexOf("</script>"))>-1&&(u+=m(s.substring(0,a)),s=s.substr(a));for(s=u+s,c=0;c<e.arr.length;c++)s=s.replace("W3HTMLCOMMENTPOS",e.arr[c]);return s}(a)),"css"==n&&(a=l(a)),"js"==n&&(a=m(a)),a;function r(t,e,n,a,r){for(var o,i,c="",d=[];t.search(e)>-1;)o=t.search(e),-1==(i=t.indexOf(n,o))&&(i=t.length),r?(d.push(a(t.substring(o,i+n.length))),t=t.substring(0,o)+r+t.substr(i+n.length)):(c+=t.substring(0,o),c+=a(t.substring(o,i+n.length)),t=t.substr(i+n.length));return{rest:c+t,arr:d}}function o(t){for(var e,n,a,r=t,o="";r.search(/(\s|<br>)/)>-1;)e=r.search(/(\s|<br>)/),-1==(n=r.indexOf(">"))&&(n=r.length),o+=r.substring(0,e),o+=i(r.substring(e,n)),r=r.substr(n);return">"==(a="<span style=color:grey><</span>"+(a=o+r).substring(4)).substr(a.length-4,4)&&(a=a.substring(0,a.length-4)+"<span style=color:grey>></span>"),"<span style=color:#a10d5f>"+a+"</span>"}function i(t){for(var e,n,a,r,o,i=t,d="";i.indexOf("=")>-1;)n=-1,e=i.indexOf("="),a=i.indexOf("'",e),r=i.indexOf('"',e),(o=i.indexOf(" ",e+2))>-1&&(o<a||-1==a)&&(o<r||-1==r)?n=i.indexOf(" ",e):r>-1&&(r<a||-1==a)&&(r<o||-1==o)?n=i.indexOf('"',i.indexOf('"',e)+1):a>-1&&(a<r||-1==r)&&(a<o||-1==o)&&(n=i.indexOf("'",i.indexOf("'",e)+1)),(!n||-1==n||n<e)&&(n=i.length),d+=i.substring(0,e),d+=c(i.substring(e,n+1)),i=i.substr(n+1);return"<span style=color:green>"+d+i+"</span>"}function c(t){return"<span style=color:#1c8a9c>"+t+"</span>"}function d(t){return"<span style=color:green>"+t+"</span>"}function l(t){var e,n,a,o,i,c,l,u=t,p="";for(u=(a=r(u,/\/\*/,"*/",d,"W3CSSCOMMENTPOS")).rest;u.search("{")>-1;){for(e=u.search("{"),i=u.substr(e+1),l=1,c=0,o=0;o<i.length&&("{"==i.substr(o,1)&&(l++,c++),"}"==i.substr(o,1)&&l--,0!=l);o++);for(0!=l&&(c=0),n=e,o=0;o<=c;o++)n=u.indexOf("}",n+1);-1==n&&(n=u.length),p+=u.substring(0,e+1),p+=s(u.substring(e+1,n)),u=u.substr(n)}for(u=(u=(u=p+u).replace(/{/g,"<span style=color:grey>{</span>")).replace(/}/g,"<span style=color:grey>}</span>"),o=0;o<a.arr.length;o++)u=u.replace("W3CSSCOMMENTPOS",a.arr[o]);return"<span style=color:green>"+u+"</span>"}function s(t){var e,n,a,r,o=t,i="";if(o.indexOf("{")>-1)return l(o);for(;o.search(":")>-1;){for(r=!0,a=e=o.search(":");1==r;)r=!1,n=o.indexOf(";",a)," "==o.substring(n-5,n+1)&&(r=!0,a=n+1);-1==n&&(n=o.length),i+=o.substring(0,e),i+=u(o.substring(e,n+1)),o=o.substr(n+1)}return"<span style=color:#a10d5f>"+i+o+"</span>"}function u(t){var e,n=t,a="";for(n="<span style=color:grey>:</span>"+n.substring(1);n.search(/!important/i)>-1;)e=n.search(/!important/i),a+=n.substring(0,e),a+=p(n.substring(e,e+10)),n=n.substr(e+10);var r=a+n;return";"==r.substr(r.length-1,1)&&" "!=r.substr(r.length-6,6)&&"<"!=r.substr(r.length-4,4)&&">"!=r.substr(r.length-4,4)&&"&"!=r.substr(r.length-5,5)&&(r=r.substring(0,r.length-1)+"<span style=color:grey>;</span>"),"<span style=color:black>"+r+"</span>"}function p(t){return"<span style=color:red;font-weight:bold;>"+t+"</span>"}function m(t){var e,n,a,r,o,i,c,l,s,u,p=t,m="",k=[],M="";for(e=0;e<p.length;e++)"\\"==(n=p.substr(e,1))&&(k.push(p.substr(e,2)),n="W3JSESCAPE",e++),M+=n;for(p=M,1;a=A(p,"'","'",f),r=A(p,'"','"',f),o=A(p,/\/\*/,"*/",d),i=A(p,/\/\//,"<br>",d),l=U(p,h),c=w("js",p,b),u=x(p,g),-1!=Math.max(l[0],a[0],r[0],o[0],i[0],c[0],u[0])&&-1!=(s=v(l,a,r,o,i,c,u))[0];)s[0]>-1&&(m+=p.substring(0,s[0]),m+=s[2](p.substring(s[0],s[1])),p=p.substr(s[1]));for(p=m+p,e=0;e<k.length;e++)p=p.replace("W3JSESCAPE",k[e]);return"<span style=color:black>"+p+"</span>"}function f(t){return"<span style=color:brown>"+t+"</span>"}function b(t){return"<span style=color:mediumblue>"+t+"</span>"}function h(t){return"<span style=color:red>"+t+"</span>"}function g(t){return"<span style=color:black>"+t+"</span>"}function x(t,e){var n,a,r,o,i=[".","<"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%"];if((o=t.indexOf("."))>-1)for(n=t.substr(o+1),r=0;r<n.length;r++){var c=n[r];for(a=0;a<i.length;a++)if(c.indexOf(i[a])>-1)return[o+1,r+o+1,e]}return[-1,-1,e]}function v(t,e,n,a,r,o,i){var c,d=[];for(c=0;c<arguments.length;c++)arguments[c][0]>-1&&(0==d.length||arguments[c][0]<d[0])&&(d=arguments[c]);return 0==d.length&&(d=arguments[c]),d}function w(t,e,n){var a,r,o,i,c=-1,d=-1;for("js"==t&&(i=["abstract","arguments","boolean","break","byte","case","catch","char","class","const","continue","debugger","default","delete","do","double","else","enum","eval","export","extends","false","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","let","long","NaN","native","new","null","package","private","protected","public","return","short","static","super","switch","synchronized","this","throw","throws","transient","true","try","typeof","var","void","volatile","while","with","yield"]),a=0;a<i.length;a++)(r=e.indexOf(i[a]))>-1&&(o=/\W/g,e.substr(r+i[a].length,1).match(o)&&e.substr(r-1,1).match(o)&&r>-1&&(-1==c||r<c)&&(d=(c=r)+i[a].length));return[c,d,n]}function A(t,e,n,a){var r,o;return r=t.search(e),-1==(o=t.indexOf(n,r+n.length))&&(o=t.length),[r,o+n.length,a]}function U(t,e){var n,a,r,o,i,c=["<br>"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%","="],d=0;for(n=0;n<t.length;n++)for(a=0;a<c.length;a++)if((r=t.substr(n,c[a].length))==c[a]){if("-"==r&&("e"==t.substr(n-1,1)||"E"==t.substr(n-1,1)))continue;if(d<(o=n)&&(i=t.substring(d,o),!isNaN(i)))return[d,o,e];d=n+=c[a].length,n-=1;break}return[-1,-1,e]}}var st=function(t){return t?t.charAt(0).toUpperCase()+t.slice(1):""},ut=function(){return getComputedStyle(document.body).getPropertyValue("--asset-path").trim()},pt=function(){return getComputedStyle(document.body).getPropertyValue("--accent").trim()},mt=function(t){if("string"===typeof t){var e=t;return e=(e=e.replace(/\\/g,"\\\\")).replace(/"/g,'\\"')}return t},ft=function(t){return Math.floor(Math.random()*t)+1},bt=["January","February","March","April","May","June","July","August","September","October","November","December"],ht=function(t){var e=new Date(t);if("Invalid Date"==e.toString())return t;var n=e.getFullYear(),a=e.getMonth(),r=(e.getDate()+"").padStart(2,"0");return"".concat(bt[a].slice(0,3)," ").concat(r,", ").concat(n)},gt=function(t){var e,n=[],a=t.arguments.split(",");(a.forEach((function(t){t=t.indexOf(":")>-1?JSON.parse(t):t.replaceAll('"',"").trim(),n.push(t)})),console.log("list",n,a,t),window.gtag&&"function"===typeof window.gtag)&&(window.location.pathname==t.path&&(e=window).gtag.apply(e,n))}},10:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var a=n(0),r=n.n(a),o=n(5).default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1pdbosk-0"})(["box-sizing:border-box;width:100%;margin:0 auto;padding:",";max-width:",";"],(function(t){return t.padding?"0 var(--grid-margin);":0}),(function(t){t.maxWidth;return"calc(var(--container-max-width)px + var(--grid-margin) + var(--grid-margin));"})),i=function(t){var e=t.className,n=t.children,a=t.maxWidth,i=void 0===a?1520:a,c=t.padding,d=void 0===c||c;return r.a.createElement(o,{className:e,maxWidth:i,padding:d},n)};e.b=i},150:function(t,e,n){"use strict";var a=n(3),r=n(0),o=n.n(r),i=n(1),c=n(6),d=n(13),l=n.n(d),s={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},u=n(12),p=n(5),m=n(2);function f(){var t=Object(u.a)(["\n select {\n appearance: none;\n }\n\n .flex-span {\n position: relative;\n }\n .select-dropdown {\n &-icon {\n width: 16px;\n height: 16px;\n position: absolute;\n right: 12px;\n top: 34%;\n transform: rotate(87deg);\n pointer-events: none;\n }\n }\n .button-container {\n gap: 20px;\n row-gap: 10px;\n }\n @media "," {\n .button-container {\n flex-direction: column;\n\n > div {\n &:not(:last-child) {\n margin-bottom: 10px !important;\n }\n }\n }\n }\n "]);return f=function(){return t},t}var b=p.default.div.withConfig({displayName:"styles__Content",componentId:"sc-121ckq3-0"})(["",""],(function(t){var e;(null===(e=t.gradients)||void 0===e?void 0:e.visible)?t.theme.gradient:t.theme;return Object(p.css)(f(),m.b.mobileMax)})),h=n(8),g=n(9),x=n(10),v={name:{text:""},doorCenterLocationNoDataMessage:"",selectAnotherDoorLabel:{text:""},doorCenterLabel:{text:""},selectLabel:{text:""},dcStockListCta:{label:""},clearanceListCta:{label:""},doorCenter:{}},w=function(t){var e=l()({},v,Object(i.g)(t.content)),n=Object(r.useState)([]),d=Object(a.a)(n,2),u=d[0],p=d[1],m=Object(r.useState)(""),f=Object(a.a)(m,2),w=f[0],A=f[1],U=Object(r.useState)(!1),k=Object(a.a)(U,2),M=(k[0],k[1]),y=Object(r.useState)({doorCenterLocationId:"",doorCenterLocationName:""}),C=Object(a.a)(y,2),D=C[0],O=C[1],E=Object(r.useState)(!1),L=Object(a.a)(E,2),P=L[0],S=L[1],N=Object(r.useState)(!1),j=Object(a.a)(N,2),I=j[0],W=j[1],z=Object(r.useState)(!1),T=Object(a.a)(z,2),_=T[0],Z=T[1],$=Object(r.useState)(!1),J=Object(a.a)($,2),H=J[0],F=J[1];Object(r.useEffect)((function(){Object(i.F)().subscribe((function(t){M(t)}));var t=function(t){var e=[];for(var n in t)e.push([n,t[n]]);e.sort((function(t,e){var n=t[1].name.toUpperCase(),a=e[1].name.toUpperCase();return n<a?-1:n>a?1:0}));var a=[];return e.forEach((function(t,e){a[e]=t[0]})),a}(e.doorCenter);if(p(t),localStorage.getItem("dealer")){var n,a,r=localStorage.getItem("dealer"),o=JSON.parse(r);o.doorCenterLocationId<=9&&(o.doorCenterLocationId=parseInt(o.doorCenterLocationId).toLocaleString("en-US",{minimumIntegerDigits:2,useGrouping:!1})),O({doorCenterLocationId:o.doorCenterLocationId,doorCenterLocationName:o.doorCenterLocationName}),(null===e||void 0===e||null===(n=e.doorCenter[o.doorCenterLocationId])||void 0===n?void 0:n.docStockPath)?S(!0):S(!1),(null===e||void 0===e||null===(a=e.doorCenter[o.doorCenterLocationId])||void 0===a?void 0:a.clearancePath)?W(!0):W(!1)}}),[]);return o.a.createElement(h.a,{setter:{componentThemes:s,selectedTheme:t.theme}},o.a.createElement(g.a,null,o.a.createElement(x.a,null,o.a.createElement(b,{isReversed:!1},u&&(null===u||void 0===u?void 0:u.length)>0&&o.a.createElement("div",{className:"container"},o.a.createElement("div",{className:"row justify-content-center"},o.a.createElement("div",{className:"col-lg-6"},o.a.createElement("div",{className:"row"},o.a.createElement("div",{className:"col-12"},o.a.createElement("p",{className:"".concat((!D.doorCenterLocationName||""===D.doorCenterLocationName)&&"font-italic"," body-text1")},e.name.text," ",D.doorCenterLocationName&&""!==D.doorCenterLocationName?D.doorCenterLocationName:e.doorCenterLocationNoDataMessage),o.a.createElement("div",{className:"d-flex mt-3 ".concat(P&&I&&"button-container")},o.a.createElement("div",null,P&&o.a.createElement(c.a,{label:Object(i.i)(e.dcStockListCta.label),onClick:function(){var t;if(null===e||void 0===e||null===(t=e.doorCenter[D.doorCenterLocationId])||void 0===t?void 0:t.docStockPath){var n,a=document.createElement("a");a.href=null===e||void 0===e||null===(n=e.doorCenter[D.doorCenterLocationId])||void 0===n?void 0:n.docStockPath,a.download="DC Stocklist.pdf",a.id="dc-stocklist",a.click(),a.remove()}},id:e.dcStockListCta.label})),o.a.createElement("div",null,I&&o.a.createElement(c.a,{label:Object(i.i)(e.clearanceListCta.label),onClick:function(){var t;if(null===e||void 0===e||null===(t=e.doorCenter[D.doorCenterLocationId])||void 0===t?void 0:t.clearancePath){var n,a=document.createElement("a");a.href=null===e||void 0===e||null===(n=e.doorCenter[D.doorCenterLocationId])||void 0===n?void 0:n.clearancePath,a.download="Clearancelist.pdf",a.id="clearancelistdefault",a.click(),a.remove()}},id:e.dcStockListCta.label}))))),o.a.createElement("div",{className:"row mt-4"},o.a.createElement("div",{className:"col-12"},o.a.createElement("p",{className:"body-text1"},e.selectAnotherDoorLabel.text),o.a.createElement("div",null,o.a.createElement("label",{htmlFor:"dataCenter-id"},e.doorCenterLabel.text),o.a.createElement("span",{className:"flex-span"},o.a.createElement("img",{loading:"lazy",className:"select-dropdown-icon",alt:"dropdown icon",src:Object(i.E)().concat("ic-arrow-right-dark.svg")}),o.a.createElement("select",{id:"dataCenter-id",name:"dataCenter",onChange:function(t){var n,a;A(t.target.value),(null===e||void 0===e||null===(n=e.doorCenter[t.target.value])||void 0===n?void 0:n.docStockPath)?Z(!0):Z(!1),(null===e||void 0===e||null===(a=e.doorCenter[t.target.value])||void 0===a?void 0:a.clearancePath)?F(!0):F(!1)}},o.a.createElement("option",{value:""},null===e||void 0===e?void 0:e.selectLabel.text),u&&u.length>0&&u.map((function(t,n){return o.a.createElement("option",{key:n,value:t},e.doorCenter[t].name)}))))),o.a.createElement("div",{className:"d-flex my-3 ".concat(_&&H&&"button-container"," mb-5 pb-md-4 pb-2")},o.a.createElement("div",null,_&&o.a.createElement(c.a,{label:Object(i.i)(e.dcStockListCta.label),onClick:function(){var t;if(null===e||void 0===e||null===(t=e.doorCenter[w])||void 0===t?void 0:t.docStockPath){var n,a=document.createElement("a");a.href=null===e||void 0===e||null===(n=e.doorCenter[w])||void 0===n?void 0:n.docStockPath,a.download="DC Stocklist.pdf",a.click(),a.remove()}},id:e.dcStockListCta.label})),o.a.createElement("div",null,H&&o.a.createElement(c.a,{label:Object(i.i)(e.clearanceListCta.label),onClick:function(){var t;if(null===e||void 0===e||null===(t=e.doorCenter[w])||void 0===t?void 0:t.clearancePath){var n,a=document.createElement("a");a.href=null===e||void 0===e||null===(n=e.doorCenter[w])||void 0===n?void 0:n.clearancePath,a.id="clearancelist",a.download="Clearancelist.pdf",a.click(),a.remove()}},id:e.clearanceListCta.label}))))))))))))};w.defaultProps={theme:"",content:""};e.a=w},2:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return r}));var a={mobileAndUpMin:128,mobileAndUp:320,smallMobileAndUp:375,largeMobileAndUp:426,tabletPortraitUp:606,largeMobileAndUp2:576,tabletPortraitAndUp:768,tabletPortraitAndUp2:835,tabletLandscapeAndUp:992,desktopAndUp:1024,smallDesktopAndUp1:1100,smallDesktopAndUp:1200,smallDesktopAndUp2:1280,smallDesktopAndUp3:1300,smallDesktopAndUp4:1150,mediumDesktopAndUp:1400,mediumDesktopAndUp2:1600,mediumDesktopAndUp3:1680,mediumDesktopAndUp4:1440,mediumDesktopAndUp5:1520,largeDesktop:1800,maxWidthAndUp:1900,wrapperMaxWidth:1920,extraLarge:2560},r={mobileAndUpMin:"(min-width: ".concat(a.mobileAndUpMin,"px)"),mobileAndUp:"(min-width: ".concat(a.mobileAndUp,"px)"),mobile1AndUp:"(max-width: ".concat(a.mobileAndUp-20,"px)"),mobileMax:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),smallMobileAndUp:"(min-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileMax:"(max-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileAndUpMax:"(max-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMin:"(min-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMax2:"(max-width: ".concat(a.smallMobileAndUp+5,"px)"),largeMobileAndUp:"(min-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax:"(max-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax2:"(max-width: ".concat(a.largeMobileAndUp-2,"px)"),largeMobileAndUpMax3:"(max-width: ".concat(a.largeMobileAndUp-1,"px)"),largeMobileAndUpMin:"(min-width: ".concat(a.largeMobileAndUp-1,"px)"),largeMobileAndUp2:"(min-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max:"(max-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max2:"(max-width: ".concat(a.tabletPortraitUp+34,"px)"),largeMobileMin:"(min-width: ".concat(a.tabletPortraitAndUp+1,"px)"),tabletPortraitUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitUp2:"(min-width: ".concat(a.tabletPortraitAndUp+16,"px)"),tabletPortraitUpMax1:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),tabletPortraitAndUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax:"(max-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax2:"(max-width: ".concat(a.tabletPortraitAndUp+4,"px)"),tabletPortraitAndUpMax3:"(max-width: ".concat(a.tabletPortraitAndUp-12,"px)"),tabletPortraitAndUp2:"(min-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max:"(max-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max2:"(max-width: ".concat(a.tabletPortraitAndUp2-1,"px)"),tabletPortraitMax:"(max-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMin:"(min-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMax2:"(max-width: ".concat(a.tabletLandscapeAndUp-2,"px)"),tabletLandscapeAndUp:"(min-width: ".concat(a.tabletLandscapeAndUp,"px)"),tabletLandscapeAndUpMax:"(max-width: ".concat(a.tabletLandscapeAndUp,"px)"),desktopAndUp:"(min-width: ".concat(a.desktopAndUp,"px)"),desktopAndUpMax:"(max-width: ".concat(a.desktopAndUp,"px)"),desktopMin:"(min-width: ".concat(a.desktopAndUp+1,"px)"),desktopMax2:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop2Max:"(max-width: ".concat(a.desktopAndUp-1,"px)"),desktopMin2:"(min-width: ".concat(a.desktopAndUp+2,"px)"),desktopMin1:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop1Min:"(min-width: ".concat(a.desktopMin1+1,"px)"),desktop2Min:"(min-width: ".concat(a.desktopAndUp-1,"px)"),desktopMax:"(max-width: ".concat(a.smallDesktopAndUp-1,"px)"),smallDesktopAndUp1:"(min-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp1Max:"(max-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp:"(min-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktopAndUpMax:"(max-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktop2Min:"(min-width: ".concat(a.smallDesktopAndUp+1,"px)"),smallDesktopAndUp2:"(min-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp2Max:"(max-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp3:"(min-width: ".concat(a.smallDesktopAndUp3,"px)"),smallDesktopAndUp4:"(max-width: ".concat(a.smallDesktopAndUp4,"px)"),smallDesktopAndUp3Max:"(max-width: ".concat(a.smallDesktopAndUp3,"px)"),mediumDesktopMin:"(min-width: ".concat(a.smallDesktopAndUp2+1,"px)"),mediumDesktopMin2:"(min-width: ".concat(a.mediumDesktopAndUp+1,"px)"),mediumDesktopAndUp:"(min-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUpMax:"(max-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUp2:"(min-width: ".concat(a.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp2Max:"(max-width: ".concat(a.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp3:"(min-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp3Max:"(max-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp4:"(min-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp4Min:"(min-width: ".concat(a.mediumDesktopAndUp4+1,"px)"),mediumDesktopAndUp4Max:"(max-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp5:"(min-width: ".concat(a.mediumDesktopAndUp5,"px)"),mediumDesktopAndUp5Max:"(max-width: ".concat(a.mediumDesktopAndUp5-1,"px)"),largeDesktopMax:"(min-width: ".concat(a.mediumDesktopAndUp3-1,"px)"),largeDesktopMax2:"(max-width: ".concat(a.mediumDesktopAndUp3-1,"px)"),largeDesktopMin:"(min-width: ".concat(a.mediumDesktopAndUp3+1,"px)"),largeDesktop:"(min-width: ".concat(a.largeDesktop,"px)"),maxWidthAndUp:"(min-width: ".concat(a.maxWidthAndUp,"px)"),maxWidthAndUpMax:"(max-width: ".concat(a.maxWidthAndUp,"px)"),wrapperMaxWidth:"(min-width: ".concat(a.wrapperMaxWidth,"px)"),wrapperMaxWidthMax:"(max-width: ".concat(a.wrapperMaxWidth-1,"px)"),wrapperMaxWidth2:"(min-width: ".concat(a.wrapperMaxWidth+1,"px)"),largeMobile460:"(max-width: ".concat(a.largeMobileAndUp-6,"px)"),minWidth1901:"(min-width: ".concat(a.maxWidthAndUp+1,"px)"),extraLargeMax:"(max-width: ".concat(a.extraLarge,"px)"),extraLargeMin:"(min-width: ".concat(a.extraLarge,"px)")}},32:function(t,e){t.exports=ReactDOM},473:function(t,e,n){"use strict";n.r(e);var a=n(22),r=n(150);e.default=a.a.create({component:r.a,configuration:{tagname:"amarr-dc-stock-list",useShadow:!1},plugins:[]})},6:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var a=n(31),r=n(0),o=n.n(r),i=n(5),c=n(2),d=i.default.div.withConfig({displayName:"styles__View",componentId:"sc-1jt3i0i-0"})([""]),l=i.default.button.withConfig({displayName:"styles__Button",componentId:"sc-1jt3i0i-1"})(["font-size:var(--font-size-s1);font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);font-stretch:var(--font-normal);font-style:var(--font-normal);line-height:1.5;letter-spacing:var(--font-normal);text-align:var(--text-center);color:var(--bg-main);padding:12px 19px 12px 20px;border-radius:var(--border-radius);background-color:var(--accent);box-shadow:none;border:none;transition:all ease 300ms;&:hover{transform:scale(1.1);background-color:var(--accent-hover);color:var(--bg-main);}&:focus{transform:scale(1);box-shadow:none !important;background-color:var(--accent-focus);}&:active{background-color:var(--accent-active) !important;box-shadow:none !important;transform:scale(1);border:none !important;}&.btn-inverse{color:var(--text-color);background:var(--accent-inverse);&:hover{background:var(--accent-inverse-hover);}&:focus{background:var(--accent-inverse-focus);border:none;transform:scale(1);box-shadow:none !important;}&:active{background-color:var(--accent-inverse-active) !important;border:none !important;transform:scale(1.1);box-shadow:none !important;}}@media ","{font-size:var(--font-size-m1);}.button-icon{vertical-align:top;padding-right:8px;}"],c.b.smallDesktop2Min),s=n(30),u=n(29),p=function(t){var e=t.label,n=void 0===e?"label":e,r=t.classStyle,i=void 0===r?"default":r,c=t.link,p=void 0!==c&&c,m=t.disabled,f=void 0!==m&&m,b=t.datatoggle,h=void 0===b?"":b,g=t.datatarget,x=void 0===g?"":g,v=t.linkHref,w=t.target,A=void 0===w?"_self":w,U=t.downloadLink,k=void 0!==U&&U,M=t.inverse,y=void 0!==M&&M,C=t.icon,D=void 0===C?"":C,O=t.iconAlt,E=void 0===O?"":O,L=t.dataItemName,P=void 0===L?"":L,S=t.id,N=void 0===S?"":S,j=t.type,I=void 0===j?"button":j,W=t.showDisabledMessage,z=void 0===W?"":W,T=t.ariaLabel,_=void 0===T?"":T,Z=t.tabIndex,$=void 0===Z?-1:Z,J=Object(a.a)(t,["label","classStyle","link","disabled","datatoggle","datatarget","linkHref","target","downloadLink","inverse","icon","iconAlt","dataItemName","id","type","showDisabledMessage","ariaLabel","tabIndex"]);return o.a.createElement(d,null,o.a.createElement("div",{className:"".concat(f&&z&&"disabled-button-parent")},p?o.a.createElement("a",{href:v,download:k,target:A,"data-item-name":P,id:N,"aria-label":_},o.a.createElement(l,Object.assign({disabled:f,classStyle:"".concat(i)},J,{type:I,className:y?"btn-inverse btn btn-success":"btn btn-success",tabIndex:$}),""!=D?o.a.createElement("div",{"data-toggle":h,"data-target":x},o.a.createElement("img",{loading:"lazy",className:"button-icon",src:D,alt:E}),o.a.createElement("span",null,n)):o.a.createElement("span",null,n))):o.a.createElement(l,Object.assign({disabled:f,classStyle:i,className:y?"btn-inverse btn btn-success":"btn btn-success",id:N,"data-item-name":P,type:I,"data-toggle":h,"data-target":x},J),o.a.createElement("span",null,n)),f&&z&&o.a.createElement(s.a,{placement:"top",delay:{show:250,hide:250},overlay:o.a.createElement(u.a,{id:"button-tooltip"},o.a.createElement("div",{className:"p-1 amarr-h6"},z))},o.a.createElement("div",{className:"disabled-button-overlay"}))))}},8:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var a=n(5),r=n(0),o=n.n(r),i=function(t){var e=t.setter,n=e.componentThemes,r=e.selectedTheme;return o.a.createElement(a.ThemeProvider,{theme:function(){if(!r)return n.theme1;var t=r.match(/\d+/g).map(Number),e=Object.keys(n).find((function(e){return!(!Array.isArray(t)||1!==t.length)&&(e.includes(t[0])&&n[e])}));return e?n["".concat(e)]:n.theme1}},t.children)};e.b=i},9:function(t,e,n){"use strict";var a=n(0),r=n.n(a),o=n(5),i=n(23),c=Object(a.createContext)({});e.a=function(t){var e=!1;try{var n;e=(null===(n=document)||void 0===n?void 0:n.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(d){console.log(d)}var a=e?[i.a]:[];return r.a.createElement(o.StyleSheetManager,{stylisPlugins:a},r.a.createElement(c.Provider,{value:{rtl:e}},t.children))}}});
|
|
1
|
+
!function(t){function e(e){for(var a,i,c=e[0],d=e[1],l=e[2],u=0,p=[];u<c.length;u++)i=c[u],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&p.push(r[i][0]),r[i]=0;for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(t[a]=d[a]);for(s&&s(e);p.length;)p.shift()();return o.push.apply(o,l||[]),n()}function n(){for(var t,e=0;e<o.length;e++){for(var n=o[e],a=!0,c=1;c<n.length;c++){var d=n[c];0!==r[d]&&(a=!1)}a&&(o.splice(e--,1),t=i(i.s=n[0]))}return t}var a={},r={19:0},o=[];function i(e){if(a[e])return a[e].exports;var n=a[e]={i:e,l:!1,exports:{}};return t[e].call(n.exports,n,n.exports,i),n.l=!0,n.exports}i.m=t,i.c=a,i.d=function(t,e,n){i.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},i.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},i.t=function(t,e){if(1&e&&(t=i(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)i.d(n,a,function(e){return t[e]}.bind(null,a));return n},i.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return i.d(e,"a",e),e},i.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},i.p="/";var c=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],d=c.push.bind(c);c.push=e,c=c.slice();for(var l=0;l<c.length;l++)e(c[l]);var s=d;o.push([595,0]),n()}({1:function(t,e,n){"use strict";n.d(e,"g",(function(){return r})),n.d(e,"ib",(function(){return o})),n.d(e,"y",(function(){return i})),n.d(e,"i",(function(){return c})),n.d(e,"M",(function(){return d})),n.d(e,"P",(function(){return l})),n.d(e,"w",(function(){return s})),n.d(e,"K",(function(){return u})),n.d(e,"p",(function(){return p})),n.d(e,"s",(function(){return m})),n.d(e,"R",(function(){return f})),n.d(e,"Q",(function(){return b})),n.d(e,"bb",(function(){return h})),n.d(e,"N",(function(){return g})),n.d(e,"v",(function(){return x})),n.d(e,"h",(function(){return v})),n.d(e,"u",(function(){return w})),n.d(e,"A",(function(){return A})),n.d(e,"x",(function(){return U})),n.d(e,"L",(function(){return k})),n.d(e,"t",(function(){return M})),n.d(e,"cb",(function(){return y})),n.d(e,"r",(function(){return C})),n.d(e,"S",(function(){return D})),n.d(e,"O",(function(){return L})),n.d(e,"db",(function(){return P})),n.d(e,"n",(function(){return S})),n.d(e,"k",(function(){return N})),n.d(e,"o",(function(){return j})),n.d(e,"l",(function(){return I})),n.d(e,"m",(function(){return W})),n.d(e,"D",(function(){return z})),n.d(e,"W",(function(){return T})),n.d(e,"z",(function(){return _})),n.d(e,"gb",(function(){return Z})),n.d(e,"hb",(function(){return $})),n.d(e,"fb",(function(){return J})),n.d(e,"b",(function(){return H})),n.d(e,"Z",(function(){return F})),n.d(e,"F",(function(){return R})),n.d(e,"a",(function(){return G})),n.d(e,"jb",(function(){return V})),n.d(e,"d",(function(){return q})),n.d(e,"f",(function(){return Y})),n.d(e,"e",(function(){return B})),n.d(e,"mb",(function(){return K})),n.d(e,"c",(function(){return Q})),n.d(e,"kb",(function(){return X})),n.d(e,"lb",(function(){return tt})),n.d(e,"T",(function(){return et})),n.d(e,"U",(function(){return nt})),n.d(e,"V",(function(){return at})),n.d(e,"X",(function(){return rt})),n.d(e,"Y",(function(){return ot})),n.d(e,"q",(function(){return it})),n.d(e,"ab",(function(){return ct})),n.d(e,"C",(function(){return dt})),n.d(e,"J",(function(){return lt})),n.d(e,"j",(function(){return st})),n.d(e,"E",(function(){return ut})),n.d(e,"H",(function(){return pt})),n.d(e,"I",(function(){return mt})),n.d(e,"G",(function(){return ft})),n.d(e,"B",(function(){return ht})),n.d(e,"eb",(function(){return gt}));var a=n(4),r=function(t){return JSON.parse(decodeURIComponent(escape(atob(t))))},o=function(t){return btoa(unescape(encodeURIComponent(t)))},i=function(t){return o(JSON.stringify(t))},c=function(t){return t.toUpperCase()},d=function(t){return t.replaceAll(" ","-").toLowerCase()},l=new a.a(!1),s=new a.a(!1),u=new a.a(!1),p=new a.a(!1),m=new a.a(""),f=new a.a(!1),b=new a.a(!1),h=new a.a(!1),g=new a.a(!1),x=new a.a(!1),v=new a.a(!1),w=new a.a(""),A=new a.a(!0),U=new a.a(!0),k=new a.a(!0),M=new a.a(!0),y=new a.a(!0),C=new a.a(!0),D=new a.a({}),O=new a.a(!1),E=0,L=new a.a(!1),P=new a.a(""),S=new a.a(""),N=new a.a(""),j=new a.a(""),I=new a.a(""),W=new a.a(""),z=new a.a(""),T=new a.a(""),_=new a.a(!1),Z=new a.a(!1),$=new a.a(!1),J=(new a.a(!1),new a.a(!1),new a.a({flag:!1}),new a.a([])),H=function(){setTimeout((function(){E++,O.next(!0)}),0)},F=function(){setTimeout((function(){E>0&&E--,0==E&&O.next(!1)}),0)},R=function(){return O.asObservable()},G=function(t){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(t)},V=function(t){var e=0;return!!/(?=.{8,})/.test(t)&&(/([a-z])/.test(t)&&e++,/([A-Z])/.test(t)&&e++,/(\d)/.test(t)&&e++,/([!@#$%^&*])/.test(t)&&e++,!(e<3))},q=function(t){return t.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},Y=function(t){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(t)},B=function(t){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(t)},K=function(t){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(t)},Q=function(t){return/^[0-9]*$/.test(t)},X=function(t){return new RegExp("^[0-9]+[.][0-9]{0,2}$").test(t)},tt=function(t){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(t)},et=function(t){if(t&&""!==t&&-1===t.indexOf("(")&&-1===t.indexOf(") ")&&-1===t.indexOf("-")){return"("+t.substring(0,3)+") "+t.substring(3,6)+"-"+t.substring(6,t.length)}return t},nt=function(t){var e=(""+t).replace(/\D/g,"");if(e.length>10){var n=(e=e.slice(0,10)).match(/^(\d{3})(\d{3})(\d{4})$/);if(n)return"("+n[1]+") "+n[2]+"-"+n[3]}var a="";return e.split("").forEach((function(t,e){a+=0==e?"("+t:2==e?t+") ":5==e?t+"-":t})),a},at=function(t){var e=t.target.value;return 1==e.length?"("+e:5==e.length?e.slice(0,e.length-1)+") "+e[e.length-1]:10==e.length&&"-"!==e[e.length-1]?e.slice(0,e.length-1)+"-"+e[e.length-1]:10==e.length&&"-"===e[e.length-1]?e.substring(0,e.length-1):6==e.length?e.substring(0,e.length-2):e},rt=function(t){return t&&(t=Number(t).toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==t&&"0"!==t||(t=t.toFixed(2)),t},ot=function(t,e){return t=t?Number(t):0,(0===(e=e?Number(e):0)||"0"===e?0:(t-e)/e*100).toFixed(2)},it=function(t){var e={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:t.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:t.selectedHeight,glass:t.selectedGlass,collection:t.selectedCollection,print:!0,baseUrl:"",gplacement:t.selectedWindowPlacement,width:t.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return t.selectedColor&&(e.color=t.selectedColor),t.colorHex&&(e.colorHex=t.colorHex),t.colorZone&&(e.colorZone=t.colorZone),t.selectedConstruction&&(e.model=t.selectedConstruction),t.selectedWindowDesign&&(e.top=t.selectedWindowDesign),t.glazepattern&&(e.glazepattern=t.glazepattern),t.selectedHardware&&(e.hardware=t.selectedHardware),e},ct=function(t,e,n){var a="",r=t.split(e);return r.forEach((function(t,e){"undefined"!==t&&t&&(a+=t,e!==r.length-1&&(a+=n))})),a},dt=function(t){return t.length>0?t.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"").replace(/ /g,""):t};function lt(t,e){var n=e||"html",a=t;return n||(n="html"),"html"==n&&(a=function(t){var e,n,a,i,c,s=t,u="";e=r(s,"<!--","-->",d,"W3HTMLCOMMENTPOS"),s=e.rest;for(;s.indexOf("<")>-1;)i="",n=s.indexOf("<"),"<STYLE"==s.substr(n,9).toUpperCase()&&(i="css"),"<SCRIPT"==s.substr(n,10).toUpperCase()&&(i="javascript"),-1==(a=s.indexOf(">",n))&&(a=s.length),u+=s.substring(0,n),u+=o(s.substring(n,a+4)),s=s.substr(a+4),"css"==i&&(a=s.indexOf("</style>"))>-1&&(u+=l(s.substring(0,a)),s=s.substr(a)),"javascript"==i&&(a=s.indexOf("</script>"))>-1&&(u+=m(s.substring(0,a)),s=s.substr(a));for(s=u+s,c=0;c<e.arr.length;c++)s=s.replace("W3HTMLCOMMENTPOS",e.arr[c]);return s}(a)),"css"==n&&(a=l(a)),"js"==n&&(a=m(a)),a;function r(t,e,n,a,r){for(var o,i,c="",d=[];t.search(e)>-1;)o=t.search(e),-1==(i=t.indexOf(n,o))&&(i=t.length),r?(d.push(a(t.substring(o,i+n.length))),t=t.substring(0,o)+r+t.substr(i+n.length)):(c+=t.substring(0,o),c+=a(t.substring(o,i+n.length)),t=t.substr(i+n.length));return{rest:c+t,arr:d}}function o(t){for(var e,n,a,r=t,o="";r.search(/(\s|<br>)/)>-1;)e=r.search(/(\s|<br>)/),-1==(n=r.indexOf(">"))&&(n=r.length),o+=r.substring(0,e),o+=i(r.substring(e,n)),r=r.substr(n);return">"==(a="<span style=color:grey><</span>"+(a=o+r).substring(4)).substr(a.length-4,4)&&(a=a.substring(0,a.length-4)+"<span style=color:grey>></span>"),"<span style=color:#a10d5f>"+a+"</span>"}function i(t){for(var e,n,a,r,o,i=t,d="";i.indexOf("=")>-1;)n=-1,e=i.indexOf("="),a=i.indexOf("'",e),r=i.indexOf('"',e),(o=i.indexOf(" ",e+2))>-1&&(o<a||-1==a)&&(o<r||-1==r)?n=i.indexOf(" ",e):r>-1&&(r<a||-1==a)&&(r<o||-1==o)?n=i.indexOf('"',i.indexOf('"',e)+1):a>-1&&(a<r||-1==r)&&(a<o||-1==o)&&(n=i.indexOf("'",i.indexOf("'",e)+1)),(!n||-1==n||n<e)&&(n=i.length),d+=i.substring(0,e),d+=c(i.substring(e,n+1)),i=i.substr(n+1);return"<span style=color:green>"+d+i+"</span>"}function c(t){return"<span style=color:#1c8a9c>"+t+"</span>"}function d(t){return"<span style=color:green>"+t+"</span>"}function l(t){var e,n,a,o,i,c,l,u=t,p="";for(u=(a=r(u,/\/\*/,"*/",d,"W3CSSCOMMENTPOS")).rest;u.search("{")>-1;){for(e=u.search("{"),i=u.substr(e+1),l=1,c=0,o=0;o<i.length&&("{"==i.substr(o,1)&&(l++,c++),"}"==i.substr(o,1)&&l--,0!=l);o++);for(0!=l&&(c=0),n=e,o=0;o<=c;o++)n=u.indexOf("}",n+1);-1==n&&(n=u.length),p+=u.substring(0,e+1),p+=s(u.substring(e+1,n)),u=u.substr(n)}for(u=(u=(u=p+u).replace(/{/g,"<span style=color:grey>{</span>")).replace(/}/g,"<span style=color:grey>}</span>"),o=0;o<a.arr.length;o++)u=u.replace("W3CSSCOMMENTPOS",a.arr[o]);return"<span style=color:green>"+u+"</span>"}function s(t){var e,n,a,r,o=t,i="";if(o.indexOf("{")>-1)return l(o);for(;o.search(":")>-1;){for(r=!0,a=e=o.search(":");1==r;)r=!1,n=o.indexOf(";",a)," "==o.substring(n-5,n+1)&&(r=!0,a=n+1);-1==n&&(n=o.length),i+=o.substring(0,e),i+=u(o.substring(e,n+1)),o=o.substr(n+1)}return"<span style=color:#a10d5f>"+i+o+"</span>"}function u(t){var e,n=t,a="";for(n="<span style=color:grey>:</span>"+n.substring(1);n.search(/!important/i)>-1;)e=n.search(/!important/i),a+=n.substring(0,e),a+=p(n.substring(e,e+10)),n=n.substr(e+10);var r=a+n;return";"==r.substr(r.length-1,1)&&" "!=r.substr(r.length-6,6)&&"<"!=r.substr(r.length-4,4)&&">"!=r.substr(r.length-4,4)&&"&"!=r.substr(r.length-5,5)&&(r=r.substring(0,r.length-1)+"<span style=color:grey>;</span>"),"<span style=color:black>"+r+"</span>"}function p(t){return"<span style=color:red;font-weight:bold;>"+t+"</span>"}function m(t){var e,n,a,r,o,i,c,l,s,u,p=t,m="",k=[],M="";for(e=0;e<p.length;e++)"\\"==(n=p.substr(e,1))&&(k.push(p.substr(e,2)),n="W3JSESCAPE",e++),M+=n;for(p=M,1;a=A(p,"'","'",f),r=A(p,'"','"',f),o=A(p,/\/\*/,"*/",d),i=A(p,/\/\//,"<br>",d),l=U(p,h),c=w("js",p,b),u=x(p,g),-1!=Math.max(l[0],a[0],r[0],o[0],i[0],c[0],u[0])&&-1!=(s=v(l,a,r,o,i,c,u))[0];)s[0]>-1&&(m+=p.substring(0,s[0]),m+=s[2](p.substring(s[0],s[1])),p=p.substr(s[1]));for(p=m+p,e=0;e<k.length;e++)p=p.replace("W3JSESCAPE",k[e]);return"<span style=color:black>"+p+"</span>"}function f(t){return"<span style=color:brown>"+t+"</span>"}function b(t){return"<span style=color:mediumblue>"+t+"</span>"}function h(t){return"<span style=color:red>"+t+"</span>"}function g(t){return"<span style=color:black>"+t+"</span>"}function x(t,e){var n,a,r,o,i=[".","<"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%"];if((o=t.indexOf("."))>-1)for(n=t.substr(o+1),r=0;r<n.length;r++){var c=n[r];for(a=0;a<i.length;a++)if(c.indexOf(i[a])>-1)return[o+1,r+o+1,e]}return[-1,-1,e]}function v(t,e,n,a,r,o,i){var c,d=[];for(c=0;c<arguments.length;c++)arguments[c][0]>-1&&(0==d.length||arguments[c][0]<d[0])&&(d=arguments[c]);return 0==d.length&&(d=arguments[c]),d}function w(t,e,n){var a,r,o,i,c=-1,d=-1;for("js"==t&&(i=["abstract","arguments","boolean","break","byte","case","catch","char","class","const","continue","debugger","default","delete","do","double","else","enum","eval","export","extends","false","final","finally","float","for","function","goto","if","implements","import","in","instanceof","int","interface","let","long","NaN","native","new","null","package","private","protected","public","return","short","static","super","switch","synchronized","this","throw","throws","transient","true","try","typeof","var","void","volatile","while","with","yield"]),a=0;a<i.length;a++)(r=e.indexOf(i[a]))>-1&&(o=/\W/g,e.substr(r+i[a].length,1).match(o)&&e.substr(r-1,1).match(o)&&r>-1&&(-1==c||r<c)&&(d=(c=r)+i[a].length));return[c,d,n]}function A(t,e,n,a){var r,o;return r=t.search(e),-1==(o=t.indexOf(n,r+n.length))&&(o=t.length),[r,o+n.length,a]}function U(t,e){var n,a,r,o,i,c=["<br>"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%","="],d=0;for(n=0;n<t.length;n++)for(a=0;a<c.length;a++)if((r=t.substr(n,c[a].length))==c[a]){if("-"==r&&("e"==t.substr(n-1,1)||"E"==t.substr(n-1,1)))continue;if(d<(o=n)&&(i=t.substring(d,o),!isNaN(i)))return[d,o,e];d=n+=c[a].length,n-=1;break}return[-1,-1,e]}}var st=function(t){return t?t.charAt(0).toUpperCase()+t.slice(1):""},ut=function(){return getComputedStyle(document.body).getPropertyValue("--asset-path").trim()},pt=function(){return getComputedStyle(document.body).getPropertyValue("--accent").trim()},mt=function(t){if("string"===typeof t){var e=t;return e=(e=e.replace(/\\/g,"\\\\")).replace(/"/g,'\\"')}return t},ft=function(t){return Math.floor(Math.random()*t)+1},bt=["January","February","March","April","May","June","July","August","September","October","November","December"],ht=function(t){var e=new Date(t);if("Invalid Date"==e.toString())return t;var n=e.getFullYear(),a=e.getMonth(),r=(e.getDate()+"").padStart(2,"0");return"".concat(bt[a].slice(0,3)," ").concat(r,", ").concat(n)},gt=function(t){var e,n=[];(t.arguments.split(",").forEach((function(t){t=t.indexOf(":")>-1?JSON.parse(t):t.replaceAll('"',"").trim(),n.push(t)})),window.gtag&&"function"===typeof window.gtag)&&(window.location.pathname==t.path&&(e=window).gtag.apply(e,n))}},10:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var a=n(0),r=n.n(a),o=n(5).default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1pdbosk-0"})(["box-sizing:border-box;width:100%;margin:0 auto;padding:",";max-width:",";"],(function(t){return t.padding?"0 var(--grid-margin);":0}),(function(t){t.maxWidth;return"calc(var(--container-max-width)px + var(--grid-margin) + var(--grid-margin));"})),i=function(t){var e=t.className,n=t.children,a=t.maxWidth,i=void 0===a?1520:a,c=t.padding,d=void 0===c||c;return r.a.createElement(o,{className:e,maxWidth:i,padding:d},n)};e.b=i},150:function(t,e,n){"use strict";var a=n(3),r=n(0),o=n.n(r),i=n(1),c=n(6),d=n(13),l=n.n(d),s={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},u=n(12),p=n(5),m=n(2);function f(){var t=Object(u.a)(["\n select {\n appearance: none;\n }\n\n .flex-span {\n position: relative;\n }\n .select-dropdown {\n &-icon {\n width: 16px;\n height: 16px;\n position: absolute;\n right: 12px;\n top: 34%;\n transform: rotate(87deg);\n pointer-events: none;\n }\n }\n .button-container {\n gap: 20px;\n row-gap: 10px;\n }\n @media "," {\n .button-container {\n flex-direction: column;\n\n > div {\n &:not(:last-child) {\n margin-bottom: 10px !important;\n }\n }\n }\n }\n "]);return f=function(){return t},t}var b=p.default.div.withConfig({displayName:"styles__Content",componentId:"sc-121ckq3-0"})(["",""],(function(t){var e;(null===(e=t.gradients)||void 0===e?void 0:e.visible)?t.theme.gradient:t.theme;return Object(p.css)(f(),m.b.mobileMax)})),h=n(8),g=n(9),x=n(10),v={name:{text:""},doorCenterLocationNoDataMessage:"",selectAnotherDoorLabel:{text:""},doorCenterLabel:{text:""},selectLabel:{text:""},dcStockListCta:{label:""},clearanceListCta:{label:""},doorCenter:{}},w=function(t){var e=l()({},v,Object(i.g)(t.content)),n=Object(r.useState)([]),d=Object(a.a)(n,2),u=d[0],p=d[1],m=Object(r.useState)(""),f=Object(a.a)(m,2),w=f[0],A=f[1],U=Object(r.useState)(!1),k=Object(a.a)(U,2),M=(k[0],k[1]),y=Object(r.useState)({doorCenterLocationId:"",doorCenterLocationName:""}),C=Object(a.a)(y,2),D=C[0],O=C[1],E=Object(r.useState)(!1),L=Object(a.a)(E,2),P=L[0],S=L[1],N=Object(r.useState)(!1),j=Object(a.a)(N,2),I=j[0],W=j[1],z=Object(r.useState)(!1),T=Object(a.a)(z,2),_=T[0],Z=T[1],$=Object(r.useState)(!1),J=Object(a.a)($,2),H=J[0],F=J[1];Object(r.useEffect)((function(){Object(i.F)().subscribe((function(t){M(t)}));var t=function(t){var e=[];for(var n in t)e.push([n,t[n]]);e.sort((function(t,e){var n=t[1].name.toUpperCase(),a=e[1].name.toUpperCase();return n<a?-1:n>a?1:0}));var a=[];return e.forEach((function(t,e){a[e]=t[0]})),a}(e.doorCenter);if(p(t),localStorage.getItem("dealer")){var n,a,r=localStorage.getItem("dealer"),o=JSON.parse(r);o.doorCenterLocationId<=9&&(o.doorCenterLocationId=parseInt(o.doorCenterLocationId).toLocaleString("en-US",{minimumIntegerDigits:2,useGrouping:!1})),O({doorCenterLocationId:o.doorCenterLocationId,doorCenterLocationName:o.doorCenterLocationName}),(null===e||void 0===e||null===(n=e.doorCenter[o.doorCenterLocationId])||void 0===n?void 0:n.docStockPath)?S(!0):S(!1),(null===e||void 0===e||null===(a=e.doorCenter[o.doorCenterLocationId])||void 0===a?void 0:a.clearancePath)?W(!0):W(!1)}}),[]);return o.a.createElement(h.a,{setter:{componentThemes:s,selectedTheme:t.theme}},o.a.createElement(g.a,null,o.a.createElement(x.a,null,o.a.createElement(b,{isReversed:!1},u&&(null===u||void 0===u?void 0:u.length)>0&&o.a.createElement("div",{className:"container"},o.a.createElement("div",{className:"row justify-content-center"},o.a.createElement("div",{className:"col-lg-6"},o.a.createElement("div",{className:"row"},o.a.createElement("div",{className:"col-12"},o.a.createElement("p",{className:"".concat((!D.doorCenterLocationName||""===D.doorCenterLocationName)&&"font-italic"," body-text1")},e.name.text," ",D.doorCenterLocationName&&""!==D.doorCenterLocationName?D.doorCenterLocationName:e.doorCenterLocationNoDataMessage),o.a.createElement("div",{className:"d-flex mt-3 ".concat(P&&I&&"button-container")},o.a.createElement("div",null,P&&o.a.createElement(c.a,{label:Object(i.i)(e.dcStockListCta.label),onClick:function(){var t;if(null===e||void 0===e||null===(t=e.doorCenter[D.doorCenterLocationId])||void 0===t?void 0:t.docStockPath){var n,a=document.createElement("a");a.href=null===e||void 0===e||null===(n=e.doorCenter[D.doorCenterLocationId])||void 0===n?void 0:n.docStockPath,a.download="DC Stocklist.pdf",a.id="dc-stocklist",a.click(),a.remove()}},id:e.dcStockListCta.label})),o.a.createElement("div",null,I&&o.a.createElement(c.a,{label:Object(i.i)(e.clearanceListCta.label),onClick:function(){var t;if(null===e||void 0===e||null===(t=e.doorCenter[D.doorCenterLocationId])||void 0===t?void 0:t.clearancePath){var n,a=document.createElement("a");a.href=null===e||void 0===e||null===(n=e.doorCenter[D.doorCenterLocationId])||void 0===n?void 0:n.clearancePath,a.download="Clearancelist.pdf",a.id="clearancelistdefault",a.click(),a.remove()}},id:e.dcStockListCta.label}))))),o.a.createElement("div",{className:"row mt-4"},o.a.createElement("div",{className:"col-12"},o.a.createElement("p",{className:"body-text1"},e.selectAnotherDoorLabel.text),o.a.createElement("div",null,o.a.createElement("label",{htmlFor:"dataCenter-id"},e.doorCenterLabel.text),o.a.createElement("span",{className:"flex-span"},o.a.createElement("img",{loading:"lazy",className:"select-dropdown-icon",alt:"dropdown icon",src:Object(i.E)().concat("ic-arrow-right-dark.svg")}),o.a.createElement("select",{id:"dataCenter-id",name:"dataCenter",onChange:function(t){var n,a;A(t.target.value),(null===e||void 0===e||null===(n=e.doorCenter[t.target.value])||void 0===n?void 0:n.docStockPath)?Z(!0):Z(!1),(null===e||void 0===e||null===(a=e.doorCenter[t.target.value])||void 0===a?void 0:a.clearancePath)?F(!0):F(!1)}},o.a.createElement("option",{value:""},null===e||void 0===e?void 0:e.selectLabel.text),u&&u.length>0&&u.map((function(t,n){return o.a.createElement("option",{key:n,value:t},e.doorCenter[t].name)}))))),o.a.createElement("div",{className:"d-flex my-3 ".concat(_&&H&&"button-container"," mb-5 pb-md-4 pb-2")},o.a.createElement("div",null,_&&o.a.createElement(c.a,{label:Object(i.i)(e.dcStockListCta.label),onClick:function(){var t;if(null===e||void 0===e||null===(t=e.doorCenter[w])||void 0===t?void 0:t.docStockPath){var n,a=document.createElement("a");a.href=null===e||void 0===e||null===(n=e.doorCenter[w])||void 0===n?void 0:n.docStockPath,a.download="DC Stocklist.pdf",a.click(),a.remove()}},id:e.dcStockListCta.label})),o.a.createElement("div",null,H&&o.a.createElement(c.a,{label:Object(i.i)(e.clearanceListCta.label),onClick:function(){var t;if(null===e||void 0===e||null===(t=e.doorCenter[w])||void 0===t?void 0:t.clearancePath){var n,a=document.createElement("a");a.href=null===e||void 0===e||null===(n=e.doorCenter[w])||void 0===n?void 0:n.clearancePath,a.id="clearancelist",a.download="Clearancelist.pdf",a.click(),a.remove()}},id:e.clearanceListCta.label}))))))))))))};w.defaultProps={theme:"",content:""};e.a=w},2:function(t,e,n){"use strict";n.d(e,"a",(function(){return a})),n.d(e,"b",(function(){return r}));var a={mobileAndUpMin:128,mobileAndUp:320,smallMobileAndUp:375,largeMobileAndUp:426,tabletPortraitUp:606,largeMobileAndUp2:576,tabletPortraitAndUp:768,tabletPortraitAndUp2:835,tabletLandscapeAndUp:992,desktopAndUp:1024,smallDesktopAndUp1:1100,smallDesktopAndUp:1200,smallDesktopAndUp2:1280,smallDesktopAndUp3:1300,smallDesktopAndUp4:1150,mediumDesktopAndUp:1400,mediumDesktopAndUp2:1600,mediumDesktopAndUp3:1680,mediumDesktopAndUp4:1440,mediumDesktopAndUp5:1520,largeDesktop:1800,maxWidthAndUp:1900,wrapperMaxWidth:1920,extraLarge:2560},r={mobileAndUpMin:"(min-width: ".concat(a.mobileAndUpMin,"px)"),mobileAndUp:"(min-width: ".concat(a.mobileAndUp,"px)"),mobile1AndUp:"(max-width: ".concat(a.mobileAndUp-20,"px)"),mobileMax:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),smallMobileAndUp:"(min-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileMax:"(max-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileAndUpMax:"(max-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMin:"(min-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMax2:"(max-width: ".concat(a.smallMobileAndUp+5,"px)"),largeMobileAndUp:"(min-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax:"(max-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax2:"(max-width: ".concat(a.largeMobileAndUp-2,"px)"),largeMobileAndUpMax3:"(max-width: ".concat(a.largeMobileAndUp-1,"px)"),largeMobileAndUpMin:"(min-width: ".concat(a.largeMobileAndUp-1,"px)"),largeMobileAndUp2:"(min-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max:"(max-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max2:"(max-width: ".concat(a.tabletPortraitUp+34,"px)"),largeMobileMin:"(min-width: ".concat(a.tabletPortraitAndUp+1,"px)"),tabletPortraitUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitUp2:"(min-width: ".concat(a.tabletPortraitAndUp+16,"px)"),tabletPortraitUpMax1:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),tabletPortraitAndUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax:"(max-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax2:"(max-width: ".concat(a.tabletPortraitAndUp+4,"px)"),tabletPortraitAndUpMax3:"(max-width: ".concat(a.tabletPortraitAndUp-12,"px)"),tabletPortraitAndUp2:"(min-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max:"(max-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max2:"(max-width: ".concat(a.tabletPortraitAndUp2-1,"px)"),tabletPortraitMax:"(max-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMin:"(min-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMax2:"(max-width: ".concat(a.tabletLandscapeAndUp-2,"px)"),tabletLandscapeAndUp:"(min-width: ".concat(a.tabletLandscapeAndUp,"px)"),tabletLandscapeAndUpMax:"(max-width: ".concat(a.tabletLandscapeAndUp,"px)"),desktopAndUp:"(min-width: ".concat(a.desktopAndUp,"px)"),desktopAndUpMax:"(max-width: ".concat(a.desktopAndUp,"px)"),desktopMin:"(min-width: ".concat(a.desktopAndUp+1,"px)"),desktopMax2:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop2Max:"(max-width: ".concat(a.desktopAndUp-1,"px)"),desktopMin2:"(min-width: ".concat(a.desktopAndUp+2,"px)"),desktopMin1:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop1Min:"(min-width: ".concat(a.desktopMin1+1,"px)"),desktop2Min:"(min-width: ".concat(a.desktopAndUp-1,"px)"),desktopMax:"(max-width: ".concat(a.smallDesktopAndUp-1,"px)"),smallDesktopAndUp1:"(min-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp1Max:"(max-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp:"(min-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktopAndUpMax:"(max-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktop2Min:"(min-width: ".concat(a.smallDesktopAndUp+1,"px)"),smallDesktopAndUp2:"(min-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp2Max:"(max-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp3:"(min-width: ".concat(a.smallDesktopAndUp3,"px)"),smallDesktopAndUp4:"(max-width: ".concat(a.smallDesktopAndUp4,"px)"),smallDesktopAndUp3Max:"(max-width: ".concat(a.smallDesktopAndUp3,"px)"),mediumDesktopMin:"(min-width: ".concat(a.smallDesktopAndUp2+1,"px)"),mediumDesktopMin2:"(min-width: ".concat(a.mediumDesktopAndUp+1,"px)"),mediumDesktopAndUp:"(min-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUpMax:"(max-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUp2:"(min-width: ".concat(a.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp2Max:"(max-width: ".concat(a.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp3:"(min-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp3Max:"(max-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp4:"(min-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp4Min:"(min-width: ".concat(a.mediumDesktopAndUp4+1,"px)"),mediumDesktopAndUp4Max:"(max-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp5:"(min-width: ".concat(a.mediumDesktopAndUp5,"px)"),mediumDesktopAndUp5Max:"(max-width: ".concat(a.mediumDesktopAndUp5-1,"px)"),largeDesktopMax:"(min-width: ".concat(a.mediumDesktopAndUp3-1,"px)"),largeDesktopMax2:"(max-width: ".concat(a.mediumDesktopAndUp3-1,"px)"),largeDesktopMin:"(min-width: ".concat(a.mediumDesktopAndUp3+1,"px)"),largeDesktop:"(min-width: ".concat(a.largeDesktop,"px)"),maxWidthAndUp:"(min-width: ".concat(a.maxWidthAndUp,"px)"),maxWidthAndUpMax:"(max-width: ".concat(a.maxWidthAndUp,"px)"),wrapperMaxWidth:"(min-width: ".concat(a.wrapperMaxWidth,"px)"),wrapperMaxWidthMax:"(max-width: ".concat(a.wrapperMaxWidth-1,"px)"),wrapperMaxWidth2:"(min-width: ".concat(a.wrapperMaxWidth+1,"px)"),largeMobile460:"(max-width: ".concat(a.largeMobileAndUp-6,"px)"),minWidth1901:"(min-width: ".concat(a.maxWidthAndUp+1,"px)"),extraLargeMax:"(max-width: ".concat(a.extraLarge,"px)"),extraLargeMin:"(min-width: ".concat(a.extraLarge,"px)")}},478:function(t,e,n){"use strict";n.r(e);var a=n(22),r=n(150);e.default=a.a.create({component:r.a,configuration:{tagname:"amarr-dc-stock-list",useShadow:!1},plugins:[]})},6:function(t,e,n){"use strict";n.d(e,"a",(function(){return p}));var a=n(31),r=n(0),o=n.n(r),i=n(5),c=n(2),d=i.default.div.withConfig({displayName:"styles__View",componentId:"sc-1jt3i0i-0"})([""]),l=i.default.button.withConfig({displayName:"styles__Button",componentId:"sc-1jt3i0i-1"})(["font-size:var(--font-size-s1);font-family:var(--font-family-body);font-weight:var(--font-weight-semi-bold);font-stretch:var(--font-normal);font-style:var(--font-normal);line-height:1.5;letter-spacing:var(--font-normal);text-align:var(--text-center);color:var(--bg-main);padding:12px 19px 12px 20px;border-radius:var(--border-radius);background-color:var(--accent);box-shadow:none;border:none;transition:all ease 300ms;&:hover{transform:scale(1.1);background-color:var(--accent-hover);color:var(--bg-main);}&:focus{transform:scale(1);box-shadow:none !important;background-color:var(--accent-focus);}&:active{background-color:var(--accent-active) !important;box-shadow:none !important;transform:scale(1);border:none !important;}&.btn-inverse{color:var(--text-color);background:var(--accent-inverse);&:hover{background:var(--accent-inverse-hover);}&:focus{background:var(--accent-inverse-focus);border:none;transform:scale(1);box-shadow:none !important;}&:active{background-color:var(--accent-inverse-active) !important;border:none !important;transform:scale(1.1);box-shadow:none !important;}}@media ","{font-size:var(--font-size-m1);}.button-icon{vertical-align:top;padding-right:8px;}"],c.b.smallDesktop2Min),s=n(30),u=n(29),p=function(t){var e=t.label,n=void 0===e?"label":e,r=t.classStyle,i=void 0===r?"default":r,c=t.link,p=void 0!==c&&c,m=t.disabled,f=void 0!==m&&m,b=t.datatoggle,h=void 0===b?"":b,g=t.datatarget,x=void 0===g?"":g,v=t.linkHref,w=t.target,A=void 0===w?"_self":w,U=t.downloadLink,k=void 0!==U&&U,M=t.inverse,y=void 0!==M&&M,C=t.icon,D=void 0===C?"":C,O=t.iconAlt,E=void 0===O?"":O,L=t.dataItemName,P=void 0===L?"":L,S=t.id,N=void 0===S?"":S,j=t.type,I=void 0===j?"button":j,W=t.showDisabledMessage,z=void 0===W?"":W,T=t.ariaLabel,_=void 0===T?"":T,Z=t.tabIndex,$=void 0===Z?-1:Z,J=Object(a.a)(t,["label","classStyle","link","disabled","datatoggle","datatarget","linkHref","target","downloadLink","inverse","icon","iconAlt","dataItemName","id","type","showDisabledMessage","ariaLabel","tabIndex"]);return o.a.createElement(d,null,o.a.createElement("div",{className:"".concat(f&&z&&"disabled-button-parent")},p?o.a.createElement("a",{href:v,download:k,target:A,"data-item-name":P,id:N,"aria-label":_},o.a.createElement(l,Object.assign({disabled:f,classStyle:"".concat(i)},J,{type:I,className:y?"btn-inverse btn btn-success":"btn btn-success",tabIndex:$}),""!=D?o.a.createElement("div",{"data-toggle":h,"data-target":x},o.a.createElement("img",{loading:"lazy",className:"button-icon",src:D,alt:E}),o.a.createElement("span",null,n)):o.a.createElement("span",null,n))):o.a.createElement(l,Object.assign({disabled:f,classStyle:i,className:y?"btn-inverse btn btn-success":"btn btn-success",id:N,"data-item-name":P,type:I,"data-toggle":h,"data-target":x},J),o.a.createElement("span",null,n)),f&&z&&o.a.createElement(s.a,{placement:"top",delay:{show:250,hide:250},overlay:o.a.createElement(u.a,{id:"button-tooltip"},o.a.createElement("div",{className:"p-1 amarr-h6"},z))},o.a.createElement("div",{className:"disabled-button-overlay"}))))}},8:function(t,e,n){"use strict";n.d(e,"a",(function(){return i}));var a=n(5),r=n(0),o=n.n(r),i=function(t){var e=t.setter,n=e.componentThemes,r=e.selectedTheme;return o.a.createElement(a.ThemeProvider,{theme:function(){if(!r)return n.theme1;var t=r.match(/\d+/g).map(Number),e=Object.keys(n).find((function(e){return!(!Array.isArray(t)||1!==t.length)&&(e.includes(t[0])&&n[e])}));return e?n["".concat(e)]:n.theme1}},t.children)};e.b=i},9:function(t,e,n){"use strict";var a=n(0),r=n.n(a),o=n(5),i=n(23),c=Object(a.createContext)({});e.a=function(t){var e=!1;try{var n;e=(null===(n=document)||void 0===n?void 0:n.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(d){console.log(d)}var a=e?[i.a]:[];return r.a.createElement(o.StyleSheetManager,{stylisPlugins:a},r.a.createElement(c.Provider,{value:{rtl:e}},t.children))}}});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@assaabloy/amarr-wc-dc-stock-list",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.15",
|
|
4
4
|
"description": "Web component - Dc-stock-list",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "dc-stock-list.js",
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
},
|
|
12
12
|
"author": "Nagarro",
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"gitHead": "
|
|
14
|
+
"gitHead": "83ee03b95b4dbb48eece9b4df700056bc99475ba"
|
|
15
15
|
}
|