@assaabloy/amarr-wc-read-a-review 2.0.18 → 3.0.2

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/read-a-review.js +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@assaabloy/amarr-wc-read-a-review",
3
- "version": "2.0.18",
3
+ "version": "3.0.2",
4
4
  "description": "Web component - Read-a-review",
5
5
  "type": "module",
6
6
  "main": "read-a-review.js",
@@ -11,5 +11,5 @@
11
11
  },
12
12
  "author": "Nagarro",
13
13
  "license": "MIT",
14
- "gitHead": "dcfab9beb31cafebc25cd7f4605a19dc58f381ab"
14
+ "gitHead": "acc3c989de373312b025dcc717511f6932fc6076"
15
15
  }
package/read-a-review.js CHANGED
@@ -1 +1 @@
1
- !function(e){function t(t){for(var a,i,c=t[0],l=t[1],d=t[2],s=0,m=[];s<c.length;s++)i=c[s],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&m.push(r[i][0]),r[i]=0;for(a in l)Object.prototype.hasOwnProperty.call(l,a)&&(e[a]=l[a]);for(u&&u(t);m.length;)m.shift()();return o.push.apply(o,d||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,c=1;c<n.length;c++){var l=n[c];0!==r[l]&&(a=!1)}a&&(o.splice(t--,1),e=i(i.s=n[0]))}return e}var a={},r={68:0},o=[];function i(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,i),n.l=!0,n.exports}i.m=e,i.c=a,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/";var c=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],l=c.push.bind(c);c.push=t,c=c.slice();for(var d=0;d<c.length;d++)t(c[d]);var u=l;o.push([855,0]),n()}({0:function(e,t){e.exports=React},1:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"T",(function(){return o})),n.d(t,"i",(function(){return i})),n.d(t,"C",(function(){return c})),n.d(t,"F",(function(){return l})),n.d(t,"u",(function(){return d})),n.d(t,"A",(function(){return u})),n.d(t,"n",(function(){return s})),n.d(t,"q",(function(){return m})),n.d(t,"H",(function(){return f})),n.d(t,"G",(function(){return p})),n.d(t,"O",(function(){return v})),n.d(t,"D",(function(){return w})),n.d(t,"t",(function(){return b})),n.d(t,"h",(function(){return h})),n.d(t,"s",(function(){return g})),n.d(t,"x",(function(){return y})),n.d(t,"v",(function(){return E})),n.d(t,"B",(function(){return N})),n.d(t,"r",(function(){return x})),n.d(t,"P",(function(){return O})),n.d(t,"p",(function(){return _})),n.d(t,"I",(function(){return j})),n.d(t,"E",(function(){return z})),n.d(t,"Q",(function(){return C})),n.d(t,"l",(function(){return L})),n.d(t,"j",(function(){return A})),n.d(t,"m",(function(){return D})),n.d(t,"k",(function(){return R})),n.d(t,"y",(function(){return T})),n.d(t,"K",(function(){return I})),n.d(t,"w",(function(){return M})),n.d(t,"R",(function(){return k})),n.d(t,"S",(function(){return Z})),n.d(t,"b",(function(){return H})),n.d(t,"N",(function(){return $})),n.d(t,"z",(function(){return U})),n.d(t,"a",(function(){return G})),n.d(t,"d",(function(){return W})),n.d(t,"f",(function(){return F})),n.d(t,"e",(function(){return J})),n.d(t,"V",(function(){return V})),n.d(t,"c",(function(){return q})),n.d(t,"U",(function(){return K})),n.d(t,"J",(function(){return B})),n.d(t,"L",(function(){return Q})),n.d(t,"M",(function(){return X})),n.d(t,"o",(function(){return Y}));var a=n(3),r=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},o=function(e){return btoa(unescape(encodeURIComponent(e)))},i=function(e){return e.toUpperCase()},c=function(e){return e.replaceAll(" ","-").toLowerCase()},l=new a.a(!1),d=new a.a(!1),u=new a.a(!1),s=new a.a(!1),m=new a.a(""),f=new a.a(!1),p=new a.a(!1),v=new a.a(!1),w=new a.a(!1),b=new a.a(!1),h=new a.a(!1),g=new a.a(""),y=new a.a(!0),E=new a.a(!0),N=new a.a(!0),x=new a.a(!0),O=new a.a(!0),_=new a.a(!0),j=new a.a({}),S=new a.a(!1),P=0,z=new a.a(!1),C=new a.a(""),L=new a.a(""),A=new a.a(""),D=new a.a(""),R=new a.a(""),T=new a.a(""),I=new a.a(""),M=new a.a(!1),k=new a.a(!1),Z=new a.a(!1),H=function(){setTimeout((function(){P++,S.next(!0)}),0)},$=function(){setTimeout((function(){P>0&&P--,0==P&&S.next(!1)}),0)},U=function(){return S.asObservable()},G=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)},W=function(e){return e.match(/^[a-zA-Z\xc0-\xff-. ]*$/)},F=function(e){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(e)},J=function(e){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(e)},V=function(e){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(e)},q=function(e){return/^[0-9]*$/.test(e)},K=function(e){return!!/^[-a-zA-Z0-9+&@#/%?=~|!:,.;]*[-a-zA-Z0-9+&@#/%=~|]$/.test(e)},B=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,t){return e=e?Number(e):0,(0===(t=t?Number(t):0)||"0"===t?0:(e-t)/t*100).toFixed(2)},Y=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}},11:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a={PowerReviewApi:"3783f7b5-5e6f-4da2-90ce-1a55c1fd02b2",Locale:"en_US",MerchantGroupId:"48814",ProductMerchantId:"445672",DealerMerchantId:"135036"}},127:function(e,t,n){"use strict";var a=n(23),r=n(2),o=n(0),i=n.n(o),c=n(4).default.section.withConfig({displayName:"styles__Content",componentId:"sc-5wnpm8-0"})([".capitalize{text-transform:capitalize;}.p-w-r .pr-review-snapshot.pr-review-enhanced .pr-review-snapshot-header .pr-review-snapshot-header-intro .pr-headline{font-size:24px !important;}.p-w-r .pr-category-snippet{margin:0}a{color:#006166;font-weight:600;}.marker-pin{height:100px;width:100px;background-repeat:no-repeat;}@media(max-width:767px){.google-map{height:400px !important;}}"]),l=n(1),d=n(11),u=n(9),s=n(6),m=n.n(s),f=n(66),p=function(e){var t,n,s,p,v,w,b,h,g,y,E,N,x,O,_,j,S,P=e.readData,z=Object(l.g)(P),C=Object(o.useState)(!1),L=Object(r.a)(C,2),A=L[0],D=L[1],R=Object(o.useState)(0),T=Object(r.a)(R,2),I=T[0],M=T[1],k=Object(o.useState)(!1),Z=Object(r.a)(k,2),H=Z[0],$=Z[1],U=Object(o.useState)(0),G=Object(r.a)(U,2),W=G[0],F=G[1],J=Object(o.useState)({lat:0,lng:0}),V=Object(r.a)(J,2),q=V[0],K=V[1],B=Object(o.useState)({name:"",webSite:"",serviceTypeSelections:[],id:0,dealerReviewsNotificationEmail:"",address:{address1:"",address2:"",city:"",state:"",country:"",zip:""},businessPhone:"",dealer:{address:{address1:"",address2:"",city:"",state:"",country:"",zip:""},resolvedDealerLevel:{id:0,level:"",uuid:""},companyName:"",serviceTypeSelections:[]}}),Q=Object(r.a)(B,2),X=Q[0],Y=Q[1];Object(o.useEffect)((function(){Object(l.z)().subscribe((function(e){D(e)})),Object(l.b)();var e=0;if(window.location.search){var t,n=new URLSearchParams(window.location.search),o=Object(a.a)(n);try{for(o.s();!(t=o.n()).done;){var i=Object(r.a)(t.value,2),c=i[0],d=i[1];"id"===c&&(e=Number(d))}}catch(u){o.e(u)}finally{o.f()}}m.a.get(z.reviewsAPIPath+"/"+e).then((function(e){Y(e.data),ee(e.data);var t=e.data.address,n=t.address1;t.address2&&(n=n+"+"+t.address2),t.city&&(n=n+"+"+t.city),t.state&&(n=n+"+"+t.state),t.country&&(n=n+"+"+t.country),t.zip&&(n=n+"+"+t.zip),fetch("".concat(z.geoCodingAPIPath).concat(n),{method:"GET"}).then((function(e){return e.json()})).then((function(e){var t=e.results[0].geometry.location;M(t.lat),F(t.lng),K({lat:t.lat,lng:t.lng}),$(!0)})).catch((function(e){return console.log(e)})),Object(l.N)()}),(function(e){Object(l.N)()})).catch((function(e){Object(l.N)()}))}),[]);var ee=function(e){var t=window.location.origin+"/us/en/write-a-review/?pr_page_id=_dealer_loc_id_"+e.id,n="",a="POWERREVIEWS.display.render(["+(n=n+'{\n "read_services_base_url": "stable",\n "api_key": `'+d.a.PowerReviewApi+'`,\n "locale": `'+d.a.Locale+'`,\n "merchant_group_id": `'+d.a.MerchantGroupId+'`,\n "merchant_id": `'+d.a.DealerMerchantId+'`,\n "page_id": `_dealer_loc_id_'+e.id+'`,\n "review_wrapper_url": `'+t+"`,\n \"on_read_reviews_click\": function () {\n document.getElementById('reviewsTab')?.scrollIntoView({ block: 'start', behavior: 'smooth' })\n }, \n \"components\": {\n \"ReviewSnippet\": `"+e.id+'`,\n "ReviewDisplay": `'+e.id+"-display`\n }\n },")+"]);",r=document.createElement("script");r.innerHTML=a,setTimeout((function(){document.body.appendChild(r),setTimeout((function(){var e=document.querySelectorAll(".pr-snippet-rating-decimal");e&&e.length>0&&e.forEach((function(e){var t=Number(e.textContent).toFixed(1);e.innerText=t}))}),3e3)}),1500)},te=function(e,t){var n,a,r;return i.a.createElement("div",{className:"marker-pin",style:{backgroundImage:"url(".concat(z.iconsRootPath,"/").concat(null===(n=X.dealer)||void 0===n||null===(a=n.resolvedDealerLevel)||void 0===a||null===(r=a.level)||void 0===r?void 0:r.toLowerCase(),"-icon.png)")}})};return i.a.createElement(c,null,A&&i.a.createElement(u.a,null),i.a.createElement("div",{className:"container my-3"},i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-md-6 mb-4 mb-md-0"},i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12"},i.a.createElement("div",{className:"d-flex align-items-center mb-3"},"customer"===(null===(t=X.dealer)||void 0===t||null===(n=t.resolvedDealerLevel)||void 0===n||null===(s=n.level)||void 0===s?void 0:s.toLowerCase())?"":i.a.createElement("img",{loading:"lazy",src:"".concat(z.badgeImagesRootPath,"/").concat(null===(p=X.dealer)||void 0===p||null===(v=p.resolvedDealerLevel)||void 0===v||null===(w=v.level)||void 0===w?void 0:w.toLowerCase(),"-badge.png"),alt:"dealer level image",className:"mr-3 dealer-badge-image"}),i.a.createElement("div",{className:"amarr-h3"},X.name)),i.a.createElement("div",{id:X.id.toString()}))),i.a.createElement("hr",null),i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12"},i.a.createElement("div",{className:"amarr-h6 mb-1 mb-xl-2"},z.addressLabel),i.a.createElement("p",{className:"m-0 body-text2 capitalize"},null===X||void 0===X||null===(b=X.address)||void 0===b||null===(h=b.address1)||void 0===h?void 0:h.toLowerCase()," ",(null===X||void 0===X||null===(g=X.address)||void 0===g?void 0:g.address2)&&(null===X||void 0===X||null===(y=X.address)||void 0===y||null===(E=y.address2)||void 0===E?void 0:E.toLowerCase()),", ",i.a.createElement("br",null),null===X||void 0===X||null===(N=X.address)||void 0===N||null===(x=N.city)||void 0===x?void 0:x.toLowerCase()," ",null===X||void 0===X||null===(O=X.address)||void 0===O||null===(_=O.state)||void 0===_?void 0:_.toLowerCase()," ",null===X||void 0===X||null===(j=X.address)||void 0===j||null===(S=j.country)||void 0===S?void 0:S.toLowerCase()," ",X.address.zip))),i.a.createElement("hr",null),i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12 body-text2"},X.serviceTypeSelections&&X.serviceTypeSelections.length>0&&i.a.createElement("p",{className:"mb-1 mb-xl-2"},i.a.createElement("span",{className:"amarr-h6 mr-2"},z.dealerServicesLabel,":"),X.serviceTypeSelections.map((function(e,t){return i.a.createElement("span",{key:t},i.a.createElement("img",{loading:"lazy",src:"".concat(z.iconsRootPath,"/").concat(null===e||void 0===e?void 0:e.type,".png"),alt:null===e||void 0===e?void 0:e.type,className:"mr-2"}))}))),i.a.createElement("p",{className:"mb-1 mb-xl-2"},i.a.createElement("span",{className:"amarr-h6 mr-2"},z.phoneLabel,":"),Object(l.J)(X.businessPhone)),i.a.createElement("p",{className:"mb-1 mb-xl-2"},i.a.createElement("span",{className:"amarr-h6 mr-2"},z.emailLabel,":"),i.a.createElement("a",{className:"amarrHighlight",href:"mailTo:".concat(X.dealerReviewsNotificationEmail)},X.dealerReviewsNotificationEmail)),i.a.createElement("a",{className:"amarrHighlight",href:"http://".concat(X.webSite),target:z.cta.linkAction},z.cta.label)))),i.a.createElement("div",{className:"col-md-6"},i.a.createElement("div",{style:{height:"100%",width:"100%"},className:"google-map"},H&&i.a.createElement(f.a,{bootstrapURLKeys:{key:z.googleMapPublicAPIKey},defaultCenter:q,defaultZoom:11},i.a.createElement(te,{lat:I,lng:W,text:"My Marker"}))))),i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12 mt-4",id:"reviewsTab"},i.a.createElement("div",{id:"".concat(X.id,"-display")})))))};p.defaultProps={theme:"",readData:""};t.a=p},17:function(e,t){e.exports=ReactDOM},762:function(e,t,n){"use strict";n.r(t);var a=n(14),r=n(127);t.default=a.a.create({component:r.a,configuration:{tagname:"amarr-read-review",useShadow:!1},plugins:[]})},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return u}));var a=n(15),r=n(0),o=n.n(r),i=n(4),c=(n(35),i.default.div.withConfig({displayName:"styles__View",componentId:"sc-10ksvu2-0"})([".loader{position:fixed;left:0;right:0;top:0;bottom:0;text-align:center;z-index:9999;background:rgba(0,0,0,0.5);overflow:hidden;div{align-items:center;}}"])),l=n(26),d=n.n(l),u=function(e){return Object(a.a)(e),o.a.createElement(c,null,o.a.createElement("div",{className:"d-flex justify-content-center loader"},o.a.createElement("div",{className:"d-flex"},o.a.createElement(d.a,{type:"ThreeDots",color:"rgb(0, 97, 102)",height:100,width:100}))))}}});
1
+ !function(e){function t(t){for(var a,i,d=t[0],c=t[1],l=t[2],p=0,m=[];p<d.length;p++)i=d[p],Object.prototype.hasOwnProperty.call(r,i)&&r[i]&&m.push(r[i][0]),r[i]=0;for(a in c)Object.prototype.hasOwnProperty.call(c,a)&&(e[a]=c[a]);for(s&&s(t);m.length;)m.shift()();return o.push.apply(o,l||[]),n()}function n(){for(var e,t=0;t<o.length;t++){for(var n=o[t],a=!0,d=1;d<n.length;d++){var c=n[d];0!==r[c]&&(a=!1)}a&&(o.splice(t--,1),e=i(i.s=n[0]))}return e}var a={},r={67:0},o=[];function i(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,i),n.l=!0,n.exports}i.m=e,i.c=a,i.d=function(e,t,n){i.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:n})},i.r=function(e){"undefined"!==typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},i.t=function(e,t){if(1&t&&(e=i(e)),8&t)return e;if(4&t&&"object"===typeof e&&e&&e.__esModule)return e;var n=Object.create(null);if(i.r(n),Object.defineProperty(n,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var a in e)i.d(n,a,function(t){return e[t]}.bind(null,a));return n},i.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return i.d(t,"a",t),t},i.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},i.p="/";var d=this["webpackJsonpamarr-frontend-components"]=this["webpackJsonpamarr-frontend-components"]||[],c=d.push.bind(d);d.push=t,d=d.slice();for(var l=0;l<d.length;l++)t(d[l]);var s=c;o.push([859,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)"),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)")}},132:function(e,t,n){"use strict";var a=n(30),r=n(3),o=n(0),i=n.n(o),d=n(2),c=n(17),l=n(15),s=n(10),p=n.n(s),m=n(72),u=n(12),h=n.n(u),x={theme1:{background:"var(--bg-main)"},theme2:{background:"var(--bg-alt)"}},f=n(11),b=n(5),w=n(1);function v(){var e=Object(f.a)(['\n .capitalize {\n text-transform: capitalize;\n }\n .p-w-r .pr-review-snapshot.pr-review-enhanced .pr-review-snapshot-header .pr-review-snapshot-header-intro .pr-headline {font-size: var(--font-size-l1) !important;}\n .p-w-r .pr-category-snippet {\n margin: 0\n }\n \n a {\n color: var(--accent);\n font-weight: var(--font-weight-semi-bold);\n }\n \n .marker-pin {\n /* background-image: url("https://d23g0hayoxy5dh.cloudfront.net/ul/6975/images/18/platinum-badge.svg"); */\n height: 100px;\n width: 100px;\n background-repeat: no-repeat;\n }\n \n @media '," {\n .google-map {\n height: 400px !important;\n }\n }\n "]);return v=function(){return e},e}var A=b.default.div.withConfig({displayName:"styles__Content",componentId:"sc-1eylu3j-0"})(["",""],(function(e){var t;(null===(t=e.gradients)||void 0===t?void 0:t.visible)?e.theme.gradient:e.theme;return Object(b.css)(v(),w.b.mobileMax)})),g=n(7),U=n(8),k=n(9),M={badgeImagesRootPath:"",iconsRootPath:"",addressLabel:"",phoneLabel:"",emailLabel:"",apiURLDealerInfo:"",parentRedirectURL:"",cta:{label:"",linkAction:"",color:""},googleMapPublicAPIKey:"",geoCodingAPIPath:"",reviewsAPIPath:"",dealerServicesLabel:""},y=function(e){var t,n,s,u,f,b,w,v,y,D,P,E,O,N,j,_,L,S=h()({},M,Object(d.g)(e.content)),C=Object(o.useState)(!1),z=Object(r.a)(C,2),R=z[0],W=z[1],I=Object(o.useState)(0),T=Object(r.a)(I,2),Z=T[0],H=T[1],$=Object(o.useState)(!1),G=Object(r.a)($,2),F=G[0],K=G[1],J=Object(o.useState)(0),V=Object(r.a)(J,2),q=V[0],B=V[1],Q=Object(o.useState)({lat:0,lng:0}),X=Object(r.a)(Q,2),Y=X[0],ee=X[1],te=Object(o.useState)({name:"",webSite:"",serviceTypeSelections:[],id:0,dealerReviewsNotificationEmail:"",address:{address1:"",address2:"",city:"",state:"",country:"",zip:""},businessPhone:"",dealer:{address:{address1:"",address2:"",city:"",state:"",country:"",zip:""},resolvedDealerLevel:{id:0,level:"",uuid:""},companyName:"",serviceTypeSelections:[]}}),ne=Object(r.a)(te,2),ae=ne[0],re=ne[1];Object(o.useEffect)((function(){Object(d.A)().subscribe((function(e){W(e)})),Object(d.b)();var e=0;if(window.location.search){var t,n=new URLSearchParams(window.location.search),o=Object(a.a)(n);try{for(o.s();!(t=o.n()).done;){var i=Object(r.a)(t.value,2),c=i[0],l=i[1];"id"===c&&(e=Number(l))}}catch(s){o.e(s)}finally{o.f()}}p.a.get(S.reviewsAPIPath+"/"+e).then((function(e){re(e.data),oe(e.data);var t=e.data.address,n=t.address1;t.address2&&(n=n+"+"+t.address2),t.city&&(n=n+"+"+t.city),t.state&&(n=n+"+"+t.state),t.country&&(n=n+"+"+t.country),t.zip&&(n=n+"+"+t.zip),fetch("".concat(S.geoCodingAPIPath).concat(n),{method:"GET"}).then((function(e){return e.json()})).then((function(e){var t=e.results[0].geometry.location;H(t.lat),B(t.lng),ee({lat:t.lat,lng:t.lng}),K(!0)})).catch((function(e){return console.log(e)})),Object(d.O)()}),(function(e){Object(d.O)()})).catch((function(e){Object(d.O)()}))}),[]);var oe=function(e){var t=window.location.origin+"/us/en/write-a-review/?pr_page_id=_dealer_loc_id_"+e.id,n="",a="POWERREVIEWS.display.render(["+(n=n+'{\n "read_services_base_url": "stable",\n "api_key": `'+c.a.PowerReviewApi+'`,\n "locale": `'+c.a.Locale+'`,\n "merchant_group_id": `'+c.a.MerchantGroupId+'`,\n "merchant_id": `'+c.a.DealerMerchantId+'`,\n "page_id": `_dealer_loc_id_'+e.id+'`,\n "review_wrapper_url": `'+t+"`,\n \"on_read_reviews_click\": function () {\n document.getElementById('reviewsTab')?.scrollIntoView({ block: 'start', behavior: 'smooth' })\n }, \n \"components\": {\n \"ReviewSnippet\": `"+e.id+'`,\n "ReviewDisplay": `'+e.id+"-display`\n }\n },")+"]);",r=document.createElement("script");r.innerHTML=a,setTimeout((function(){document.body.appendChild(r),setTimeout((function(){var e=document.querySelectorAll(".pr-snippet-rating-decimal");e&&e.length>0&&e.forEach((function(e){var t=Number(e.textContent).toFixed(1);e.innerText=t}))}),3e3)}),1500)},ie=function(e,t){var n,a,r;return i.a.createElement("div",{className:"marker-pin",style:{backgroundImage:"url(".concat(S.iconsRootPath,"/").concat(null===(n=ae.dealer)||void 0===n||null===(a=n.resolvedDealerLevel)||void 0===a||null===(r=a.level)||void 0===r?void 0:r.toLowerCase(),"-icon.png)")}})};return i.a.createElement(g.a,{setter:{componentThemes:x,selectedTheme:e.theme}},i.a.createElement(U.a,null,i.a.createElement(k.a,null,i.a.createElement(A,{isReversed:!1},R&&i.a.createElement(l.a,null),i.a.createElement("div",{className:"container my-3"},i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-md-6 mb-4 mb-md-0"},i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12"},i.a.createElement("div",{className:"d-flex align-items-center mb-3"},"customer"===(null===(t=ae.dealer)||void 0===t||null===(n=t.resolvedDealerLevel)||void 0===n||null===(s=n.level)||void 0===s?void 0:s.toLowerCase())?"":i.a.createElement("img",{loading:"lazy",src:"".concat(S.badgeImagesRootPath,"/").concat(null===(u=ae.dealer)||void 0===u||null===(f=u.resolvedDealerLevel)||void 0===f||null===(b=f.level)||void 0===b?void 0:b.toLowerCase(),"-badge.png"),alt:"dealer level image",className:"mr-3 dealer-badge-image"}),i.a.createElement("div",{className:"amarr-h3"},ae.name)),i.a.createElement("div",{id:ae.id.toString()}))),i.a.createElement("hr",null),i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12"},i.a.createElement("div",{className:"amarr-h6 mb-1 mb-xl-2"},S.addressLabel),i.a.createElement("p",{className:"m-0 body-text2 capitalize"},null===ae||void 0===ae||null===(w=ae.address)||void 0===w||null===(v=w.address1)||void 0===v?void 0:v.toLowerCase()," ",(null===ae||void 0===ae||null===(y=ae.address)||void 0===y?void 0:y.address2)&&(null===ae||void 0===ae||null===(D=ae.address)||void 0===D||null===(P=D.address2)||void 0===P?void 0:P.toLowerCase()),", ",i.a.createElement("br",null),null===ae||void 0===ae||null===(E=ae.address)||void 0===E||null===(O=E.city)||void 0===O?void 0:O.toLowerCase()," ",null===ae||void 0===ae||null===(N=ae.address)||void 0===N||null===(j=N.state)||void 0===j?void 0:j.toLowerCase()," ",null===ae||void 0===ae||null===(_=ae.address)||void 0===_||null===(L=_.country)||void 0===L?void 0:L.toLowerCase()," ",ae.address.zip))),i.a.createElement("hr",null),i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12 body-text2"},ae.serviceTypeSelections&&ae.serviceTypeSelections.length>0&&i.a.createElement("p",{className:"mb-1 mb-xl-2"},i.a.createElement("span",{className:"amarr-h6 mr-2"},S.dealerServicesLabel,":"),ae.serviceTypeSelections.map((function(e,t){return i.a.createElement("span",{key:t},i.a.createElement("img",{loading:"lazy",src:"".concat(S.iconsRootPath,"/").concat(null===e||void 0===e?void 0:e.type,".png"),alt:null===e||void 0===e?void 0:e.type,className:"mr-2"}))}))),i.a.createElement("p",{className:"mb-1 mb-xl-2"},i.a.createElement("span",{className:"amarr-h6 mr-2"},S.phoneLabel,":"),Object(d.K)(ae.businessPhone)),i.a.createElement("p",{className:"mb-1 mb-xl-2"},i.a.createElement("span",{className:"amarr-h6 mr-2"},S.emailLabel,":"),i.a.createElement("a",{className:"amarrHighlight",href:"mailTo:".concat(ae.dealerReviewsNotificationEmail)},ae.dealerReviewsNotificationEmail)),i.a.createElement("a",{className:"amarrHighlight",href:"http://".concat(ae.webSite),target:S.cta.linkAction},S.cta.label)))),i.a.createElement("div",{className:"col-md-6"},i.a.createElement("div",{style:{height:"100%",width:"100%"},className:"google-map"},F&&i.a.createElement(m.a,{bootstrapURLKeys:{key:S.googleMapPublicAPIKey},defaultCenter:Y,defaultZoom:11},i.a.createElement(ie,{lat:Z,lng:q,text:"My Marker"}))))),i.a.createElement("div",{className:"row"},i.a.createElement("div",{className:"col-12 mt-4",id:"reviewsTab"},i.a.createElement("div",{id:"".concat(ae.id,"-display")}))))))))};y.defaultProps={theme:"",content:""};t.a=y},15:function(e,t,n){"use strict";n.d(t,"a",(function(){return s}));var a=n(23),r=n(0),o=n.n(r),i=n(5),d=(n(42),i.default.div.withConfig({displayName:"styles__View",componentId:"sc-10ksvu2-0"})([".loader{position:fixed;left:0;right:0;top:0;bottom:0;text-align:var(--text-center);z-index:9999;background:rgba(0,0,0,0.5);overflow:hidden;div{align-items:center;}}"])),c=n(33),l=n.n(c),s=function(e){return Object(a.a)(e),o.a.createElement(d,null,o.a.createElement("div",{className:"d-flex justify-content-center loader"},o.a.createElement("div",{className:"d-flex"},o.a.createElement(l.a,{type:"ThreeDots",color:"rgb(0, 97, 102)",height:100,width:100}))))}},17:function(e,t,n){"use strict";n.d(t,"a",(function(){return a}));var a={PowerReviewApi:"3783f7b5-5e6f-4da2-90ce-1a55c1fd02b2",Locale:"en_US",MerchantGroupId:"48814",ProductMerchantId:"445672",DealerMerchantId:"135036"}},2:function(e,t,n){"use strict";n.d(t,"g",(function(){return r})),n.d(t,"U",(function(){return o})),n.d(t,"i",(function(){return i})),n.d(t,"D",(function(){return d})),n.d(t,"G",(function(){return c})),n.d(t,"v",(function(){return l})),n.d(t,"B",(function(){return s})),n.d(t,"o",(function(){return p})),n.d(t,"r",(function(){return m})),n.d(t,"I",(function(){return u})),n.d(t,"H",(function(){return h})),n.d(t,"P",(function(){return x})),n.d(t,"E",(function(){return f})),n.d(t,"u",(function(){return b})),n.d(t,"h",(function(){return w})),n.d(t,"t",(function(){return v})),n.d(t,"y",(function(){return A})),n.d(t,"w",(function(){return g})),n.d(t,"C",(function(){return U})),n.d(t,"s",(function(){return k})),n.d(t,"Q",(function(){return M})),n.d(t,"q",(function(){return y})),n.d(t,"J",(function(){return D})),n.d(t,"F",(function(){return O})),n.d(t,"R",(function(){return N})),n.d(t,"m",(function(){return j})),n.d(t,"j",(function(){return _})),n.d(t,"n",(function(){return L})),n.d(t,"k",(function(){return S})),n.d(t,"l",(function(){return C})),n.d(t,"z",(function(){return z})),n.d(t,"L",(function(){return R})),n.d(t,"x",(function(){return W})),n.d(t,"S",(function(){return I})),n.d(t,"T",(function(){return T})),n.d(t,"b",(function(){return Z})),n.d(t,"O",(function(){return H})),n.d(t,"A",(function(){return $})),n.d(t,"a",(function(){return G})),n.d(t,"d",(function(){return F})),n.d(t,"f",(function(){return K})),n.d(t,"e",(function(){return J})),n.d(t,"W",(function(){return V})),n.d(t,"c",(function(){return q})),n.d(t,"V",(function(){return B})),n.d(t,"K",(function(){return Q})),n.d(t,"M",(function(){return X})),n.d(t,"N",(function(){return Y})),n.d(t,"p",(function(){return ee}));var a=n(4),r=function(e){return JSON.parse(decodeURIComponent(escape(atob(e))))},o=function(e){return btoa(unescape(encodeURIComponent(e)))},i=function(e){return e.toUpperCase()},d=function(e){return e.replaceAll(" ","-").toLowerCase()},c=new a.a(!1),l=new a.a(!1),s=new a.a(!1),p=new a.a(!1),m=new a.a(""),u=new a.a(!1),h=new a.a(!1),x=new a.a(!1),f=new a.a(!1),b=new a.a(!1),w=new a.a(!1),v=new a.a(""),A=new a.a(!0),g=new a.a(!0),U=new a.a(!0),k=new a.a(!0),M=new a.a(!0),y=new a.a(!0),D=new a.a({}),P=new a.a(!1),E=0,O=new a.a(!1),N=new a.a(""),j=new a.a(""),_=new a.a(""),L=new a.a(""),S=new a.a(""),C=new a.a(""),z=new a.a(""),R=new a.a(""),W=new a.a(!1),I=new a.a(!1),T=new a.a(!1),Z=function(){setTimeout((function(){E++,P.next(!0)}),0)},H=function(){setTimeout((function(){E>0&&E--,0==E&&P.next(!1)}),0)},$=function(){return P.asObservable()},G=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-. ]*$/)},K=function(e){return/^[0-9a-zA-Z !@#\$%\^\&*\)\(+=._-]+$/.test(e)},J=function(e){return/^\(?([0-9]{3})\)\s[0-9]{3}-[0-9]{4}$/.test(e)},V=function(e){return/((([A-Za-z]{3,9}:(?:\/\/)?)(?:[-;:&=\+\$,\w]+@)?[A-Za-z0-9.-]+|(?:www.|[-;:&=\+\$,\w]+@)[A-Za-z0-9.-]+)((?:\/[\+~%\/.\w-_]*)?\??(?:[-\+=&;%@.\w_]*)#?(?:[\w]*))?)/.test(e)},q=function(e){return/^[0-9]*$/.test(e)},B=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},X=function(e){return e&&(e=e.toFixed(2).replace(/\d(?=(\d{3})+\.)/g,"$&,")),0!==e&&"0"!==e||(e=e.toFixed(2)),e},Y=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}},26:function(e,t){e.exports=ReactDOM},7:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(5),r=n(0),o=n.n(r),i=function(e){var t=e.setter,n=t.componentThemes,r=t.selectedTheme;return o.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)}},767:function(e,t,n){"use strict";n.r(t);var a=n(21),r=n(132);t.default=a.a.create({component:r.a,configuration:{tagname:"amarr-read-review",useShadow:!1},plugins:[]})},8:function(e,t,n){"use strict";var a=n(0),r=n.n(a),o=n(5),i=n(20),d=n.n(i),c=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(i){console.log(i)}var a=t?[d.a]:[];return r.a.createElement(o.StyleSheetManager,{stylisPlugins:a},r.a.createElement(c.Provider,{value:{rtl:t}},e.children))}},9:function(e,t,n){"use strict";n.d(t,"a",(function(){return i}));var a=n(0),r=n.n(a),o=n(5).default.div.withConfig({displayName:"styles__Wrapper",componentId:"sc-1pdbosk-0"})(["box-sizing:border-box;width:100%;margin:0 auto;padding:",";max-width:",";"],(function(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));"})),i=function(e){var t=e.className,n=e.children,a=e.maxWidth,i=void 0===a?1520:a,d=e.padding,c=void 0===d||d;return r.a.createElement(o,{className:t,maxWidth:i,padding:c},n)}}});