1import{a as y,_ as z}from"./GlobalSetup.vue_vue_type_script_setup_true_lang.DhC5Bb0O.js";import"./whatsapp.DHrAnmv_.js";import{M as p,N as d,P as x,k as g,$ as A,y as a,a4 as M,a5 as C,x as t,O as h,R as e,V as c,W as r,c as w,Q as F}from"./vue-vendor.BqpWRvtD.js";import{u as V}from"./useQRCode.DFHsv0oQ.js";import{W}from"./whatsapp-logo.BPz9t4Bv.js";import{u as B,aV as $}from"./define-custom-element.9QNbOX-B.js";import{u as N}from"./optimize-css-var.C9iWdVLV.js";import{d as S,b as D}from"./user.BZm7tFR5.js";import{_ as m}from"./Heading.vue_vue_type_script_setup_true_lang.C9e4z_zB.js";import{_ as b}from"./Paragraph.vue_vue_type_script_setup_true_lang.BMUsrxnn.js";import{I as H}from"./Button.C_oze0Jn.js";const I={xmlns:"http://www.w3.org/2000/svg",width:"180",height:"180",fill:"none",viewBox:"0 0 180 180"};function P(a,t){return p(),d("svg",I,[...t[0]||(t[0]=[x('<path fill="#fff" d="M0 0h180v180H0z"></path><path fill="#B3B3B3" d="M90.228 154c26.65 0 48.254-1.35 48.254-3.014s-21.604-3.013-48.254-3.013-48.255 1.349-48.255 3.013S63.577 154 90.228 154" opacity=".5"></path><path fill="#fff" d="M121.482 36.767q-.046-.705-.175-1.38-.065-.34-.151-.67a11.4 11.4 0 0 0-.6-1.722 11.342 11.342 0 0 0-1.091-1.908 11.014 11.014 0 0 0-8.997-4.658H69.991c-6.088 0-11.041 4.956-11.041 11.045v102.472c0 3.522 1.656 6.662 4.23 8.684q.163.13.332.254.366.268.758.504.226.136.46.265a10.8 10.8 0 0 0 2.435.971c.041.01.086.024.134.031q.323.083.651.144c.662.124 1.345.189 2.038.189h40.476q.358 0 .71-.021c.467-.031.93-.089 1.379-.175q.34-.064.669-.151a11 11 0 0 0 1.722-.601q.274-.125.542-.26.36-.185.7-.392a11 11 0 0 0 1.091-.758 11 11 0 0 0 2.188-2.296 11 11 0 0 0 1.091-1.909 11.4 11.4 0 0 0 .751-2.392c.086-.45.144-.913.175-1.38.014-.237.021-.47.021-.711V37.474q0-.356-.021-.707"></path><path fill="#312F2A" d="M110.465 151.415H69.989c-.708 0-1.42-.066-2.116-.195a11 11 0 0 1-.66-.146 1 1 0 0 1-.126-.029l-.033-.008q-.391-.107-.738-.224a11.2 11.2 0 0 1-2.263-1.056 11 11 0 0 1-1.136-.79 11.41 11.41 0 0 1-4.394-9.021V37.474c0-6.327 5.145-11.474 11.47-11.474h40.476a11.4 11.4 0 0 1 9.345 4.837q.247.346.457.693a12 12 0 0 1 .676 1.288 11.31 11.31 0 0 1 .963 3.92v.003q.022.361.022.733v102.468c0 .249-.007.489-.022.735a11.099 11.099 0 0 1-.339 2.134 12 12 0 0 1-.623 1.786 17 17 0 0 1-.269.562q-.194.375-.407.73a11 11 0 0 1-.791 1.137 11.3 11.3 0 0 1-1.94 1.94 11.152 11.152 0 0 1-1.858 1.194q-.28.142-.561.27a11.8 11.8 0 0 1-2.485.782c-.466.089-.948.15-1.433.182-.249.014-.49.021-.739.021M69.993 26.856c-5.853 0-10.614 4.763-10.614 10.618v102.472c0 3.274 1.482 6.316 4.066 8.347q.156.124.32.244a10 10 0 0 0 1.174.741 10.3 10.3 0 0 0 2.34.932l.027.007q.026.008.055.014l.044.008c.216.055.42.101.625.139.644.12 1.303.181 1.96.181h40.475c.232 0 .457-.006.686-.019.447-.03.894-.087 1.323-.169a10.889 10.889 0 0 0 2.299-.723 11.025 11.025 0 0 0 1.192-.626 11 11 0 0 0 1.045-.727 10.5 10.5 0 0 0 2.108-2.21 11 11 0 0 0 .798-1.314c.084-.169.171-.346.251-.523a11 11 0 0 0 .721-2.298c.082-.428.138-.875.168-1.326q.02-.336.02-.682V37.474q0-.347-.02-.68a11 11 0 0 0-.168-1.327c-.05-.252-.096-.456-.144-.64a11 11 0 0 0-.578-1.66c-.079-.173-.166-.35-.253-.524a10.6 10.6 0 0 0-1.1-1.716c-2.032-2.588-5.072-4.07-8.344-4.07z"></path><path fill="#312F2A" d="M121.503 39.208H58.95v.856h62.553zM121.503 136.452H58.95v.856h62.553zM90.228 147.69a3.805 3.805 0 0 0 3.805-3.807 3.805 3.805 0 1 0-7.61 0 3.805 3.805 0 0 0 3.805 3.807M102.023 32.397H78.431a1.15 1.15 0 0 0 0 2.302h23.592a1.15 1.15 0 0 0 0-2.302"></path><path fill="#312F2A" fill-rule="evenodd" d="M98.246 67.588a11.22 11.22 0 0 0-7.97-3.288c-6.212 0-11.267 5.03-11.269 11.212a11.15 11.15 0 0 0 1.504 5.606l-1.598 5.81 5.973-1.559a11.3 11.3 0 0 0 5.385 1.365h.004c6.21 0 11.266-5.03 11.268-11.213a11.12 11.12 0 0 0-3.297-7.932m-7.97 17.252h-.004a9.4 9.4 0 0 1-4.767-1.299l-.342-.202-3.545.925.946-3.439-.223-.353a9.26 9.26 0 0 1-1.431-4.96c.002-5.138 4.203-9.318 9.37-9.318a9.32 9.32 0 0 1 6.62 2.733 9.24 9.24 0 0 1 2.74 6.593c-.001 5.139-4.203 9.32-9.365 9.32m5.137-6.98c-.282-.14-1.666-.817-1.924-.91-.259-.094-.446-.141-.634.14-.187.28-.727.911-.891 1.098s-.329.21-.61.07c-.282-.14-1.189-.436-2.264-1.39-.837-.744-1.403-1.66-1.567-1.941s-.017-.433.123-.572c.127-.126.282-.327.423-.49.141-.164.187-.281.281-.468s.047-.35-.023-.49-.633-1.52-.868-2.081c-.229-.546-.46-.472-.633-.481-.164-.008-.352-.01-.54-.01s-.493.07-.751.35c-.258.281-.986.96-.986 2.338s1.01 2.711 1.15 2.898c.141.187 1.986 3.017 4.81 4.231a16 16 0 0 0 1.605.59c.674.214 1.288.184 1.7
173.112.541-.081 1.666-.678 1.9-1.333.235-.654.235-1.215.165-1.332s-.258-.187-.54-.327z" clip-rule="evenodd"></path><path fill="currentColor" d="m106.424 100.305-4.212 10.714 11.187 2.575-4.266-6.236z"></path><path fill="#312F2A" d="m114.212 114.22-12.579-2.895 4.736-12.047zm-11.419-3.507 9.794 2.254-6.106-11.634z"></path><path fill="currentColor" d="m99.013 95.588 10.185 11.735 3.875 15.051 24.206-29.856z"></path><path fill="#312F2A" d="m112.873 123.306-4.062-15.776-10.673-12.299 40.106-3.218zM99.894 95.949l9.696 11.172.025.097 3.663 14.229 23.042-28.42z"></path><path fill="#312F2A" d="m137.083 92.142-28.033 14.726.398.758L137.481 92.9zM58.097 124.849c-.552 0-1.097-.014-1.62-.042l.045-.855c1.304.07 2.72.049 4.223-.059l.062.854c-.937.068-1.849.102-2.71.102m-4.506-.366a16.5 16.5 0 0 1-3.157-.875 13 13 0 0 1-1.023-.458l.385-.765c.304.154.625.297.953.427.898.355 1.905.634 2.992.828zm10.081-.033-.112-.849a64 64 0 0 0 4.193-.71l.17.839a64 64 0 0 1-4.25.72m7.055-1.341-.2-.833a98 98 0 0 0 4.125-1.087l.235.823a100 100 0 0 1-4.16 1.097m-23.77-1.6a11.3 11.3 0 0 1-2.7-3.498l.766-.382a10.4 10.4 0 0 0 2.496 3.234zm30.677-.319-.255-.817c1.311-.409 2.676-.859 4.057-1.337l.28.809c-1.39.481-2.763.934-4.082 1.345m6.78-2.306-.294-.804c1.302-.477 2.646-.988 3.997-1.519l.313.796a180 180 0 0 1-4.015 1.527m6.673-2.595-.325-.792a217 217 0 0 0 3.94-1.664l.341.786a218 218 0 0 1-3.956 1.67m-47.808-1.062a13.4 13.4 0 0 1-.305-3.226c.009-.387.03-.777.06-1.159l.854.071a19 19 0 0 0-.062 1.425c0 .927.097 1.837.288 2.705zm54.384-1.765-.35-.781a230 230 0 0 0 3.887-1.789l.365.775c-1.288.607-2.6 1.211-3.902 1.795m6.486-3.033-.375-.77a146 146 0 0 0 3.832-1.925l.399.758c-.014.008-1.457.768-3.856 1.937m-59.828-2.269-.833-.196a21 21 0 0 1 1.438-4.117l.775.364a20 20 0 0 0-1.38 3.949m2.722-6.405-.725-.455a29 29 0 0 1 2.587-3.485l.648.56a28 28 0 0 0-2.51 3.38m4.44-5.432-.6-.612a42 42 0 0 1 3.248-2.855l.532.67a41 41 0 0 0-3.18 2.797m5.448-4.49-.492-.7c.732-.516 1.5-1.028 2.283-1.523l.457.724c-.771.488-1.527.992-2.248 1.499"></path>',11)])])}const R={render:P},E={class:"ia-ef9qm9 ia-whatsapp-wrapper"},L={class:"flex flex-col justify-between lt-lg:gap-6 lt-lg:items-center"},Q={class:"flex flex-col"},O={class:"ia-ubfg6w qr-code-wrapper"},T={key:0,"i-fad:spinner-third":"",class:"animate-spin text-grey-400 w-1/2 h-1/2"},j=["src"],G=g({__name:"WhatsApp",emits:["noData"],setup(l,{emit:s}){A((t=>({v0829ad65:a(o)?.block.inactiveBackgroundColor||"#EEF5FF",v7b613611:a(o)?.block.borderRadius,v3d1f26ff:a(o)?.palette?.brandColor||"#00A9FF"})));const i=s,{style:o}=B();N("div.ia-whatsapp-wrapper");const{t:n}=S(),f=D(),u=w((()=>`https://wa.me/${f.pharmacy?.contact.whatsAppMobilePhoneNumber.replace("-","").replaceAll(" ","")}`)),v=V(u.value,{margin:0}),_=()=>{window.open(u.value,"_blank")},g=w((()=>!!f.pharmacy?.contact.whatsAppMobilePhoneNumber&&f.pharmacy.additionalInformation.showWhatsapp));return $((()=>f.pharmacy),(()=>{g.value||i("noData")}),{immediate:!0}),(l,s)=>M((p(),d("div",E,[t(a(R),{class:"ia-6adg52 ia-whatsapp-icon"}),h("div",L,[h("div",Q,[t(a(m),{level:3,class:"font-700 leading-8 ia-heading hidden lg:block"},{default:e((()=>[c(r(a(n)("whatsapp.title.desktop")),1)])),_:1}),t(a(m),{level:3,class:"font-700 leading-8 ia-heading lg:hidden"},{default:e((()=>[c(r(a(n)("whatsapp.title.mobile")),1)])),_:1}),t(a(b),{size:"lg",class:"hidden lg:block"},{default:e((()=>[c(r(a(n)("whatsapp.description.desktop")),1)])),_:1}),t(a(b),{size:"lg",class:"lg:hidden"},{default:e((()=>[c(r(a(n)("whatsapp.description.mobile")),1)])),_:1})]),t(a(H),{variant:"primary",class:"w-fit h-11 button lt-lg:w-full",onClick:_},{default:e((()=>[t(a(W)),t(a(m),{level:7,class:"font-700 !text-white"},{default:e((()=>[c(r(a(n)("whatsapp.button")),1)])),_:1})])),_:1})]),h("div",O,[a(v)?(p(),d("img",{key:1,src:a(v),class:"ia-h366qq",alt:"QR code"},null,8,j)):(p(),d("i",T))])],512)),[[C,a(g)]])}}),U=".ia-whatsapp-wrapper[data-v-b594f099]{background-color:var(--v0829ad65);border-radius:var(--v7b613611)}.ia-whatsapp-wrapper .ia-whatsapp-icon[data-v-b594f099]{color:var(--v3d1f26ff);border-radius:var(--v7b613611)}.ia-whatsapp-wrapper .qr-code-wrapper[data-v-b594f099]{border-radius:var(--v7b613611)}.ia-whatsapp-wrapper .button[data-v-b594f099]{background-color:var(--v3d1f26ff)}
1",J=y(G,[["styles",[U]],["__scopeId","data-v-b594f099"]]),p1=g({__name:"IaWhatsApp.ce",emits:["noData"],setup:a=>(a,l)=>{const s=z;return p(),F(s,null,{default:e((()=>[t(J,{onNoData:l[0]||(l[0]=t=>a.$emit("noData"))})])),_:1})}});export{p1 as default};
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.