@assaabloy/amarr-wc-rich-text 2.0.13 → 3.0.1

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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/richText.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assaabloy/amarr-wc-rich-text",
3
- "version": "2.0.13",
3
+ "version": "3.0.1",
4
4
  "description": "Web component - Rich Text",
5
5
  "type": "module",
6
6
  "main": "richText.js",
@@ -11,5 +11,5 @@
11
11
  },
12
12
  "author": "Nagarro",
13
13
  "license": "MIT",
14
- "gitHead": "7dd3c4369442b387351da7807a9979172dd760dc"
14
+ "gitHead": "429396edcf19ab4690abecf6a0bf93b2101fff88"
15
15
  }
package/richText.js CHANGED
@@ -1 +1 @@
1
- !function(e){function n(n){for(var r,a,c=n[0],l=n[1],u=n[2],s=0,f=[];s<c.length;s++)a=c[s],Object.prototype.hasOwnProperty.call(o,a)&&o[a]&&f.push(o[a][0]),o[a]=0;for(r in l)Object.prototype.hasOwnProperty.call(l,r)&&(e[r]=l[r]);for(d&&d(n);f.length;)f.shift()();return i.push.apply(i,u||[]),t()}function t(){for(var e,n=0;n<i.length;n++){for(var t=i[n],r=!0,c=1;c<t.length;c++){var l=t[c];0!==o[l]&&(r=!1)}r&&(i.splice(n--,1),e=a(a.s=t[0]))}return e}var r={},o={69:0},i=[];function a(n){if(r[n])return r[n].exports;var t=r[n]={i:n,l:!1,exports:{}};return e[n].call(t.exports,t,t.exports,a),t.l=!0,t.exports}a.m=e,a.c=r,a.d=function(e,n,t){a.o(e,n)||Object.defineProperty(e,n,{enumerable:!0,get:t})},a.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},a.t=function(e,n){if(1&n&&(e=a(e)),8&n)return e;if(4&n&&"object"===typeof e&&e&&e.__esModule)return e;var t=Object.create(null);if(a.r(t),Object.defineProperty(t,"default",{enumerable:!0,value:e}),2&n&&"string"!=typeof e)for(var r in e)a.d(t,r,function(n){return e[n]}.bind(null,r));return t},a.n=function(e){var n=e&&e.__esModule?function(){return e.default}:function(){return e};return a.d(n,"a",n),n},a.o=function(e,n){return Object.prototype.hasOwnProperty.call(e,n)},a.p="/";var c=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],l=c.push.bind(c);c.push=n,c=c.slice();for(var u=0;u<c.length;u++)n(c[u]);var d=l;i.push([528,0]),t()}({0:function(e,n){e.exports=React},1:function(e,n,t){"use strict";t.d(n,"g",(function(){return o})),t.d(n,"T",(function(){return i})),t.d(n,"i",(function(){return a})),t.d(n,"C",(function(){return c})),t.d(n,"F",(function(){return l})),t.d(n,"u",(function(){return u})),t.d(n,"A",(function(){return d})),t.d(n,"n",(function(){return s})),t.d(n,"q",(function(){return f})),t.d(n,"H",(function(){return p})),t.d(n,"G",(function(){return m})),t.d(n,"O",(function(){return g})),t.d(n,"D",(function(){return x})),t.d(n,"t",(function(){return b})),t.d(n,"h",(function(){return w})),t.d(n,"s",(function(){return h})),t.d(n,"x",(function(){return v})),t.d(n,"v",(function(){return y})),t.d(n,"B",(function(){return z})),t.d(n,"r",(function(){return M})),t.d(n,"P",(function(){return O})),t.d(n,"p",(function(){return k})),t.d(n,"I",(function(){return j})),t.d(n,"E",(function(){return _})),t.d(n,"Q",(function(){return A})),t.d(n,"l",(function(){return N})),t.d(n,"j",(function(){return $})),t.d(n,"m",(function(){return Z})),t.d(n,"k",(function(){return D})),t.d(n,"y",(function(){return P})),t.d(n,"K",(function(){return H})),t.d(n,"w",(function(){return S})),t.d(n,"R",(function(){return T})),t.d(n,"S",(function(){return q})),t.d(n,"b",(function(){return I})),t.d(n,"N",(function(){return U})),t.d(n,"z",(function(){return R})),t.d(n,"a",(function(){return F})),t.d(n,"d",(function(){return J})),t.d(n,"f",(function(){return W})),t.d(n,"e",(function(){return G})),t.d(n,"V",(function(){return L})),t.d(n,"c",(function(){return V})),t.d(n,"U",(function(){return B})),t.d(n,"J",(function(){return K})),t.d(n,"L",(function(){return Q})),t.d(n,"M",(function(){return X})),t.d(n,"o",(function(){return Y}));var r=t(3),o=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},i=function(e){return btoa(unescape(encodeURIComponent(e)))},a=function(e){return e.toUpperCase()},c=function(e){return e.replaceAll(" ","-").toLowerCase()},l=new r.a(!1),u=new r.a(!1),d=new r.a(!1),s=new r.a(!1),f=new r.a(""),p=new r.a(!1),m=new r.a(!1),g=new r.a(!1),x=new r.a(!1),b=new r.a(!1),w=new r.a(!1),h=new r.a(""),v=new r.a(!0),y=new r.a(!0),z=new r.a(!0),M=new r.a(!0),O=new r.a(!0),k=new r.a(!0),j=new r.a({}),C=new r.a(!1),E=0,_=new r.a(!1),A=new r.a(""),N=new r.a(""),$=new r.a(""),Z=new r.a(""),D=new r.a(""),P=new r.a(""),H=new r.a(""),S=new r.a(!1),T=new r.a(!1),q=new r.a(!1),I=function(){setTimeout((function(){E++,C.next(!0)}),0)},U=function(){setTimeout((function(){E>0&&E--,0==E&&C.next(!1)}),0)},R=function(){return C.asObservable()},F=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)},J=function(e){return e.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},W=function(e){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(e)},G=function(e){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(e)},L=function(e){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(e)},V=function(e){return/^[0-9]*$/.test(e)},B=function(e){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(e)},K=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},Q=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,n){return e=e?Number(e):0,(0===(n=n?Number(n):0)||"0"===n?0:(e-n)/n*100).toFixed(2)},Y=function(e){var n={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&&(n.color=e.selectedColor),e.colorHex&&(n.colorHex=e.colorHex),e.colorZone&&(n.colorZone=e.colorZone),e.selectedConstruction&&(n.model=e.selectedConstruction),e.selectedWindowDesign&&(n.top=e.selectedWindowDesign),e.glazepattern&&(n.glazepattern=e.glazepattern),e.selectedHardware&&(n.hardware=e.selectedHardware),n}},17:function(e,n){e.exports=ReactDOM},20:function(e,n,t){"use strict";t.d(n,"a",(function(){return c}));var r=t(15),o=t(0),i=t.n(o),a=t(4).default.div.withConfig({displayName:"styles__View",componentId:"zfm3w6-0"})([".divider{width:100%;height:6px;@media screen and (min-width:1281px){height:8px;}@media screen and (min-width:1681px){height:10px;}}"]),c=function(e){return Object(r.a)(e),i.a.createElement(a,null,i.a.createElement("div",{className:"divider"},"\xa0"))}},437:function(e,n,t){"use strict";t.r(n);var r=t(13),o=t(96);n.default=r.a.create({component:o.a,configuration:{tagname:"amarr-richtext",useShadow:!1},plugins:[]})},96:function(e,n,t){"use strict";var r=t(0),o=t.n(r),i=t(4).default.section.withConfig({displayName:"styles__Content",componentId:"jfatlv-0"})(['ul{li{margin-bottom:5px;}}.text-style-rte{margin-left:1rem;}ol{li{counter-increment:li;.circle-ol,.square-ol,.number-ol{--size:90px;position:relative;margin-left:calc(var(--size) - 10px);margin-bottom:calc(var(--size) / 2);display:inline-block;&::before{display:inline-flex;justify-content:center;align-items:center;content:counter(li);color:#fff;font-size:calc(var(--size) / 3);font-weight:600;background:#cc4b4c;padding:18px;border-radius:50%;position:absolute;top:0;line-height:var(--size);width:var(--size);height:var(--size);left:calc(-1 * var(--size) - 14px);}}.circle-ol,.square-ol{min-height:var(--size);}.square-ol{--size:40px;&:before{background:#006166;border-radius:4px;}}.number-ol{--size:40px;margin-bottom:0;&:before{content:counter(li)".";background:#fff;color:#333;font-size:16px;align-items:start;padding:0;height:auto;line-height:1.7;}}.circle-ol{padding-top:10px;}.circle-ol > span{margin-left:16px;}}}@media only screen and (min-width:992px){.body-text2 p em sub{font-size:100%;}.body-text2 h3 strong{font-size:48px;}}.text-style-rte.body-text2 > ul{list-style:none;}.text-style-rte.body-text2 > ul li::before{content:"\\2022";color:#006166;font-weight:bold;display:inline-block;width:30px;margin-left:-30px;@media screen and (max-width:835px){font-size:20px;}}.dealer-microsite-page{.dealer-rich-text{margin:40px 0;@media screen and (max-width:768px){margin:20px;}}}@media(min-width:1681px){.number-ol{&:before{font-size:22px !important;}}}@media screen and (max-width:1680px){ol{li{.circle-ol{--size:80px;}}}}@media screen and (max-width:1280px){ol{li{.circle-ol{--size:60px;padding-top:8px;}.circle-ol > span{margin-left:10px;}}}}@media screen and (max-width:768px){ol{li{.circle-ol{--size:40px;padding-top:0px;}.circle-ol > span{margin-left:0px;}}}}@media screen and (max-width:767px){.text-style .dealer-rich-text{td{a{padding-left:8px}}}}.amarrHighlight{word-break:break-word;}li.rte-green::marker{color:#006166;}.ul-indent-left{margin-left:48px;}']),a=t(1),c=t(20),l=function(e){var n=e.richTextData,t=Object(a.g)(n);return Object(r.useEffect)((function(){$(".circle-ol, .square-ol, .number-ol").parent().css("list-style","none"),$(".rte-bullet-green").closest("li").addClass("rte-green"),$(".ul-indent").parent().parent().addClass("ul-indent-left")})),o.a.createElement(i,null,(void 0==t.topMargin||!0===t.topMargin)&&o.a.createElement("span",{className:"d-none d-md-block",id:"rt-top-desktop"},o.a.createElement(c.a,null)),(void 0==t.topMarginMobile||!0===t.topMarginMobile)&&o.a.createElement("span",{className:"d-block d-md-none",id:"rt-top-mobile"},o.a.createElement(c.a,null)),o.a.createElement("div",{className:"large-screen-container container dealer-col"},o.a.createElement("div",{className:"text-style dealer-rich-text body-text2 ".concat(t.leftMargin?"text-style-rte":""),dangerouslySetInnerHTML:{__html:t.text}})),(void 0==t.bottomMargin||!0===t.bottomMargin)&&o.a.createElement("span",{className:"d-none d-md-block",id:"rt-bottom-desktop"},o.a.createElement(c.a,null)),(void 0==t.bottomMarginMobile||!0===t.bottomMarginMobile)&&o.a.createElement("span",{className:"d-block d-md-none",id:"rt-bottom-mobile"},o.a.createElement(c.a,null)))};l.defaultProps={theme:"",richTextData:""};n.a=l}});
1
+ !function(n){function t(t){for(var a,o,d=t[0],l=t[1],c=t[2],s=0,m=[];s<d.length;s++)o=d[s],Object.prototype.hasOwnProperty.call(i,o)&&i[o]&&m.push(i[o][0]),i[o]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(n[a]=l[a]);for(p&&p(t);m.length;)m.shift()();return r.push.apply(r,c||[]),e()}function e(){for(var n,t=0;t<r.length;t++){for(var e=r[t],a=!0,d=1;d<e.length;d++){var l=e[d];0!==i[l]&&(a=!1)}a&&(r.splice(t--,1),n=o(o.s=e[0]))}return n}var a={},i={69:0},r=[];function o(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,o),e.l=!0,e.exports}o.m=n,o.c=a,o.d=function(n,t,e){o.o(n,t)||Object.defineProperty(n,t,{enumerable:!0,get:e})},o.r=function(n){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(n,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(n,"__esModule",{value:!0})},o.t=function(n,t){if(1&t&&(n=o(n)),8&t)return n;if(4&t&&"object"===typeof n&&n&&n.__esModule)return n;var e=Object.create(null);if(o.r(e),Object.defineProperty(e,"default",{enumerable:!0,value:n}),2&t&&"string"!=typeof n)for(var a in n)o.d(e,a,function(t){return n[t]}.bind(null,a));return e},o.n=function(n){var t=n&&n.__esModule?function(){return n.default}:function(){return n};return o.d(t,"a",t),t},o.o=function(n,t){return Object.prototype.hasOwnProperty.call(n,t)},o.p="/";var d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],l=d.push.bind(d);d.push=t,d=d.slice();for(var c=0;c<d.length;c++)t(d[c]);var p=l;r.push([861,0]),e()}({0:function(n,t){n.exports=React},1:function(n,t,e){"use strict";e.d(t,"a",(function(){return a})),e.d(t,"b",(function(){return i}));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},i={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)"),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)")}},100:function(n,t,e){"use strict";var a=e(0),i=e.n(a),r=e(2),o=e(28),d=e(12),l=e.n(d),c={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},p=e(11),s=e(5),m=e(1);function u(){var n=Object(p.a)(['\n ul {\n li {\n margin-bottom: 5px;\n }\n }\n\n // .text-style{\n // font-size: var(--font-size-m1);\n // line-height: 1.5;\n // }\n\n .text-style-rte{\n margin-left:1rem;\n }\n\n\n /* ol li bullets */\n ol {\n\n li {\n counter-increment: li;\n\n .circle-ol,\n .square-ol,\n .number-ol {\n --size: 90px;\n position: relative;\n margin-left: calc(var(--size) - 10px);\n margin-bottom: calc(var(--size) / 2);\n display: inline-block;\n\n &::before {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n content: counter(li);\n color: var(--bg-main);\n font-size: calc(var(--size) / 3);\n font-weight: var(--font-weight-semi-bold);\n background: var(--orange);\n padding: 18px;\n border-radius: 50%;\n position: absolute;\n top: 0;\n line-height: var(--size);\n width: var(--size);\n height: var(--size);\n left: calc(-1 * var(--size) - 14px);\n }\n }\n .circle-ol,\n .square-ol{\n min-height: var(--size);\n }\n\n .square-ol {\n --size: 40px;\n\n &:before {\n background: var(--accent);\n border-radius: var(--border-radius);\n }\n }\n\n .number-ol {\n --size: 40px;\n margin-bottom: 0;\n \n &:before {\n content: counter(li)".";\n background: var(--bg-main);\n color: var(--text-color);\n font-size: var(--font-size-m1);\n align-items: start;\n padding: 0;\n height: auto;\n line-height: 1.7;\n }\n }\n .circle-ol{\n padding-top: 10px;\n }\n .circle-ol > span {\n margin-left: 16px;\n }\n }\n }\n /* end of ol li bullets */\n\n @media only screen and ',' {\n // .text-style{\n // font-size: var(--font-size-m1);\n // line-height: 1.5;\n // } \n .body-text2 p em sub{\n font-size: 100%;\n }\n\n .body-text2 h3 strong{\n font-size: var(--font-size-h1);\n }\n }\n\n .text-style-rte.body-text2 > ul{\n list-style: none;\n }\n\n .text-style-rte.body-text2 > ul li::before{\n content: "\\2022";\n color: var(--accent);\n font-weight: var(--font-weight-bold);\n display: inline-block;\n width: 30px;\n margin-left: -30px;\n @media screen and ',"{\n font-size: var(--font-size-s3);\n }\n }\n\n .dealer-microsite-page {\n .dealer-rich-text {\n margin: 40px 0;\n @media screen and ","{\n margin: 20px;\n }\n }\n }\n\n @media "," {\n .number-ol {\n\n &:before {\n font-size: var(--font-size-m3) !important;\n }\n }\n }\n\n @media screen and "," {\n ol {\n li {\n .circle-ol {\n --size: 80px;\n }\n }\n }\n }\n\n @media screen and "," {\n ol {\n li {\n .circle-ol {\n --size: 60px;\n padding-top: 8px;\n }\n .circle-ol > span {\n margin-left: 10px;\n }\n }\n }\n }\n\n @media screen and "," {\n ol {\n li {\n .circle-ol {\n --size: 40px;\n padding-top: 0px;\n }\n .circle-ol > span {\n margin-left: 0px;\n }\n }\n }\n }\n\n @media screen and "," {\n .text-style .dealer-rich-text{\n td{\n a{\n padding-left: 8px\n }\n }\n }\n }\n .amarrHighlight{\n word-break: break-word;\n }\n li.rte-green::marker{\n color: var(--accent);\n }\n\n .ul-indent-left {\n margin-left: 48px;\n }\n "],['\n ul {\n li {\n margin-bottom: 5px;\n }\n }\n\n // .text-style{\n // font-size: var(--font-size-m1);\n // line-height: 1.5;\n // }\n\n .text-style-rte{\n margin-left:1rem;\n }\n\n\n /* ol li bullets */\n ol {\n\n li {\n counter-increment: li;\n\n .circle-ol,\n .square-ol,\n .number-ol {\n --size: 90px;\n position: relative;\n margin-left: calc(var(--size) - 10px);\n margin-bottom: calc(var(--size) / 2);\n display: inline-block;\n\n &::before {\n display: inline-flex;\n justify-content: center;\n align-items: center;\n content: counter(li);\n color: var(--bg-main);\n font-size: calc(var(--size) / 3);\n font-weight: var(--font-weight-semi-bold);\n background: var(--orange);\n padding: 18px;\n border-radius: 50%;\n position: absolute;\n top: 0;\n line-height: var(--size);\n width: var(--size);\n height: var(--size);\n left: calc(-1 * var(--size) - 14px);\n }\n }\n .circle-ol,\n .square-ol{\n min-height: var(--size);\n }\n\n .square-ol {\n --size: 40px;\n\n &:before {\n background: var(--accent);\n border-radius: var(--border-radius);\n }\n }\n\n .number-ol {\n --size: 40px;\n margin-bottom: 0;\n \n &:before {\n content: counter(li)".";\n background: var(--bg-main);\n color: var(--text-color);\n font-size: var(--font-size-m1);\n align-items: start;\n padding: 0;\n height: auto;\n line-height: 1.7;\n }\n }\n .circle-ol{\n padding-top: 10px;\n }\n .circle-ol > span {\n margin-left: 16px;\n }\n }\n }\n /* end of ol li bullets */\n\n @media only screen and ',' {\n // .text-style{\n // font-size: var(--font-size-m1);\n // line-height: 1.5;\n // } \n .body-text2 p em sub{\n font-size: 100%;\n }\n\n .body-text2 h3 strong{\n font-size: var(--font-size-h1);\n }\n }\n\n .text-style-rte.body-text2 > ul{\n list-style: none;\n }\n\n .text-style-rte.body-text2 > ul li::before{\n content: "\\\\2022";\n color: var(--accent);\n font-weight: var(--font-weight-bold);\n display: inline-block;\n width: 30px;\n margin-left: -30px;\n @media screen and ',"{\n font-size: var(--font-size-s3);\n }\n }\n\n .dealer-microsite-page {\n .dealer-rich-text {\n margin: 40px 0;\n @media screen and ","{\n margin: 20px;\n }\n }\n }\n\n @media "," {\n .number-ol {\n\n &:before {\n font-size: var(--font-size-m3) !important;\n }\n }\n }\n\n @media screen and "," {\n ol {\n li {\n .circle-ol {\n --size: 80px;\n }\n }\n }\n }\n\n @media screen and "," {\n ol {\n li {\n .circle-ol {\n --size: 60px;\n padding-top: 8px;\n }\n .circle-ol > span {\n margin-left: 10px;\n }\n }\n }\n }\n\n @media screen and "," {\n ol {\n li {\n .circle-ol {\n --size: 40px;\n padding-top: 0px;\n }\n .circle-ol > span {\n margin-left: 0px;\n }\n }\n }\n }\n\n @media screen and "," {\n .text-style .dealer-rich-text{\n td{\n a{\n padding-left: 8px\n }\n }\n }\n }\n .amarrHighlight{\n word-break: break-word;\n }\n li.rte-green::marker{\n color: var(--accent);\n }\n\n .ul-indent-left {\n margin-left: 48px;\n }\n "]);return u=function(){return n},n}var x=s.default.div.withConfig({displayName:"styles__Content",componentId:"sc-15vu5rt-0"})(["",""],(function(n){var t;(null===(t=n.gradients)||void 0===t?void 0:t.visible)?n.theme.gradient:n.theme;return Object(s.css)(u(),m.b.tabletLandscapeAndUp,m.b.tabletPortraitAndUp2Max,m.b.tabletPortraitAndUpMax,m.b.largeDesktopMin,m.b.mediumDesktopAndUp3Max,m.b.smallDesktopAndUp2Max,m.b.tabletPortraitAndUpMax,m.b.mobileMax)})),f=e(7),b=e(8),h=e(9),g={text:"",leftMargin:!0,topMargin:!0,bottomMargin:!0,topMarginMobile:!0,bottomMarginMobile:!0},w=function(n){var t=l()({},g,Object(r.g)(n.content));return Object(a.useEffect)((function(){$(".circle-ol, .square-ol, .number-ol").parent().css("list-style","none"),$(".rte-bullet-green").closest("li").addClass("rte-green"),$(".ul-indent").parent().parent().addClass("ul-indent-left")})),i.a.createElement(f.a,{setter:{componentThemes:c,selectedTheme:n.theme}},i.a.createElement(b.a,null,i.a.createElement(h.a,null,i.a.createElement(x,{isReversed:!1},(void 0==t.topMargin||!0===t.topMargin)&&i.a.createElement("span",{className:"d-none d-md-block",id:"rt-top-desktop"},i.a.createElement(o.a,null)),(void 0==t.topMarginMobile||!0===t.topMarginMobile)&&i.a.createElement("span",{className:"d-block d-md-none",id:"rt-top-mobile"},i.a.createElement(o.a,null)),i.a.createElement("div",{className:"large-screen-container container dealer-col"},i.a.createElement("div",{className:"text-style dealer-rich-text body-text2 ".concat(t.leftMargin?"text-style-rte":""),dangerouslySetInnerHTML:{__html:t.text}})),(void 0==t.bottomMargin||!0===t.bottomMargin)&&i.a.createElement("span",{className:"d-none d-md-block",id:"rt-bottom-desktop"},i.a.createElement(o.a,null)),(void 0==t.bottomMarginMobile||!0===t.bottomMarginMobile)&&i.a.createElement("span",{className:"d-block d-md-none",id:"rt-bottom-mobile"},i.a.createElement(o.a,null))))))};w.defaultProps={theme:"",content:""};t.a=w},2:function(n,t,e){"use strict";e.d(t,"g",(function(){return o})),e.d(t,"U",(function(){return d})),e.d(t,"i",(function(){return l})),e.d(t,"D",(function(){return c})),e.d(t,"G",(function(){return p})),e.d(t,"v",(function(){return s})),e.d(t,"B",(function(){return m})),e.d(t,"o",(function(){return u})),e.d(t,"r",(function(){return x})),e.d(t,"I",(function(){return f})),e.d(t,"H",(function(){return b})),e.d(t,"P",(function(){return h})),e.d(t,"E",(function(){return g})),e.d(t,"u",(function(){return w})),e.d(t,"h",(function(){return A})),e.d(t,"t",(function(){return U})),e.d(t,"y",(function(){return v})),e.d(t,"w",(function(){return k})),e.d(t,"C",(function(){return M})),e.d(t,"s",(function(){return D})),e.d(t,"Q",(function(){return z})),e.d(t,"q",(function(){return y})),e.d(t,"J",(function(){return P})),e.d(t,"F",(function(){return E})),e.d(t,"R",(function(){return j})),e.d(t,"m",(function(){return C})),e.d(t,"j",(function(){return N})),e.d(t,"n",(function(){return _})),e.d(t,"k",(function(){return L})),e.d(t,"l",(function(){return $})),e.d(t,"z",(function(){return S})),e.d(t,"L",(function(){return Z})),e.d(t,"x",(function(){return T})),e.d(t,"S",(function(){return H})),e.d(t,"T",(function(){return q})),e.d(t,"b",(function(){return F})),e.d(t,"O",(function(){return J})),e.d(t,"A",(function(){return G})),e.d(t,"a",(function(){return V})),e.d(t,"d",(function(){return B})),e.d(t,"f",(function(){return K})),e.d(t,"e",(function(){return Q})),e.d(t,"W",(function(){return X})),e.d(t,"c",(function(){return Y})),e.d(t,"V",(function(){return nn})),e.d(t,"K",(function(){return tn})),e.d(t,"M",(function(){return en})),e.d(t,"N",(function(){return an})),e.d(t,"p",(function(){return rn}));var a=e(3),i=e(0),r=e(4),o=function(n){return JSON.parse(decodeURIComponent(escape(atob(n))))},d=function(n){return btoa(unescape(encodeURIComponent(n)))},l=function(n){return n.toUpperCase()},c=function(n){return n.replaceAll(" ","-").toLowerCase()},p=new r.a(!1),s=new r.a(!1),m=new r.a(!1),u=new r.a(!1),x=new r.a(""),f=new r.a(!1),b=new r.a(!1),h=new r.a(!1),g=new r.a(!1),w=new r.a(!1),A=new r.a(!1),U=new r.a(""),v=new r.a(!0),k=new r.a(!0),M=new r.a(!0),D=new r.a(!0),z=new r.a(!0),y=new r.a(!0),P=new r.a({}),O=new r.a(!1),W=0,E=new r.a(!1),j=new r.a(""),C=new r.a(""),N=new r.a(""),_=new r.a(""),L=new r.a(""),$=new r.a(""),S=new r.a(""),Z=new r.a(""),T=new r.a(!1),H=new r.a(!1),q=new r.a(!1),I=Object(i.useState)(),R=Object(a.a)(I,2),F=(R[0],R[1],function(){setTimeout((function(){W++,O.next(!0)}),0)}),J=function(){setTimeout((function(){W>0&&W--,0==W&&O.next(!1)}),0)},G=function(){return O.asObservable()},V=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)},B=function(n){return n.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},K=function(n){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(n)},Q=function(n){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(n)},X=function(n){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(n)},Y=function(n){return/^[0-9]*$/.test(n)},nn=function(n){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(n)},tn=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},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}},26:function(n,t){n.exports=ReactDOM},28:function(n,t,e){"use strict";e.d(t,"a",(function(){return c}));var a=e(23),i=e(0),r=e.n(i),o=e(5),d=e(1),l=o.default.div.withConfig({displayName:"styles__View",componentId:"zfm3w6-0"})([".divider{width:100%;height:6px;@media screen and ","{height:8px;}@media screen and ","{height:10px;}}"],d.b.mediumDesktopMin,d.b.largeDesktopMin),c=function(n){return Object(a.a)(n),r.a.createElement(l,null,r.a.createElement("div",{className:"divider"},"\xa0"))}},7:function(n,t,e){"use strict";e.d(t,"a",(function(){return o}));var a=e(5),i=e(0),r=e.n(i),o=function(n){var t=n.setter,e=t.componentThemes,i=t.selectedTheme;return r.a.createElement(a.ThemeProvider,{theme:function(){if(!i)return e.theme1;var n=i.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)}},769:function(n,t,e){"use strict";e.r(t);var a=e(21),i=e(100);t.default=a.a.create({component:i.a,configuration:{tagname:"amarr-richtext",useShadow:!1},plugins:[]})},8:function(n,t,e){"use strict";var a=e(0),i=e.n(a),r=e(5),o=e(20),d=e.n(o),l=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(o){console.log(o)}var a=t?[d.a]:[];return i.a.createElement(r.StyleSheetManager,{stylisPlugins:a},i.a.createElement(l.Provider,{value:{rtl:t}},n.children))}},9:function(n,t,e){"use strict";e.d(t,"a",(function(){return o}));var a=e(0),i=e.n(a),r=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));"})),o=function(n){var t=n.className,e=n.children,a=n.maxWidth,o=void 0===a?1520:a,d=n.padding,l=void 0===d||d;return i.a.createElement(r,{className:t,maxWidth:o,padding:l},e)}}});