@assaabloy/amarr-wc-qna 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 +2 -2
- package/qna.js +1 -1
- package/LICENSE.md +0 -21
- package/README.md +0 -19
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@assaabloy/amarr-wc-qna",
|
|
3
|
-
"version": "5.0.
|
|
3
|
+
"version": "5.0.6",
|
|
4
4
|
"description": "Web component - Qna",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "qna.js",
|
|
@@ -11,5 +11,5 @@
|
|
|
11
11
|
},
|
|
12
12
|
"author": "Nagarro",
|
|
13
13
|
"license": "MIT",
|
|
14
|
-
"gitHead": "
|
|
14
|
+
"gitHead": "f6f56c36eb6805e8e7e592076747df4a177e5f7a"
|
|
15
15
|
}
|
package/qna.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
!function(n){function t(t){for(var a,o,d=t[0],p=t[1],s=t[2],c=0,u=[];c<d.length;c++)o=d[c],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&u.push(r[o][0]),r[o]=0;for(a in p)Object.prototype.hasOwnProperty.call(p,a)&&(n[a]=p[a]);for(l&&l(t);u.length;)u.shift()();return i.push.apply(i,s||[]),e()}function e(){for(var n,t=0;t<i.length;t++){for(var e=i[t],a=!0,d=1;d<e.length;d++){var p=e[d];0!==r[p]&&(a=!1)}a&&(i.splice(t--,1),n=o(o.s=e[0]))}return n}var a={},r={66:0},i=[];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"]||[],p=d.push.bind(d);d.push=t,d=d.slice();for(var s=0;s<d.length;s++)t(d[s]);var l=p;i.push([536,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 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(n,t,e){"use strict";e.d(t,"a",(function(){return o}));var a=e(0),r=e.n(a),i=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,p=void 0===d||d;return r.a.createElement(i,{className:t,maxWidth:o,padding:p},e)}},2:function(n,t,e){"use strict";e.d(t,"g",(function(){return r})),e.d(t,"W",(function(){return i})),e.d(t,"i",(function(){return o})),e.d(t,"E",(function(){return d})),e.d(t,"H",(function(){return p})),e.d(t,"v",(function(){return s})),e.d(t,"C",(function(){return l})),e.d(t,"o",(function(){return c})),e.d(t,"r",(function(){return u})),e.d(t,"J",(function(){return m})),e.d(t,"I",(function(){return x})),e.d(t,"R",(function(){return b})),e.d(t,"F",(function(){return f})),e.d(t,"u",(function(){return h})),e.d(t,"h",(function(){return g})),e.d(t,"t",(function(){return w})),e.d(t,"y",(function(){return A})),e.d(t,"w",(function(){return U})),e.d(t,"D",(function(){return k})),e.d(t,"s",(function(){return M})),e.d(t,"S",(function(){return v})),e.d(t,"q",(function(){return y})),e.d(t,"K",(function(){return D})),e.d(t,"G",(function(){return E})),e.d(t,"T",(function(){return N})),e.d(t,"m",(function(){return z})),e.d(t,"j",(function(){return C})),e.d(t,"n",(function(){return W})),e.d(t,"k",(function(){return S})),e.d(t,"l",(function(){return j})),e.d(t,"z",(function(){return q})),e.d(t,"M",(function(){return L})),e.d(t,"x",(function(){return T})),e.d(t,"U",(function(){return _})),e.d(t,"V",(function(){return Z})),e.d(t,"b",(function(){return $})),e.d(t,"P",(function(){return H})),e.d(t,"A",(function(){return I})),e.d(t,"a",(function(){return R})),e.d(t,"d",(function(){return F})),e.d(t,"f",(function(){return J})),e.d(t,"e",(function(){return G})),e.d(t,"Y",(function(){return Y})),e.d(t,"c",(function(){return B})),e.d(t,"X",(function(){return K})),e.d(t,"L",(function(){return Q})),e.d(t,"N",(function(){return V})),e.d(t,"O",(function(){return X})),e.d(t,"p",(function(){return nn})),e.d(t,"Q",(function(){return tn})),e.d(t,"B",(function(){return en}));var a=e(4),r=function(n){return JSON.parse(decodeURIComponent(escape(atob(n))))},i=function(n){return btoa(unescape(encodeURIComponent(n)))},o=function(n){return n.toUpperCase()},d=function(n){return n.replaceAll(" ","-").toLowerCase()},p=new a.a(!1),s=new a.a(!1),l=new a.a(!1),c=new a.a(!1),u=new a.a(""),m=new a.a(!1),x=new a.a(!1),b=new a.a(!1),f=new a.a(!1),h=new a.a(!1),g=new a.a(!1),w=new a.a(""),A=new a.a(!0),U=new a.a(!0),k=new a.a(!0),M=new a.a(!0),v=new a.a(!0),y=new a.a(!0),D=new a.a({}),O=new a.a(!1),P=0,E=new a.a(!1),N=new a.a(""),z=new a.a(""),C=new a.a(""),W=new a.a(""),S=new a.a(""),j=new a.a(""),q=new a.a(""),L=new a.a(""),T=new a.a(!1),_=new a.a(!1),Z=new a.a(!1),$=(new a.a(!1),new a.a(!1),function(){setTimeout((function(){P++,O.next(!0)}),0)}),H=function(){setTimeout((function(){P>0&&P--,0==P&&O.next(!1)}),0)},I=function(){return O.asObservable()},R=function(n){return!!/^(([^<>()[\]\\.,;:\s@"]+(\.[^<>()[\]\\.,;:\s@"]+)*)|(".+"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/.test(n)},F=function(n){return n.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},J=function(n){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(n)},G=function(n){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(n)},Y=function(n){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(n)},B=function(n){return/^[0-9]*$/.test(n)},K=function(n){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(n)},Q=function(n){if(n&&""!==n&&-1===n.indexOf("(")&&-1===n.indexOf(") ")&&-1===n.indexOf("-")){return"("+n.substring(0,3)+") "+n.substring(3,6)+"-"+n.substring(6,n.length)}return n},V=function(n){return n&&(n=n.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==n&&"0"!==n||(n=n.toFixed(2)),n},X=function(n,t){return n=n?Number(n):0,(0===(t=t?Number(t):0)||"0"===t?0:(n-t)/t*100).toFixed(2)},nn=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},tn=function(n,t,e){var a="",r=n.split(t);return r.forEach((function(n,t){"undefined"!==n&&n&&(a+=n,t!==r.length-1&&(a+=e))})),a};function en(n,t){var e=t||"html",a=n;return e||(e="html"),"html"==e&&(a=function(n){var t,e,a,o,d,l=n,c="";t=r(l,"<!--","-->",p,"W3HTMLCOMMENTPOS"),l=t.rest;for(;l.indexOf("<")>-1;)o="",e=l.indexOf("<"),"<STYLE"==l.substr(e,9).toUpperCase()&&(o="css"),"<SCRIPT"==l.substr(e,10).toUpperCase()&&(o="javascript"),-1==(a=l.indexOf(">",e))&&(a=l.length),c+=l.substring(0,e),c+=i(l.substring(e,a+4)),l=l.substr(a+4),"css"==o&&(a=l.indexOf("</style>"))>-1&&(c+=s(l.substring(0,a)),l=l.substr(a)),"javascript"==o&&(a=l.indexOf("</script>"))>-1&&(c+=m(l.substring(0,a)),l=l.substr(a));for(l=c+l,d=0;d<t.arr.length;d++)l=l.replace("W3HTMLCOMMENTPOS",t.arr[d]);return l}(a)),"css"==e&&(a=s(a)),"js"==e&&(a=m(a)),a;function r(n,t,e,a,r){for(var i,o,d="",p=[];n.search(t)>-1;)i=n.search(t),-1==(o=n.indexOf(e,i))&&(o=n.length),r?(p.push(a(n.substring(i,o+e.length))),n=n.substring(0,i)+r+n.substr(o+e.length)):(d+=n.substring(0,i),d+=a(n.substring(i,o+e.length)),n=n.substr(o+e.length));return{rest:d+n,arr:p}}function i(n){for(var t,e,a,r=n,i="";r.search(/(\s|<br>)/)>-1;)t=r.search(/(\s|<br>)/),-1==(e=r.indexOf(">"))&&(e=r.length),i+=r.substring(0,t),i+=o(r.substring(t,e)),r=r.substr(e);return">"==(a="<span style=color:grey><</span>"+(a=i+r).substring(4)).substr(a.length-4,4)&&(a=a.substring(0,a.length-4)+"<span style=color:grey>></span>"),"<span style=color:#a10d5f>"+a+"</span>"}function o(n){for(var t,e,a,r,i,o=n,p="";o.indexOf("=")>-1;)e=-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)?e=o.indexOf(" ",t):r>-1&&(r<a||-1==a)&&(r<i||-1==i)?e=o.indexOf('"',o.indexOf('"',t)+1):a>-1&&(a<r||-1==r)&&(a<i||-1==i)&&(e=o.indexOf("'",o.indexOf("'",t)+1)),(!e||-1==e||e<t)&&(e=o.length),p+=o.substring(0,t),p+=d(o.substring(t,e+1)),o=o.substr(e+1);return"<span style=color:green>"+p+o+"</span>"}function d(n){return"<span style=color:#1c8a9c>"+n+"</span>"}function p(n){return"<span style=color:green>"+n+"</span>"}function s(n){var t,e,a,i,o,d,s,c=n,u="";for(c=(a=r(c,/\/\*/,"*/",p,"W3CSSCOMMENTPOS")).rest;c.search("{")>-1;){for(t=c.search("{"),o=c.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),e=t,i=0;i<=d;i++)e=c.indexOf("}",e+1);-1==e&&(e=c.length),u+=c.substring(0,t+1),u+=l(c.substring(t+1,e)),c=c.substr(e)}for(c=(c=(c=u+c).replace(/{/g,"<span style=color:grey>{</span>")).replace(/}/g,"<span style=color:grey>}</span>"),i=0;i<a.arr.length;i++)c=c.replace("W3CSSCOMMENTPOS",a.arr[i]);return"<span style=color:green>"+c+"</span>"}function l(n){var t,e,a,r,i=n,o="";if(i.indexOf("{")>-1)return s(i);for(;i.search(":")>-1;){for(r=!0,a=t=i.search(":");1==r;)r=!1,e=i.indexOf(";",a)," "==i.substring(e-5,e+1)&&(r=!0,a=e+1);-1==e&&(e=i.length),o+=i.substring(0,t),o+=c(i.substring(t,e+1)),i=i.substr(e+1)}return"<span style=color:#a10d5f>"+o+i+"</span>"}function c(n){var t,e=n,a="";for(e="<span style=color:grey>:</span>"+e.substring(1);e.search(/!important/i)>-1;)t=e.search(/!important/i),a+=e.substring(0,t),a+=u(e.substring(t,t+10)),e=e.substr(t+10);var r=a+e;return";"==r.substr(r.length-1,1)&&" "!=r.substr(r.length-6,6)&&"<"!=r.substr(r.length-4,4)&&">"!=r.substr(r.length-4,4)&&"&"!=r.substr(r.length-5,5)&&(r=r.substring(0,r.length-1)+"<span style=color:grey>;</span>"),"<span style=color:black>"+r+"</span>"}function u(n){return"<span style=color:red;font-weight:bold;>"+n+"</span>"}function m(n){var t,e,a,r,i,o,d,s,l,c,u=n,m="",M=[],v="";for(t=0;t<u.length;t++)"\\"==(e=u.substr(t,1))&&(M.push(u.substr(t,2)),e="W3JSESCAPE",t++),v+=e;for(u=v,1;a=U(u,"'","'",x),r=U(u,'"','"',x),i=U(u,/\/\*/,"*/",p),o=U(u,/\/\//,"<br>",p),s=k(u,f),d=A("js",u,b),c=g(u,h),-1!=Math.max(s[0],a[0],r[0],i[0],o[0],d[0],c[0])&&-1!=(l=w(s,a,r,i,o,d,c))[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<M.length;t++)u=u.replace("W3JSESCAPE",M[t]);return"<span style=color:black>"+u+"</span>"}function x(n){return"<span style=color:brown>"+n+"</span>"}function b(n){return"<span style=color:mediumblue>"+n+"</span>"}function f(n){return"<span style=color:red>"+n+"</span>"}function h(n){return"<span style=color:black>"+n+"</span>"}function g(n,t){var e,a,r,i,o=[".","<"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%"];if((i=n.indexOf("."))>-1)for(e=n.substr(i+1),r=0;r<e.length;r++){var d=e[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 w(n,t,e,a,r,i,o){var d,p=[];for(d=0;d<arguments.length;d++)arguments[d][0]>-1&&(0==p.length||arguments[d][0]<p[0])&&(p=arguments[d]);return 0==p.length&&(p=arguments[d]),p}function A(n,t,e){var a,r,i,o,d=-1,p=-1;for("js"==n&&(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)&&(p=(d=r)+o[a].length));return[d,p,e]}function U(n,t,e,a){var r,i;return r=n.search(t),-1==(i=n.indexOf(e,r+e.length))&&(i=n.length),[r,i+e.length,a]}function k(n,t){var e,a,r,i,o,d=["<br>"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%","="],p=0;for(e=0;e<n.length;e++)for(a=0;a<d.length;a++)if((r=n.substr(e,d[a].length))==d[a]){if("-"==r&&("e"==n.substr(e-1,1)||"E"==n.substr(e-1,1)))continue;if(p<(i=e)&&(o=n.substring(p,i),!isNaN(o)))return[p,i,t];p=e+=d[a].length,e-=1;break}return[-1,-1,t]}}},26:function(n,t){n.exports=ReactDOM},445:function(n,t,e){"use strict";e.r(t);var a=e(20),r=e(81);t.default=a.a.create({component:r.a,configuration:{tagname:"amarr-qna",useShadow:!1},plugins:[]})},8:function(n,t,e){"use strict";e.d(t,"a",(function(){return o}));var a=e(5),r=e(0),i=e.n(r),o=function(n){var t=n.setter,e=t.componentThemes,r=t.selectedTheme;return i.a.createElement(a.ThemeProvider,{theme:function(){if(!r)return e.theme1;var n=r.match(/\d+/g).map(Number),t=Object.keys(e).find((function(t){return!(!Array.isArray(n)||1!==n.length)&&(t.includes(n[0])&&e[t])}));return t?e["".concat(t)]:e.theme1}},n.children)}},81:function(n,t,e){"use strict";var a=e(0),r=e.n(a),i=e(12),o=e.n(i),d={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},p=e(11),s=e(5),l=e(1);function c(){var n=Object(p.a)(["\n ol.qna-container{\n margin-bottom: 0px;\n width: 100%;\n margin-left: -2rem;\n @media screen and "," {\n margin-left: -78px;\n }\n @media screen and "," and "," {\n margin-left: -45px;\n line-height: 28px;\n }\n @media screen and "," and "," {\n line-height: 24px;\n margin-left: -32px;\n }\n @media screen and "," and ","{\n line-height: 24px;\n margin-left: -8px;\n }\n @media screen and "," and "," {\n line-height: 24px;\n margin-left: -24px;\n }\n @media screen and "," {\n line-height: 24px;\n margin-left: -20px;\n }\n }\n li{\n padding-bottom: 40px;\n @media screen and "," {\n padding-bottom: 0px;\n }\n \n @media screen and "," and "," {\n padding-bottom: 15px;\n }\n }\n li:last-child{\n padding-bottom: 0px;\n }\n .qna-container li::marker{\n font-size: var(--font-size-l1);\n font-weight: var(--font-weight-semi-bold);\n @media screen and "," and "," {\n font-size: var(--font-size-m2);\n }\n @media screen and "," and "," {\n font-size: var(--font-size-m1);\n }\n @media "," {\n font-size: var(--font-size-m2);\n }\n }\n @media ","{\n li{\n margin: 0px 0px 0px 36px;\n }\n .qna-parent{\n margin-bottom: 24px;\n &:last-child{\n margin-bottom: 12px;\n }\n }\n }\n .qna-content-container{\n @media ","{\n display: block;\n width: 100% !important;\n padding-right: 20px;\n margin-bottom: 10px;\n padding-left: 16px;\n }\n display: inline-block;\n width: 50%;\n vertical-align: top;\n // margin-bottom: 40px;\n padding-left: 40px;\n // margin-top: -5px;\n \n @media "," {\n padding-left: 20px;\n }\n \n &.qna-radiogroup {\n width: 45%;\n margin: 0;\n @media ","{\n padding: 0;\n padding-left: 120px;\n }\n & label{\n display: inline-block;\n margin-left: 14px;\n // font-size: var(--font-size-s3);\n line-height: 30px;\n &.yes-label{\n margin-right: 42px;\n }\n }\n & span.input-radio-btn-container{\n position: relative;\n }\n & input[type='radio']:after{\n width: 20px;\n height: 20px;\n border-radius: 20px;\n top: -10px;\n left: -3px;\n position: relative;\n background-color: var(--white);\n content: '';\n display: inline-block;\n visibility: visible;\n border: 2px solid var(--border-color);\n @media screen and ","{\n width: 18px;\n height: 18px;\n top: -5px;\n left: -2px;\n }\n @media screen and ","{\n width: 16px;\n height: 16px;\n top: -3px;\n left: -2px;\n }\n // @media screen and ","{\n // top: -3px;\n // }\n }\n & input[type='radio']:checked:after{\n border: 2px solid var(--accent);\n }\n & input[type='radio']:checked + span{\n height: 10px;\n width: 10px;\n border-radius: 10px;\n background: var(--accent);\n position: absolute;\n top: 15px;\n left: 2px;\n @media screen and ","{\n width: 10px;\n height: 10px;\n top: 8px;\n }\n @media screen and "," and ","{\n height: 8px;\n width: 8px;\n top: 8px;\n left: 2px;\n }\n @media screen and "," and ","{\n width: 9px;\n height: 9px;\n top: 5.8px;\n left: 1.2px;\n }\n @media screen and "," and ","{\n width: 9px;\n height: 9px;\n top: 6.2px;\n left: 1.25px;\n }\n @media screen and ","{\n width: 8px;\n height: 8px;\n top: 9.6px;\n }\n }\n }\n &.qna-question-container{\n width: 55%;\n & h3{\n // font-size: 24px;\n font-weight:var(--font-weight-semi-bold);\n }\n & .description-style{\n // font-size: 20px;\n @media ","{\n padding-top: 20px;\n }\n }\n }\n }\n "]);return c=function(){return n},n}var u=s.default.div.withConfig({displayName:"styles__Content",componentId:"sc-10zot6e-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)(c(),l.b.largeDesktopMin,l.b.mediumDesktopMin,l.b.mediumDesktopAndUp3Max,l.b.tabletPortraitAndUp,l.b.desktop2Max,l.b.desktopAndUp,l.b.desktopMax2,l.b.desktopMin2,l.b.smallDesktopAndUp2Max,l.b.mobileMax,l.b.desktop2Max,l.b.desktopAndUp,l.b.mediumDesktopAndUp3Max,l.b.mediumDesktopMin,l.b.mediumDesktopAndUp3Max,l.b.tabletPortraitAndUp,l.b.smallDesktopAndUp2Max,l.b.mobileMax,l.b.tabletPortraitAndUpMax,l.b.tabletPortraitAndUpMax,l.b.mediumDesktopAndUp3Max,l.b.largeMobileMin,l.b.mediumDesktopAndUp3Max,l.b.smallDesktopAndUp2Max,l.b.tabletPortraitAndUpMax,l.b.mediumDesktopAndUp3Max,l.b.desktopMin,l.b.smallDesktopAndUp2Max,l.b.tabletLandscapeAndUp,l.b.desktopAndUpMax,l.b.tabletPortraitAndUp,l.b.tabletPortraitMax,l.b.mobileMax,l.b.tabletPortraitAndUpMax)})),m=e(8),x=e(9),b=e(10),f=e(2),h=e(3),g=s.default.section.withConfig({displayName:"styles__Content",componentId:"sc-1xk6uy9-0"})([".text-style{font-size:var(--font-size-m3);}.description-style{}.radio-container{display:flex;align-items:center;gap:var(--font-size-rc);}@media screen and ","{.radio-wrapper1{padding-left:120px;.radio-container:not(:last-child){margin-right:42px;}}}@media screen and ","{.radio-wrapper1{padding-left:20px;}}"],l.b.tabletPortraitAndUp,l.b.mobileMax),w=function(n){var t=n.item,e=n.yeslabel,i=n.nolabel,o=n.name,d=Object(a.useState)(!1),p=Object(h.a)(d,2),s=p[0],l=p[1],c=Object(a.useState)(!1),u=Object(h.a)(c,2),m=u[0],x=u[1];return r.a.createElement(g,null,r.a.createElement("div",{className:"d-flex align-items-baseline flex-wrap"},r.a.createElement("div",{className:"qna-question-container qna-content-container"},r.a.createElement("h5",null,t.question.text),r.a.createElement("div",{className:"d-none d-lg-block description-style body-text2"},m?s?t.yesAnswer.text:t.noAnswer.text:"")),r.a.createElement("div",{className:"radio-wrapper1"},r.a.createElement("div",{className:"radio-container"},r.a.createElement("input",{id:"yes-".concat(o),type:"radio",name:o,value:"yes",className:"qna-yes-radio",onChange:function(){x(!0),l(!0)}}),r.a.createElement("label",{htmlFor:"yes-".concat(o)},r.a.createElement("span",null,r.a.createElement("div",null)),e)),r.a.createElement("div",{className:"radio-container"},r.a.createElement("input",{id:"no-".concat(o),type:"radio",name:o,value:"no",className:"qna-no-radio",onChange:function(){x(!0),l(!1)}}),r.a.createElement("label",{htmlFor:"no-".concat(o)},r.a.createElement("span",null,r.a.createElement("div",null))," ",i)))),r.a.createElement("span",null,r.a.createElement("div",{className:"qna-question-container qna-content-container d-md-block d-lg-none "},m&&r.a.createElement("div",{className:"description-style body-text2 d-md-block d-lg-none mb-4"},m?s?t.yesAnswer.text:t.noAnswer.text:""))))},A={yesLabel:{text:""},noLabel:{text:""},qnaItems:[{question:{text:""},yesAnswer:{text:""},noAnswer:{text:""}}]},U=function(n){var t=o()({},A,Object(f.g)(n.content));return r.a.createElement(m.a,{setter:{componentThemes:d,selectedTheme:n.theme}},r.a.createElement(x.a,null,r.a.createElement(b.a,null,r.a.createElement(u,{isReversed:!1},r.a.createElement("div",{className:"container "},r.a.createElement("div",{className:"row"},r.a.createElement("ol",{className:"qna-container",role:"group"},t.qnaItems.map((function(n,e){return r.a.createElement("li",{key:e,className:"amarr-h5 qna-parent"},r.a.createElement(w,{item:n,yeslabel:t.yesLabel.text,nolabel:t.noLabel.text,name:"answer"+e}))})))))))))};U.defaultProps={theme:"",content:""};t.a=U},9:function(n,t,e){"use strict";var a=e(0),r=e.n(a),i=e(5),o=e(21),d=Object(a.createContext)({});t.a=function(n){var t=!1;try{var e;t=(null===(e=document)||void 0===e?void 0:e.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(p){console.log(p)}var a=t?[o.a]:[];return r.a.createElement(i.StyleSheetManager,{stylisPlugins:a},r.a.createElement(d.Provider,{value:{rtl:t}},n.children))}}});
|
|
1
|
+
!function(n){function t(t){for(var a,o,d=t[0],p=t[1],s=t[2],l=0,u=[];l<d.length;l++)o=d[l],Object.prototype.hasOwnProperty.call(r,o)&&r[o]&&u.push(r[o][0]),r[o]=0;for(a in p)Object.prototype.hasOwnProperty.call(p,a)&&(n[a]=p[a]);for(c&&c(t);u.length;)u.shift()();return i.push.apply(i,s||[]),e()}function e(){for(var n,t=0;t<i.length;t++){for(var e=i[t],a=!0,d=1;d<e.length;d++){var p=e[d];0!==r[p]&&(a=!1)}a&&(i.splice(t--,1),n=o(o.s=e[0]))}return n}var a={},r={83:0},i=[];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"]||[],p=d.push.bind(d);d.push=t,d=d.slice();for(var s=0;s<d.length;s++)t(d[s]);var c=p;i.push([652,0]),e()}({0:function(n,t){n.exports=React},1:function(n,t,e){"use strict";e.d(t,"g",(function(){return r})),e.d(t,"gb",(function(){return i})),e.d(t,"y",(function(){return o})),e.d(t,"i",(function(){return d})),e.d(t,"M",(function(){return p})),e.d(t,"P",(function(){return s})),e.d(t,"w",(function(){return c})),e.d(t,"K",(function(){return l})),e.d(t,"p",(function(){return u})),e.d(t,"s",(function(){return m})),e.d(t,"R",(function(){return x})),e.d(t,"Q",(function(){return b})),e.d(t,"bb",(function(){return f})),e.d(t,"N",(function(){return h})),e.d(t,"v",(function(){return g})),e.d(t,"h",(function(){return w})),e.d(t,"u",(function(){return A})),e.d(t,"A",(function(){return U})),e.d(t,"x",(function(){return M})),e.d(t,"L",(function(){return k})),e.d(t,"t",(function(){return v})),e.d(t,"cb",(function(){return y})),e.d(t,"r",(function(){return D})),e.d(t,"S",(function(){return O})),e.d(t,"O",(function(){return N})),e.d(t,"db",(function(){return C})),e.d(t,"n",(function(){return z})),e.d(t,"k",(function(){return S})),e.d(t,"o",(function(){return W})),e.d(t,"l",(function(){return L})),e.d(t,"m",(function(){return j})),e.d(t,"D",(function(){return q})),e.d(t,"W",(function(){return T})),e.d(t,"z",(function(){return _})),e.d(t,"eb",(function(){return Z})),e.d(t,"fb",(function(){return $})),e.d(t,"b",(function(){return I})),e.d(t,"Z",(function(){return J})),e.d(t,"F",(function(){return H})),e.d(t,"a",(function(){return F})),e.d(t,"hb",(function(){return R})),e.d(t,"d",(function(){return G})),e.d(t,"f",(function(){return V})),e.d(t,"e",(function(){return Y})),e.d(t,"kb",(function(){return B})),e.d(t,"c",(function(){return K})),e.d(t,"ib",(function(){return Q})),e.d(t,"jb",(function(){return X})),e.d(t,"T",(function(){return nn})),e.d(t,"U",(function(){return tn})),e.d(t,"V",(function(){return en})),e.d(t,"X",(function(){return an})),e.d(t,"Y",(function(){return rn})),e.d(t,"q",(function(){return on})),e.d(t,"ab",(function(){return dn})),e.d(t,"C",(function(){return pn})),e.d(t,"J",(function(){return sn})),e.d(t,"j",(function(){return cn})),e.d(t,"E",(function(){return ln})),e.d(t,"H",(function(){return un})),e.d(t,"I",(function(){return mn})),e.d(t,"G",(function(){return xn})),e.d(t,"B",(function(){return fn}));var a=e(4),r=function(n){return JSON.parse(decodeURIComponent(escape(atob(n))))},i=function(n){return btoa(unescape(encodeURIComponent(n)))},o=function(n){return i(JSON.stringify(n))},d=function(n){return n.toUpperCase()},p=function(n){return n.replaceAll(" ","-").toLowerCase()},s=new a.a(!1),c=new a.a(!1),l=new a.a(!1),u=new a.a(!1),m=new a.a(""),x=new a.a(!1),b=new a.a(!1),f=new a.a(!1),h=new a.a(!1),g=new a.a(!1),w=new a.a(!1),A=new a.a(""),U=new a.a(!0),M=new a.a(!0),k=new a.a(!0),v=new a.a(!0),y=new a.a(!0),D=new a.a(!0),O=new a.a({}),P=new a.a(!1),E=0,N=new a.a(!1),C=new a.a(""),z=new a.a(""),S=new a.a(""),W=new a.a(""),L=new a.a(""),j=new a.a(""),q=new a.a(""),T=new a.a(""),_=new a.a(!1),Z=new a.a(!1),$=new a.a(!1),I=(new a.a(!1),new a.a(!1),new a.a({flag:!1}),function(){setTimeout((function(){E++,P.next(!0)}),0)}),J=function(){setTimeout((function(){E>0&&E--,0==E&&P.next(!1)}),0)},H=function(){return P.asObservable()},F=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)},R=function(n){var t=0;return!!/(?=.{8,})/.test(n)&&(/([a-z])/.test(n)&&t++,/([A-Z])/.test(n)&&t++,/(\d)/.test(n)&&t++,/([!@#$%^&*])/.test(n)&&t++,!(t<3))},G=function(n){return n.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},V=function(n){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(n)},Y=function(n){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(n)},B=function(n){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(n)},K=function(n){return/^[0-9]*$/.test(n)},Q=function(n){return new RegExp("^[0-9]+[.][0-9]{0,2}$").test(n)},X=function(n){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(n)},nn=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},tn=function(n){var t=(""+n).replace(/\D/g,"");if(t.length>10){var e=(t=t.slice(0,10)).match(/^(\d{3})(\d{3})(\d{4})$/);if(e)return"("+e[1]+") "+e[2]+"-"+e[3]}var a="";return t.split("").forEach((function(n,t){a+=0==t?"("+n:2==t?n+") ":5==t?n+"-":n})),a},en=function(n){var t=n.target.value;return 1==t.length?"("+t:5==t.length?t.slice(0,t.length-1)+") "+t[t.length-1]:10==t.length&&"-"!==t[t.length-1]?t.slice(0,t.length-1)+"-"+t[t.length-1]:10==t.length&&"-"===t[t.length-1]?t.substring(0,t.length-1):6==t.length?t.substring(0,t.length-2):t},an=function(n){return n&&(n=Number(n).toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==n&&"0"!==n||(n=n.toFixed(2)),n},rn=function(n,t){return n=n?Number(n):0,(0===(t=t?Number(t):0)||"0"===t?0:(n-t)/t*100).toFixed(2)},on=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},dn=function(n,t,e){var a="",r=n.split(t);return r.forEach((function(n,t){"undefined"!==n&&n&&(a+=n,t!==r.length-1&&(a+=e))})),a},pn=function(n){return n.length>0?n.replace(/[`~!@#$%^&*()_|+\-=?;:'",.<>\{\}\[\]\\\/]/gi,"").replace(/ /g,""):n};function sn(n,t){var e=t||"html",a=n;return e||(e="html"),"html"==e&&(a=function(n){var t,e,a,o,d,c=n,l="";t=r(c,"<!--","-->",p,"W3HTMLCOMMENTPOS"),c=t.rest;for(;c.indexOf("<")>-1;)o="",e=c.indexOf("<"),"<STYLE"==c.substr(e,9).toUpperCase()&&(o="css"),"<SCRIPT"==c.substr(e,10).toUpperCase()&&(o="javascript"),-1==(a=c.indexOf(">",e))&&(a=c.length),l+=c.substring(0,e),l+=i(c.substring(e,a+4)),c=c.substr(a+4),"css"==o&&(a=c.indexOf("</style>"))>-1&&(l+=s(c.substring(0,a)),c=c.substr(a)),"javascript"==o&&(a=c.indexOf("</script>"))>-1&&(l+=m(c.substring(0,a)),c=c.substr(a));for(c=l+c,d=0;d<t.arr.length;d++)c=c.replace("W3HTMLCOMMENTPOS",t.arr[d]);return c}(a)),"css"==e&&(a=s(a)),"js"==e&&(a=m(a)),a;function r(n,t,e,a,r){for(var i,o,d="",p=[];n.search(t)>-1;)i=n.search(t),-1==(o=n.indexOf(e,i))&&(o=n.length),r?(p.push(a(n.substring(i,o+e.length))),n=n.substring(0,i)+r+n.substr(o+e.length)):(d+=n.substring(0,i),d+=a(n.substring(i,o+e.length)),n=n.substr(o+e.length));return{rest:d+n,arr:p}}function i(n){for(var t,e,a,r=n,i="";r.search(/(\s|<br>)/)>-1;)t=r.search(/(\s|<br>)/),-1==(e=r.indexOf(">"))&&(e=r.length),i+=r.substring(0,t),i+=o(r.substring(t,e)),r=r.substr(e);return">"==(a="<span style=color:grey><</span>"+(a=i+r).substring(4)).substr(a.length-4,4)&&(a=a.substring(0,a.length-4)+"<span style=color:grey>></span>"),"<span style=color:#a10d5f>"+a+"</span>"}function o(n){for(var t,e,a,r,i,o=n,p="";o.indexOf("=")>-1;)e=-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)?e=o.indexOf(" ",t):r>-1&&(r<a||-1==a)&&(r<i||-1==i)?e=o.indexOf('"',o.indexOf('"',t)+1):a>-1&&(a<r||-1==r)&&(a<i||-1==i)&&(e=o.indexOf("'",o.indexOf("'",t)+1)),(!e||-1==e||e<t)&&(e=o.length),p+=o.substring(0,t),p+=d(o.substring(t,e+1)),o=o.substr(e+1);return"<span style=color:green>"+p+o+"</span>"}function d(n){return"<span style=color:#1c8a9c>"+n+"</span>"}function p(n){return"<span style=color:green>"+n+"</span>"}function s(n){var t,e,a,i,o,d,s,l=n,u="";for(l=(a=r(l,/\/\*/,"*/",p,"W3CSSCOMMENTPOS")).rest;l.search("{")>-1;){for(t=l.search("{"),o=l.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),e=t,i=0;i<=d;i++)e=l.indexOf("}",e+1);-1==e&&(e=l.length),u+=l.substring(0,t+1),u+=c(l.substring(t+1,e)),l=l.substr(e)}for(l=(l=(l=u+l).replace(/{/g,"<span style=color:grey>{</span>")).replace(/}/g,"<span style=color:grey>}</span>"),i=0;i<a.arr.length;i++)l=l.replace("W3CSSCOMMENTPOS",a.arr[i]);return"<span style=color:green>"+l+"</span>"}function c(n){var t,e,a,r,i=n,o="";if(i.indexOf("{")>-1)return s(i);for(;i.search(":")>-1;){for(r=!0,a=t=i.search(":");1==r;)r=!1,e=i.indexOf(";",a)," "==i.substring(e-5,e+1)&&(r=!0,a=e+1);-1==e&&(e=i.length),o+=i.substring(0,t),o+=l(i.substring(t,e+1)),i=i.substr(e+1)}return"<span style=color:#a10d5f>"+o+i+"</span>"}function l(n){var t,e=n,a="";for(e="<span style=color:grey>:</span>"+e.substring(1);e.search(/!important/i)>-1;)t=e.search(/!important/i),a+=e.substring(0,t),a+=u(e.substring(t,t+10)),e=e.substr(t+10);var r=a+e;return";"==r.substr(r.length-1,1)&&" "!=r.substr(r.length-6,6)&&"<"!=r.substr(r.length-4,4)&&">"!=r.substr(r.length-4,4)&&"&"!=r.substr(r.length-5,5)&&(r=r.substring(0,r.length-1)+"<span style=color:grey>;</span>"),"<span style=color:black>"+r+"</span>"}function u(n){return"<span style=color:red;font-weight:bold;>"+n+"</span>"}function m(n){var t,e,a,r,i,o,d,s,c,l,u=n,m="",k=[],v="";for(t=0;t<u.length;t++)"\\"==(e=u.substr(t,1))&&(k.push(u.substr(t,2)),e="W3JSESCAPE",t++),v+=e;for(u=v,1;a=U(u,"'","'",x),r=U(u,'"','"',x),i=U(u,/\/\*/,"*/",p),o=U(u,/\/\//,"<br>",p),s=M(u,f),d=A("js",u,b),l=g(u,h),-1!=Math.max(s[0],a[0],r[0],i[0],o[0],d[0],l[0])&&-1!=(c=w(s,a,r,i,o,d,l))[0];)c[0]>-1&&(m+=u.substring(0,c[0]),m+=c[2](u.substring(c[0],c[1])),u=u.substr(c[1]));for(u=m+u,t=0;t<k.length;t++)u=u.replace("W3JSESCAPE",k[t]);return"<span style=color:black>"+u+"</span>"}function x(n){return"<span style=color:brown>"+n+"</span>"}function b(n){return"<span style=color:mediumblue>"+n+"</span>"}function f(n){return"<span style=color:red>"+n+"</span>"}function h(n){return"<span style=color:black>"+n+"</span>"}function g(n,t){var e,a,r,i,o=[".","<"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%"];if((i=n.indexOf("."))>-1)for(e=n.substr(i+1),r=0;r<e.length;r++){var d=e[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 w(n,t,e,a,r,i,o){var d,p=[];for(d=0;d<arguments.length;d++)arguments[d][0]>-1&&(0==p.length||arguments[d][0]<p[0])&&(p=arguments[d]);return 0==p.length&&(p=arguments[d]),p}function A(n,t,e){var a,r,i,o,d=-1,p=-1;for("js"==n&&(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)&&(p=(d=r)+o[a].length));return[d,p,e]}function U(n,t,e,a){var r,i;return r=n.search(t),-1==(i=n.indexOf(e,r+e.length))&&(i=n.length),[r,i+e.length,a]}function M(n,t){var e,a,r,i,o,d=["<br>"," ",";","(","+",")","[","]",",","&",":","{","}","/","-","*","|","%","="],p=0;for(e=0;e<n.length;e++)for(a=0;a<d.length;a++)if((r=n.substr(e,d[a].length))==d[a]){if("-"==r&&("e"==n.substr(e-1,1)||"E"==n.substr(e-1,1)))continue;if(p<(i=e)&&(o=n.substring(p,i),!isNaN(o)))return[p,i,t];p=e+=d[a].length,e-=1;break}return[-1,-1,t]}}var cn=function(n){return n?n.charAt(0).toUpperCase()+n.slice(1):""},ln=function(){return getComputedStyle(document.body).getPropertyValue("--asset-path").trim()},un=function(){return getComputedStyle(document.body).getPropertyValue("--accent").trim()},mn=function(n){if("string"===typeof n){var t=n;return t=(t=t.replace(/\\/g,"\\\\")).replace(/"/g,'\\"')}return n},xn=function(n){return Math.floor(Math.random()*n)+1},bn=["January","February","March","April","May","June","July","August","September","October","November","December"],fn=function(n){var t=new Date(n);if("Invalid Date"==t.toString())return n;var e=t.getFullYear(),a=t.getMonth(),r=(t.getDate()+"").padStart(2,"0");return"".concat(bn[a].slice(0,3)," ").concat(r,", ").concat(e)}},10:function(n,t,e){"use strict";e.d(t,"a",(function(){return o}));var a=e(0),r=e.n(a),i=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,p=void 0===d||d;return r.a.createElement(i,{className:t,maxWidth:o,padding:p},e)};t.b=o},2:function(n,t,e){"use strict";e.d(t,"a",(function(){return a})),e.d(t,"b",(function(){return r}));var a={mobileAndUpMin:128,mobileAndUp:320,smallMobileAndUp:375,largeMobileAndUp:426,tabletPortraitUp:606,largeMobileAndUp2:576,tabletPortraitAndUp:768,tabletPortraitAndUp2:835,tabletLandscapeAndUp:992,desktopAndUp:1024,smallDesktopAndUp1:1100,smallDesktopAndUp:1200,smallDesktopAndUp2:1280,smallDesktopAndUp3:1300,smallDesktopAndUp4:1150,mediumDesktopAndUp:1400,mediumDesktopAndUp2:1600,mediumDesktopAndUp3:1680,mediumDesktopAndUp4:1440,mediumDesktopAndUp5:1520,largeDesktop:1800,maxWidthAndUp:1900,wrapperMaxWidth:1920,extraLarge:2560},r={mobileAndUpMin:"(min-width: ".concat(a.mobileAndUpMin,"px)"),mobileAndUp:"(min-width: ".concat(a.mobileAndUp,"px)"),mobile1AndUp:"(max-width: ".concat(a.mobileAndUp-20,"px)"),mobileMax:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),smallMobileAndUp:"(min-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileMax:"(max-width: ".concat(a.smallMobileAndUp,"px)"),smallMobileAndUpMax:"(max-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMin:"(min-width: ".concat(a.smallMobileAndUp+1,"px)"),smallMobileAndUpMax2:"(max-width: ".concat(a.smallMobileAndUp+5,"px)"),largeMobileAndUp:"(min-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax:"(max-width: ".concat(a.largeMobileAndUp,"px)"),largeMobileAndUpMax2:"(max-width: ".concat(a.largeMobileAndUp-2,"px)"),largeMobileAndUpMax3:"(max-width: ".concat(a.largeMobileAndUp-1,"px)"),largeMobileAndUpMin:"(min-width: ".concat(a.largeMobileAndUp-1,"px)"),largeMobileAndUp2:"(min-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max:"(max-width: ".concat(a.largeMobileAndUp2,"px)"),largeMobileAndUp2Max2:"(max-width: ".concat(a.tabletPortraitUp+34,"px)"),largeMobileMin:"(min-width: ".concat(a.tabletPortraitAndUp+1,"px)"),tabletPortraitUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitUp2:"(min-width: ".concat(a.tabletPortraitAndUp+16,"px)"),tabletPortraitUpMax1:"(max-width: ".concat(a.tabletPortraitAndUp-1,"px)"),tabletPortraitAndUp:"(min-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax:"(max-width: ".concat(a.tabletPortraitAndUp,"px)"),tabletPortraitAndUpMax2:"(max-width: ".concat(a.tabletPortraitAndUp+4,"px)"),tabletPortraitAndUpMax3:"(max-width: ".concat(a.tabletPortraitAndUp-12,"px)"),tabletPortraitAndUp2:"(min-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max:"(max-width: ".concat(a.tabletPortraitAndUp2,"px)"),tabletPortraitAndUp2Max2:"(max-width: ".concat(a.tabletPortraitAndUp2-1,"px)"),tabletPortraitMax:"(max-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMin:"(min-width: ".concat(a.tabletLandscapeAndUp-1,"px)"),tabletPortraitMax2:"(max-width: ".concat(a.tabletLandscapeAndUp-2,"px)"),tabletLandscapeAndUp:"(min-width: ".concat(a.tabletLandscapeAndUp,"px)"),tabletLandscapeAndUpMax:"(max-width: ".concat(a.tabletLandscapeAndUp,"px)"),desktopAndUp:"(min-width: ".concat(a.desktopAndUp,"px)"),desktopAndUpMax:"(max-width: ".concat(a.desktopAndUp,"px)"),desktopMin:"(min-width: ".concat(a.desktopAndUp+1,"px)"),desktopMax2:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop2Max:"(max-width: ".concat(a.desktopAndUp-1,"px)"),desktopMin2:"(min-width: ".concat(a.desktopAndUp+2,"px)"),desktopMin1:"(max-width: ".concat(a.desktopAndUp+1,"px)"),desktop1Min:"(min-width: ".concat(a.desktopMin1+1,"px)"),desktop2Min:"(min-width: ".concat(a.desktopAndUp-1,"px)"),desktopMax:"(max-width: ".concat(a.smallDesktopAndUp-1,"px)"),smallDesktopAndUp1:"(min-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp1Max:"(max-width: ".concat(a.smallDesktopAndUp1,"px)"),smallDesktopAndUp:"(min-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktopAndUpMax:"(max-width: ".concat(a.smallDesktopAndUp,"px)"),smallDesktop2Min:"(min-width: ".concat(a.smallDesktopAndUp+1,"px)"),smallDesktopAndUp2:"(min-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp2Max:"(max-width: ".concat(a.smallDesktopAndUp2,"px)"),smallDesktopAndUp3:"(min-width: ".concat(a.smallDesktopAndUp3,"px)"),smallDesktopAndUp4:"(max-width: ".concat(a.smallDesktopAndUp4,"px)"),smallDesktopAndUp3Max:"(max-width: ".concat(a.smallDesktopAndUp3,"px)"),mediumDesktopMin:"(min-width: ".concat(a.smallDesktopAndUp2+1,"px)"),mediumDesktopMin2:"(min-width: ".concat(a.mediumDesktopAndUp+1,"px)"),mediumDesktopAndUp:"(min-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUpMax:"(max-width: ".concat(a.mediumDesktopAndUp,"px)"),mediumDesktopAndUp2:"(min-width: ".concat(a.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp2Max:"(max-width: ".concat(a.mediumDesktopAndUp2,"px)"),mediumDesktopAndUp3:"(min-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp3Max:"(max-width: ".concat(a.mediumDesktopAndUp3,"px)"),mediumDesktopAndUp4:"(min-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp4Min:"(min-width: ".concat(a.mediumDesktopAndUp4+1,"px)"),mediumDesktopAndUp4Max:"(max-width: ".concat(a.mediumDesktopAndUp4,"px)"),mediumDesktopAndUp5:"(min-width: ".concat(a.mediumDesktopAndUp5,"px)"),mediumDesktopAndUp5Max:"(max-width: ".concat(a.mediumDesktopAndUp5-1,"px)"),largeDesktopMax:"(min-width: ".concat(a.mediumDesktopAndUp3-1,"px)"),largeDesktopMax2:"(max-width: ".concat(a.mediumDesktopAndUp3-1,"px)"),largeDesktopMin:"(min-width: ".concat(a.mediumDesktopAndUp3+1,"px)"),largeDesktop:"(min-width: ".concat(a.largeDesktop,"px)"),maxWidthAndUp:"(min-width: ".concat(a.maxWidthAndUp,"px)"),maxWidthAndUpMax:"(max-width: ".concat(a.maxWidthAndUp,"px)"),wrapperMaxWidth:"(min-width: ".concat(a.wrapperMaxWidth,"px)"),wrapperMaxWidthMax:"(max-width: ".concat(a.wrapperMaxWidth-1,"px)"),wrapperMaxWidth2:"(min-width: ".concat(a.wrapperMaxWidth+1,"px)"),largeMobile460:"(max-width: ".concat(a.largeMobileAndUp-6,"px)"),minWidth1901:"(min-width: ".concat(a.maxWidthAndUp+1,"px)"),extraLargeMax:"(max-width: ".concat(a.extraLarge,"px)"),extraLargeMin:"(min-width: ".concat(a.extraLarge,"px)")}},32:function(n,t){n.exports=ReactDOM},534:function(n,t,e){"use strict";e.r(t);var a=e(22),r=e(94);t.default=a.a.create({component:r.a,configuration:{tagname:"amarr-qna",useShadow:!1},plugins:[]})},8:function(n,t,e){"use strict";e.d(t,"a",(function(){return o}));var a=e(5),r=e(0),i=e.n(r),o=function(n){var t=n.setter,e=t.componentThemes,r=t.selectedTheme;return i.a.createElement(a.ThemeProvider,{theme:function(){if(!r)return e.theme1;var n=r.match(/\d+/g).map(Number),t=Object.keys(e).find((function(t){return!(!Array.isArray(n)||1!==n.length)&&(t.includes(n[0])&&e[t])}));return t?e["".concat(t)]:e.theme1}},n.children)};t.b=o},9:function(n,t,e){"use strict";var a=e(0),r=e.n(a),i=e(5),o=e(23),d=Object(a.createContext)({});t.a=function(n){var t=!1;try{var e;t=(null===(e=document)||void 0===e?void 0:e.dir)&&"rtl"===document.dir.toLowerCase()||!1}catch(p){console.log(p)}var a=t?[o.a]:[];return r.a.createElement(i.StyleSheetManager,{stylisPlugins:a},r.a.createElement(d.Provider,{value:{rtl:t}},n.children))}},94:function(n,t,e){"use strict";var a=e(0),r=e.n(a),i=e(13),o=e.n(i),d={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},p=e(11),s=e(5),c=e(2);function l(){var n=Object(p.a)(["\n ol.qna-container{\n margin-bottom: 0px;\n width: 100%;\n margin-left: -2rem;\n @media screen and "," {\n margin-left: -78px;\n }\n @media screen and "," and "," {\n margin-left: -45px;\n line-height: 28px;\n }\n @media screen and "," and "," {\n line-height: 24px;\n margin-left: -32px;\n }\n @media screen and "," and ","{\n line-height: 24px;\n margin-left: -8px;\n }\n @media screen and "," and "," {\n line-height: 24px;\n margin-left: -24px;\n }\n @media screen and "," {\n line-height: 24px;\n margin-left: -20px;\n }\n }\n li{\n padding-bottom: 40px;\n @media screen and "," {\n padding-bottom: 0px;\n }\n \n @media screen and "," and "," {\n padding-bottom: 15px;\n }\n }\n li:last-child{\n padding-bottom: 0px;\n }\n .qna-container li::marker{\n font-size: var(--font-size-l1);\n font-weight: var(--font-weight-semi-bold);\n @media screen and "," and "," {\n font-size: var(--font-size-m2);\n }\n @media screen and "," and "," {\n font-size: var(--font-size-m1);\n }\n @media "," {\n font-size: var(--font-size-m2);\n }\n }\n @media ","{\n li{\n margin: 0px 0px 0px 36px;\n }\n .qna-parent{\n margin-bottom: 24px;\n &:last-child{\n margin-bottom: 12px;\n }\n }\n }\n .qna-content-container{\n @media ","{\n display: block;\n width: 100% !important;\n padding-right: 20px;\n margin-bottom: 10px;\n padding-left: 16px;\n }\n display: inline-block;\n width: 50%;\n vertical-align: top;\n // margin-bottom: 40px;\n padding-left: 40px;\n // margin-top: -5px;\n \n @media "," {\n padding-left: 20px;\n }\n \n &.qna-radiogroup {\n width: 45%;\n margin: 0;\n @media ","{\n padding: 0;\n padding-left: 120px;\n }\n & label{\n display: inline-block;\n margin-left: 14px;\n // font-size: var(--font-size-s3);\n line-height: 30px;\n &.yes-label{\n margin-right: 42px;\n }\n }\n & span.input-radio-btn-container{\n position: relative;\n }\n & input[type='radio']:after{\n width: 20px;\n height: 20px;\n border-radius: 20px;\n top: -10px;\n left: -3px;\n position: relative;\n background-color: var(--white);\n content: '';\n display: inline-block;\n visibility: visible;\n border: 2px solid var(--border-color);\n @media screen and ","{\n width: 18px;\n height: 18px;\n top: -5px;\n left: -2px;\n }\n @media screen and ","{\n width: 16px;\n height: 16px;\n top: -3px;\n left: -2px;\n }\n // @media screen and ","{\n // top: -3px;\n // }\n }\n & input[type='radio']:checked:after{\n border: 2px solid var(--accent);\n }\n & input[type='radio']:checked + span{\n height: 10px;\n width: 10px;\n border-radius: 10px;\n background: var(--accent);\n position: absolute;\n top: 15px;\n left: 2px;\n @media screen and ","{\n width: 10px;\n height: 10px;\n top: 8px;\n }\n @media screen and "," and ","{\n height: 8px;\n width: 8px;\n top: 8px;\n left: 2px;\n }\n @media screen and "," and ","{\n width: 9px;\n height: 9px;\n top: 5.8px;\n left: 1.2px;\n }\n @media screen and "," and ","{\n width: 9px;\n height: 9px;\n top: 6.2px;\n left: 1.25px;\n }\n @media screen and ","{\n width: 8px;\n height: 8px;\n top: 9.6px;\n }\n }\n }\n &.qna-question-container{\n width: 55%;\n & h3{\n // font-size: 24px;\n font-weight:var(--font-weight-semi-bold);\n }\n & .description-style{\n // font-size: 20px;\n @media ","{\n padding-top: 20px;\n }\n }\n }\n }\n "]);return l=function(){return n},n}var u=s.default.div.withConfig({displayName:"styles__Content",componentId:"sc-10zot6e-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)(l(),c.b.largeDesktopMin,c.b.mediumDesktopMin,c.b.mediumDesktopAndUp3Max,c.b.tabletPortraitAndUp,c.b.desktop2Max,c.b.desktopAndUp,c.b.desktopMax2,c.b.desktopMin2,c.b.smallDesktopAndUp2Max,c.b.mobileMax,c.b.desktop2Max,c.b.desktopAndUp,c.b.mediumDesktopAndUp3Max,c.b.mediumDesktopMin,c.b.mediumDesktopAndUp3Max,c.b.tabletPortraitAndUp,c.b.smallDesktopAndUp2Max,c.b.mobileMax,c.b.tabletPortraitAndUpMax,c.b.tabletPortraitAndUpMax,c.b.mediumDesktopAndUp3Max,c.b.largeMobileMin,c.b.mediumDesktopAndUp3Max,c.b.smallDesktopAndUp2Max,c.b.tabletPortraitAndUpMax,c.b.mediumDesktopAndUp3Max,c.b.desktopMin,c.b.smallDesktopAndUp2Max,c.b.tabletLandscapeAndUp,c.b.desktopAndUpMax,c.b.tabletPortraitAndUp,c.b.tabletPortraitMax,c.b.mobileMax,c.b.tabletPortraitAndUpMax)})),m=e(8),x=e(9),b=e(10),f=e(1),h=e(3),g=s.default.section.withConfig({displayName:"styles__Content",componentId:"sc-1xk6uy9-0"})([".text-style{font-size:var(--font-size-m3);}.description-style{}.radio-container{display:flex;align-items:center;gap:var(--font-size-rc);}@media screen and ","{.radio-wrapper1{padding-left:120px;.radio-container:not(:last-child){margin-right:42px;}}}@media screen and ","{.radio-wrapper1{padding-left:20px;}}"],c.b.tabletPortraitAndUp,c.b.mobileMax),w=function(n){var t=n.item,e=n.yeslabel,i=n.nolabel,o=n.name,d=Object(a.useState)(!1),p=Object(h.a)(d,2),s=p[0],c=p[1],l=Object(a.useState)(!1),u=Object(h.a)(l,2),m=u[0],x=u[1];return r.a.createElement(g,null,r.a.createElement("div",{className:"d-flex align-items-baseline flex-wrap"},r.a.createElement("div",{className:"qna-question-container qna-content-container"},r.a.createElement("h5",null,t.question.text),r.a.createElement("div",{className:"d-none d-lg-block description-style body-text2"},m?s?t.yesAnswer.text:t.noAnswer.text:"")),r.a.createElement("div",{className:"radio-wrapper1"},r.a.createElement("div",{className:"radio-container"},r.a.createElement("input",{id:"yes-".concat(o),type:"radio",name:o,value:"yes",className:"qna-yes-radio",onChange:function(){x(!0),c(!0)}}),r.a.createElement("label",{htmlFor:"yes-".concat(o)},r.a.createElement("span",null,r.a.createElement("div",null)),e)),r.a.createElement("div",{className:"radio-container"},r.a.createElement("input",{id:"no-".concat(o),type:"radio",name:o,value:"no",className:"qna-no-radio",onChange:function(){x(!0),c(!1)}}),r.a.createElement("label",{htmlFor:"no-".concat(o)},r.a.createElement("span",null,r.a.createElement("div",null))," ",i)))),r.a.createElement("span",null,r.a.createElement("div",{className:"qna-question-container qna-content-container d-md-block d-lg-none "},m&&r.a.createElement("div",{className:"description-style body-text2 d-md-block d-lg-none mb-4"},m?s?t.yesAnswer.text:t.noAnswer.text:""))))},A={yesLabel:{text:""},noLabel:{text:""},qnaItems:[{question:{text:""},yesAnswer:{text:""},noAnswer:{text:""}}]},U=function(n){var t=o()({},A,Object(f.g)(n.content));return r.a.createElement(m.a,{setter:{componentThemes:d,selectedTheme:n.theme}},r.a.createElement(x.a,null,r.a.createElement(b.a,null,r.a.createElement(u,{isReversed:!1},r.a.createElement("div",{className:"container "},r.a.createElement("div",{className:"row"},r.a.createElement("ol",{className:"qna-container",role:"group"},t.qnaItems.map((function(n,e){return r.a.createElement("li",{key:e,className:"amarr-h5 qna-parent"},r.a.createElement(w,{item:n,yeslabel:t.yesLabel.text,nolabel:t.noLabel.text,name:"answer"+e}))})))))))))};U.defaultProps={theme:"",content:""};t.a=U}});
|
package/LICENSE.md
DELETED
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
MIT License
|
|
2
|
-
|
|
3
|
-
Copyright (c) 2020-present ASSA ABLOY global web contributors
|
|
4
|
-
|
|
5
|
-
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
-
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
-
in the Software without restriction, including without limitation the rights
|
|
8
|
-
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
-
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
-
furnished to do so, subject to the following conditions:
|
|
11
|
-
|
|
12
|
-
The above copyright notice and this permission notice shall be included in all
|
|
13
|
-
copies or substantial portions of the Software.
|
|
14
|
-
|
|
15
|
-
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
-
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
-
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
-
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
-
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
-
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
-
SOFTWARE.
|
package/README.md
DELETED
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-

|
|
2
|
-
<sup>Global web - web components</sup>
|
|
3
|
-
|
|
4
|
-
# Qna
|
|
5
|
-
|
|
6
|
-
**Custom HTML element**
|
|
7
|
-
```html
|
|
8
|
-
<qna foo="" bar="" baz=""></qna>
|
|
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
|