@assaabloy/amarr-wc-video-list 5.0.3 → 5.0.6

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assaabloy/amarr-wc-video-list",
3
- "version": "5.0.3",
3
+ "version": "5.0.6",
4
4
  "description": "Web component - Video List",
5
5
  "type": "module",
6
6
  "main": "videoList.js",
@@ -11,5 +11,5 @@
11
11
  },
12
12
  "author": "Nagarro",
13
13
  "license": "MIT",
14
- "gitHead": "7695881d73e62ecff95e1a43ea4594a0bafc609f"
14
+ "gitHead": "f6f56c36eb6805e8e7e592076747df4a177e5f7a"
15
15
  }
package/videoList.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(t){for(var a,o,d=t[0],c=t[1],s=t[2],p=0,u=[];p<d.length;p++)o=d[p],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&u.push(r[o][0]),r[o]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(l&&l(t);u.length;)u.shift()();return i.push.apply(i,s||[]),n()}function n(){for(var e,t=0;t<i.length;t++){for(var n=i[t],a=!0,d=1;d<n.length;d++){var c=n[d];0!==r[c]&&(a=!1)}a&&(i.splice(t--,1),e=o(o.s=n[0]))}return e}var a={},r={76:0},i=[];function o(t){if(a[t])return a[t].exports;var n=a[t]={i:t,l:!1,exports:{}};return e[t].call(n.exports,n,n.exports,o),n.l=!0,n.exports}o.m=e,o.c=a,o.d=function(e,t,n){o.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},o.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},o.t=function(e,t){if(1&t&&(e=o(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)o.d(n,a,function(t){return e[t]}.bind(null,a));return n},o.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return o.d(t,"a",t),t},o.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},o.p="/";var d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=d.push.bind(d);d.push=t,d=d.slice();for(var s=0;s<d.length;s++)t(d[s]);var l=c;i.push([546,0]),n()}({0:function(e,t){e.exports=React},1:function(e,t,n){"use strict";n.d(t,"a",(function(){return a})),n.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},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)"),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(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(0),r=n.n(a),i=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(e){return e.padding?"0 var(--grid-margin);":0}),(function(e){e.maxWidth;return"calc(var(--container-max-width)px + var(--grid-margin) + var(--grid-margin));"})),o=function(e){var t=e.className,n=e.children,a=e.maxWidth,o=void 0===a?1520:a,d=e.padding,c=void 0===d||d;return r.a.createElement(i,{className:t,maxWidth:o,padding:c},n)}},104:function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(2),o=n(12),d=n.n(o),c={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},s=n(11),l=n(5),p=n(1);function u(){var e=Object(s.a)(["\n .video-container {\n background: var(--grey);\n }\n h3 {\n // font-size: 18px;\n margin: 20px 0 20px 0;\n @media "," {\n // font-size: 48px;\n margin: 20px 0 40px 0;\n }\n }\n h2 {\n padding: 20px 0px 0px 0px;\n margin-bottom: 0px;\n }\n .video-item {\n display: flex;\n align-items: center;\n border-bottom: solid 1px var(--border-color-soft);\n padding: 24px 0px 18px 0px;\n @media "," {\n border-bottom: none;\n padding-bottom: 0;\n }\n @media screen and "," and "," {\n padding: 5px 0px 0px 0px;\n }\n &:last-child {\n border-bottom: none;\n }\n video {\n width: 100%;\n }\n .left-space {\n @media "," {\n padding-left: 20px !important;\n }\n }\n .video-title {\n color: var(--accent-contrast);\n background: var(--accent);\n display: inline-block;\n padding: 5px 10px;\n margin-bottom: 10px;\n border-radius: 3px;\n @media "," {\n margin-top: 20px;\n }\n }\n // These font sizes are as per body text 2\n p {\n font-size: var(--font-size-m2);\n line-height: 28px;\n @media screen and "," and "," {\n font-size: var(--font-size-s2);\n line-height: 22px;\n }\n @media screen and "," and "," {\n font-size: var(--font-size-xs3);\n line-height: 20px;\n }\n @media screen and ",' {\n font-size: var(--font-size-s2);\n line-height: 20px;\n }\n }\n .video-div {\n position: relative;\n span {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n @media screen and ',"{\n .circle,\n .play-pause-icon {\n width: 60px;\n height: 60px;\n top: calc(50% - 30px);\n left: calc(50% - 30px);\n }\n }\n @media screen and "," and "," {\n .circle,\n .play-pause-icon {\n width: 50px;\n height: 50px;\n top: calc(50% - 25px);\n left: calc(50% - 25px);\n }\n }\n @media screen and "," and "," {\n .circle,\n .play-pause-icon {\n width: 40px;\n height: 40px;\n top: calc(50% - 20px);\n left: calc(50% - 20px);\n }\n }\n }\n button {\n cursor: pointer;\n border: none;\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n background: transparent;\n }\n }\n\n .video-list.video-grid-parent {\n display: inline-grid;\n grid-template-columns: 1fr 1fr;\n column-gap: 30px;\n }\n\n .video-list-grid .video-card > div,\n .video-card > iframe,\n .video-list.video-grid-parent {\n width: 100%;\n }\n\n .video-caption {\n /* font-size: 30px;\n font-weight: 600;\n color: #333; */\n margin-top: 10px;\n margin-bottom: 20px;\n }\n\n @media screen and "," {\n .video-list.video-grid-parent {\n display: flex;\n flex-flow: column nowrap;\n .video-card > iframe {\n height: 250px;\n }\n .video-card .video-caption {\n font-size: 20px;\n margin-top: 10px;\n margin-bottom: 30px;\n }\n }\n }\n "]);return u=function(){return e},e}var m=l.default.div.withConfig({displayName:"styles__Content",componentId:"hoe2jh-0"})(["",""],(function(e){var t;(null===(t=e.gradients)||void 0===t?void 0:t.visible)?e.theme.gradient:e.theme;return Object(l.css)(u(),p.b.tabletPortraitMax,p.b.mobileMax,p.b.tabletPortraitAndUp,p.b.desktop2Max,p.b.tabletPortraitAndUp,p.b.tabletPortraitMax2,p.b.mediumDesktopMin,p.b.mediumDesktopAndUp3Max,p.b.tabletPortraitAndUp,p.b.smallDesktopAndUp2Max,p.b.mobileMax,p.b.mediumDesktopMin,p.b.tabletLandscapeAndUp,p.b.smallDesktopAndUp2Max,p.b.tabletPortraitAndUp,p.b.tabletPortraitMax,p.b.mobileMax)})),x=n(8),h=n(9),f=n(10),b=n(48),g={header:void 0,variation:"",headingStyle:"",videoListItems:[{header:{text:""},headingStyle:"",body:{text:""},video:{url:"",id:""}}]},v=function(e){var t=d()({},g,Object(i.g)(e.content));return r.a.createElement(x.a,{setter:{componentThemes:c,selectedTheme:e.theme}},r.a.createElement(h.a,null,r.a.createElement(f.a,{padding:!1},r.a.createElement(m,{isReversed:!1},r.a.createElement("div",{className:"".concat("list"===t.variation&&"video-container")},r.a.createElement("div",{className:"container inner-container dealer-col"},r.a.createElement("div",{className:"row m-0"},r.a.createElement("div",{className:"col-12 p-0"},t.header&&"h1"===t.headingStyle&&r.a.createElement("h1",{className:"".concat("grid"===t.variation&&"text-center")},t.header.text),t.header&&"h2"===t.headingStyle&&r.a.createElement("h2",{className:"".concat("grid"===t.variation&&"text-center")},t.header.text),t.header&&"h3"===t.headingStyle&&r.a.createElement("h3",{className:"".concat("grid"===t.variation&&"text-center")},t.header.text),t.header&&"h4"===t.headingStyle&&r.a.createElement("h4",{className:"".concat("grid"===t.variation&&"text-center")},t.header.text),t.header&&"h5"===t.headingStyle&&r.a.createElement("h5",{className:"".concat("grid"===t.variation&&"text-center")},t.header.text),t.header&&"h6"===t.headingStyle&&r.a.createElement("h6",{className:"".concat("grid"===t.variation&&"text-center")},t.header.text),t.header&&"capitalize"===t.headingStyle&&r.a.createElement("div",{className:"text-style-uppercase"},t.header.text),r.a.createElement("div",{className:"video-list ".concat("grid"===t.variation&&"video-grid-parent"," ").concat("list"===t.variation&&"video-list-parent")},t.videoListItems&&"list"===t.variation&&t.videoListItems.map((function(e,t){return r.a.createElement("div",{className:"video-item row m-0",key:t},r.a.createElement("div",{className:"col-sm-12 col-md-3 p-0 video-div"},e.video&&e.video.url&&r.a.createElement(b.a,{item:e})),r.a.createElement("div",{className:"col-sm-12 col-md-9 p-0 left-space"},e.header&&r.a.createElement("div",{className:"amarr-h6 video-title"},e.header.text),e.body&&r.a.createElement("p",{dangerouslySetInnerHTML:{__html:e.body.text}})))})),t.videoListItems&&"grid"===t.variation&&t.videoListItems.map((function(e,t){var n;return r.a.createElement("div",{key:t,className:"video-list-grid"},r.a.createElement("span",{className:"video-card"},e.video&&e.video.id&&r.a.createElement("iframe",{loading:"lazy",title:null===e||void 0===e||null===(n=e.header)||void 0===n?void 0:n.text,height:"397",src:"https://www.youtube.com/embed/".concat(e.video.id,"?autoplay=0&mute=1&loop=0")}),e.header&&"capitalize"!==e.headingStyle&&r.a.createElement(e.headingStyle,{className:"text-section video-caption"},e.header.text),e.header&&"capitalize"===e.headingStyle&&r.a.createElement("div",{className:"text-style-capitalize text-section video-caption"},e.header.text)))})))))))))))};v.defaultProps={theme:"",content:""};t.a=v},2:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"W",(function(){return i})),n.d(t,"i",(function(){return o})),n.d(t,"E",(function(){return d})),n.d(t,"H",(function(){return c})),n.d(t,"v",(function(){return s})),n.d(t,"C",(function(){return l})),n.d(t,"o",(function(){return p})),n.d(t,"r",(function(){return u})),n.d(t,"J",(function(){return m})),n.d(t,"I",(function(){return x})),n.d(t,"R",(function(){return h})),n.d(t,"F",(function(){return f})),n.d(t,"u",(function(){return b})),n.d(t,"h",(function(){return g})),n.d(t,"t",(function(){return v})),n.d(t,"y",(function(){return w})),n.d(t,"w",(function(){return A})),n.d(t,"D",(function(){return U})),n.d(t,"s",(function(){return y})),n.d(t,"S",(function(){return k})),n.d(t,"q",(function(){return M})),n.d(t,"K",(function(){return D})),n.d(t,"G",(function(){return E})),n.d(t,"T",(function(){return N})),n.d(t,"m",(function(){return S})),n.d(t,"j",(function(){return z})),n.d(t,"n",(function(){return C})),n.d(t,"k",(function(){return W})),n.d(t,"l",(function(){return j})),n.d(t,"z",(function(){return L})),n.d(t,"M",(function(){return T})),n.d(t,"x",(function(){return _})),n.d(t,"U",(function(){return I})),n.d(t,"V",(function(){return Z})),n.d(t,"b",(function(){return H})),n.d(t,"P",(function(){return $})),n.d(t,"A",(function(){return R})),n.d(t,"a",(function(){return J})),n.d(t,"d",(function(){return F})),n.d(t,"f",(function(){return G})),n.d(t,"e",(function(){return q})),n.d(t,"Y",(function(){return Y})),n.d(t,"c",(function(){return B})),n.d(t,"X",(function(){return K})),n.d(t,"L",(function(){return Q})),n.d(t,"N",(function(){return V})),n.d(t,"O",(function(){return X})),n.d(t,"p",(function(){return ee})),n.d(t,"Q",(function(){return te})),n.d(t,"B",(function(){return ne}));var a=n(4),r=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},i=function(e){return btoa(unescape(encodeURIComponent(e)))},o=function(e){return e.toUpperCase()},d=function(e){return e.replaceAll(" ","-").toLowerCase()},c=new a.a(!1),s=new a.a(!1),l=new a.a(!1),p=new a.a(!1),u=new a.a(""),m=new a.a(!1),x=new a.a(!1),h=new a.a(!1),f=new a.a(!1),b=new a.a(!1),g=new a.a(!1),v=new a.a(""),w=new a.a(!0),A=new a.a(!0),U=new a.a(!0),y=new a.a(!0),k=new a.a(!0),M=new a.a(!0),D=new a.a({}),P=new a.a(!1),O=0,E=new a.a(!1),N=new a.a(""),S=new a.a(""),z=new a.a(""),C=new a.a(""),W=new a.a(""),j=new a.a(""),L=new a.a(""),T=new a.a(""),_=new a.a(!1),I=new a.a(!1),Z=new a.a(!1),H=(new a.a(!1),new a.a(!1),function(){setTimeout((function(){O++,P.next(!0)}),0)}),$=function(){setTimeout((function(){O>0&&O--,0==O&&P.next(!1)}),0)},R=function(){return P.asObservable()},J=function(e){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(e)},F=function(e){return e.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},G=function(e){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(e)},q=function(e){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(e)},Y=function(e){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(e)},B=function(e){return/^[0-9]*$/.test(e)},K=function(e){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(e)},Q=function(e){if(e&&""!==e&&-1===e.indexOf("(")&&-1===e.indexOf(") ")&&-1===e.indexOf("-")){return"("+e.substring(0,3)+") "+e.substring(3,6)+"-"+e.substring(6,e.length)}return e},V=function(e){return e&&(e=e.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==e&&"0"!==e||(e=e.toFixed(2)),e},X=function(e,t){return e=e?Number(e):0,(0===(t=t?Number(t):0)||"0"===t?0:(e-t)/t*100).toFixed(2)},ee=function(e){var t={tabs:!0,type:"designer",clavos:!1,download:!0,quote:!0,srcUrl:"/DoorApp",id:"AmarrDoorDesigner",panel:e.selectedPanel,brand:"",myGuid:"d-608280c6f378f8.36911414",email:!0,height:e.selectedHeight,glass:e.selectedGlass,collection:e.selectedCollection,print:!0,baseUrl:"",gplacement:e.selectedWindowPlacement,width:e.selectedWidth,srcDir:"DoorApp",MosaicName:"Mosaic",logooption:""};return e.selectedColor&&(t.color=e.selectedColor),e.colorHex&&(t.colorHex=e.colorHex),e.colorZone&&(t.colorZone=e.colorZone),e.selectedConstruction&&(t.model=e.selectedConstruction),e.selectedWindowDesign&&(t.top=e.selectedWindowDesign),e.glazepattern&&(t.glazepattern=e.glazepattern),e.selectedHardware&&(t.hardware=e.selectedHardware),t},te=function(e,t,n){var a="",r=e.split(t);return r.forEach((function(e,t){"undefined"!==e&&e&&(a+=e,t!==r.length-1&&(a+=n))})),a};function ne(e,t){var n=t||"html",a=e;return n||(n="html"),"html"==n&&(a=function(e){var t,n,a,o,d,l=e,p="";t=r(l,"&lt;!--","--&gt;",c,"W3HTMLCOMMENTPOS"),l=t.rest;for(;l.indexOf("&lt;")>-1;)o="",n=l.indexOf("&lt;"),"&LT;STYLE"==l.substr(n,9).toUpperCase()&&(o="css"),"&LT;SCRIPT"==l.substr(n,10).toUpperCase()&&(o="javascript"),-1==(a=l.indexOf("&gt;",n))&&(a=l.length),p+=l.substring(0,n),p+=i(l.substring(n,a+4)),l=l.substr(a+4),"css"==o&&(a=l.indexOf("&lt;/style&gt;"))>-1&&(p+=s(l.substring(0,a)),l=l.substr(a)),"javascript"==o&&(a=l.indexOf("&lt;/script&gt;"))>-1&&(p+=m(l.substring(0,a)),l=l.substr(a));for(l=p+l,d=0;d<t.arr.length;d++)l=l.replace("W3HTMLCOMMENTPOS",t.arr[d]);return l}(a)),"css"==n&&(a=s(a)),"js"==n&&(a=m(a)),a;function r(e,t,n,a,r){for(var i,o,d="",c=[];e.search(t)>-1;)i=e.search(t),-1==(o=e.indexOf(n,i))&&(o=e.length),r?(c.push(a(e.substring(i,o+n.length))),e=e.substring(0,i)+r+e.substr(o+n.length)):(d+=e.substring(0,i),d+=a(e.substring(i,o+n.length)),e=e.substr(o+n.length));return{rest:d+e,arr:c}}function i(e){for(var t,n,a,r=e,i="";r.search(/(\s|<br>)/)>-1;)t=r.search(/(\s|<br>)/),-1==(n=r.indexOf("&gt;"))&&(n=r.length),i+=r.substring(0,t),i+=o(r.substring(t,n)),r=r.substr(n);return"&gt;"==(a="<span style=color:grey>&lt;</span>"+(a=i+r).substring(4)).substr(a.length-4,4)&&(a=a.substring(0,a.length-4)+"<span style=color:grey>&gt;</span>"),"<span style=color:#a10d5f>"+a+"</span>"}function o(e){for(var t,n,a,r,i,o=e,c="";o.indexOf("=")>-1;)n=-1,t=o.indexOf("="),a=o.indexOf("'",t),r=o.indexOf('"',t),(i=o.indexOf(" ",t+2))>-1&&(i<a||-1==a)&&(i<r||-1==r)?n=o.indexOf(" ",t):r>-1&&(r<a||-1==a)&&(r<i||-1==i)?n=o.indexOf('"',o.indexOf('"',t)+1):a>-1&&(a<r||-1==r)&&(a<i||-1==i)&&(n=o.indexOf("'",o.indexOf("'",t)+1)),(!n||-1==n||n<t)&&(n=o.length),c+=o.substring(0,t),c+=d(o.substring(t,n+1)),o=o.substr(n+1);return"<span style=color:green>"+c+o+"</span>"}function d(e){return"<span style=color:#1c8a9c>"+e+"</span>"}function c(e){return"<span style=color:green>"+e+"</span>"}function s(e){var t,n,a,i,o,d,s,p=e,u="";for(p=(a=r(p,/\/\*/,"*/",c,"W3CSSCOMMENTPOS")).rest;p.search("{")>-1;){for(t=p.search("{"),o=p.substr(t+1),s=1,d=0,i=0;i<o.length&&("{"==o.substr(i,1)&&(s++,d++),"}"==o.substr(i,1)&&s--,0!=s);i++);for(0!=s&&(d=0),n=t,i=0;i<=d;i++)n=p.indexOf("}",n+1);-1==n&&(n=p.length),u+=p.substring(0,t+1),u+=l(p.substring(t+1,n)),p=p.substr(n)}for(p=(p=(p=u+p).replace(/{/g,"<span style=color:grey>{</span>")).replace(/}/g,"<span style=color:grey>}</span>"),i=0;i<a.arr.length;i++)p=p.replace("W3CSSCOMMENTPOS",a.arr[i]);return"<span style=color:green>"+p+"</span>"}function l(e){var t,n,a,r,i=e,o="";if(i.indexOf("{")>-1)return s(i);for(;i.search(":")>-1;){for(r=!0,a=t=i.search(":");1==r;)r=!1,n=i.indexOf(";",a),"&nbsp;"==i.substring(n-5,n+1)&&(r=!0,a=n+1);-1==n&&(n=i.length),o+=i.substring(0,t),o+=p(i.substring(t,n+1)),i=i.substr(n+1)}return"<span style=color:#a10d5f>"+o+i+"</span>"}function p(e){var t,n=e,a="";for(n="<span style=color:grey>:</span>"+n.substring(1);n.search(/!important/i)>-1;)t=n.search(/!important/i),a+=n.substring(0,t),a+=u(n.substring(t,t+10)),n=n.substr(t+10);var r=a+n;return";"==r.substr(r.length-1,1)&&"&nbsp;"!=r.substr(r.length-6,6)&&"&lt;"!=r.substr(r.length-4,4)&&"&gt;"!=r.substr(r.length-4,4)&&"&amp;"!=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(e){return"<span style=color:red;font-weight:bold;>"+e+"</span>"}function m(e){var t,n,a,r,i,o,d,s,l,p,u=e,m="",y=[],k="";for(t=0;t<u.length;t++)"\\"==(n=u.substr(t,1))&&(y.push(u.substr(t,2)),n="W3JSESCAPE",t++),k+=n;for(u=k,1;a=A(u,"'","'",x),r=A(u,'"','"',x),i=A(u,/\/\*/,"*/",c),o=A(u,/\/\//,"<br>",c),s=U(u,f),d=w("js",u,h),p=g(u,b),-1!=Math.max(s[0],a[0],r[0],i[0],o[0],d[0],p[0])&&-1!=(l=v(s,a,r,i,o,d,p))[0];)l[0]>-1&&(m+=u.substring(0,l[0]),m+=l[2](u.substring(l[0],l[1])),u=u.substr(l[1]));for(u=m+u,t=0;t<y.length;t++)u=u.replace("W3JSESCAPE",y[t]);return"<span style=color:black>"+u+"</span>"}function x(e){return"<span style=color:brown>"+e+"</span>"}function h(e){return"<span style=color:mediumblue>"+e+"</span>"}function f(e){return"<span style=color:red>"+e+"</span>"}function b(e){return"<span style=color:black>"+e+"</span>"}function g(e,t){var n,a,r,i,o=[".","<"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%"];if((i=e.indexOf("."))>-1)for(n=e.substr(i+1),r=0;r<n.length;r++){var d=n[r];for(a=0;a<o.length;a++)if(d.indexOf(o[a])>-1)return[i+1,r+i+1,t]}return[-1,-1,t]}function v(e,t,n,a,r,i,o){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(e,t,n){var a,r,i,o,d=-1,c=-1;for("js"==e&&(o=["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<o.length;a++)(r=t.indexOf(o[a]))>-1&&(i=/\W/g,t.substr(r+o[a].length,1).match(i)&&t.substr(r-1,1).match(i)&&r>-1&&(-1==d||r<d)&&(c=(d=r)+o[a].length));return[d,c,n]}function A(e,t,n,a){var r,i;return r=e.search(t),-1==(i=e.indexOf(n,r+n.length))&&(i=e.length),[r,i+n.length,a]}function U(e,t){var n,a,r,i,o,d=["<br>"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%","="],c=0;for(n=0;n<e.length;n++)for(a=0;a<d.length;a++)if((r=e.substr(n,d[a].length))==d[a]){if("-"==r&&("e"==e.substr(n-1,1)||"E"==e.substr(n-1,1)))continue;if(c<(i=n)&&(o=e.substring(c,i),!isNaN(o)))return[c,i,t];c=n+=d[a].length,n-=1;break}return[-1,-1,t]}}},26:function(e,t){e.exports=ReactDOM},455:function(e,t,n){"use strict";n.r(t);var a=n(20),r=n(104);t.default=a.a.create({component:r.a,configuration:{tagname:"amarr-videolist",useShadow:!1},plugins:[]})},48:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(3),r=n(0),i=n.n(r),o=n(5),d=n(1),c=o.default.section.withConfig({displayName:"styles__Content",componentId:"sc-13lfbb6-0"})([".hide-icon{.circle{opacity:0 !important;}img{display:none;}}.play-pause-image:hover{.circle{background-color:var(--play-pause-bg-color);border-radius:50px;opacity:1;z-index:1;display:inline;}img{display:inline;}}.play-pause-image.pause:hover{.circle{background-color:var(--play-pause-bg-color-2);opacity:0.800000012 !important;}img{display:inline;}}.play-pause-image{.circle{background-color:var(--play-pause-bg-color-2);opacity:0.5;border-radius:50px;margin:auto;width:96px;height:96px;display:flex;align-items:var(--text-center);justify-content:var(--text-center);position:absolute;top:calc(50% - 47px);left:calc(50% - 47px);}.play-pause-icon{position:absolute;top:calc(50% - 47px);left:calc(50% - 47px);z-index:999;}@media screen and "," and ","{.circle,.play-pause-icon{width:80px;height:80px;top:calc(50% - 22px);left:calc(50% - 40px);}}@media screen and ","{.circle,.play-pause-icon{width:70px;height:70px;top:calc(50% - 10px);left:calc(50% - 35px);}}@media screen and "," and ","{.circle,.play-pause-icon{width:50px;height:50px;top:50%;left:calc(50% - 25px);}}@media screen and "," and ","{.circle,.play-pause-icon{width:40px;height:40px;top:calc(50% + 5px);left:calc(50% - 20px);}}}"],d.b.mediumDesktopMin,d.b.mediumDesktopAndUp3Max,d.b.smallDesktopAndUp2Max,d.b.tabletLandscapeAndUp,d.b.desktopAndUpMax,d.b.tabletPortraitAndUp,d.b.tabletPortraitMax),s=function(e){var t=e.item,n=e.showControls,o=Object(r.useRef)(null),d=Object(r.useState)(!1),s=Object(a.a)(d,2),l=s[0],p=s[1],u=Object(r.useState)(!1),m=Object(a.a)(u,2),x=m[0],h=m[1],f=function(){setTimeout((function(){h(!0)}),1e3)};return i.a.createElement(c,null,!n&&i.a.createElement("video",{ref:o,preload:"none"},i.a.createElement("source",{src:t.video.url})),n&&i.a.createElement("video",{preload:"none",ref:o,onPlay:function(){p(!0),f(),o.current.controls=!0},onPause:function(){h(!1),p(!1),o.current.controls=!1},muted:!0},i.a.createElement("source",{src:t.video.url})),i.a.createElement("span",null,i.a.createElement("a",{onClick:function(){var e,t;l?null===(e=o.current)||void 0===e||e.pause():(null===(t=o.current)||void 0===t||t.play(),f());p(!l),h(!1)},className:"".concat(l&&"pause"," ").concat(x&&"hide-icon"," play-pause-image")},i.a.createElement("div",{className:"circle"}),i.a.createElement("img",{loading:"lazy",src:l?"/etc.clientlibs/amarr/clientlibs/themes/amarr/resources/images/ic_pause.svg":"/etc.clientlibs/amarr/clientlibs/themes/amarr/resources/images/ic_play.svg",alt:l?"Pause Icon":"Play Icon",className:"play-pause-icon"}))))}},8:function(e,t,n){"use strict";n.d(t,"a",(function(){return o}));var a=n(5),r=n(0),i=n.n(r),o=function(e){var t=e.setter,n=t.componentThemes,r=t.selectedTheme;return i.a.createElement(a.ThemeProvider,{theme:function(){if(!r)return n.theme1;var e=r.match(/\d+/g).map(Number),t=Object.keys(n).find((function(t){return!(!Array.isArray(e)||1!==e.length)&&(t.includes(e[0])&&n[t])}));return t?n["".concat(t)]:n.theme1}},e.children)}},9:function(e,t,n){"use strict";var a=n(0),r=n.n(a),i=n(5),o=n(21),d=Object(a.createContext)({});t.a=function(e){var t=!1;try{var n;t=(null===(n=document)||void 0===n?void 0:n.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(c){console.log(c)}var a=t?[o.a]:[];return r.a.createElement(i.StyleSheetManager,{stylisPlugins:a},r.a.createElement(d.Provider,{value:{rtl:t}},e.children))}}});
1
+ !function(t){function e(e){for(var a,o,c=e[0],d=e[1],l=e[2],p=0,u=[];p<c.length;p++)o=c[p],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&u.push(r[o][0]),r[o]=0;for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(t[a]=d[a]);for(s&&s(e);u.length;)u.shift()();return i.push.apply(i,l||[]),n()}function n(){for(var t,e=0;e<i.length;e++){for(var n=i[e],a=!0,c=1;c<n.length;c++){var d=n[c];0!==r[d]&&(a=!1)}a&&(i.splice(e--,1),t=o(o.s=n[0]))}return t}var a={},r={99:0},i=[];function o(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,o),n.l=!0,n.exports}o.m=t,o.c=a,o.d=function(t,e,n){o.o(t,e)||Object.defineProperty(t,e,{enumerable:!0,get:n})},o.r=function(t){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(t,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(t,"__esModule",{value:!0})},o.t=function(t,e){if(1&e&&(t=o(t)),8&e)return t;if(4&e&&"object"===typeof t&&t&&t.__esModule)return t;var n=Object.create(null);if(o.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:t}),2&e&&"string"!=typeof t)for(var a in t)o.d(n,a,function(e){return t[e]}.bind(null,a));return n},o.n=function(t){var e=t&&t.__esModule?function(){return t.default}:function(){return t};return o.d(e,"a",e),e},o.o=function(t,e){return Object.prototype.hasOwnProperty.call(t,e)},o.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;i.push([668,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,"gb",(function(){return i})),n.d(e,"y",(function(){return o})),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 p})),n.d(e,"p",(function(){return u})),n.d(e,"s",(function(){return m})),n.d(e,"R",(function(){return x})),n.d(e,"Q",(function(){return h})),n.d(e,"bb",(function(){return f})),n.d(e,"N",(function(){return b})),n.d(e,"v",(function(){return g})),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 y})),n.d(e,"t",(function(){return M})),n.d(e,"cb",(function(){return k})),n.d(e,"r",(function(){return D})),n.d(e,"S",(function(){return P})),n.d(e,"O",(function(){return N})),n.d(e,"db",(function(){return S})),n.d(e,"n",(function(){return z})),n.d(e,"k",(function(){return C})),n.d(e,"o",(function(){return j})),n.d(e,"l",(function(){return W})),n.d(e,"m",(function(){return L})),n.d(e,"D",(function(){return T})),n.d(e,"W",(function(){return _})),n.d(e,"z",(function(){return I})),n.d(e,"eb",(function(){return Z})),n.d(e,"fb",(function(){return $})),n.d(e,"b",(function(){return H})),n.d(e,"Z",(function(){return J})),n.d(e,"F",(function(){return R})),n.d(e,"a",(function(){return F})),n.d(e,"hb",(function(){return G})),n.d(e,"d",(function(){return V})),n.d(e,"f",(function(){return Y})),n.d(e,"e",(function(){return q})),n.d(e,"kb",(function(){return B})),n.d(e,"c",(function(){return K})),n.d(e,"ib",(function(){return Q})),n.d(e,"jb",(function(){return X})),n.d(e,"T",(function(){return tt})),n.d(e,"U",(function(){return et})),n.d(e,"V",(function(){return nt})),n.d(e,"X",(function(){return at})),n.d(e,"Y",(function(){return rt})),n.d(e,"q",(function(){return it})),n.d(e,"ab",(function(){return ot})),n.d(e,"C",(function(){return ct})),n.d(e,"J",(function(){return dt})),n.d(e,"j",(function(){return lt})),n.d(e,"E",(function(){return st})),n.d(e,"H",(function(){return pt})),n.d(e,"I",(function(){return ut})),n.d(e,"G",(function(){return mt})),n.d(e,"B",(function(){return ht}));var a=n(4),r=function(t){return JSON.parse(decodeURIComponent(escape(atob(t))))},i=function(t){return btoa(unescape(encodeURIComponent(t)))},o=function(t){return i(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),p=new a.a(!1),u=new a.a(!1),m=new a.a(""),x=new a.a(!1),h=new a.a(!1),f=new a.a(!1),b=new a.a(!1),g=new a.a(!1),v=new a.a(!1),w=new a.a(""),A=new a.a(!0),U=new a.a(!0),y=new a.a(!0),M=new a.a(!0),k=new a.a(!0),D=new a.a(!0),P=new a.a({}),O=new a.a(!1),E=0,N=new a.a(!1),S=new a.a(""),z=new a.a(""),C=new a.a(""),j=new a.a(""),W=new a.a(""),L=new a.a(""),T=new a.a(""),_=new a.a(""),I=new a.a(!1),Z=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(){E++,O.next(!0)}),0)}),J=function(){setTimeout((function(){E>0&&E--,0==E&&O.next(!1)}),0)},R=function(){return O.asObservable()},F=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)},G=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))},V=function(t){return t.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},Y=function(t){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(t)},q=function(t){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(t)},B=function(t){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(t)},K=function(t){return/^[0-9]*$/.test(t)},Q=function(t){return new RegExp("^[0-9]+[.][0-9]{0,2}$").test(t)},X=function(t){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(t)},tt=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},et=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},nt=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},at=function(t){return t&&(t=Number(t).toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==t&&"0"!==t||(t=t.toFixed(2)),t},rt=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},ot=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},ct=function(t){return t.length>0?t.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"").replace(/ /g,""):t};function dt(t,e){var n=e||"html",a=t;return n||(n="html"),"html"==n&&(a=function(t){var e,n,a,o,c,s=t,p="";e=r(s,"&lt;!--","--&gt;",d,"W3HTMLCOMMENTPOS"),s=e.rest;for(;s.indexOf("&lt;")>-1;)o="",n=s.indexOf("&lt;"),"&LT;STYLE"==s.substr(n,9).toUpperCase()&&(o="css"),"&LT;SCRIPT"==s.substr(n,10).toUpperCase()&&(o="javascript"),-1==(a=s.indexOf("&gt;",n))&&(a=s.length),p+=s.substring(0,n),p+=i(s.substring(n,a+4)),s=s.substr(a+4),"css"==o&&(a=s.indexOf("&lt;/style&gt;"))>-1&&(p+=l(s.substring(0,a)),s=s.substr(a)),"javascript"==o&&(a=s.indexOf("&lt;/script&gt;"))>-1&&(p+=m(s.substring(0,a)),s=s.substr(a));for(s=p+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 i,o,c="",d=[];t.search(e)>-1;)i=t.search(e),-1==(o=t.indexOf(n,i))&&(o=t.length),r?(d.push(a(t.substring(i,o+n.length))),t=t.substring(0,i)+r+t.substr(o+n.length)):(c+=t.substring(0,i),c+=a(t.substring(i,o+n.length)),t=t.substr(o+n.length));return{rest:c+t,arr:d}}function i(t){for(var e,n,a,r=t,i="";r.search(/(\s|<br>)/)>-1;)e=r.search(/(\s|<br>)/),-1==(n=r.indexOf("&gt;"))&&(n=r.length),i+=r.substring(0,e),i+=o(r.substring(e,n)),r=r.substr(n);return"&gt;"==(a="<span style=color:grey>&lt;</span>"+(a=i+r).substring(4)).substr(a.length-4,4)&&(a=a.substring(0,a.length-4)+"<span style=color:grey>&gt;</span>"),"<span style=color:#a10d5f>"+a+"</span>"}function o(t){for(var e,n,a,r,i,o=t,d="";o.indexOf("=")>-1;)n=-1,e=o.indexOf("="),a=o.indexOf("'",e),r=o.indexOf('"',e),(i=o.indexOf(" ",e+2))>-1&&(i<a||-1==a)&&(i<r||-1==r)?n=o.indexOf(" ",e):r>-1&&(r<a||-1==a)&&(r<i||-1==i)?n=o.indexOf('"',o.indexOf('"',e)+1):a>-1&&(a<r||-1==r)&&(a<i||-1==i)&&(n=o.indexOf("'",o.indexOf("'",e)+1)),(!n||-1==n||n<e)&&(n=o.length),d+=o.substring(0,e),d+=c(o.substring(e,n+1)),o=o.substr(n+1);return"<span style=color:green>"+d+o+"</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,i,o,c,l,p=t,u="";for(p=(a=r(p,/\/\*/,"*/",d,"W3CSSCOMMENTPOS")).rest;p.search("{")>-1;){for(e=p.search("{"),o=p.substr(e+1),l=1,c=0,i=0;i<o.length&&("{"==o.substr(i,1)&&(l++,c++),"}"==o.substr(i,1)&&l--,0!=l);i++);for(0!=l&&(c=0),n=e,i=0;i<=c;i++)n=p.indexOf("}",n+1);-1==n&&(n=p.length),u+=p.substring(0,e+1),u+=s(p.substring(e+1,n)),p=p.substr(n)}for(p=(p=(p=u+p).replace(/{/g,"<span style=color:grey>{</span>")).replace(/}/g,"<span style=color:grey>}</span>"),i=0;i<a.arr.length;i++)p=p.replace("W3CSSCOMMENTPOS",a.arr[i]);return"<span style=color:green>"+p+"</span>"}function s(t){var e,n,a,r,i=t,o="";if(i.indexOf("{")>-1)return l(i);for(;i.search(":")>-1;){for(r=!0,a=e=i.search(":");1==r;)r=!1,n=i.indexOf(";",a),"&nbsp;"==i.substring(n-5,n+1)&&(r=!0,a=n+1);-1==n&&(n=i.length),o+=i.substring(0,e),o+=p(i.substring(e,n+1)),i=i.substr(n+1)}return"<span style=color:#a10d5f>"+o+i+"</span>"}function p(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+=u(n.substring(e,e+10)),n=n.substr(e+10);var r=a+n;return";"==r.substr(r.length-1,1)&&"&nbsp;"!=r.substr(r.length-6,6)&&"&lt;"!=r.substr(r.length-4,4)&&"&gt;"!=r.substr(r.length-4,4)&&"&amp;"!=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(t){return"<span style=color:red;font-weight:bold;>"+t+"</span>"}function m(t){var e,n,a,r,i,o,c,l,s,p,u=t,m="",y=[],M="";for(e=0;e<u.length;e++)"\\"==(n=u.substr(e,1))&&(y.push(u.substr(e,2)),n="W3JSESCAPE",e++),M+=n;for(u=M,1;a=A(u,"'","'",x),r=A(u,'"','"',x),i=A(u,/\/\*/,"*/",d),o=A(u,/\/\//,"<br>",d),l=U(u,f),c=w("js",u,h),p=g(u,b),-1!=Math.max(l[0],a[0],r[0],i[0],o[0],c[0],p[0])&&-1!=(s=v(l,a,r,i,o,c,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,e=0;e<y.length;e++)u=u.replace("W3JSESCAPE",y[e]);return"<span style=color:black>"+u+"</span>"}function x(t){return"<span style=color:brown>"+t+"</span>"}function h(t){return"<span style=color:mediumblue>"+t+"</span>"}function f(t){return"<span style=color:red>"+t+"</span>"}function b(t){return"<span style=color:black>"+t+"</span>"}function g(t,e){var n,a,r,i,o=[".","<"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%"];if((i=t.indexOf("."))>-1)for(n=t.substr(i+1),r=0;r<n.length;r++){var c=n[r];for(a=0;a<o.length;a++)if(c.indexOf(o[a])>-1)return[i+1,r+i+1,e]}return[-1,-1,e]}function v(t,e,n,a,r,i,o){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,i,o,c=-1,d=-1;for("js"==t&&(o=["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<o.length;a++)(r=e.indexOf(o[a]))>-1&&(i=/\W/g,e.substr(r+o[a].length,1).match(i)&&e.substr(r-1,1).match(i)&&r>-1&&(-1==c||r<c)&&(d=(c=r)+o[a].length));return[c,d,n]}function A(t,e,n,a){var r,i;return r=t.search(e),-1==(i=t.indexOf(n,r+n.length))&&(i=t.length),[r,i+n.length,a]}function U(t,e){var n,a,r,i,o,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<(i=n)&&(o=t.substring(d,i),!isNaN(o)))return[d,i,e];d=n+=c[a].length,n-=1;break}return[-1,-1,e]}}var lt=function(t){return t?t.charAt(0).toUpperCase()+t.slice(1):""},st=function(){return getComputedStyle(document.body).getPropertyValue("--asset-path").trim()},pt=function(){return getComputedStyle(document.body).getPropertyValue("--accent").trim()},ut=function(t){if("string"===typeof t){var e=t;return e=(e=e.replace(/\\/g,"\\\\")).replace(/"/g,'\\"')}return t},mt=function(t){return Math.floor(Math.random()*t)+1},xt=["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(xt[a].slice(0,3)," ").concat(r,", ").concat(n)}},10:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var a=n(0),r=n.n(a),i=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));"})),o=function(t){var e=t.className,n=t.children,a=t.maxWidth,o=void 0===a?1520:a,c=t.padding,d=void 0===c||c;return r.a.createElement(i,{className:e,maxWidth:o,padding:d},n)};e.b=o},119:function(t,e,n){"use strict";var a=n(0),r=n.n(a),i=n(1),o=n(13),c=n.n(o),d={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},l=n(11),s=n(5),p=n(2);function u(){var t=Object(l.a)(["\n .video-container {\n background: var(--grey);\n }\n h3 {\n // font-size: 18px;\n margin: 20px 0 20px 0;\n @media "," {\n // font-size: 48px;\n margin: 20px 0 40px 0;\n }\n }\n h2 {\n padding: 20px 0px 0px 0px;\n margin-bottom: 0px;\n }\n .video-item {\n display: flex;\n align-items: center;\n border-bottom: solid 1px var(--border-color-soft);\n padding: 24px 0px 18px 0px;\n @media "," {\n border-bottom: none;\n padding-bottom: 0;\n }\n @media screen and "," and "," {\n padding: 5px 0px 0px 0px;\n }\n &:last-child {\n border-bottom: none;\n }\n video {\n width: 100%;\n }\n .left-space {\n @media "," {\n padding-left: 20px !important;\n }\n }\n .video-title {\n color: var(--accent-contrast);\n background: var(--accent);\n display: inline-block;\n padding: 5px 10px;\n margin-bottom: 10px;\n border-radius: 3px;\n @media "," {\n margin-top: 20px;\n }\n }\n // These font sizes are as per body text 2\n p {\n font-size: var(--font-size-m2);\n line-height: 28px;\n @media screen and "," and "," {\n font-size: var(--font-size-s2);\n line-height: 22px;\n }\n @media screen and "," and "," {\n font-size: var(--font-size-xs3);\n line-height: 20px;\n }\n @media screen and ",' {\n font-size: var(--font-size-s2);\n line-height: 20px;\n }\n }\n .video-div {\n position: relative;\n span {\n content: "";\n position: absolute;\n top: 0;\n left: 0;\n width: 100%;\n height: 100%;\n z-index: 1;\n }\n @media screen and ',"{\n .circle,\n .play-pause-icon {\n width: 60px;\n height: 60px;\n top: calc(50% - 30px);\n left: calc(50% - 30px);\n }\n }\n @media screen and "," and "," {\n .circle,\n .play-pause-icon {\n width: 50px;\n height: 50px;\n top: calc(50% - 25px);\n left: calc(50% - 25px);\n }\n }\n @media screen and "," and "," {\n .circle,\n .play-pause-icon {\n width: 40px;\n height: 40px;\n top: calc(50% - 20px);\n left: calc(50% - 20px);\n }\n }\n }\n button {\n cursor: pointer;\n border: none;\n width: 100%;\n height: 100%;\n position: absolute;\n top: 0;\n background: transparent;\n }\n }\n\n .video-list.video-grid-parent {\n display: inline-grid;\n grid-template-columns: 1fr 1fr;\n column-gap: 30px;\n }\n\n .video-list-grid .video-card > div,\n .video-card > iframe,\n .video-list.video-grid-parent {\n width: 100%;\n }\n\n .video-caption {\n /* font-size: 30px;\n font-weight: 600;\n color: #333; */\n margin-top: 10px;\n margin-bottom: 20px;\n }\n\n @media screen and "," {\n .video-list.video-grid-parent {\n display: flex;\n flex-flow: column nowrap;\n .video-card > iframe {\n height: 250px;\n }\n .video-card .video-caption {\n font-size: 20px;\n margin-top: 10px;\n margin-bottom: 30px;\n }\n }\n }\n "]);return u=function(){return t},t}var m=s.default.div.withConfig({displayName:"styles__Content",componentId:"hoe2jh-0"})(["",""],(function(t){var e;(null===(e=t.gradients)||void 0===e?void 0:e.visible)?t.theme.gradient:t.theme;return Object(s.css)(u(),p.b.tabletPortraitMax,p.b.mobileMax,p.b.tabletPortraitAndUp,p.b.desktop2Max,p.b.tabletPortraitAndUp,p.b.tabletPortraitMax2,p.b.mediumDesktopMin,p.b.mediumDesktopAndUp3Max,p.b.tabletPortraitAndUp,p.b.smallDesktopAndUp2Max,p.b.mobileMax,p.b.mediumDesktopMin,p.b.tabletLandscapeAndUp,p.b.smallDesktopAndUp2Max,p.b.tabletPortraitAndUp,p.b.tabletPortraitMax,p.b.mobileMax)})),x=n(8),h=n(9),f=n(10),b=n(51),g={header:void 0,variation:"",headingStyle:"",videoListItems:[{header:{text:""},headingStyle:"",body:{text:""},video:{url:"",id:""}}]},v=function(t){var e=c()({},g,Object(i.g)(t.content));return r.a.createElement(x.a,{setter:{componentThemes:d,selectedTheme:t.theme}},r.a.createElement(h.a,null,r.a.createElement(f.a,{padding:!1},r.a.createElement(m,{isReversed:!1},r.a.createElement("div",{className:"".concat("list"===e.variation&&"video-container")},r.a.createElement("div",{className:"container inner-container dealer-col"},r.a.createElement("div",{className:"row m-0"},r.a.createElement("div",{className:"col-12 p-0"},e.header&&"h1"===e.headingStyle&&r.a.createElement("h1",{className:"".concat("grid"===e.variation&&"text-center")},e.header.text),e.header&&"h2"===e.headingStyle&&r.a.createElement("h2",{className:"".concat("grid"===e.variation&&"text-center")},e.header.text),e.header&&"h3"===e.headingStyle&&r.a.createElement("h3",{className:"".concat("grid"===e.variation&&"text-center")},e.header.text),e.header&&"h4"===e.headingStyle&&r.a.createElement("h4",{className:"".concat("grid"===e.variation&&"text-center")},e.header.text),e.header&&"h5"===e.headingStyle&&r.a.createElement("h5",{className:"".concat("grid"===e.variation&&"text-center")},e.header.text),e.header&&"h6"===e.headingStyle&&r.a.createElement("h6",{className:"".concat("grid"===e.variation&&"text-center")},e.header.text),e.header&&"capitalize"===e.headingStyle&&r.a.createElement("div",{className:"text-style-uppercase"},e.header.text),r.a.createElement("div",{className:"video-list ".concat("grid"===e.variation&&"video-grid-parent"," ").concat("list"===e.variation&&"video-list-parent")},e.videoListItems&&"list"===e.variation&&e.videoListItems.map((function(t,e){return r.a.createElement("div",{className:"video-item row m-0",key:e},r.a.createElement("div",{className:"col-sm-12 col-md-3 p-0 video-div"},t.video&&t.video.url&&r.a.createElement(b.a,{item:t})),r.a.createElement("div",{className:"col-sm-12 col-md-9 p-0 left-space"},t.header&&r.a.createElement("div",{className:"amarr-h6 video-title"},t.header.text),t.body&&r.a.createElement("p",{dangerouslySetInnerHTML:{__html:t.body.text}})))})),e.videoListItems&&"grid"===e.variation&&e.videoListItems.map((function(t,e){var n;return r.a.createElement("div",{key:e,className:"video-list-grid"},r.a.createElement("span",{className:"video-card"},t.video&&t.video.id&&r.a.createElement("iframe",{loading:"lazy",title:null===t||void 0===t||null===(n=t.header)||void 0===n?void 0:n.text,height:"397",src:"https://www.youtube.com/embed/".concat(t.video.id,"?autoplay=0&mute=1&loop=0")}),t.header&&"capitalize"!==t.headingStyle&&r.a.createElement(t.headingStyle,{className:"text-section video-caption"},t.header.text),t.header&&"capitalize"===t.headingStyle&&r.a.createElement("div",{className:"text-style-capitalize text-section video-caption"},t.header.text)))})))))))))))};v.defaultProps={theme:"",content:""};e.a=v},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},51:function(t,e,n){"use strict";n.d(e,"a",(function(){return s}));var a=n(3),r=n(0),i=n.n(r),o=n(5),c=n(2),d=o.default.section.withConfig({displayName:"styles__Content",componentId:"sc-13lfbb6-0"})([".hide-icon{.circle{opacity:0 !important;}img{display:none;}}.play-pause-image:hover{.circle{background-color:var(--play-pause-bg-color);border-radius:50px;opacity:1;z-index:1;display:inline;}img{display:inline;}}.play-pause-image.pause:hover{.circle{background-color:var(--play-pause-bg-color-2);opacity:0.800000012 !important;}img{display:inline;}}.play-pause-image{.circle{background-color:var(--play-pause-bg-color-2);opacity:0.5;border-radius:50px;margin:auto;width:96px;height:96px;display:flex;align-items:var(--text-center);justify-content:var(--text-center);position:absolute;top:calc(50% - 47px);left:calc(50% - 47px);}.play-pause-icon{position:absolute;top:calc(50% - 47px);left:calc(50% - 47px);z-index:999;}@media screen and "," and ","{.circle,.play-pause-icon{width:80px;height:80px;top:calc(50% - 22px);left:calc(50% - 40px);}}@media screen and ","{.circle,.play-pause-icon{width:70px;height:70px;top:calc(50% - 10px);left:calc(50% - 35px);}}@media screen and "," and ","{.circle,.play-pause-icon{width:50px;height:50px;top:50%;left:calc(50% - 25px);}}@media screen and "," and ","{.circle,.play-pause-icon{width:40px;height:40px;top:calc(50% + 5px);left:calc(50% - 20px);}}}"],c.b.mediumDesktopMin,c.b.mediumDesktopAndUp3Max,c.b.smallDesktopAndUp2Max,c.b.tabletLandscapeAndUp,c.b.desktopAndUpMax,c.b.tabletPortraitAndUp,c.b.tabletPortraitMax),l=n(1),s=function(t){var e=t.item,n=t.showControls,o=Object(r.useRef)(null),c=Object(r.useState)(!1),s=Object(a.a)(c,2),p=s[0],u=s[1],m=Object(r.useState)(!1),x=Object(a.a)(m,2),h=x[0],f=x[1],b=function(){setTimeout((function(){f(!0)}),1e3)};return i.a.createElement(d,null,!n&&i.a.createElement("video",{ref:o,preload:"none",muted:!0,autoPlay:!0,loop:!0},i.a.createElement("source",{src:e.video.url})),n&&i.a.createElement(i.a.Fragment,null,i.a.createElement("video",{preload:"none",ref:o,onPlay:function(){u(!0),b(),o.current.controls=!0},onPause:function(){f(!1),u(!1),o.current.controls=!1},muted:!0,autoPlay:!0,loop:!0},i.a.createElement("source",{src:e.video.url})),i.a.createElement("span",null,i.a.createElement("a",{onClick:function(){var t,e;p?null===(t=o.current)||void 0===t||t.pause():(null===(e=o.current)||void 0===e||e.play(),b());u(!p),f(!1)},className:"".concat(p&&"pause"," ").concat(h&&"hide-icon"," play-pause-image")},i.a.createElement("div",{className:"circle"}),i.a.createElement("img",{loading:"lazy",src:p?Object(l.E)().concat("ic_pause.svg"):Object(l.E)().concat("ic_play.svg"),alt:p?"Pause Icon":"Play Icon",className:"play-pause-icon"})))))}},550:function(t,e,n){"use strict";n.r(e);var a=n(22),r=n(119);e.default=a.a.create({component:r.a,configuration:{tagname:"amarr-videolist",useShadow:!1},plugins:[]})},8:function(t,e,n){"use strict";n.d(e,"a",(function(){return o}));var a=n(5),r=n(0),i=n.n(r),o=function(t){var e=t.setter,n=e.componentThemes,r=e.selectedTheme;return i.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=o},9:function(t,e,n){"use strict";var a=n(0),r=n.n(a),i=n(5),o=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?[o.a]:[];return r.a.createElement(i.StyleSheetManager,{stylisPlugins:a},r.a.createElement(c.Provider,{value:{rtl:e}},t.children))}}});
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
- ![ASSA ABLOY](https://upload.wikimedia.org/wikipedia/commons/e/e8/Assa-Abloy-Logo.svg)
2
- <sup>Global web - web components</sup>
3
-
4
- # Video List
5
-
6
- **Custom HTML element**
7
- ```html
8
- <video-list foo="" bar="" baz=""></video-list>
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