@assaabloy/amarr-wc-accordian 5.0.2 → 5.0.4
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/accordian.js +1 -1
- package/package.json +2 -2
- package/LICENSE.md +0 -21
- package/README.md +0 -19
package/accordian.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(n){function e(e){for(var a,r,d=e[0],c=e[1],l=e[2],p=0,m=[];p<d.length;p++)r=d[p],Object.prototype.hasOwnProperty.call(o,r)&&o[r]&&m.push(o[r][0]),o[r]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(n[a]=c[a]);for(s&&s(e);m.length;)m.shift()();return i.push.apply(i,l||[]),t()}function t(){for(var n,e=0;e<i.length;e++){for(var t=i[e],a=!0,d=1;d<t.length;d++){var c=t[d];0!==o[c]&&(a=!1)}a&&(i.splice(e--,1),n=r(r.s=t[0]))}return n}var a={},o={1:0},i=[];function r(e){if(a[e])return a[e].exports;var t=a[e]={i:e,l:!1,exports:{}};return n[e].call(t.exports,t,t.exports,r),t.l=!0,t.exports}r.m=n,r.c=a,r.d=function(n,e,t){r.o(n,e)||Object.defineProperty(n,e,{enumerable:!0,get:t})},r.r=function(n){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},r.t=function(n,e){if(1&e&&(n=r(n)),8&e)return n;if(4&e&&"object"===typeof n&&n&&n.__esModule)return n;var t=Object.create(null);if(r.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:n}),2&e&&"string"!=typeof n)for(var a in n)r.d(t,a,function(e){return n[e]}.bind(null,a));return t},r.n=function(n){var e=n&&n.__esModule?function(){return n.default}:function(){return n};return r.d(e,"a",e),e},r.o=function(n,e){return Object.prototype.hasOwnProperty.call(n,e)},r.p="/";var d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=d.push.bind(d);d.push=e,d=d.slice();for(var l=0;l<d.length;l++)e(d[l]);var s=c;i.push([796,0]),t()}({0:function(n,e){n.exports=React},1:function(n,e,t){"use strict";t.d(e,"a",(function(){return a})),t.d(e,"b",(function(){return o}));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},o={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)"),smallMobileAndUpMax:"(max-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)"),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)"),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)")}},10:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var a=t(0),o=t.n(a),i=t(5).default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1pdbosk-0"})(["box-sizing:border-box;width:100%;margin:0 auto;padding:",";max-width:",";"],(function(n){return n.padding?"0 var(--grid-margin);":0}),(function(n){n.maxWidth;return"calc(var(--container-max-width)px + var(--grid-margin) + var(--grid-margin));"})),r=function(n){var e=n.className,t=n.children,a=n.maxWidth,r=void 0===a?1520:a,d=n.padding,c=void 0===d||d;return o.a.createElement(i,{className:e,maxWidth:r,padding:c},t)}},2:function(n,e,t){"use strict";t.d(e,"g",(function(){return o})),t.d(e,"V",(function(){return i})),t.d(e,"i",(function(){return r})),t.d(e,"D",(function(){return d})),t.d(e,"G",(function(){return c})),t.d(e,"v",(function(){return l})),t.d(e,"B",(function(){return s})),t.d(e,"o",(function(){return p})),t.d(e,"r",(function(){return m})),t.d(e,"I",(function(){return u})),t.d(e,"H",(function(){return x})),t.d(e,"Q",(function(){return b})),t.d(e,"E",(function(){return h})),t.d(e,"u",(function(){return g})),t.d(e,"h",(function(){return f})),t.d(e,"t",(function(){return w})),t.d(e,"y",(function(){return v})),t.d(e,"w",(function(){return A})),t.d(e,"C",(function(){return U})),t.d(e,"s",(function(){return k})),t.d(e,"R",(function(){return y})),t.d(e,"q",(function(){return M})),t.d(e,"J",(function(){return D})),t.d(e,"F",(function(){return N})),t.d(e,"S",(function(){return P})),t.d(e,"m",(function(){return L})),t.d(e,"j",(function(){return O})),t.d(e,"n",(function(){return j})),t.d(e,"k",(function(){return W})),t.d(e,"l",(function(){return C})),t.d(e,"z",(function(){return S})),t.d(e,"L",(function(){return _})),t.d(e,"x",(function(){return I})),t.d(e,"T",(function(){return T})),t.d(e,"U",(function(){return H})),t.d(e,"b",(function(){return $})),t.d(e,"O",(function(){return Z})),t.d(e,"A",(function(){return R})),t.d(e,"a",(function(){return B})),t.d(e,"d",(function(){return F})),t.d(e,"f",(function(){return G})),t.d(e,"e",(function(){return J})),t.d(e,"X",(function(){return V})),t.d(e,"c",(function(){return q})),t.d(e,"W",(function(){return K})),t.d(e,"K",(function(){return Q})),t.d(e,"M",(function(){return X})),t.d(e,"N",(function(){return Y})),t.d(e,"p",(function(){return nn})),t.d(e,"P",(function(){return en}));var a=t(4),o=function(n){return JSON.parse(decodeURIComponent(escape(atob(n))))},i=function(n){return btoa(unescape(encodeURIComponent(n)))},r=function(n){return n.toUpperCase()},d=function(n){return n.replaceAll(" ","-").toLowerCase()},c=new a.a(!1),l=new a.a(!1),s=new a.a(!1),p=new a.a(!1),m=new a.a(""),u=new a.a(!1),x=new a.a(!1),b=new a.a(!1),h=new a.a(!1),g=new a.a(!1),f=new a.a(!1),w=new a.a(""),v=new a.a(!0),A=new a.a(!0),U=new a.a(!0),k=new a.a(!0),y=new a.a(!0),M=new a.a(!0),D=new a.a({}),E=new a.a(!1),z=0,N=new a.a(!1),P=new a.a(""),L=new a.a(""),O=new a.a(""),j=new a.a(""),W=new a.a(""),C=new a.a(""),S=new a.a(""),_=new a.a(""),I=new a.a(!1),T=new a.a(!1),H=new a.a(!1),$=(new a.a(!1),new a.a(!1),function(){setTimeout((function(){z++,E.next(!0)}),0)}),Z=function(){setTimeout((function(){z>0&&z--,0==z&&E.next(!1)}),0)},R=function(){return E.asObservable()},B=function(n){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(n)},F=function(n){return n.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},G=function(n){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(n)},J=function(n){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(n)},V=function(n){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(n)},q=function(n){return/^[0-9]*$/.test(n)},K=function(n){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(n)},Q=function(n){if(n&&""!==n&&-1===n.indexOf("(")&&-1===n.indexOf(") ")&&-1===n.indexOf("-")){return"("+n.substring(0,3)+") "+n.substring(3,6)+"-"+n.substring(6,n.length)}return n},X=function(n){return n&&(n=n.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==n&&"0"!==n||(n=n.toFixed(2)),n},Y=function(n,e){return n=n?Number(n):0,(0===(e=e?Number(e):0)||"0"===e?0:(n-e)/e*100).toFixed(2)},nn=function(n){var e={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:n.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:n.selectedHeight,glass:n.selectedGlass,collection:n.selectedCollection,print:!0,baseUrl:"",gplacement:n.selectedWindowPlacement,width:n.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return n.selectedColor&&(e.color=n.selectedColor),n.colorHex&&(e.colorHex=n.colorHex),n.colorZone&&(e.colorZone=n.colorZone),n.selectedConstruction&&(e.model=n.selectedConstruction),n.selectedWindowDesign&&(e.top=n.selectedWindowDesign),n.glazepattern&&(e.glazepattern=n.glazepattern),n.selectedHardware&&(e.hardware=n.selectedHardware),e},en=function(n,e,t){var a="",o=n.split(e);return o.forEach((function(n,e){"undefined"!==n&&n&&(a+=n,e!==o.length-1&&(a+=t))})),a}},26:function(n,e){n.exports=ReactDOM},7:function(n,e,t){"use strict";t.d(e,"a",(function(){return m}));var a=t(30),o=t(0),i=t.n(o),r=t(5),d=t(1),c=r.default.div.withConfig({displayName:"styles__View",componentId:"sc-1jt3i0i-0"})([""]),l=r.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;}"],d.b.smallDesktop2Min),s=t(25),p=t(24),m=function(n){var e=n.label,t=void 0===e?"label":e,o=n.classStyle,r=void 0===o?"default":o,d=n.link,m=void 0!==d&&d,u=n.disabled,x=void 0!==u&&u,b=n.datatoggle,h=void 0===b?"":b,g=n.datatarget,f=void 0===g?"":g,w=n.linkHref,v=n.target,A=void 0===v?"_self":v,U=n.downloadLink,k=void 0!==U&&U,y=n.inverse,M=void 0!==y&&y,D=n.icon,E=void 0===D?"":D,z=n.iconAlt,N=void 0===z?"":z,P=n.dataItemName,L=void 0===P?"":P,O=n.id,j=void 0===O?"":O,W=n.type,C=void 0===W?"button":W,S=n.showDisabledMessage,_=void 0===S?"":S,I=n.ariaLabel,T=void 0===I?"":I,H=Object(a.a)(n,["label","classStyle","link","disabled","datatoggle","datatarget","linkHref","target","downloadLink","inverse","icon","iconAlt","dataItemName","id","type","showDisabledMessage","ariaLabel"]);return i.a.createElement(c,null,i.a.createElement("div",{className:"".concat(x&&_&&"disabled-button-parent")},m?i.a.createElement("a",{href:w,download:k,target:A,"data-item-name":L,id:j,"aria-label":T},i.a.createElement(l,Object.assign({role:"presentation",disabled:x,classStyle:"".concat(r)},H,{type:C,className:M?"btn-inverse btn btn-success":"btn btn-success"}),""!=E?i.a.createElement("div",{"data-toggle":h,"data-target":f},i.a.createElement("img",{loading:"lazy",className:"button-icon",src:E,alt:N}),i.a.createElement("span",null,t)):i.a.createElement("span",null,t))):i.a.createElement(l,Object.assign({disabled:x,classStyle:r,className:M?"btn-inverse btn btn-success":"btn btn-success",id:j,"data-item-name":L,type:C},H),i.a.createElement("span",null,t)),x&&_&&i.a.createElement(s.a,{placement:"top",delay:{show:250,hide:250},overlay:i.a.createElement(p.a,{id:"button-tooltip"},i.a.createElement("div",{className:"p-1 amarr-h6"},_))},i.a.createElement("div",{className:"disabled-button-overlay"}))))}},704:function(n,e,t){"use strict";t.r(e);var a=t(21),o=t(99);e.default=a.a.create({component:o.a,configuration:{tagname:"amarr-accordian",useShadow:!1},plugins:[]})},8:function(n,e,t){"use strict";t.d(e,"a",(function(){return r}));var a=t(5),o=t(0),i=t.n(o),r=function(n){var e=n.setter,t=e.componentThemes,o=e.selectedTheme;return i.a.createElement(a.ThemeProvider,{theme:function(){if(!o)return t.theme1;var n=o.match(/\d+/g).map(Number),e=Object.keys(t).find((function(e){return!(!Array.isArray(n)||1!==n.length)&&(e.includes(n[0])&&t[e])}));return e?t["".concat(e)]:t.theme1}},n.children)}},9:function(n,e,t){"use strict";var a=t(0),o=t.n(a),i=t(5),r=t(20),d=t.n(r),c=Object(a.createContext)({});e.a=function(n){var e=!1;try{var t;e=(null===(t=document)||void 0===t?void 0:t.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(r){console.log(r)}var a=e?[d.a]:[];return o.a.createElement(i.StyleSheetManager,{stylisPlugins:a},o.a.createElement(c.Provider,{value:{rtl:e}},n.children))}},99:function(n,e,t){"use strict";var a=t(0),o=t.n(a),i=t(7),r=t(2),d=t(12),c=t.n(d),l={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},s=t(11),p=t(5),m=t(1);function u(){var n=Object(s.a)(["\n // ----------------------MOBILE DEVICE----------------------\n .accordion-shadow {\n -webkit-box-shadow: 0px 6px 9px -8px var(--shadow);\n -moz-box-shadow: 0px 6px 9px -8px var(--shadow);\n box-shadow: 0px 6px 9px -8px var(--shadow);\n }\n\n img {\n max-width: 100%;\n }\n\n .accordion-wrapper {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n }\n\n .card-header {\n background-color: var(--grey);\n cursor: pointer;\n\n h5 {\n user-select: none;\n }\n\n span {\n font-weight: var(--font-weight-semi-bold);\n // font-size: 1.25rem;\n color: var(--text-color);\n }\n }\n\n .heading-style-3 {\n font-size: var(--font-size-l1);\n font-weight: var(--font-weight-bold);\n }\n\n .bottom-space {\n margin-bottom: 3rem;\n @media screen and "," {\n margin-bottom: 1.6rem;\n }\n }\n\n .text-style-tertiary {\n font-weight: var(--font-weight-bold);\n }\n\n .text-style-1 {\n font-weight: var(--font-normal);\n font-stretch: var(--font-normal);\n font-style: var(--font-normal);\n line-height: 1.5;\n letter-spacing: var(--font-normal);\n color: var(--mid-gray);\n font-size: var(--font-size-m1);\n @media "," {\n font-size: var(--font-size-m6);\n }\n @media "," {\n font-size: var(--font-size-l2);\n line-height: 46px;\n }\n }\n .accordion .card .card-header button span {\n color: var(--white);\n }\n\n .accordian-item {\n background-color: var(--grey);\n\n &:not(:last-child) {\n border-bottom: 10px solid var(--bg-main);\n\n @media "," {\n border-bottom: 5px solid var(--bg-main);\n }\n }\n }\n\n .card-body {\n background-color: var(--grey);\n\n .card-body-text-only {\n // padding: 1.25rem;\n\n h5 {\n font-weight: var(--font-weight-medium);\n }\n\n ul {\n margin-left: 1.5rem;\n @media screen and "," {\n margin-left: 1.4rem;\n }\n }\n }\n }\n\n .parent-div {\n .accordion-expand {\n display: inline;\n @media screen and "," {\n width: 32px;\n }\n }\n .accordion-collapsed {\n display: none;\n }\n &.show-icon {\n .accordion-expand {\n display: none;\n }\n .accordion-collapsed {\n display: inline;\n @media screen and "," {\n width: 32px;\n }\n }\n }\n }\n .box-shadow-header {\n padding: 10px 0;\n }\n .show-icon {\n .box-shadow-header {\n box-shadow: 0 2px 6px 0 var(--black-t-21);\n margin-bottom: 8px;\n padding-bottom: 10px;\n padding-bottom: 12px;\n @media screen and "," and "," {\n padding-bottom: 12px;\n padding-top: 10px;\n }\n @media screen and "," and "," {\n padding-bottom: 12px;\n }\n }\n .card-body .top-text {\n // padding-left: 3rem;\n @media screen and "," {\n // padding-left: 1.25rem;\n }\n }\n }\n\n .left-padding {\n padding-left: 65px;\n padding-right: 0px;\n }\n .right-padding {\n padding-right: 65px;\n padding-left: 0px;\n }\n\n // ----------------------LARGE DEVICE----------------------\n @media only screen and "," {\n // .card-header {\n // span {\n // font-size: 1rem;\n // }\n // }\n\n .card-body {\n .card-body-text-only {\n display: flex;\n flex-direction: column;\n justify-content: center;\n // padding-left: 3rem;\n }\n }\n }\n\n @media screen and "," {\n .card-header > .container span {\n font-size: var(--font-size-m5);\n }\n }\n\n @media screen and "," {\n .heading-style-3 {\n font-size: var(--font-size-md);\n }\n }\n @media screen and "," {\n .heading-style-3 {\n font-size: var(--font-size-h1);\n }\n }\n .card-body .text-style-1 .amarrHighlight a strong {\n font-weight: var(--font-weight-bold);\n }\n\n .card-body .text-style-1 .amarrHighlight {\n @media screen and "," {\n font-size: var(--font-size-l2);\n }\n @media screen and "," {\n font-size: var(--font-size-m6);\n }\n }\n @media screen and "," and "," {\n .left-padding {\n padding-left: 60px;\n }\n .right-padding {\n padding-right: 60px;\n }\n }\n @media screen and "," and "," {\n .left-padding {\n padding-left: 40px;\n }\n .right-padding {\n padding-right: 40px;\n }\n }\n @media screen and "," and "," {\n .left-padding {\n padding-left: 30px;\n }\n .right-padding {\n padding-right: 30px;\n }\n }\n\n /* Tablet view */\n @media screen and "," {\n .left-padding {\n padding-left: 20px;\n }\n .right-padding {\n padding-right: 20px;\n }\n }\n @media screen and "," {\n .left-padding {\n padding: 22px 0px 12px 0px;\n }\n .right-padding {\n padding: 22px 0px 12px 0px;\n }\n }\n "]);return u=function(){return n},n}var x=p.default.div.withConfig({displayName:"styles__Content",componentId:"sc-192d1jj-0"})(["",""],(function(n){var e;(null===(e=n.gradients)||void 0===e?void 0:e.visible)?n.theme.gradient:n.theme;return Object(p.css)(u(),m.b.mobileMax,m.b.smallDesktopAndUp,m.b.maxWidthAndUp,m.b.mediumDesktopAndUp3Max,m.b.smallDesktopAndUp2Max,m.b.largeDesktopMin,m.b.largeDesktopMin,m.b.mediumDesktopMin,m.b.mediumDesktopAndUp3Max,m.b.desktopMin,m.b.smallDesktopAndUp2Max,m.b.mobileMax,m.b.tabletPortraitAndUp,m.b.smallDesktopAndUp2,m.b.smallDesktopAndUp,m.b.maxWidthAndUp,m.b.minWidth1901,m.b.maxWidthAndUpMax,m.b.mediumDesktopMin,m.b.mediumDesktopAndUp3Max,m.b.tabletPortraitAndUp,m.b.smallDesktopAndUp2Max,m.b.tabletLandscapeAndUp,m.b.desktopAndUpMax,m.b.tabletPortraitMax,m.b.mobileMax)})),b=t(8),h=t(9),g=t(10),f={accordionData:[{header:{text:""},headingStyle:"",body:{text:""},textImageList:[{header:{text:""},headingStyle:"",body:{text:""},image:{url:"",altText:""},cta:{label:"",url:"",linkAction:"",color:"",visible:!0,isInternal:!0}}]}]},w=function(n){var e=c()({},f,Object(r.g)(n.content));Object(a.useEffect)((function(){for(var n=document.getElementsByClassName("accordian-head"),e=0;e<n.length;e++)n[e].parentElement.parentElement.parentElement.classList.remove("show-icon");setTimeout((function(){n[0].click(),n[0].parentElement.parentElement.parentElement.classList.add("show-icon")}),500),d()}),[]);var t=function(n){var e=document.getElementsByClassName("accordian-head");e[n].parentElement.parentElement.parentElement.classList.contains("show-icon")?e[n].parentElement.parentElement.parentElement.classList.remove("show-icon"):e[n].parentElement.parentElement.parentElement.classList.add("show-icon")},d=function(){var n=$(".accordian-head");$(n).each((function(n,e){$(this).on("keypress",(function(n){32!=n.keyCode&&13!=n.keyCode||this.click()}))}))};return o.a.createElement(b.a,{setter:{componentThemes:l,selectedTheme:n.theme}},o.a.createElement(h.a,null,o.a.createElement(g.a,{padding:!1},o.a.createElement(x,{isReversed:!1},o.a.createElement("div",{className:"container-fluid"},o.a.createElement("div",{className:"row"},o.a.createElement("div",{className:"col-12 p-0"},o.a.createElement("div",{className:"accordion accordion-wrapper",id:"my-accordian"},e.accordionData&&e.accordionData.length>0&&e.accordionData.map((function(n,e,a){return o.a.createElement("div",{key:e,className:"card z-depth-0 border-0 ".concat(e===a.length-1&&"bottom-space")},o.a.createElement("div",{className:"card-header accordion-shadow parent-div p-0",id:"heading".concat(e)},o.a.createElement("div",{className:"box-shadow-header"},o.a.createElement("div",{className:"container inner-container"},"capitalize"!==n.headingStyle&&o.a.createElement(n.headingStyle,{className:"mb-0 py-2 d-flex justify-content-between accordian-head align-items-center","data-toggle":"collapse","data-target":"#collapse".concat(e),"aria-expanded":"true","aria-controls":"collapse".concat(e),id:"toggle-list".concat(e),onClick:function(){return t(e)},onDoubleClick:function(){return t(e)},tabIndex:0,role:"button"},n.header.text,o.a.createElement("img",{loading:"lazy",className:"accordion-expand",src:"/etc.clientlibs/amarr/clientlibs/themes/amarr/resources/images/ic-add-accordian.svg",alt:"expanded icon"}),o.a.createElement("img",{loading:"lazy",className:"accordion-collapsed",src:"/etc.clientlibs/amarr/clientlibs/themes/amarr/resources/images/ic-minus-accordian.svg",alt:"collapsed icon"})),"capitalize"===n.headingStyle&&o.a.createElement("div",{className:"mb-0 py-2 d-flex justify-content-between align-items-center text-style-uppercase","data-toggle":"collapse","data-target":"#collapse".concat(e),"aria-expanded":"true","aria-controls":"collapse".concat(e),id:"toggle-list".concat(e)},n.header.text,o.a.createElement("img",{loading:"lazy",className:"accordion-expand",src:"/etc.clientlibs/amarr/clientlibs/themes/amarr/resources/images/ic-add-accordian.svg",alt:"expanded icon"}),o.a.createElement("img",{loading:"lazy",className:"accordion-collapsed",src:"/etc.clientlibs/amarr/clientlibs/themes/amarr/resources/images/ic-minus-accordian.svg",alt:"collapsed icon"})))),o.a.createElement("div",{id:"collapse".concat(e),className:"collapse","aria-labelledby":"heading".concat(e),"data-parent":"#my-accordian"},o.a.createElement("div",{className:"card-body px-0"},n.body.text&&o.a.createElement("div",{className:"top-text body-text1 pb-2 container inner-container",dangerouslySetInnerHTML:{__html:n.body.text}}),n.textImageList&&n.textImageList.length>0&&n.textImageList.map((function(n,e){return o.a.createElement("div",{className:"container inner-container accordian-item"},o.a.createElement("div",{className:"row m-0",key:e},o.a.createElement("div",{className:"col-md-6 p-0 order-1 ".concat(0===e||e%2===0?"order-md-1":"order-md-2"," ")},o.a.createElement("img",{loading:"lazy",src:n.image.url,alt:n.image.altText})),o.a.createElement("div",{className:"col-md-6 order-2 card-body-text-only ".concat(0===e||e%2===0?"order-md-2 left-padding":"order-md-1 right-padding")},"capitalize"!==n.headingStyle&&o.a.createElement(n.headingStyle,null,n.header.text),"capitalize"===n.headingStyle&&o.a.createElement("div",{className:"text-style-uppercase"},n.header.text),n.body&&o.a.createElement("div",{className:"body-text1 mt-1 mb-3 mt-md-4 mb-md-5",dangerouslySetInnerHTML:{__html:n.body.text}}),n.cta&&("inverse"===n.cta.color||"normal"===n.cta.color)&&n.cta.visible&&n.cta.label&&n.cta.linkAction&&o.a.createElement(i.a,{label:Object(r.i)(n.cta.label),link:!0,linkHref:n.cta.url,target:n.cta.linkAction,inverse:"inverse"===n.cta.color}),n.cta&&"tertiary"===n.cta.color&&n.cta.visible&&n.isInternal&&n.cta.label&&n.cta.linkAction&&o.a.createElement("a",{className:"expand-link text-style-tertiary",href:n.cta.url,target:n.cta.linkAction,"aria-label":n.cta.label},n.cta.label),n.cta&&"tertiary"===n.cta.color&&n.cta.visible&&!n.isInternal&&n.cta.label&&"_self"===n.cta.linkAction&&o.a.createElement("a",{className:"expand-link text-style-tertiary",href:n.cta.url,target:n.cta.linkAction,"aria-label":n.cta.label},n.cta.label),n.cta&&"tertiary"===n.cta.color&&n.cta.visible&&!n.isInternal&&n.cta.label&&"_blank"===n.cta.linkAction&&o.a.createElement("a",{className:"expand-link text-style-tertiary",href:n.cta.url,target:n.cta.linkAction,rel:"noopener","aria-label":n.cta.label},n.cta.label))))}))))))}))))))))))};w.defaultProps={theme:"",content:""};e.a=w}});
|
|
1
|
+
!function(n){function t(t){for(var a,i,d=t[0],c=t[1],l=t[2],p=0,u=[];p<d.length;p++)i=d[p],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&u.push(r[i][0]),r[i]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(n[a]=c[a]);for(s&&s(t);u.length;)u.shift()();return o.push.apply(o,l||[]),e()}function e(){for(var n,t=0;t<o.length;t++){for(var e=o[t],a=!0,d=1;d<e.length;d++){var c=e[d];0!==r[c]&&(a=!1)}a&&(o.splice(t--,1),n=i(i.s=e[0]))}return n}var a={},r={1:0},o=[];function i(t){if(a[t])return a[t].exports;var e=a[t]={i:t,l:!1,exports:{}};return n[t].call(e.exports,e,e.exports,i),e.l=!0,e.exports}i.m=n,i.c=a,i.d=function(n,t,e){i.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},i.r=function(n){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},i.t=function(n,t){if(1&t&&(n=i(n)),8&t)return n;if(4&t&&"object"===typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(i.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var a in n)i.d(e,a,function(t){return n[t]}.bind(null,a));return e},i.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return i.d(t,"a",t),t},i.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},i.p="/";var d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=d.push.bind(d);d.push=t,d=d.slice();for(var l=0;l<d.length;l++)t(d[l]);var s=c;o.push([563,0]),e()}({0:function(n,t){n.exports=React},1:function(n,t,e){"use strict";e.d(t,"g",(function(){return r})),e.d(t,"fb",(function(){return o})),e.d(t,"i",(function(){return i})),e.d(t,"L",(function(){return d})),e.d(t,"O",(function(){return c})),e.d(t,"w",(function(){return l})),e.d(t,"J",(function(){return s})),e.d(t,"p",(function(){return p})),e.d(t,"s",(function(){return u})),e.d(t,"Q",(function(){return m})),e.d(t,"P",(function(){return g})),e.d(t,"ab",(function(){return b})),e.d(t,"M",(function(){return f})),e.d(t,"v",(function(){return h})),e.d(t,"h",(function(){return x})),e.d(t,"u",(function(){return v})),e.d(t,"z",(function(){return w})),e.d(t,"x",(function(){return A})),e.d(t,"K",(function(){return y})),e.d(t,"t",(function(){return U})),e.d(t,"bb",(function(){return k})),e.d(t,"r",(function(){return M})),e.d(t,"R",(function(){return D})),e.d(t,"N",(function(){return N})),e.d(t,"cb",(function(){return P})),e.d(t,"n",(function(){return z})),e.d(t,"k",(function(){return S})),e.d(t,"o",(function(){return C})),e.d(t,"l",(function(){return L})),e.d(t,"m",(function(){return j})),e.d(t,"C",(function(){return W})),e.d(t,"V",(function(){return T})),e.d(t,"y",(function(){return I})),e.d(t,"db",(function(){return _})),e.d(t,"eb",(function(){return $})),e.d(t,"b",(function(){return H})),e.d(t,"Y",(function(){return Z})),e.d(t,"E",(function(){return J})),e.d(t,"a",(function(){return R})),e.d(t,"gb",(function(){return F})),e.d(t,"d",(function(){return V})),e.d(t,"f",(function(){return B})),e.d(t,"e",(function(){return G})),e.d(t,"jb",(function(){return Y})),e.d(t,"c",(function(){return q})),e.d(t,"hb",(function(){return K})),e.d(t,"ib",(function(){return Q})),e.d(t,"S",(function(){return X})),e.d(t,"T",(function(){return nn})),e.d(t,"U",(function(){return tn})),e.d(t,"W",(function(){return en})),e.d(t,"X",(function(){return an})),e.d(t,"q",(function(){return rn})),e.d(t,"Z",(function(){return on})),e.d(t,"I",(function(){return dn})),e.d(t,"j",(function(){return cn})),e.d(t,"D",(function(){return ln})),e.d(t,"G",(function(){return sn})),e.d(t,"H",(function(){return pn})),e.d(t,"F",(function(){return un})),e.d(t,"A",(function(){return gn})),e.d(t,"B",(function(){return bn}));var a=e(4),r=function(n){return JSON.parse(decodeURIComponent(escape(atob(n))))},o=function(n){return btoa(unescape(encodeURIComponent(n)))},i=function(n){return n.toUpperCase()},d=function(n){return n.replaceAll(" ","-").toLowerCase()},c=new a.a(!1),l=new a.a(!1),s=new a.a(!1),p=new a.a(!1),u=new a.a(""),m=new a.a(!1),g=new a.a(!1),b=new a.a(!1),f=new a.a(!1),h=new a.a(!1),x=new a.a(!1),v=new a.a(""),w=new a.a(!0),A=new a.a(!0),y=new a.a(!0),U=new a.a(!0),k=new a.a(!0),M=new a.a(!0),D=new a.a({}),E=new a.a(!1),O=0,N=new a.a(!1),P=new a.a(""),z=new a.a(""),S=new a.a(""),C=new a.a(""),L=new a.a(""),j=new a.a(""),W=new a.a(""),T=new a.a(""),I=new a.a(!1),_=new a.a(!1),$=new a.a(!1),H=(new a.a(!1),new a.a(!1),new a.a({flag:!1}),function(){setTimeout((function(){O++,E.next(!0)}),0)}),Z=function(){setTimeout((function(){O>0&&O--,0==O&&E.next(!1)}),0)},J=function(){return E.asObservable()},R=function(n){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(n)},F=function(n){var t=0;return!!/(?=.{8,})/.test(n)&&(/([a-z])/.test(n)&&t++,/([A-Z])/.test(n)&&t++,/(\d)/.test(n)&&t++,/([!@#$%^&*])/.test(n)&&t++,!(t<3))},V=function(n){return n.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},B=function(n){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(n)},G=function(n){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(n)},Y=function(n){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(n)},q=function(n){return/^[0-9]*$/.test(n)},K=function(n){return new RegExp("^[0-9]+[.][0-9]{0,2}$").test(n)},Q=function(n){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(n)},X=function(n){if(n&&""!==n&&-1===n.indexOf("(")&&-1===n.indexOf(") ")&&-1===n.indexOf("-")){return"("+n.substring(0,3)+") "+n.substring(3,6)+"-"+n.substring(6,n.length)}return n},nn=function(n){var t=(""+n).replace(/\D/g,"");if(t.length>10){var e=(t=t.slice(0,10)).match(/^(\d{3})(\d{3})(\d{4})$/);if(e)return"("+e[1]+") "+e[2]+"-"+e[3]}var a="";return t.split("").forEach((function(n,t){a+=0==t?"("+n:2==t?n+") ":5==t?n+"-":n})),a},tn=function(n){var t=n.target.value;return 1==t.length?"("+t:5==t.length?t.slice(0,t.length-1)+") "+t[t.length-1]:10==t.length&&"-"!==t[t.length-1]?t.slice(0,t.length-1)+"-"+t[t.length-1]:10==t.length&&"-"===t[t.length-1]?t.substring(0,t.length-1):6==t.length?t.substring(0,t.length-2):t},en=function(n){return n&&(n=n.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==n&&"0"!==n||(n=n.toFixed(2)),n},an=function(n,t){return n=n?Number(n):0,(0===(t=t?Number(t):0)||"0"===t?0:(n-t)/t*100).toFixed(2)},rn=function(n){var t={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:n.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:n.selectedHeight,glass:n.selectedGlass,collection:n.selectedCollection,print:!0,baseUrl:"",gplacement:n.selectedWindowPlacement,width:n.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return n.selectedColor&&(t.color=n.selectedColor),n.colorHex&&(t.colorHex=n.colorHex),n.colorZone&&(t.colorZone=n.colorZone),n.selectedConstruction&&(t.model=n.selectedConstruction),n.selectedWindowDesign&&(t.top=n.selectedWindowDesign),n.glazepattern&&(t.glazepattern=n.glazepattern),n.selectedHardware&&(t.hardware=n.selectedHardware),t},on=function(n,t,e){var a="",r=n.split(t);return r.forEach((function(n,t){"undefined"!==n&&n&&(a+=n,t!==r.length-1&&(a+=e))})),a};function dn(n,t){var e=t||"html",a=n;return e||(e="html"),"html"==e&&(a=function(n){var t,e,a,i,d,s=n,p="";t=r(s,"<!--","-->",c,"W3HTMLCOMMENTPOS"),s=t.rest;for(;s.indexOf("<")>-1;)i="",e=s.indexOf("<"),"<STYLE"==s.substr(e,9).toUpperCase()&&(i="css"),"<SCRIPT"==s.substr(e,10).toUpperCase()&&(i="javascript"),-1==(a=s.indexOf(">",e))&&(a=s.length),p+=s.substring(0,e),p+=o(s.substring(e,a+4)),s=s.substr(a+4),"css"==i&&(a=s.indexOf("</style>"))>-1&&(p+=l(s.substring(0,a)),s=s.substr(a)),"javascript"==i&&(a=s.indexOf("</script>"))>-1&&(p+=m(s.substring(0,a)),s=s.substr(a));for(s=p+s,d=0;d<t.arr.length;d++)s=s.replace("W3HTMLCOMMENTPOS",t.arr[d]);return s}(a)),"css"==e&&(a=l(a)),"js"==e&&(a=m(a)),a;function r(n,t,e,a,r){for(var o,i,d="",c=[];n.search(t)>-1;)o=n.search(t),-1==(i=n.indexOf(e,o))&&(i=n.length),r?(c.push(a(n.substring(o,i+e.length))),n=n.substring(0,o)+r+n.substr(i+e.length)):(d+=n.substring(0,o),d+=a(n.substring(o,i+e.length)),n=n.substr(i+e.length));return{rest:d+n,arr:c}}function o(n){for(var t,e,a,r=n,o="";r.search(/(\s|<br>)/)>-1;)t=r.search(/(\s|<br>)/),-1==(e=r.indexOf(">"))&&(e=r.length),o+=r.substring(0,t),o+=i(r.substring(t,e)),r=r.substr(e);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(n){for(var t,e,a,r,o,i=n,c="";i.indexOf("=")>-1;)e=-1,t=i.indexOf("="),a=i.indexOf("'",t),r=i.indexOf('"',t),(o=i.indexOf(" ",t+2))>-1&&(o<a||-1==a)&&(o<r||-1==r)?e=i.indexOf(" ",t):r>-1&&(r<a||-1==a)&&(r<o||-1==o)?e=i.indexOf('"',i.indexOf('"',t)+1):a>-1&&(a<r||-1==r)&&(a<o||-1==o)&&(e=i.indexOf("'",i.indexOf("'",t)+1)),(!e||-1==e||e<t)&&(e=i.length),c+=i.substring(0,t),c+=d(i.substring(t,e+1)),i=i.substr(e+1);return"<span style=color:green>"+c+i+"</span>"}function d(n){return"<span style=color:#1c8a9c>"+n+"</span>"}function c(n){return"<span style=color:green>"+n+"</span>"}function l(n){var t,e,a,o,i,d,l,p=n,u="";for(p=(a=r(p,/\/\*/,"*/",c,"W3CSSCOMMENTPOS")).rest;p.search("{")>-1;){for(t=p.search("{"),i=p.substr(t+1),l=1,d=0,o=0;o<i.length&&("{"==i.substr(o,1)&&(l++,d++),"}"==i.substr(o,1)&&l--,0!=l);o++);for(0!=l&&(d=0),e=t,o=0;o<=d;o++)e=p.indexOf("}",e+1);-1==e&&(e=p.length),u+=p.substring(0,t+1),u+=s(p.substring(t+1,e)),p=p.substr(e)}for(p=(p=(p=u+p).replace(/{/g,"<span style=color:grey>{</span>")).replace(/}/g,"<span style=color:grey>}</span>"),o=0;o<a.arr.length;o++)p=p.replace("W3CSSCOMMENTPOS",a.arr[o]);return"<span style=color:green>"+p+"</span>"}function s(n){var t,e,a,r,o=n,i="";if(o.indexOf("{")>-1)return l(o);for(;o.search(":")>-1;){for(r=!0,a=t=o.search(":");1==r;)r=!1,e=o.indexOf(";",a)," "==o.substring(e-5,e+1)&&(r=!0,a=e+1);-1==e&&(e=o.length),i+=o.substring(0,t),i+=p(o.substring(t,e+1)),o=o.substr(e+1)}return"<span style=color:#a10d5f>"+i+o+"</span>"}function p(n){var t,e=n,a="";for(e="<span style=color:grey>:</span>"+e.substring(1);e.search(/!important/i)>-1;)t=e.search(/!important/i),a+=e.substring(0,t),a+=u(e.substring(t,t+10)),e=e.substr(t+10);var r=a+e;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 u(n){return"<span style=color:red;font-weight:bold;>"+n+"</span>"}function m(n){var t,e,a,r,o,i,d,l,s,p,u=n,m="",U=[],k="";for(t=0;t<u.length;t++)"\\"==(e=u.substr(t,1))&&(U.push(u.substr(t,2)),e="W3JSESCAPE",t++),k+=e;for(u=k,1;a=A(u,"'","'",g),r=A(u,'"','"',g),o=A(u,/\/\*/,"*/",c),i=A(u,/\/\//,"<br>",c),l=y(u,f),d=w("js",u,b),p=x(u,h),-1!=Math.max(l[0],a[0],r[0],o[0],i[0],d[0],p[0])&&-1!=(s=v(l,a,r,o,i,d,p))[0];)s[0]>-1&&(m+=u.substring(0,s[0]),m+=s[2](u.substring(s[0],s[1])),u=u.substr(s[1]));for(u=m+u,t=0;t<U.length;t++)u=u.replace("W3JSESCAPE",U[t]);return"<span style=color:black>"+u+"</span>"}function g(n){return"<span style=color:brown>"+n+"</span>"}function b(n){return"<span style=color:mediumblue>"+n+"</span>"}function f(n){return"<span style=color:red>"+n+"</span>"}function h(n){return"<span style=color:black>"+n+"</span>"}function x(n,t){var e,a,r,o,i=[".","<"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%"];if((o=n.indexOf("."))>-1)for(e=n.substr(o+1),r=0;r<e.length;r++){var d=e[r];for(a=0;a<i.length;a++)if(d.indexOf(i[a])>-1)return[o+1,r+o+1,t]}return[-1,-1,t]}function v(n,t,e,a,r,o,i){var d,c=[];for(d=0;d<arguments.length;d++)arguments[d][0]>-1&&(0==c.length||arguments[d][0]<c[0])&&(c=arguments[d]);return 0==c.length&&(c=arguments[d]),c}function w(n,t,e){var a,r,o,i,d=-1,c=-1;for("js"==n&&(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=t.indexOf(i[a]))>-1&&(o=/\W/g,t.substr(r+i[a].length,1).match(o)&&t.substr(r-1,1).match(o)&&r>-1&&(-1==d||r<d)&&(c=(d=r)+i[a].length));return[d,c,e]}function A(n,t,e,a){var r,o;return r=n.search(t),-1==(o=n.indexOf(e,r+e.length))&&(o=n.length),[r,o+e.length,a]}function y(n,t){var e,a,r,o,i,d=["<br>"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%","="],c=0;for(e=0;e<n.length;e++)for(a=0;a<d.length;a++)if((r=n.substr(e,d[a].length))==d[a]){if("-"==r&&("e"==n.substr(e-1,1)||"E"==n.substr(e-1,1)))continue;if(c<(o=e)&&(i=n.substring(c,o),!isNaN(i)))return[c,o,t];c=e+=d[a].length,e-=1;break}return[-1,-1,t]}}var cn=function(n){return n?n.charAt(0).toUpperCase()+n.slice(1):""},ln=function(){return getComputedStyle(document.body).getPropertyValue("--asset-path").trim()},sn=function(){return getComputedStyle(document.body).getPropertyValue("--accent").trim()},pn=function(n){if("string"===typeof n){var t=n;return t=(t=t.replace(/\\/g,"\\\\")).replace(/"/g,'\\"')}return n},un=function(n){return Math.floor(Math.random()*n)+1},mn=["January","February","March","April","May","June","July","August","September","October","November","December"],gn=function(n){var t=new Date(n);if("Invalid Date"==t.toString())return n;var e=t.getFullYear(),a=t.getMonth(),r=(t.getDate()+"").padStart(2,"0");return"".concat(mn[a].slice(0,3)," ").concat(r,", ").concat(e)},bn=function(n){return n.length>0?n.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"").replace(/ /g,""):n}},10:function(n,t,e){"use strict";e.d(t,"a",(function(){return i}));var a=e(0),r=e.n(a),o=e(5).default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1pdbosk-0"})(["box-sizing:border-box;width:100%;margin:0 auto;padding:",";max-width:",";"],(function(n){return n.padding?"0 var(--grid-margin);":0}),(function(n){n.maxWidth;return"calc(var(--container-max-width)px + var(--grid-margin) + var(--grid-margin));"})),i=function(n){var t=n.className,e=n.children,a=n.maxWidth,i=void 0===a?1520:a,d=n.padding,c=void 0===d||d;return r.a.createElement(o,{className:t,maxWidth:i,padding:c},e)};t.b=i},112:function(n,t,e){"use strict";var a=e(0),r=e.n(a),o=e(6),i=e(1),d=e(13),c=e.n(d),l={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},s=e(11),p=e(5),u=e(2);function m(){var n=Object(s.a)(["\n // ----------------------MOBILE DEVICE----------------------\n .accordion-shadow {\n -webkit-box-shadow: 0px 6px 9px -8px var(--shadow);\n -moz-box-shadow: 0px 6px 9px -8px var(--shadow);\n box-shadow: 0px 6px 9px -8px var(--shadow);\n }\n\n img {\n max-width: 100%;\n }\n\n .accordion-wrapper {\n display: flex;\n flex-direction: column;\n gap: 0.75rem;\n }\n\n .card-header {\n background-color: var(--grey);\n cursor: pointer;\n\n h5 {\n user-select: none;\n }\n\n span {\n font-weight: var(--font-weight-semi-bold);\n // font-size: 1.25rem;\n color: var(--text-color);\n }\n }\n\n .heading-style-3 {\n font-size: var(--font-size-l1);\n font-weight: var(--font-weight-bold);\n }\n\n .bottom-space {\n margin-bottom: 3rem;\n @media screen and "," {\n margin-bottom: 1.6rem;\n }\n }\n\n .text-style-tertiary {\n font-weight: var(--font-weight-bold);\n }\n\n .text-style-1 {\n font-weight: var(--font-normal);\n font-stretch: var(--font-normal);\n font-style: var(--font-normal);\n line-height: 1.5;\n letter-spacing: var(--font-normal);\n color: var(--mid-gray);\n font-size: var(--font-size-m1);\n @media "," {\n font-size: var(--font-size-m6);\n }\n @media "," {\n font-size: var(--font-size-l2);\n line-height: 46px;\n }\n }\n .accordion .card .card-header button span {\n color: var(--white);\n }\n\n .accordian-item {\n background-color: var(--grey);\n\n &:not(:last-child) {\n border-bottom: 10px solid var(--bg-main);\n\n @media "," {\n border-bottom: 5px solid var(--bg-main);\n }\n }\n }\n\n .card-body {\n background-color: var(--grey);\n\n .card-body-text-only {\n // padding: 1.25rem;\n\n h5 {\n font-weight: var(--font-weight-medium);\n }\n\n ul {\n margin-left: 1.5rem;\n @media screen and "," {\n margin-left: 1.4rem;\n }\n }\n }\n }\n\n .parent-div {\n .accordion-expand {\n display: inline;\n @media screen and "," {\n width: 32px;\n }\n }\n .accordion-collapsed {\n display: none;\n }\n &.show-icon {\n .accordion-expand {\n display: none;\n }\n .accordion-collapsed {\n display: inline;\n @media screen and "," {\n width: 32px;\n }\n }\n }\n }\n .box-shadow-header {\n padding: 10px 0;\n }\n .show-icon {\n .box-shadow-header {\n box-shadow: 0 2px 6px 0 var(--black-t-21);\n margin-bottom: 8px;\n padding-bottom: 10px;\n padding-bottom: 12px;\n @media screen and "," and "," {\n padding-bottom: 12px;\n padding-top: 10px;\n }\n @media screen and "," and "," {\n padding-bottom: 12px;\n }\n }\n .card-body .top-text {\n // padding-left: 3rem;\n @media screen and "," {\n // padding-left: 1.25rem;\n }\n }\n }\n\n .left-padding {\n padding-left: 65px;\n padding-right: 0px;\n }\n .right-padding {\n padding-right: 65px;\n padding-left: 0px;\n }\n\n // ----------------------LARGE DEVICE----------------------\n @media only screen and "," {\n // .card-header {\n // span {\n // font-size: 1rem;\n // }\n // }\n\n .card-body {\n .card-body-text-only {\n display: flex;\n flex-direction: column;\n justify-content: center;\n // padding-left: 3rem;\n }\n }\n }\n\n @media screen and "," {\n .card-header > .container span {\n font-size: var(--font-size-m5);\n }\n }\n\n @media screen and "," {\n .heading-style-3 {\n font-size: var(--font-size-md);\n }\n }\n @media screen and "," {\n .heading-style-3 {\n font-size: var(--font-size-h1);\n }\n }\n .card-body .text-style-1 .amarrHighlight a strong {\n font-weight: var(--font-weight-bold);\n }\n\n .card-body .text-style-1 .amarrHighlight {\n @media screen and "," {\n font-size: var(--font-size-l2);\n }\n @media screen and "," {\n font-size: var(--font-size-m6);\n }\n }\n @media screen and "," and "," {\n .left-padding {\n padding-left: 60px;\n }\n .right-padding {\n padding-right: 60px;\n }\n }\n @media screen and "," and "," {\n .left-padding {\n padding-left: 40px;\n }\n .right-padding {\n padding-right: 40px;\n }\n }\n @media screen and "," and "," {\n .left-padding {\n padding-left: 30px;\n }\n .right-padding {\n padding-right: 30px;\n }\n }\n\n /* Tablet view */\n @media screen and "," {\n .left-padding {\n padding-left: 20px;\n }\n .right-padding {\n padding-right: 20px;\n }\n }\n @media screen and "," {\n .left-padding {\n padding: 22px 0px 12px 0px;\n }\n .right-padding {\n padding: 22px 0px 12px 0px;\n }\n }\n "]);return m=function(){return n},n}var g=p.default.div.withConfig({displayName:"styles__Content",componentId:"sc-192d1jj-0"})(["",""],(function(n){var t;(null===(t=n.gradients)||void 0===t?void 0:t.visible)?n.theme.gradient:n.theme;return Object(p.css)(m(),u.b.mobileMax,u.b.smallDesktopAndUp,u.b.maxWidthAndUp,u.b.mediumDesktopAndUp3Max,u.b.smallDesktopAndUp2Max,u.b.largeDesktopMin,u.b.largeDesktopMin,u.b.mediumDesktopMin,u.b.mediumDesktopAndUp3Max,u.b.desktopMin,u.b.smallDesktopAndUp2Max,u.b.mobileMax,u.b.tabletPortraitAndUp,u.b.smallDesktopAndUp2,u.b.smallDesktopAndUp,u.b.maxWidthAndUp,u.b.minWidth1901,u.b.maxWidthAndUpMax,u.b.mediumDesktopMin,u.b.mediumDesktopAndUp3Max,u.b.tabletPortraitAndUp,u.b.smallDesktopAndUp2Max,u.b.tabletLandscapeAndUp,u.b.desktopAndUpMax,u.b.tabletPortraitMax,u.b.mobileMax)})),b=e(8),f=e(9),h=e(10),x={accordionData:[{header:{text:""},headingStyle:"",body:{text:""},textImageList:[{header:{text:""},headingStyle:"",body:{text:""},image:{url:"",altText:""},cta:{label:"",url:"",linkAction:"",color:"",visible:!0,isInternal:!0}}]}]},v=function(n){var t=c()({},x,Object(i.g)(n.content));Object(a.useEffect)((function(){for(var n=document.getElementsByClassName("accordian-head"),t=0;t<n.length;t++)n[t].parentElement.parentElement.parentElement.classList.remove("show-icon");setTimeout((function(){n[0].click(),n[0].parentElement.parentElement.parentElement.classList.add("show-icon")}),500),d()}),[]);var e=function(n){var t=document.getElementsByClassName("accordian-head");t[n].parentElement.parentElement.parentElement.classList.contains("show-icon")?t[n].parentElement.parentElement.parentElement.classList.remove("show-icon"):t[n].parentElement.parentElement.parentElement.classList.add("show-icon")},d=function(){var n=$(".accordian-head");$(n).each((function(n,t){$(this).on("keypress",(function(n){32!=n.keyCode&&13!=n.keyCode||this.click()}))}))};return r.a.createElement(b.a,{setter:{componentThemes:l,selectedTheme:n.theme}},r.a.createElement(f.a,null,r.a.createElement(h.a,{padding:!1},r.a.createElement(g,{isReversed:!1},r.a.createElement("div",{className:"container-fluid"},r.a.createElement("div",{className:"row"},r.a.createElement("div",{className:"col-12 p-0"},r.a.createElement("div",{className:"accordion accordion-wrapper",id:"my-accordian"},t.accordionData&&t.accordionData.length>0&&t.accordionData.map((function(n,t,a){return r.a.createElement("div",{key:t,className:"card z-depth-0 border-0 ".concat(t===a.length-1&&"bottom-space")},r.a.createElement("div",{className:"card-header accordion-shadow parent-div p-0",id:"heading".concat(t)},r.a.createElement("div",{className:"box-shadow-header"},r.a.createElement("div",{className:"container inner-container"},"capitalize"!==n.headingStyle&&r.a.createElement(n.headingStyle,{className:"mb-0 py-2 d-flex justify-content-between accordian-head align-items-center","data-toggle":"collapse","data-target":"#collapse".concat(t),"aria-expanded":"true","aria-controls":"collapse".concat(t),id:"toggle-list".concat(t),onClick:function(){return e(t)},onDoubleClick:function(){return e(t)},tabIndex:0,role:"button"},n.header.text,r.a.createElement("img",{loading:"lazy",className:"accordion-expand",src:Object(i.D)().concat("ic-add-accordian.svg"),alt:"expanded icon"}),r.a.createElement("img",{loading:"lazy",className:"accordion-collapsed",src:Object(i.D)().concat("ic-minus-accordian.svg"),alt:"collapsed icon"})),"capitalize"===n.headingStyle&&r.a.createElement("div",{className:"mb-0 py-2 d-flex justify-content-between align-items-center text-style-uppercase","data-toggle":"collapse","data-target":"#collapse".concat(t),"aria-expanded":"true","aria-controls":"collapse".concat(t),id:"toggle-list".concat(t)},n.header.text,r.a.createElement("img",{loading:"lazy",className:"accordion-expand",src:Object(i.D)().concat("ic-add-accordian.svg"),alt:"expanded icon"}),r.a.createElement("img",{loading:"lazy",className:"accordion-collapsed",src:Object(i.D)().concat("ic-minus-accordian.svg"),alt:"collapsed icon"})))),r.a.createElement("div",{id:"collapse".concat(t),className:"collapse","aria-labelledby":"heading".concat(t),"data-parent":"#my-accordian"},r.a.createElement("div",{className:"card-body px-0"},n.body.text&&r.a.createElement("div",{className:"top-text body-text1 pb-2 container inner-container",dangerouslySetInnerHTML:{__html:n.body.text}}),n.textImageList&&n.textImageList.length>0&&n.textImageList.map((function(n,t){return r.a.createElement("div",{className:"container inner-container accordian-item"},r.a.createElement("div",{className:"row m-0",key:t},r.a.createElement("div",{className:"col-md-6 p-0 order-1 ".concat(0===t||t%2===0?"order-md-1":"order-md-2"," ")},r.a.createElement("img",{loading:"lazy",src:n.image.url,alt:n.image.altText})),r.a.createElement("div",{className:"col-md-6 order-2 card-body-text-only ".concat(0===t||t%2===0?"order-md-2 left-padding":"order-md-1 right-padding")},"capitalize"!==n.headingStyle&&r.a.createElement(n.headingStyle,null,n.header.text),"capitalize"===n.headingStyle&&r.a.createElement("div",{className:"text-style-uppercase"},n.header.text),n.body&&r.a.createElement("div",{className:"body-text1 mt-1 mb-3 mt-md-4 mb-md-5",dangerouslySetInnerHTML:{__html:n.body.text}}),n.cta&&("inverse"===n.cta.color||"normal"===n.cta.color)&&n.cta.visible&&n.cta.label&&n.cta.linkAction&&r.a.createElement(o.a,{label:Object(i.i)(n.cta.label),link:!0,linkHref:n.cta.url,target:n.cta.linkAction,inverse:"inverse"===n.cta.color}),n.cta&&"tertiary"===n.cta.color&&n.cta.visible&&n.isInternal&&n.cta.label&&n.cta.linkAction&&r.a.createElement("a",{className:"expand-link text-style-tertiary",href:n.cta.url,target:n.cta.linkAction,"aria-label":n.cta.label},n.cta.label),n.cta&&"tertiary"===n.cta.color&&n.cta.visible&&!n.isInternal&&n.cta.label&&"_self"===n.cta.linkAction&&r.a.createElement("a",{className:"expand-link text-style-tertiary",href:n.cta.url,target:n.cta.linkAction,"aria-label":n.cta.label},n.cta.label),n.cta&&"tertiary"===n.cta.color&&n.cta.visible&&!n.isInternal&&n.cta.label&&"_blank"===n.cta.linkAction&&r.a.createElement("a",{className:"expand-link text-style-tertiary",href:n.cta.url,target:n.cta.linkAction,rel:"noopener","aria-label":n.cta.label},n.cta.label))))}))))))}))))))))))};v.defaultProps={theme:"",content:""};t.a=v},2:function(n,t,e){"use strict";e.d(t,"a",(function(){return a})),e.d(t,"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(n,t){n.exports=ReactDOM},448:function(n,t,e){"use strict";e.r(t);var a=e(22),r=e(112);t.default=a.a.create({component:r.a,configuration:{tagname:"amarr-accordian",useShadow:!1},plugins:[]})},6:function(n,t,e){"use strict";e.d(t,"a",(function(){return u}));var a=e(31),r=e(0),o=e.n(r),i=e(5),d=e(2),c=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;}"],d.b.smallDesktop2Min),s=e(30),p=e(29),u=function(n){var t=n.label,e=void 0===t?"label":t,r=n.classStyle,i=void 0===r?"default":r,d=n.link,u=void 0!==d&&d,m=n.disabled,g=void 0!==m&&m,b=n.datatoggle,f=void 0===b?"":b,h=n.datatarget,x=void 0===h?"":h,v=n.linkHref,w=n.target,A=void 0===w?"_self":w,y=n.downloadLink,U=void 0!==y&&y,k=n.inverse,M=void 0!==k&&k,D=n.icon,E=void 0===D?"":D,O=n.iconAlt,N=void 0===O?"":O,P=n.dataItemName,z=void 0===P?"":P,S=n.id,C=void 0===S?"":S,L=n.type,j=void 0===L?"button":L,W=n.showDisabledMessage,T=void 0===W?"":W,I=n.ariaLabel,_=void 0===I?"":I,$=Object(a.a)(n,["label","classStyle","link","disabled","datatoggle","datatarget","linkHref","target","downloadLink","inverse","icon","iconAlt","dataItemName","id","type","showDisabledMessage","ariaLabel"]);return o.a.createElement(c,null,o.a.createElement("div",{className:"".concat(g&&T&&"disabled-button-parent")},u?o.a.createElement("a",{href:v,download:U,target:A,"data-item-name":z,id:C,"aria-label":_},o.a.createElement(l,Object.assign({role:"none",disabled:g,classStyle:"".concat(i)},$,{type:j,className:M?"btn-inverse btn btn-success":"btn btn-success"}),""!=E?o.a.createElement("div",{"data-toggle":f,"data-target":x},o.a.createElement("img",{loading:"lazy",className:"button-icon",src:E,alt:N}),o.a.createElement("span",null,e)):o.a.createElement("span",null,e))):o.a.createElement(l,Object.assign({disabled:g,classStyle:i,className:M?"btn-inverse btn btn-success":"btn btn-success",id:C,"data-item-name":z,type:j,"data-toggle":f,"data-target":x},$),o.a.createElement("span",null,e)),g&&T&&o.a.createElement(s.a,{placement:"top",delay:{show:250,hide:250},overlay:o.a.createElement(p.a,{id:"button-tooltip"},o.a.createElement("div",{className:"p-1 amarr-h6"},T))},o.a.createElement("div",{className:"disabled-button-overlay"}))))}},8:function(n,t,e){"use strict";e.d(t,"a",(function(){return i}));var a=e(5),r=e(0),o=e.n(r),i=function(n){var t=n.setter,e=t.componentThemes,r=t.selectedTheme;return o.a.createElement(a.ThemeProvider,{theme:function(){if(!r)return e.theme1;var n=r.match(/\d+/g).map(Number),t=Object.keys(e).find((function(t){return!(!Array.isArray(n)||1!==n.length)&&(t.includes(n[0])&&e[t])}));return t?e["".concat(t)]:e.theme1}},n.children)};t.b=i},9:function(n,t,e){"use strict";var a=e(0),r=e.n(a),o=e(5),i=e(23),d=Object(a.createContext)({});t.a=function(n){var t=!1;try{var e;t=(null===(e=document)||void 0===e?void 0:e.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(c){console.log(c)}var a=t?[i.a]:[];return r.a.createElement(o.StyleSheetManager,{stylisPlugins:a},r.a.createElement(d.Provider,{value:{rtl:t}},n.children))}}});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@assaabloy/amarr-wc-accordian",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.4",
|
|
4
4
|
"description": "Web component - Accordian",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "accordian.js",
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
},
|
|
12
12
|
"author": "Nagarro",
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"gitHead": "
|
|
14
|
+
"gitHead": "8baaaf1b71f75201d4407a4ff95655a39375a173"
|
|
15
15
|
}
|
package/LICENSE.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020-present ASSA ABLOY global web contributors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/README.md
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-

|
|
2
|
-
<sup>Global web - web components</sup>
|
|
3
|
-
|
|
4
|
-
# Accordian
|
|
5
|
-
|
|
6
|
-
**Custom HTML element**
|
|
7
|
-
```html
|
|
8
|
-
<accordian foo="" bar="" baz=""></accordian>
|
|
9
|
-
```
|
|
10
|
-
|
|
11
|
-
**Properties**
|
|
12
|
-
| Name | Type | Description |
|
|
13
|
-
| ------------- | --------- | ----------------------------- |
|
|
14
|
-
| foo | Object | |
|
|
15
|
-
| bar | String | Allowed values, required etc. |
|
|
16
|
-
| baz | Array | |
|
|
17
|
-
|
|
18
|
-
**Dependencies**
|
|
19
|
-
@assaabloy/wc-vendor
|