PageSourceSearch

https://pamutlabor.hu/wp-content/themes/pamutlabor-2021/assets/js/9212.3d2d4aa7d43b4ee7b098.chunk.min.js

js pamutlabor.hu collected 2026-09-26 15:08:42 UTC 21,481 bytes, 1 lines download raw bytes

1"use strict";(self.webpackChunkpamutlabor_2021=self.webpackChunkpamutlabor_2021||[]).push([[9212],{9212(e,a,l){l.r(a),l.d(a,{default:()=>Je});var t=l(4700),s=l(8696),o=l(785),n=l(7006),d=l(6370),i=l(7456),u=l(3894),r=l(641),p=l(953),m=l(3751),c=l(33),f=l(198),g=l(5906),v=l(2868),h=l(9265);const _={class:"container-fluid"},k={class:"row"},x={class:"col-2 d-flex flex-column"},b={class:"col-2 d-flex flex-column"},y={class:"mb-2"},L={class:"col-2 d-flex flex-column"},V={class:"col-2 d-flex flex-column"},C={class:"row"},w={class:"col-6"},F={class:"row"},U={class:"col-6"},z={class:"row"},A={class:"col-6"},M={class:"d-flex flex-row align-items-center w-25"},E={class:"col-6"},J={class:"d-flex flex-row align-items-center w-25"},X={class:"row"},H={class:"col-6"},S={class:"d-flex flex-column align-items-start justify-content-start mb-4 position-relative"},B={class:"d-flex flex-row mb-2 align-items-center"},K={class:"d-flex flex-column"},R=["for"],I={class:"d-flex flex-column"},T=["for"],j={class:"d-flex flex-row align-items-center"},D={class:"d-flex flex-column"},O=["for"],N=["id","onUpdate:modelValue","name"],P={class:"d-flex flex-column"},Q=["for"],W=["id","onUpdate:modelValue","name"],Z={class:"col-6"},G={class:"d-flex flex-column align-items-start justify-content-start mb-4 position-relative"},q={class:"d-flex flex-row mb-2 align-items-center"},Y={class:"d-flex flex-column"},$=["for"],ee={class:"d-flex flex-column"},ae=["for"],le={class:"d-flex flex-row align-items-center"},te={class:"d-flex flex-column"},se=["for"],oe=["id","onUpdate:modelValue","name"],ne={class:"d-flex flex-column"},de=["for"],ie=["id","onUpdate:modelValue","name"],ue={class:"row"},re={class:"d-flex flex-row align-items-center justify-content-between"},pe={class:"d-flex flex-row"},me={class:"d-flex flex-column me-2"},ce=["for"],fe={class:"d-flex flex-column"},ge=["for"],ve=["id","onUpdate:modelValue","name"],he={class:"col-12 mb-2"},_e={class:"row"},ke={class:"col-4 d-flex flex-column"},xe={class:"col-4 d-flex flex-column"},be={class:"col-2 d-flex flex-column"},ye=["value"],Le={class:"col-2 d-flex flex-column"},Ve=["value"],Ce={class:"row"},we={class:"col-6"},Fe={id:"extra-message-preview"},Ue={class:"announcement-box-content"},ze={key:0,class:"image-wrapper"},Ae=["src"],Me={class:"announcement-box-text text-white mb-0 fw-bold py-3 pr-3 text-end"},Ee=(0,r.pM)({__name:"EstimatedShipping",props:{settings:{},countries:{}},setup(e){const a=(0,p.KR)(JSON.parse(e.settings)),l=(0,p.KR)(JSON.parse(e.countries??"{}")),Ee=(0,p.KR)(),Je={start:"",end:"",days:{from:0,to:0}};(0,r.sV)(()=>{a.value.methods_helper=[],void 0!==a.value.main_method&&(console.log(a.value.regions.default.shipping_types_data),a.value.methods_helper=Object.entries(a.value.main_method).map(([e,a])=>({country_code:e,method:Number(a)})))}),(0,r.sV)(()=>{void 0===a.value.regions.default.extra_rest_days&&(a.value.regions.default.extra_rest_days=[]),void 0===a.value.regions.default.extra_working_days&&(a.value.regions.default.extra_working_days=[])});const Xe=e=>{Ee.value?.toggle(e)};return(e,He)=>{const Se=u.A,Be=i.A,Ke=d.A,Re=n.A,Ie=o.A,Te=s.A,je=t.A;return(0,r.uX)(),(0,r.CE)("div",_,[(0,r.bF)(Be,{header:"General",class:"mb-2"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",k,[(0,r.Lk)("div",x,[He[20]||(He[20]=(0,r.Lk)("p",{class:"mb-2"},"Time Zone",-1)),(0,r.bF)(Se,{type:"text",modelValue:a.value.regions.default.timezone,"onUpdate:modelValue":He[0]||(He[0]=e=>a.value.regions.default.timezone=e),"pt:root:name":"estimated_shipping[regions][default][timezone]"},null,8,["modelValue"])]),(0,r.Lk)("div",b,[(0,r.Lk)("p",y,[He[23]||(He[23]=(0,r.eW)(" Cutoff Time ",-1)),(0,r.Lk)("div",{class:"info d-inline-block",style:{cursor:"pointer"},onMouseenter:He[1]||(He[1]=e=>Xe(e)),onMouseleave:He[2]||(He[2]=e=>Xe(e))},[He[22]||(He[22]=(0,r.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"12",height:"12",fill:"currentColor",class:"bi bi-info-circle",viewBox:"0 0 16 16"},[(0,r.Lk)("path",{d:"M8 15A7 7 0 1 1 8 1a7 7 0 0 1 0 14m0 1A8 8 0 1 0 8 0a8 8 0 0 0 0 16"}),(0,r.Lk)("path",{d:"m8.93 6.588-2.29.287-.082.38.45.083c.294.07.352.176.288.469l-.738 3.468c-.194.897.105 1.319.808 1.319.545 0 1.178-.252 1.465-.598l.088-.416c-.2.176-.492.246-.686.246-.275 0-.375-.193-.304-.533zM9 4.5a1 1 0 1 1-2 0 1 1 0 0 1 2 0"})],-1)),(0,r.bF)((0,p.R1)(g.A),{ref_key:"popOver",ref:Ee,style:{"max-width":"340px"}},{default:(0,r.k6)(()=>[...He[21]||(He[21]=[(0,r.Lk)("span",null," Az elvárt formátum a következő (HH:mm). ",-1)])]),_:1},512)],32)]),(0,r.bF)(Se,{type:"text",modelValue:a.value.regions.default.cutoff_time,"onUpdate:modelValue":He[3]||(He[3]=e=>a.value.regions.default.cutoff_time=e),"pt:root:name":"estimated_shipping[regions][default][cutoff_time]"},null,8,["modelValue"])]),(0,r.Lk)("div",L,[He[24]||(He[24]=(0,r.Lk)("p",{class:"mb-2"},"Default country",-1)),(0,r.bF)((0,p.R1)(f.A),{modelValue:a.value.default_country,"onUpdate:modelValue":He[4]||(He[4]=e=>a.value.default_country=e),options:["hu","ro","de"],placeholder:"Select a country",size:"small"},null,8,["modelValue"]),(0,r.bo)((0,r.Lk)("input",{type:"hidden",name:"estimated_shipping[default_country]","onUpdate:modelValue":He[5]||(He[5]=e=>a.value.default_country=e)},null,512),[[m.Jo,a.value.default_country]])]),(0,r.Lk)("div",V,[He[25]||(He[25]=(0,r.Lk)("p",{class:"mb-2"},"Pre-generation (days)",-1)),(0,r.bo)((0,r.Lk)("input",{type:"number","onUpdate:modelValue":He[6]||(He[6]=e=>a.value.count=e),name:"estimated_shipping[count]"},null,512),[[m.Jo,a.value.count]])])])]),_:1}),(0,r.bF)(Be,{header:"Extra work days",class:"mb-2"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",C,[(0,r.Lk)("div",w,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(a.value.regions.default.extra_working_days,(e,l)=>((0,r.uX)(),(0,r.CE)("div",{key:l,class:"mb-2"},[(0,r.bF)(Ie,null,{default:(0,r.k6)(()=>[(0,r.bF)(Se,{type:"date",modelValue:a.value.regions.default.extra_working_days[l],"onUpdate:modelValue":e=>a.value.regions.default.extra_working_days[l]=e,size:"small","pt:root:name":"estimated_shipping[regions][default][extra_working_days][]"},null,8,["modelValue","onUpdate:modelValue"]),(0,r.bF)(Re,null,{default:(0,r.k6)(()=>[(0,r.bF)(Ke,{severity:"danger",onClick:()=>a.value.regions.default.extra_working_days.splice(l,1),size:"small"},{icon:(0,r.k6)(()=>[...He[26]||(He[26]=[(0,r.Lk)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"p-icon p-button-icon","aria-hidden":"true"},[(0,r.Lk)("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 
11.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"})],-1)])]),_:1},8,["onClick"])]),_:2},1024)]),_:2},1024)]))),128)),(0,r.bF)(Ke,{label:"Add extra work day",onClick:He[7]||(He[7]=()=>a.value.regions.default.extra_working_days.push("")),severity:"info"})])])]),_:1}),(0,r.bF)(Be,{header:"Extra rest days",class:"mb-2"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",F,[(0,r.Lk)("div",U,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(a.value.regions.default.extra_rest_days,(e,l)=>((0,r.uX)(),(0,r.CE)("div",{key:l,class:"mb-2"},[(0,r.bF)(Ie,null,{default:(0,r.k6)(()=>[(0,r.bF)(Se,{type:"date",modelValue:a.value.regions.default.extra_rest_days[l],"onUpdate:modelValue":e=>a.value.regions.default.extra_rest_days[l]=e,"pt:root:name":"estimated_shipping[regions][default][extra_rest_days][]"},null,8,["modelValue","onUpdate:modelValue"]),(0,r.bF)(Re,null,{default:(0,r.k6)(()=>[(0,r.bF)(Ke,{severity:"danger",onClick:()=>a.value.regions.default.extra_rest_days.splice(l,1)},{icon:(0,r.k6)(()=>[...He[27]||(He[27]=[(0,r.Lk)("svg",{width:"14",height:"14",viewBox:"0 0 14 14",fill:"none",xmlns:"http://www.w3.org/2000/svg",class:"p-icon p-button-icon","aria-hidden":"true"},[(0,r.Lk)("path",{d:"M8.01186 7.00933L12.27 2.75116C12.341 2.68501 12.398 2.60524 12.4375 2.51661C12.4769 2.42798 12.4982 2.3323 12.4999 2.23529C12.5016 2.13827 12.4838 2.0419 12.4474 1.95194C12.4111 1.86197 12.357 1.78024 12.2884 1.71163C12.2198 1.64302 12.138 1.58893 12.0481 1.55259C11.9581 1.51625 11.8617 1.4984 11.7647 1.50011C11.6677 1.50182 11.572 1.52306 11.4834 1.56255C11.3948 1.60204 11.315 1.65898 11.2488 1.72997L6.99067 5.98814L2.7325 1.72997C2.59553 1.60234 2.41437 1.53286 2.22718 1.53616C2.03999 1.53946 1.8614 1.61529 1.72901 1.74767C1.59663 1.88006 1.5208 2.05865 1.5175 2.24584C1.5142 2.43303 1.58368 2.61419 1.71131 2.75116L5.96948 7.00933L1.71131 11.2675C1.576 11.403 1.5 11.5866 1.5 11.7781C1.5 11.9696 1.576 12.1532 1.71131 12.2887C1.84679 12.424 2.03043 12.5 2.2219 12.5C2.41338 12.5 2.59702 12.424 2.7325 12.2887L6.99067 8.03052L11.2488 12.2887C11.3843 12.424 11.568 12.5 11.7594 12.5C11.9509 12.5 12.1346 12.424 12.27 12.2887C12.4053 12.1532 12.4813 11.9696 12.4813 11.7781C12.4813 11.5866 12.4053 11.403 12.27 11.2675L8.01186 7.00933Z",fill:"currentColor"})],-1)])]),_:1},8,["onClick"])]),_:2},1024)]),_:2},1024)]))),128)),(0,r.bF)(Ke,{label:"Add extra rest day",onClick:He[8]||(He[8]=()=>a.value.regions.default.extra_rest_days.push("")),severity:"info"})])])]),_:1}),(0,r.bF)(Be,{header:"Shipping types time",class:"mb-2"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",z,[(0,r.Lk)("div",A,[(0,r.bF)(Te,{legend:"Standard",class:"my-fieldset"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",M,[(0,r.bo)((0,r.Lk)("input",{type:"number",name:"estimated_shipping[regions][default][shipping_types][standard][from]","onUpdate:modelValue":He[9]||(He[9]=e=>a.value.regions.default.shipping_types.standard.from=e)},null,512),[[m.Jo,a.value.regions.default.shipping_types.standard.from]]),He[28]||(He[28]=(0,r.eW)(" - ",-1)),(0,r.bo)((0,r.Lk)("input",{type:"number",name:"estimated_shipping[regions][default][shipping_types][standard][to]","onUpdate:modelValue":He[10]||(He[10]=e=>a.value.regions.default.shipping_types.standard.to=e)},null,512),[[m.Jo,a.value.regions.default.shipping_types.standard.to]])])]),_:1})]),(0,r.Lk)("div",E,[(0,r.bF)(Te,{legend:"Express",class:"my-fieldset"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",J,[(0,r.bo)((0,r.Lk)("input",{type:"number",name:"estimated_shipping[regions][default][shipping_types][express][from]","onUpdate:modelValue":He[11]||(He[11]=e=>a.value.regions.default.shipping_types.express.from=e)},null,512),[[m.Jo,a.value.regions.default.shipping_types.express.from]]),He[29]||(He[29]=(0,r.eW)(" - ",-1)),(0,r.bo)((0,r.Lk)("input",{type:"number",name:"estimated_shipping[regions][default][shipping_types][express][to]","onUpdate:modelValue":He[12]||(He[12]=e=>a.value.regions.default.shipping_types.express.to=e)},null,512),[[m.Jo,a.value.regions.default.shipping_types.express.to]])])]),_:1})])])]),_:1}),(0,r.bF)(Be,{header:"Custom shippings",class:"mb-2"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",X,[(0,r.Lk)("div",H,[(0,r.bF)(Te,{legend:"Standard",class:"my-fieldset pt-4"},{default:(0,r.k6)(()=>[void 0!==a.value.regions.default?.shipping_types_data?.standard?((0,r.uX)(!0),(0,r.CE)(r.FK,{key:0},(0,r.pI)(a.value.regions.default.shipping_types_data.standard,(e,l)=>((0,r.uX)(),(0,r.CE)("div",S,[(0,r.Lk)("div",B,[(0,r.Lk)("div",K,[(0,r.Lk)("label",{for:"custom-shipping-standard-"+l},"Start Date",8,R),(0,r.bF)(Se,{type:"date",id:"custom-shipping-standard-"+l,modelValue:e.start,"onUpdate:modelValue":a=>e.start=a,"pt:root:name":"estimated_shipping[regions][default][shipping_types_data][standard]["+l+"][start]"},null,8,["id","modelValue","onUpdate:modelValue","pt:root:name"])]),He[30]||(He[30]=(0,r.Lk)("h5",{class:"px-2 pt-3"},"-",-1)),(0,r.Lk)("div",I,[(0,r.Lk)("label",{for:"custom-shipping-standard-start-"+l},"End Date",8,T),(0,r.bF)(Se,{type:"date",id:"custom-shipping-standard-start-"+l,modelValue:e.end,"onUpdate:modelValue":a=>e.end=a,"pt:root:name":"estimated_shipping[regions][default][shipping_types_data][standard]["+l+"][end]"},null,8,["id","modelValue","onUpdate:modelValue","pt:root:name"])])]),(0,r.Lk)("div",j,[(0,r.Lk)("div",D,[(0,r.Lk)("label",{for:"custom-shipping-standard-days-from-"+l},"From",8,O),(0,r.bo)((0,r.Lk)("input",{type:"number",id:"custom-shipping-standard-days-from-"+l,"onUpdate:modelValue":a=>e.days.from=a,name:"estimated_shipping[regions][default][shipping_types_data][standard]["+l+"][days][from]"},null,8,N),[[m.Jo,e.days.from]])]),He[31]||(He[31]=(0,r.Lk)("h5",{class:"px-2 pt-3"},"-",-1)),(0,r.Lk)("div",P,[(0,r.Lk)("label",{for:"custom-shipping-standard-days-to-"+l},"To",8,Q),(0,r.bo)((0,r.Lk)("input",{type:"number",id:"custom-shipping-standard-days-to-"+l,"onUpdate:modelValue":a=>e.days.to=a,name:"estimated_shipping[regions][default][shipping_types_data][standard]["+l+"][days][to]"},null,8,W),[[m.Jo,e.days.to]])])]),(0,r.bF)(Ke,{severity:"danger",class:"position-absolute top-0 end-0 mr-2",variant:"text",rounded:"",size:"small",onClick:()=>{a.value.regions.default.shipping_types_data.standard.splice(l,1)}},{icon:(0,r.k6)(()=>[...He[32]||(He[32]=[(0,r.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-trash",viewBox:"0 0 16 16"},[(0,r.Lk)("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0z"}),(0,r.Lk)("path",{d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4zM2.5 3h11V2h-11z"})],-1)])]),_:1},8,["onClick"]),(0,r.bF)(je)]))),256)):(0,r.Q3)("v-if",!0),(0,r.bF)(Ke,{label:"Add new standard custom shipping day",severity:"info",onClick:He[13]||(He[13]=()=>a.value.regions.default.shipping_types_data.standard.push(Je))})]),_:1})]),(0,r.Lk)("div",Z,[(0,r.bF)(Te,{legend:"Express",class:"my-fieldset pt-4"},{default:(0,r.k6)(()=>[void 0!==a.value.regions.default?.shipping_types_data?.express?((0,r.uX)(!0),(0,r.CE)(r.FK,{key:0},(0,r.pI)(a.value.regions.default.shipping_types_data.express,(e,l)=>((0,r.uX)(),(0,r.CE)("div",G,[(0,r.Lk)("div",q,[(0,r.Lk)("div",Y,[(0,r.Lk)("label",{for:"custom-shipping-express-"+l},"Start Date",8,$),(0,r.bF)(Se,{type:"date",id:"custom-shipping-express-"+l,modelValue:e.start,"onUpdate:modelValue":a=>e.start=a,"pt:root:name":"estimated_shipping[regions][default][shipping_types_data][express]["+l+"][start]"},null,8,["id","modelValue","onUpdate:modelValue","pt:root:name"])]),He[33]||(He[33]=(0,r.Lk)("h5",{class:"px-2 pt-3"},"-",-1)),(0,r.Lk)("div",ee,[(0,r.Lk)("label",{for:"custom-shipping-express-start-"+l},"End Date",8,ae),(0,r.bF)(Se,{type:"date",id:"custom-shipping-express-start-"+l,modelValue:e.end,"onUpdate:modelValue":a=>e.end=a,"pt:root:name":"estimated_shipping[regions][default][shipping_types_data][express]["+l+"][end]"},null,8,["id","modelValue","onUpdate:modelValue","pt:root:name"])])]),(0,r.Lk)("div",le,[(0,r.Lk)("div",te,[(0,r.Lk)("label",{for:"custom-shipping-express-days-from-"+l},"From",8,se),(0,r.bo)((0,r.Lk)("input",{type:"number",id:"custom-shipping-express-days-from-"+l,"onUpdate:modelValue":a=>e.days.from=a,name:"estimated_shipping[regions][default][shipping_types_data][express]["+l+"][days][from]"},null,8,oe),[[m.Jo,e.days.from]])]),He[34]||(He[34]=(0,r.Lk)("h5",{class:"px-2 pt-3"},"-",-1)),(0,r.Lk)("div",ne,[(0,r.Lk)("label",{for:"custom-shipping-express-days-to-"+l},"To",8,de),(0,r.bo)((0,r.Lk)("input",{type:"number",id:"custom-shipping-express-days-to-"+l,"onUpdate:modelValue":a=>e.days.to=a,name:"estimated_shipping[regions][default][shipping_types_data][express]["+l+"][days][to]"},null,8,ie),[[m.Jo,e.days.to]])])]),(0,r.bF)(Ke,{severity:"danger",class:"position-absolute top-0 end-0 mr-2",variant:"text",rounded:"",size:"small",onClick:()=>{a.value.regions.default.shipping_types_data.express.splice(l,1)}},{icon:(0,r.k6)(()=>[...He[35]||(He[35]=[(0,r.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-trash",viewBox:"0 0 16 16"},[(0,r.Lk)("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0z"}),(0,r.Lk)("path",{d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4zM2.5 3h11V2h-11z"})],-1)])]),_:1},8,["onClick"]),(0,r.bF)(je)]))),256)):(0,r.Q3)("v-if",!0),(0,r.bF)(Ke,{label:"Add new express custom shipping day",severity:"info",onClick:He[14]||(He[14]=()=>a.value.regions.default.shipping_types_data.express.push(Je))})]),_:1})])])]),_:1}),(0,r.bF)(Be,{header:"Main Method By Country",class:"mb-2 d-none"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",ue,[((0,r.uX)(!0),(0,r.CE)(r.FK,null,(0,r.pI)(a.value.methods_helper,(e,t)=>((0,r.uX)(),(0,r.CE)("div",{class:"col-12 mb-2",key:t},[(0,r.Lk)("div",re,[(0,r.Lk)("div",pe,[(0,r.Lk)("div",me,[(0,r.Lk)("label",{for:"main-country-code-"+e.country_code},"Country Code",8,ce),(0,r.bF)((0,p.R1)(f.A),{modelValue:e.country_code,"onUpdate:modelValue":a=>e.country_code=a,id:"main-country-code-"+e.country_code,options:l.value,placeholder:"Select a country",size:"small"},null,8,["modelValue","onUpdate:modelValue","id","options"])]),(0,r.Lk)("div",fe,[(0,r.Lk)("label",{for:"main-method-"+e.country_code},"Shipping Method",8,ge),(0,r.bo)((0,r.Lk)("input",{type:"number",id:"main-method-"+e.country_code,"onUpdate:modelValue":a=>e.method=a,name:"estimated_shipping[main_method]["+e.country_code+"]"},null,8,ve),[[m.Jo,e.method]])])]),(0,r.bF)(Ke,{severity:"danger",variant:"text",rounded:"",size:"small",onClick:()=>{a.value.methods_helper.splice(t,1)}},{icon:(0,r.k6)(()=>[...He[36]||(He[36]=[(0,r.Lk)("svg",{xmlns:"http://www.w3.org/2000/svg",width:"16",height:"16",fill:"currentColor",class:"bi bi-trash",viewBox:"0 0 16 16"},[(0,r.Lk)("path",{d:"M5.5 5.5A.5.5 0 0 1 6 6v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m2.5 0a.5.5 0 0 1 .5.5v6a.5.5 0 0 1-1 0V6a.5.5 0 0 1 .5-.5m3 .5a.5.5 0 0 0-1 0v6a.5.5 0 0 0 1 0z"}),(0,r.Lk)("path",{d:"M14.5 3a1 1 0 0 1-1 1H13v9a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V4h-.5a1 1 0 0 1-1-1V2a1 1 0 0 1 1-1H6a1 1 0 0 1 1-1h2a1 1 0 0 1 1 1h3.5a1 1 0 0 1 1 1zM4.118 4 4 4.059V13a1 1 0 0 0 1 1h6a1 1 0 0 0 1-1V4.059L11.882 4zM2.5 3h11V2h-11z"})],-1)])]),_:1},8,["onClick"])]),(0,r.bF)(je)]))),128)),(0,r.Lk)("div",he,[(0,r.bF)(Ke,{label:"Pair new country method",severity:"info",onClick:He[15]||(He[15]=()=>{a.value.methods_helper.push({country_code:"",method:0})})})])])]),_:1}),(0,r.bF)(Be,{header:"Extra message box",class:"mb-2",id:"extra-message-box"},{default:(0,r.k6)(()=>[(0,r.Lk)("div",_e,[(0,r.Lk)("div",ke,[He[37]||(He[37]=(0,r.Lk)("p",{class:"mb-2"},"Text",-1)),(0,r.bF)(Se,{type:"text",modelValue:a.value.anouncement_box.text,"onUpdate:modelValue":He[16]||(He[16]=e=>a.value.anouncement_box.text=e),"pt:root:name":"estimated_shipping[anouncement_box][text]"},null,8,["modelValue"])]),(0,r.Lk)("div",xe,[He[38]||(He[38]=(0,r.Lk)("p",{class:"mb-2"},"Image",-1)),(0,r.bF)(Se,{type:"text",modelValue:a.value.anouncement_box.img,"onUpdate:modelValue":He[17]||(He[17]=e=>a.value.anouncement_box.img=e),"pt:root:name":"estimated_shipping[anouncement_box][img]"},null,8,["modelValue"])]),(0,r.Lk)("div",be,[He[39]||(He[39]=(0,r.Lk)("p",{class:"mb-2"}
1,"Background Color",-1)),(0,r.bF)((0,p.R1)(h.A),{modelValue:a.value.anouncement_box.bg_color,"onUpdate:modelValue":He[18]||(He[18]=e=>a.value.anouncement_box.bg_color=e),format:"hex",class:"mb-4"},null,8,["modelValue"]),(0,r.Lk)("input",{type:"hidden",value:a.value.anouncement_box.bg_color,name:"estimated_shipping[anouncement_box][bg_color]"},null,8,ye)]),(0,r.Lk)("div",Le,[He[40]||(He[40]=(0,r.Lk)("p",{class:"mb-2"},"Activation",-1)),(0,r.bF)((0,p.R1)(v.A),{modelValue:a.value.anouncement_box.is_enabled,"onUpdate:modelValue":He[19]||(He[19]=e=>a.value.anouncement_box.is_enabled=e),"false-value":"false","true-value":"true"},null,8,["modelValue"]),(0,r.Lk)("input",{type:"hidden",value:a.value.anouncement_box.is_enabled,name:"estimated_shipping[anouncement_box][is_enabled]"},null,8,Ve)])]),(0,r.Lk)("div",Ce,[He[41]||(He[41]=(0,r.Lk)("p",{class:"mb-2"},"Preview",-1)),(0,r.Lk)("div",we,[(0,r.Lk)("div",Fe,[(0,r.Lk)("div",{class:"announcement-box d-flex justify-content-center overflow-hidden rounded mb-4",style:(0,c.Tr)({backgroundColor:"#"+a.value.anouncement_box.bg_color})},[(0,r.Lk)("div",Ue,[""!==a.value.anouncement_box.img?((0,r.uX)(),(0,r.CE)("div",ze,[(0,r.Lk)("img",{src:a.value.anouncement_box.img},null,8,Ae)])):(0,r.Q3)("v-if",!0),(0,r.Lk)("h6",Me,(0,c.v_)(a.value.anouncement_box.text),1)])],4)])])])]),_:1})])}}}),Je=(0,l(6262).A)(Ee,[["__scopeId","data-v-54a2aaa8"]])}}]);

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.