1function doSetThirdParty(_dataLayer=null,_webengage=null,_criteo=null,_criteoAccount=null,_admited=null){_criteo!=null&&(criteo=_criteo);_criteoAccount!=null&&(criteoAccount=_criteoAccount);_dataLayer!=null&&(dataLayer=_dataLayer);_admited!=null&&(ADMITAD=_admited)}function doCheckGtmReady(){return doCheckObject(window.google_tag_manager)}function doFlushGtmPending(){var listPending=m_listGtmPending,i;for(m_listGtmPending=[],i=0;i<listPending.length;i++)try{listPending[i]()}catch(error){console.log(error)}}function doPollGtmReady(){m_gtmPollTimer==null&&(m_gtmPollTimer=setInterval(function(){if(m_gtmPollTries++,doCheckGtmReady()){clearInterval(m_gtmPollTimer);m_gtmPollTimer=null;doFlushGtmPending();return}m_gtmPollTries>=m_gtmPollMax&&(clearInterval(m_gtmPollTimer),m_gtmPollTimer=null,m_listGtmPending=[])},200))}function doRunWhenGtmReady(send){if(doCheckGtmReady()){send();return}m_listGtmPending.length>=m_gtmPendingMax||(m_listGtmPending.push(send),doPollGtmReady())}function doGtmSendUser(user,action){dataLayer.push({event:action,userId:user._id(),email:user._email(),name:user._name(),lastName:user._lastName(),phone:user._phone(),gender:user._genderType(),birthday:user._birthday()})}function doThirdPartySendUser(user,action){try{doRunWhenGtmReady(function(){self.doGtmSendUser(user,action)})}catch(error){console.log(error)}}function doThirdPartySendVirtualPage(){var url,title,deviceType;try{url=window.location.href;title=document.title;doRunWhenGtmReady(function(){typeof dataLayer!="undefined"&&dataLayer.push({event:ThirdPartyEnum.ajax_LoadView,virtualPageURL:url,virtualPageTitle:title})});typeof criteo!="undefined"&&(deviceType=/iPad/.test(navigator.userAgent)?"t":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent)?"m":"d",criteo.push({event:"setAccount",account:criteoAccount},{event:"setEmail",email:doGetCookie("userWebEmail"),hash_method:doGetCookie("userWebEmail")},{event:"setSiteType",type:deviceType},{event:"viewPage"}))}catch(error){console.log(error)}}function doGTMLSendActionListItem(listObject,item_list_name,action){var items,i,index,j,item;try{for(items=[],i=0;i<listObject().length;i++){var object=listObject()[i],stock=object._objectStockModel,json={};for(json.name=object._name(),json.id=object._code(),json.price=action==ThirdPartyEnum.view_item_list?stock===null||stock===void 0?void 0:stock._priceSale():listObject()[i]._price(),json.currency=m_handlerSession.doGetCompanyCurrencyEn(),json.discount=stock?stock._priceRegulare()-stock._priceSale():0,json.tax=stock?doRoundNumber(stock._vat()/100*stock._priceSale(),2):0,index=0,j=0;j<object._listCategoryModel().length;j++)item=object._listCategoryModel()[j],item._categoryType()==CategoryTypeEnum.Brand||item._categoryType()==CategoryTypeEnum.Collection?json.brand=item._name():(index==0?json.category=item._name():json["category"+index]=item._name(),index++);json.variant=object._colorModel._name();json.index=index+i;json.quantity=action==ThirdPartyEnum.view_item_list?stock?stock._quantity():0:listObject()[i]._quantity();items.push(json)}dataLayer.push({ecommerce:null});dataLayer.push({event:action,ecommerce:{items:items}})}catch(error){console.log(error)}}function doCriteoSendActionListItem(listObject,item_list_name){var items,i,object,deviceType;try{for(items=[],i=0;i<listObject().length;i++)object=listObject()[i],items.push(object._code());deviceType=/iPad/.test(navigator.userAgent)?"t":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent)?"m":"d";criteo.push({event:"setAccount",account:criteoAccount},{event:"setEmail",email:doGetCookie("userWebEmail"),hash_method:doGetCookie("userWebEmail")},{event:"setSiteType",type:deviceType},{event:"viewList",item:items,category:item_list_name,keywords:"##Search Keyword##"})}catch(error){console.log(error)}}function doThirdPartySendActionListItem(listObject,item_list_name,action){try{if(listObject().length==0)return;doRunWhenGtmReady(function(){self.doGTMLSendActionListItem(listObject,item_list_name,action)});typeof criteo!="undefined"&&self.doCriteoSendActionListItem(listObject,item_list_name,action)}catch(error){}}function doGtmSendActionItem(object,item_list_name,action,quantity=0){var index,j,item;try{var items=[],stock=object._objectStockModel,json={};for(json.item_name=object._name(),json.item_id=object._code(),json.price=stock?stock._priceSale():0,json.currency=m_handlerSession.doGetCompanyCurrencyEn(),json.discount=stock?stock._priceRegulare()-stock._priceSale():0,json.tax=stock?doR
1oundNumber(stock._vat()/100*stock._priceSale(),2):0,index=0,j=0;j<object._listCategoryModel().length;j++)item=object._listCategoryModel()[j],item._categoryType()==CategoryTypeEnum.Brand||item._categoryType()==CategoryTypeEnum.Collection?json.item_brand=item._name():(index==0?json.item_category=item._name():json["item_category"+index]=item._name(),index++);json.item_variant=object._colorModel._name();(action==ThirdPartyEnum.add_to_cart||action==ThirdPartyEnum.remove_from_cart)&&(json.quantity=quantity);items.push(json);dataLayer.push({ecommerce:null});dataLayer.push({event:action,ecommerce:{currencyCode:m_handlerSession.doGetCompanyCurrencyEn(),items:items}})}catch(error){console.log(error)}}function doCriteoSendActionItem(object,item_list_name,action,quantity=0){try{var stock=object._objectStockModel,deviceType=/iPad/.test(navigator.userAgent)?"t":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent)?"m":"d";action==ThirdPartyEnum.add_to_cart?criteo.push({event:"setAccount",account:criteoAccount},{event:"setEmail",email:doGetCookie("userWebEmail"),hash_method:doGetCookie("userWebEmail")},{event:"setSiteType",type:deviceType},{event:"addToCart",item:[{id:object._code(),price:stock?stock._priceSale():0,quantity:quantity}]}):action==ThirdPartyEnum.view_item&&criteo.push({event:"setAccount",account:criteoAccount},{event:"setEmail",email:doGetCookie("userWebEmail"),hash_method:doGetCookie("userWebEmail")},{event:"setSiteType",type:deviceType},{event:"viewItem",item:object._code()})}catch(error){console.log(error)}}function doThirdPartySendActionItem(object,item_list_name,action,quantity=0){try{doRunWhenGtmReady(function(){self.doGtmSendActionItem(object,item_list_name,action,quantity)});typeof criteo!="undefined"&&self.doCriteoSendActionItem(object,item_list_name,action,quantity)}catch(error){}}function doGtmSendActionInvoice(invoice,item_list_name,action){var items,i,object,json,index,j,item,listCode,address,shipping_tier;try{for(items=[],i=0;i<invoice._listInvoiceDetailModel().length;i++){for(object=invoice._listInvoiceDetailModel()[i]._objectModel,json={},json.item_name=object._name(),json.item_id=object._code(),json.price=invoice._listInvoiceDetailModel()[i]._price(),json.currency=m_handlerSession.doGetCompanyCurrencyEn(),index=0,j=0;j<object._listCategoryModel().length;j++)item=object._listCategoryModel()[j],item._categoryType()==CategoryTypeEnum.Brand||item._categoryType()==CategoryTypeEnum.Collection?json.item_brand=item._name():(index==0?json.item_category=item._name():json["item_category"+index]=item._name(),index++);json.item_variant=object._colorModel._name();json.index=index+i;json.quantity=invoice._listInvoiceDetailModel()[i]._quantity();json.discount=invoice._listInvoiceDetailModel()[i]._discount();json.tax=invoice._listInvoiceDetailModel()[i]._vatAmount();items.push(json)}listCode=[];ko.utils.arrayForEach(invoice._listAppliedCouponModel(),function(item){listCode.push(item._couponModel._code())});dataLayer.push({ecommerce:null});action==ThirdPartyEnum.purchase?(address=invoice._shipmentModel._addressModel,dataLayer.push({event:action,ecommerce:{transaction_id:invoice._code(),affiliation:"Google Merchandise Store",value:invoice._total(),tax:invoice._vatTotal(),shipping:invoice._deliveryCharge()-invoice._discountDeliveryCharge(),currency:m_handlerSession.doGetCompanyCurrencyEn(),coupon:listCode.toString(),Userid:doGetUserID(),user_email:address._email(),user_phone_number:address._phone(),City:address._cityModel._name(),Country:address._cityModel._countryModel._shortName(),items:items}})):action==ThirdPartyEnum.refund?dataLayer.push({event:action,ecommerce:{id:invoice._code(),transaction_id:invoice._code(),affiliation:"Google Merchandise Store",value:invoice._total(),revenue:invoice._total(),tax:invoice._vatTotal(),shipping:invoice._deliveryCharge()-invoice._discountDeliveryCharge(),currency:m_handlerSession.doGetCompanyCurrencyEn(),coupon:listCode.toString(),items:items}}):action==ThirdPartyEnum.begin_checkout?(address=invoice._shipmentModel._addressModel,dataLayer.push({event:action,ecommerce:{actionField:{value:invoice._total(),currency:m_handlerSession.doGetCompanyCurrencyEn()},Userid:doGetUserID(),user_email:address._email(),user_phone_number:address._phone(),City:address._cityModel._name(),Country:address._cityModel._countryModel._short
1Name(),items:items}})):action==ThirdPartyEnum.add_payment_info?dataLayer.push({event:action,ecommerce:{actionField:{value:invoice._total(),currency:m_handlerSession.doGetCompanyCurrencyEn(),payment_type:invoice._paymentModel._paymentMethodModel._paymentMethodType()},items:items}}):action==ThirdPartyEnum.add_shipping_info&&(address=invoice._shipmentModel._addressModel,shipping_tier=address._fullName()+" - "+address._phone(),shipping_tier+=address._cityModel._countryModel._name()+", "+address._cityModel._name()+", "+address._street+" - "+address._state(),dataLayer.push({event:action,ecommerce:{actionField:{value:invoice._total(),currency:m_handlerSession.doGetCompanyCurrencyEn(),shipping_tier:shipping_tier},items:items}}))}catch(error){return console.log(error),setTimeout(()=>{doGtmSendActionInvoice(invoice,item_list_name,action)},1e3)}}function doCriteoSendActionInvoice(invoice,item_list_name,action){var items,i,object,deviceType;try{for(items=[],i=0;i<invoice._listInvoiceDetailModel().length;i++)object=invoice._listInvoiceDetailModel()[i]._objectModel,items.push({id:object._code(),price:invoice._listInvoiceDetailModel()[i]._price(),quantity:invoice._listInvoiceDetailModel()[i]._quantity()});deviceType=/iPad/.test(navigator.userAgent)?"t":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent)?"m":"d";action==ThirdPartyEnum.purchase&&criteo.push({event:"setAccount",account:criteoAccount},{event:"setEmail",email:invoice._shipmentModel._addressModel._email(),hash_method:invoice._shipmentModel._addressModel._email()},{event:"setSiteType",type:deviceType},{event:"trackTransaction",id:invoice._code(),item:items})}catch(error){return setTimeout(()=>{doCriteoSendActionInvoice(invoice,item_list_name,action)},1e3)}}function doAdmitedSendActionInvoice(invoice,item_list_name,action){var orderedItem,i,object,code;try{if(action!=ThirdPartyEnum.purchase)return;for(orderedItem=[],i=0;i<invoice._listInvoiceDetailModel().length;i++)object=invoice._listInvoiceDetailModel()[i]._objectModel,orderedItem.push({Product:{productID:object._code(),category:"1",price:invoice._listInvoiceDetailModel()[i]._price(),priceCurrency:m_handlerSession.doGetCompanyCurrencyEn()},orderQuantity:invoice._listInvoiceDetailModel()[i]._quantity(),additionalType:"sale"});code="";ko.utils.arrayForEach(invoice._listAppliedCouponModel(),function(applied){var coupon=applied._couponModel;code=coupon._code().toLowerCase();coupon._linkedUserModelID()==admitedID&&(ADMITAD=window.ADMITAD||{},ADMITAD.Invoice=ADMITAD.Invoice||{},ADMITAD.Invoice.category="1",ADMITAD.Invoice.referencesOrder=ADMITAD.Invoice.referencesOrder||[],ADMITAD.Invoice.referencesOrder.push({orderNumber:invoice._code(),discountCode:code,orderedItem:orderedItem}),ADMITAD.Tracking.processPositions())})}catch(error){return setTimeout(()=>{doAdmitedSendActionInvoice(invoice,item_list_name,action)},1e3)}}function doArabyadsSendActionInvoice(invoice,item_list_name,action){try{if(action!=ThirdPartyEnum.purchase)return;ko.utils.arrayForEach(invoice._listAppliedCouponModel(),function(applied){var coupon=applied._couponModel,code,link;coupon._linkedUserModelID()==arabyadsID&&(code=coupon._code().toLowerCase(),link=arabyads.replace("@coupon",code),link=link.replace("@order_i",invoice._id()),link=link.replace("@amount",invoice._subTotal()),link=link.replace("@currency",m_handlerSession.doGetCompanyCurrencyEn()),link=link.replace("@country",invoice._companyModel._countryModel._shortName()),fetch(link).catch(function(){}))})}catch(error){return setTimeout(()=>{doArabyadsSendActionInvoice(invoice,item_list_name,action)},1e3)}}function doThirdPartySendActionInvoice(invoice,item_list_name,action){invoice._listInvoiceDetailModel().length!=0&&(doRunWhenGtmReady(function(){self.doGtmSendActionInvoice(invoice,item_list_name,action)}),typeof criteo!="undefined"&&self.doCriteoSendActionInvoice(invoice,item_list_name,action),typeof ADMITAD!="undefined"&&self.doAdmitedSendActionInvoice(invoice,item_list_name,action),typeof arabyads!="undefined"&&self.doArabyadsSendActionInvoice(invoice,item_list_name,action))}function doCriteoSendActionCart(cart,item_list_name,action){var items,i,object,stock,deviceType;try{for(items=[],i=0;i<cart._listCartDetailModel().length;i++)object=cart._listCartDetailModel()[i]._objectModel,stock=object._objectStockModel,items.push({id:object._code(),price:stock?stock._priceSale():0,quantity:cart._listCartDetailModel()[i]._quantity()});deviceType=/iPad/.test(navigator.userAgent)?"t":/Mobile|iP(hone|od)|Android|BlackBerry|IEMobile|Silk/.test(navigator.userAgent)?"m":"d";action==ThirdPartyEnum.view_cart&&criteo.push({event:"setAccount",account:criteoAccount},{event:"setEmail",email:doGetCookie("userWebEmail"),hash_method:doGetCookie("userWebEmail")},{event:"setSiteType",type:deviceType},{event:"viewBasket",item:items});action==ThirdPartyEnum.add_to_cart&&criteo.push({event:"setAccount",account:criteoAccount},{event:"setEmail",email:doGetCookie("userWebEmail"),hash_method:doGetCookie("userWebEmail")},{event:"setSiteType",type:deviceType},{event:"addToCart",item:items})}catch(error){console.log(error)}}function doGtmSendActionCart(cart,item_list_name,action){var items,i,object,json,stock,index,j,item;try{for(items=[],i=0;i<cart._listCartDetailModel().length;i++){for(object=cart._listCartDetailModel()[i]._objectModel,json={},json.item_name=object._name(),json.item_id=object._code(),json.price=cart._listCartDetailModel()[i]._price(),json.currency=m_handlerSession.doGetCompanyCurrencyEn(),stock=object._objectStockModel,json.discount=stock?stock._priceRegulare()-stock._priceSale():0,json.tax=stock?doR
1oundNumber(stock._vat()/100*stock._priceSale(),2):0,index=0,j=0;j<object._listCategoryModel().length;j++)item=object._listCategoryModel()[j],item._categoryType()==CategoryTypeEnum.Brand||item._categoryType()==CategoryTypeEnum.Collection?json.item_brand=item._name():(index==0?json.item_category=item._name():json["item_category"+index]=item._name(),index++);json.item_variant=object._colorModel._name();json.index=index+i;json.quantity=cart._listCartDetailModel()[i]._quantity();items.push(json)}dataLayer.push({event:action,ecommerce:{value:cart._total(),currency:m_handlerSession.doGetCompanyCurrencyEn(),items:items}})}catch(error){return console.log(error),setTimeout(()=>{doGtmSendActionCart(cart,item_list_name,action)},1e3)}}function doThirdPartSendActionCart(cart,item_list_name,action){try{if(cart._listCartDetailModel().length==0)return;typeof criteo!="undefined"&&self.doCriteoSendActionCart(cart,item_list_name,action);doRunWhenGtmReady(function(){self.doGtmSendActionCart(cart,item_list_name,action)})}catch(error){}}function doThirdPartySendNewsLetter(){try{}catch(error){console.log(error)}}function doThirdPartySendSearchByKeyWord(){try{}catch(error){}}function doThirdPartySendSearchByCategory(){try{}catch(error){}}function doCriteoHomePage(){try{criteo.push({event:"setAccount",account:criteoAccount},{event:"setEmail",email:doGetCookie("userWebEmail"),hash_method:doGetCookie("userWebEmail")},{event:"viewHome"})}catch(error){console.log(error)}}function doThirdPartyHomePage(){try{typeof criteo!="undefined"&&self.doCriteoHomePage()}catch(error){console.log(error)}}var dataLayer,criteo,criteoAccount,ADMITAD,admitedID,arabyads,arabyadsID,lastCart,m_listGtmPending=[],m_gtmPollTimer=null,m_gtmPollTries=0,m_gtmPollMax=100,m_gtmPendingMax=50
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.