(this["webpackJsonp6th-street"]=this["webpackJsonp6th-street"]||[]).push([[44],{1959:function(t,e,o){"use strict";(function(t,a){var n=o(1),i=o(2358),s=o(77),r=o(11),l=o(14),c=o(141),p=o(2361),u=o.n(p),d=o(2362),m=o.n(d),h=o(2363),b=o.n(h),f=o(2364),k=o.n(f),g=o(2365),v=o.n(g),_=o(126),y=o(2366),S=o(8),C=o(0),w=o(113),E=o(178);o(2370);var M=o(13).checkBEMProps;class O extends n.PureComponent{constructor(){super(...arguments),this.state={isArabic:Object(r.h)(),isLoad:!1},this.getRootURL=()=>{const{language:t,country:e}=this.props;if(t&&e&&c.b){const o="".concat(t,"-").concat(e.toLowerCase());return c.b[o]||""}return""},this.linksMap=[{title:t("\u0639\u0646"),items:[{name:Object(r.h)()?M(a,"span",null,"\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0639\u0646 ",E.a.displayName):M(a,"div",{block:"About"},M(a,"span",null,t("\u0639\u0646")),"\xa0",M(a,"span",null,E.a.displayName)),href:"/about"},{name:t("\u062d\u0642\u0648\u0642 \u0627\u0644\u0645\u0633\u062a\u0647\u0644\u0643"),href:"https://www.consumerrights.ae/en/Pages/default.aspx"},{name:t("\u0625\u062e\u0644\u0627\u0621 \u0627\u0644\u0645\u0633\u0624\u0648\u0644\u064a\u0629"),href:"/disclaimer"},{name:t("\u0633\u064a\u0627\u0633\u0629 \u0627\u0644\u062e\u0635\u0648\u0635\u064a\u0629"),href:"/privacy-policy"},{name:t("\u0633\u064a\u0627\u0633\u0629 \u0627\u0644\u0643\u0648\u0643\u064a\u0632"),href:"/cookies-policy"},{name:t("\u0627\u0644\u0634\u0631\u0648\u0637 \u0648\u0627\u0644\u0623\u062d\u0643\u0627\u0645"),href:"/terms-and-conditions"},{name:t("\u0639\u0646 \u0643\u0644\u0648\u0628 \u0622\u064a\u0641\u064a "),href:"/about-club-aivi"},{name:t("\u0639\u0646 \u0645\u062c\u0645\u0648\u0639\u0629 \u0623\u0628\u0627\u0631\u064a\u0644"),href:"/about-apparel-group"}]},{title:t("\u062e\u062f\u0645\u0629 \u0627\u0644\u0639\u0645\u0644\u0627\u0621"),items:[{name:t("\u0627\u0644\u0634\u062d\u0646"),href:"/shipping-policy"},{name:t("\u0627\u0644\u0645\u0631\u062a\u062c\u0639\u0627\u062a"),href:"/return-information"},{name:t("\u062a\u062a\u0628\u0639 \u0627\u0644\u0637\u0644\u0628"),href:"".concat("https://apparel-aivi.boxaty.io/track","?lang=").concat(Object(r.h)()?"ar":"en")},{name:t("\u0627\u0644\u0623\u0633\u0626\u0644\u0629 \u0648\u0627\u0644\u0623\u062c\u0648\u0628\u0629"),href:"/faq"}]},{title:t("Download the App"),items:[{id_app:"App1",app_store:"https://static.6media.me/static/version1600320971/frontend/6SNEW/6snew/en_US/images/apple-store-badge.svg",app_onclick:"https://apps.apple.com/ro/app/6thstreet-com/id1370217070",id_google:"Google1",google_play:"https://static.6media.me/static/version1600320042/frontend/6SNEW/6snew/en_US/images/google-play-badge.svg",google_onclick:"https://play.google.com/store/apps/details?id=com.apparel.app6thstreet",header:M(a,y.a,null),id_facebook:"Facebook1",facebook_href:"https://www.facebook.com/aivi",id_insta:"Insta1",insta_href:"https://www.instagram.com/aivi_world",id_tiktok:"Tiktok1",tiktok_href:"https://www.tiktok.com/@aivi_world?is_from_webapp=1&sender_device=pc",id_snapchat:"Snapchat1",snapchat_href:"https://www.snapchat.com/@aivi_world?sender_web_id=62d3f11b-3823-43f1-90f2-97fd0a82ea09&device_type\u2026",id_linkedin:"LinkedIn1",linkedin_href:"https://www.linkedin.com/company/aivi-world"}]}],this.updateLinkMaps=()=>{var e;const{isBlogEnabled:o}=this.props;if(!o)return;(null===(e=this.linksMap[0])||void 0===e?void 0:e.items.some(t=>{let{href:e}=t;return"/blog"===e}))||(this.linksMap[0].items=[...this.linksMap[0].items,...o?[{name:t("\u0645\u062f\u0648\u0646\u0629"),href:"/blog"}]:[]])}}sendMOEEvents(t){Object(C.Ri)(t,{country:Object(S.f)().toUpperCase(),language:Object(S.i)().toUpperCase(),app6thstreet_platform:"Web"}),C.hj.dispatch(C.zc,t)}renderFirstTwoCloumns(){const{isLoad:e}=this.state,o=new RegExp("^(?:[a-z]+:)?//","i"),n=this.getRootURL()||"";return this.linksMap.filter(e=>e.title===t("\u0639\u0646")||e.title===t("\u062e\u062f\u0645\u0629 \u0627\u0644\u0639\u0645\u0644\u0627\u0621")).map(i=>M(a,"div",{block:"FooterMain",elem:"Column",key:i.title},M(a,"h4",null,i.title),M(a,"div",{block:"FooterMain",elem:"Nav",key:i.title},M(a,"ul",{key:i.title},i.items.map(i=>{const s=o.test(i.href)?i.href:"".concat(n).concat(i.href),r=e=>{const o=e==t("\u062d\u0642\u0648\u0642 \u0627\u0644\u0645\u0633\u062a\u0647\u0644\u0643")?C.O:e==t("\u0625\u062e\u0644\u0627\u0621 \u0627\u0644\u0645\u0633\u0624\u0648\u0644\u064a\u0629")?C.U:e==t("\u0633\u064a\u0627\u0633\u0629 \u0627\u0644\u062e\u0635\u0648\u0635\u064a\u0629")?C.mh:e==t("\u0628\u064a\u0627\u0646\u0627\u062a \u0627\u0644\u0634\u062d\u0646")?C.Ih:e==t("\u0645\u0639\u0644\u0648\u0645\u0627\u062a \u0627\u0644\u0625\u0631\u062c\u0627\u0639")?C.Ah:e==t("\u0627\u0633\u062a\u0637\u0644\u0627\u0639 \u0627\u0644\u0631\u0623\u064a")?C.cb:"div"==e.type&&e.props.className==t("\u0639\u0646")?C.g:"";o&&o.length>0?(this.setState({isLoad:!0}),this.sendMOEEvents(o),setTimeout(()=>{window.location=s,this.setState({isLoad:!1})},1500)):(window.location=s,this.setState({isLoad:!1}))};return M(a,"li",{key:i.name},M(a,w.a,{isLoading:e}),M(a,"button",{block:"FooterMain",elem:"Link",type:"button",onClick:()=>r(i.name),title:"string"===typeof i.name?i.name:t("\u0639\u0646 \u0622\u064a\u0641\u064a")},i.name))})))))}renderAppColumn(){return this.linksMap.filter(e=>e.title===t("Download the App")).map(e=>M(a,"div",{block:"FooterMain",elem:"LastColumn",key:e.title},M(a,"h4",null,e.title),M(a,"div",{block:"FooterMain",elem:"Nav"},e.items.map((e,o)=>M(a,n.Fragment,{key:"last_main_footer_column".concat(o)},M(a,"div",{block:"FooterMain",elem:"WrapperFirst"},M(a,s.default,{to:e.app_onclick,key:e.id_app,title:t("\u062d\u0645\u0644 \u0627\u0644\u062a\u0637\u0628\u064a\u0642")},M(a,_.default,{lazyLoad:!0,src:e.app_store,alt:"app store download"})),M(a,"br",null),M(a,s.default,{to:e.google_onclick,key:e.id_google,title:t("\u062d\u0645\u0644 \u0627\u0644\u062a\u0637\u0628\u064a\u0642")},M(a,_.default,{lazyLoad:!0,src:e.google_play,alt:"google play download"})," "),M(a,"br",null)))))))}renderSocialLinks(){return this.linksMap.filter(e=>e.title===t("Download the App")).map((t,e)=>M(a,"div",{block:"FooterMain",elem:"SocialColumn",key:e},M(a,"div",{block:"FooterMain",elem:"SocialLinks"},t.items.map((t,e)=>M(a,n.Fragment,{key:"last_main_footer_column_".concat(e)},M(a,"div",{block:"FooterMain",elem:"SocialTitle"},t.header),M(a,"div",{block:"FooterMain",elem:"WrapperSecond"},M(a,"div",{block:"FooterMain",elem:"SocialIcon"},M(a,s.default,{to:t.insta_href,key:t.id_insta,target:"_blank",title:"Instagram",onClick:()=>{this.sendMOEEvents(C.ce)}},M(a,_.default,{lazyLoad:!0,src:m.a,alt:"instagram"}))),M(a,"div",{block:"FooterMain",elem:"SocialIcon"},M(a,s.default,{to:t.facebook_href,key:t.id_facebook,target:"_blank",title:"Facebook",onClick:()=>{this.sendMOEEvents(C.ab)}},M(a,_.default,{lazyLoad:!0,src:u.a,alt:"facebook"}))),M(a,"div",{block:"FooterMain",elem:"SocialIcon"},M(a,s.default,{to:t.tiktok_href,key:t.id_tiktok,target:"_blank",title:"TikTok",onClick:()=>{this.sendMOEEvents(C.ii)}},M(a,_.default,{lazyLoad:!0,src:v.a,alt:"Tiktok"}))),M(a,"div",{block:"FooterMain",elem:"SocialIcon"},M(a,s.default,{to:t.snapchat_href,key:t.id_snapchat,target:"_blank",title:"Snapchat",onClick:()=>{this.sendMOEEvents(C.Rh)}},M(a,_.default,{lazyLoad:!0,src:k.a,alt:"Snapchat"}))),M(a,"div",{block:"FooterMain",elem:"SocialIcon"},M(a,s.default,{to:t.linkedin_href,key:t.id_linkedin,target:"_blank",title:"LinkedIn",onClick:()=>{this.sendMOEEvents(C.ee)}},M(a,_.default,{lazyLoad:!0,src:b.a,alt:"LinkedIn"})))))))))}render(){const{isArabic:t}=this.state;return this.updateLinkMaps(),M(a,"div",{block:"FooterMain"},M(a,"div",{block:"FooterMain",elem:"Layout",mods:{isArabic:t}},this.renderSocialLinks(),M(a,"div",{block:"FooterMain",elem:"Columns"},this.renderFirstTwoCloumns(),M(a,i.a,null),this.renderAppColumn())))}}e.a=Object(l.b)(t=>({config:t.AppConfig.config,country:t.AppState.country,language:t.AppState.language,isBlogEnabled:t.AppConfig.isBlogEnabled}),null)(O)}).call(this,o(28),o(1))},1960:function(t,e,o){"use strict";(function(t){var a=o(1),n=o(14),i=(o(356),o(2359));var s=o(13).checkBEMProps;class r extends a.PureComponent{constructor(){super(...arguments),this.containerProps=()=>{const{config:{support_email:t}}=this.props,{isEmailSupported:e,isPhoneSupported:o,contactLabel:a,isContactEmail:n,openHoursLabel:i,phone:s}=this.getCountryConfigs();return{email:t,isEmailSupported:e,isPhoneSupported:o,contactLabel:a,isContactEmail:n,openHoursLabel:i,phone:s?s.includes("00")&&0===s.indexOf("00")?s.replace("00","+"):s:""}}}getCountryConfigs(){const{config:{countries:t},country:e,language:o}=this.props;let a=!1,n=!1,i={},s="",r="";return t[e]&&(t[e].contact_information&&(t[e].contact_information.email&&(a=t[e].contact_information.email),t[e].contact_information.phone&&(n=t[e].contact_information.phone)),t[e].contact_using&&t[e].contact_using.options&&t[e].contact_using.options.text&&(i=t[e].contact_using.options.text),t[e].opening_hours&&("en"===o?s=t[e].opening_hours.en:"ar"===o&&(s=t[e].opening_hours.ar)),t[e].toll_free&&(r=t[e].toll_free)),{isEmailSupported:a,isPhoneSupported:n,contactLabel:i,openHoursLabel:s,phone:r}}render(){return s(t,i.a,Object.assign({},this.containerFunctions,this.containerProps()))}}e.a=Object(n.b)(t=>({config:t.AppConfig.config,country:t.AppState.country,language:t.AppState.language}))(r)}).call(this,o(1))},2358:function(t,e,o){"use strict";var a=o(1960);o.d(e,"a",(function(){return a.a}))},2359:function(t,e,o){"use strict";(function(t,a){var n=o(1),i=o(8),s=o(0),r=(o(2360),o(13).checkBEMProps);class l extends n.PureComponent{constructor(){super(...arguments),this.renderEmail=()=>{const{isEmailSupported:e,email:o}=this.props;return e?r(t,"a",{block:"FooterCustomerSupport",elem:"Email",href:"mailto:".concat(o),onClick:()=>{this.sendEvents(s.ke)},title:o},o):null},this.renderPhone=()=>{const{isPhoneSupported:e,phone:o}=this.props,a=o?o.replaceAll(" ",""):null;return e?r(t,"a",{block:"FooterCustomerSupport",elem:"Phone",href:"tel:".concat(a),onClick:()=>{this.sendEvents(s.gh)},title:o},r(t,"bdi",null,o)):null}}renderWorkingHours(){const{openHoursLabel:e}=this.props,o=e?"".concat(e.replace(/OPEN\s*/i,"").trim()," ").concat(a("\u0643\u0644 \u064a\u0648\u0645")):"";return r(t,"div",{block:"FooterCustomerSupport",elem:"FirstParagraph"},r(t,"div",{block:"FooterCustomerSupport",elem:"DisplayOpenHours"},r(t,"div",{block:"FooterCustomerSupport",elem:"OpenHoursIcon"}),r(t,"span",null),r(t,"p",{block:"FooterCustomerSupport",elem:"OpenHours"},o)))}sendEvents(t){Object(s.Ri)(t,{country:Object(i.f)().toUpperCase(),language:Object(i.i)().toUpperCase(),app6thstreet_platform:"Web"}),s.hj.dispatch(s.sc,t)}renderSupport(){const e=this.renderPhone(),o=this.renderEmail();return r(t,"div",null,r(t,"h4",null,a("\u062e\u062f\u0645\u0629 \u0627\u0644\u0639\u0645\u0644\u0627\u0621")),this.renderWorkingHours(),e?r(t,"div",{block:"FooterCustomerSupport",elem:"DisplayPhone"},r(t,"div",{block:"FooterCustomerSupport",elem:"PhoneIcon"}),r(t,"span",null),e):null,o?r(t,"div",{block:"FooterCustomerSupport",elem:"DisplayEmail"},r(t,"div",{block:"FooterCustomerSupport",elem:"EmailIcon"}),r(t,"span",null),o):null)}render(){return r(t,"div",{block:"FooterCustomerSupport"},this.renderSupport())}}e.a=l}).call(this,o(1),o(28))},2360:function(t,e,o){},2361:function(t,e,o){t.exports=o.p+"static/media/facebook.eda4808a.svg"},2362:function(t,e,o){t.exports=o.p+"static/media/instagram.880dfae2.svg"},2363:function(t,e,o){t.exports=o.p+"static/media/linkedin.3f6fb06d.svg"},2364:function(t,e,o){t.exports=o.p+"static/media/snapchat.3eb18ec1.svg"},2365:function(t,e,o){t.exports=o.p+"static/media/tiktok.2cd3c0a9.svg"},2366:function(t,e,o){"use strict";(function(t,a){o.d(e,"a",(function(){return f}));var n=o(1),i=o(11),s=o(14),r=o(15),l=o(56),c=o(8),p=o(0),u=o(2367),d=o.n(u),m=o(2368),h=o.n(m),b=(o(2369),o(13).checkBEMProps);function f(){const[e,o]=Object(n.useState)(!1),[u,m]=Object(n.useState)(!0),[f,k]=Object(n.useState)(!0),[g,v]=Object(n.useState)(""),_=Object(i.h)(),y=t=>/\S+@\S+\.\S+/.test(t),S=Object(s.c)();return b(t,"div",null,b(t,"div",{className:_?"subscriptionContainer arabicStyleContainer":"subscriptionContainer"},b(t,"div",{className:"subscriptionText"},a("\u0633\u062c\u0644 \u0627\u0644\u0622\u0646 \u0644\u062a\u0643\u0648\u0646 \u0623\u0648\u0644 \u0645\u0646 \u064a\u0639\u0644\u0645 \u0628\u0648\u0635\u0648\u0644 \u0627\u0644\u0645\u0646\u062a\u062c\u0627\u062a \u0648\u0627\u0644\u0639\u0631\u0648\u0636 \u0627\u0644\u062d\u0635\u0631\u064a\u0629.")),b(t,"div",{className:"formContainer"},b(t,"div",{className:"emailContainer"},b(t,"div",{className:"inputWrapper"},b(t,"input",{className:_?"emailInput arabicStyleInput":"emailInput",placeholder:a("\u0627\u062f\u062e\u0644 \u0628\u0631\u064a\u062f\u0643 \u0627\u0644\u0625\u0644\u0643\u062a\u0631\u0648\u0646\u064a"),type:"email",onChange:t=>{k(!0),(t=>{v(t),y(t)?y(t)&&(o(!0),m(!1)):(o(!1),m(!0))})(t.target.value)}}),b(t,"button",{className:_?u?"submitBtn disabledBtn arabicStyleBtn":"submitBtn arabicStyleBtn":u?"submitBtn disabledBtn":"submitBtn",onClick:()=>{(async t=>{try{m(!0);const e=await Object(l.r)({email:g});if(e&&e.success&&e.data&&e.data.message){if("string"===typeof e.data.message){const o=e.data.message;t(Object(r.d)("success",o)),Object(p.Ri)(p.W,{country:Object(c.f)().toUpperCase(),language:Object(c.i)().toUpperCase(),app6thstreet_platform:"Web",email:g||""}),k(!1),setTimeout(()=>{k(!0)},2e3)}}else e&&!e.success&&e.data&&"string"===typeof e.data&&t(Object(r.d)("error",e.data));m(!1)}catch(e){t("string"===typeof e?Object(r.d)("error",e):Object(r.d)("error","some error occurred"))}})(S)},disabled:u,id:"submit-subscription"},f?a("Subscribe"):b(t,"img",{className:"submit-animation",src:h.a,alt:"submit"}))),!e&&g.length?b(t,"span",{className:"errorMsg"},b(t,"img",{className:"infoIcon",src:d.a,alt:"info"}),a("\u064a\u0631\u062c\u0649 \u0643\u062a\u0627\u0628\u0629 \u0639\u0646\u0648\u0627\u0646 \u0628\u0631\u064a\u062f\u064a \u0645\u062a\u0648\u0641\u0631 ")):null))))}}).call(this,o(1),o(28))},2367:function(t,e,o){t.exports=o.p+"static/media/info.3ce7e8b0.svg"},2368:function(t,e,o){t.exports=o.p+"static/media/SendSuccessfully.ab822ddb.gif"},2369:function(t,e,o){},2370:function(t,e,o){},445:function(t,e,o){"use strict";o.r(e);var a=o(1959);o.d(e,"default",(function(){return a.a}))}}]);