wineater-bot 4.23.0 → 4.23.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.
@@ -1,5 +1,5 @@
1
- var Yo=Object.defineProperty,pi=e=>{throw TypeError(e)},Qo=(e,t,n)=>t in e?Yo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,at=(e,t,n)=>Qo(e,typeof t!="symbol"?t+"":t,n),xr=(e,t,n)=>t.has(e)||pi("Cannot "+n),h=(e,t,n)=>(xr(e,t,"read from private field"),n?n.call(e):t.get(e)),q=(e,t,n)=>t.has(e)?pi("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),I=(e,t,n,r)=>(xr(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),G=(e,t,n)=>(xr(e,t,"access private method"),n);const Zo="5";var hi;typeof window<"u"&&((hi=window.__svelte??(window.__svelte={})).v??(hi.v=new Set)).add(Zo);const fi=1,vi=2,gi=4,Jo=8,Xo=16,ea=1,ta=2,na=4,ra=8,ia=16,oa=1,aa=2,ve=Symbol(),sa="http://www.w3.org/1999/xhtml",la=!1;var _r=Array.isArray,ca=Array.prototype.indexOf,Sr=Array.from,ua=Object.defineProperty,Jt=Object.getOwnPropertyDescriptor,da=Object.getOwnPropertyDescriptors,pa=Object.prototype,ha=Array.prototype,mi=Object.getPrototypeOf,wi=Object.isExtensible;function fa(e){for(var t=0;t<e.length;t++)e[t]()}function yi(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}const pe=2,Cr=4,Pr=8,st=16,lt=32,It=64,Qn=128,He=512,ge=1024,Ce=2048,ct=4096,Ee=8192,ut=16384,Wr=32768,Rt=65536,bi=1<<17,ki=1<<18,Xt=1<<19,va=1<<20,Mt=32768,Tr=1<<21,Dr=1<<22,xt=1<<23,Bt=Symbol("$state"),ga=Symbol("legacy props"),ma=Symbol(""),en=new class extends Error{constructor(){super(...arguments),at(this,"name","StaleReactionError"),at(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function wa(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function ya(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ba(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function ka(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function xa(e){throw new Error("https://svelte.dev/e/effect_orphan")}function _a(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Sa(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Ca(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Pa(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Wa(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Ta(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Da(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Ea(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function xi(e){return e===this.v}function Aa(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function _i(e){return!Aa(e,this.v)}let tn=!1,Ia=!1;function Ra(){tn=!0}let ae=null;function nn(e){ae=e}function dt(e,t=!1,n){ae={p:ae,i:!1,c:null,e:null,s:e,x:null,l:tn&&!t?{s:null,u:null,$:[]}:null}}function pt(e){var t=ae,n=t.e;if(n!==null){t.e=null;for(var r of n)Hi(r)}return e!==void 0&&(t.x=e),t.i=!0,ae=t.p,e??{}}function Pn(){return!tn||ae!==null&&ae.l===null}let zt=[];function Si(){var e=zt;zt=[],fa(e)}function rn(e){if(zt.length===0&&!Wn){var t=zt;queueMicrotask(()=>{t===zt&&Si()})}zt.push(e)}function Ma(){for(;zt.length>0;)Si()}function Ci(e){var t=Y;if(t===null)return H.f|=xt,e;if(t.f&Wr)on(e,t);else{if(!(t.f&Qn))throw e;t.b.error(e)}}function on(e,t){for(;t!==null;){if(t.f&Qn)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Zn=new Set;let Q=null,Jn=null,me=null,Le=[],Xn=null,Er=!1,Wn=!1;var Tn,Dn,_t,St,En,An,In,Pe,Ar,Lt,Ir,Pi,Wi;const Ba=class li{constructor(){q(this,Pe),at(this,"committed",!1),at(this,"current",new Map),at(this,"previous",new Map),q(this,Tn,new Set),q(this,Dn,new Set),q(this,_t,0),q(this,St,0),q(this,En,null),q(this,An,[]),q(this,In,[]),at(this,"skipped_effects",new Set),at(this,"is_fork",!1)}is_deferred(){return this.is_fork||h(this,St)>0}process(t){var n;Le=[],Jn=null,this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of t)G(this,Pe,Ar).call(this,i,r);this.is_fork||G(this,Pe,Pi).call(this),this.is_deferred()?(G(this,Pe,Lt).call(this,r.effects),G(this,Pe,Lt).call(this,r.render_effects),G(this,Pe,Lt).call(this,r.block_effects)):(Jn=this,Q=null,Di(r.render_effects),Di(r.effects),Jn=null,(n=h(this,En))==null||n.resolve()),me=null}capture(t,n){this.previous.has(t)||this.previous.set(t,n),t.f&xt||(this.current.set(t,t.v),me?.set(t,t.v))}activate(){Q=this,this.apply()}deactivate(){Q===this&&(Q=null,me=null)}flush(){if(this.activate(),Le.length>0){if(Ti(),Q!==null&&Q!==this)return}else h(this,_t)===0&&this.process([]);this.deactivate()}discard(){for(const t of h(this,Dn))t(this);h(this,Dn).clear()}increment(t){I(this,_t,h(this,_t)+1),t&&I(this,St,h(this,St)+1)}decrement(t){I(this,_t,h(this,_t)-1),t&&I(this,St,h(this,St)-1),this.revive()}revive(){for(const t of h(this,An))ye(t,Ce),jt(t);for(const t of h(this,In))ye(t,ct),jt(t);I(this,An,[]),I(this,In,[]),this.flush()}oncommit(t){h(this,Tn).add(t)}ondiscard(t){h(this,Dn).add(t)}settled(){return(h(this,En)??I(this,En,yi())).promise}static ensure(){if(Q===null){const t=Q=new li;Zn.add(Q),Wn||li.enqueue(()=>{Q===t&&t.flush()})}return Q}static enqueue(t){rn(t)}apply(){}};Tn=new WeakMap,Dn=new WeakMap,_t=new WeakMap,St=new WeakMap,En=new WeakMap,An=new WeakMap,In=new WeakMap,Pe=new WeakSet,Ar=function(e,t){var n;e.f^=ge;for(var r=e.first;r!==null;){var i=r.f,o=(i&(lt|It))!==0,a=o&&(i&ge)!==0,c=a||(i&Ee)!==0||this.skipped_effects.has(r);if(r.f&Qn&&(n=r.b)!=null&&n.is_pending()&&(t={parent:t,effect:r,effects:[],render_effects:[],block_effects:[]}),!c&&r.fn!==null){o?r.f^=ge:i&Cr?t.effects.push(r):Ln(r)&&(r.f&st&&t.block_effects.push(r),Nn(r));var s=r.first;if(s!==null){r=s;continue}}var d=r.parent;for(r=r.next;r===null&&d!==null;)d===t.effect&&(G(this,Pe,Lt).call(this,t.effects),G(this,Pe,Lt).call(this,t.render_effects),G(this,Pe,Lt).call(this,t.block_effects),t=t.parent),r=d.next,d=d.parent}},Lt=function(e){for(const t of e)(t.f&Ce?h(this,An):h(this,In)).push(t),G(this,Pe,Ir).call(this,t.deps),ye(t,ge)},Ir=function(e){if(e!==null)for(const t of e)!(t.f&pe)||!(t.f&Mt)||(t.f^=Mt,G(this,Pe,Ir).call(this,t.deps))},Pi=function(){if(h(this,St)===0){for(const e of h(this,Tn))e();h(this,Tn).clear()}h(this,_t)===0&&G(this,Pe,Wi).call(this)},Wi=function(){var e;if(Zn.size>1){this.previous.clear();var t=me,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const o of Zn){if(o===this){n=!1;continue}const a=[];for(const[s,d]of this.current){if(o.current.has(s))if(n&&d!==o.current.get(s))o.current.set(s,d);else continue;a.push(s)}if(a.length===0)continue;const c=[...o.current.keys()].filter(s=>!this.current.has(s));if(c.length>0){var i=Le;Le=[];const s=new Set,d=new Map;for(const f of a)Ei(f,c,s,d);if(Le.length>0){Q=o,o.apply();for(const f of Le)G(e=o,Pe,Ar).call(e,f,r);o.deactivate()}Le=i}}Q=null,me=t}this.committed=!0,Zn.delete(this)};let Nt=Ba;function za(e){var t=Wn;Wn=!0;try{for(var n;;){if(Ma(),Le.length===0&&(Q?.flush(),Le.length===0))return Xn=null,n;Ti()}}finally{Wn=t}}function Ti(){var e=Tt;Er=!0;var t=null;try{var n=0;for(sr(!0);Le.length>0;){var r=Nt.ensure();if(n++>1e3){var i,o;La()}r.process(Le),Wt.clear()}}finally{Er=!1,sr(e),Xn=null}}function La(){try{_a()}catch(e){on(e,Xn)}}let Xe=null;function Di(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&(ut|Ee))&&Ln(r)&&(Xe=new Set,Nn(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Yi(r):r.fn=null),Xe?.size>0)){Wt.clear();for(const i of Xe){if(i.f&(ut|Ee))continue;const o=[i];let a=i.parent;for(;a!==null;)Xe.has(a)&&(Xe.delete(a),o.push(a)),a=a.parent;for(let c=o.length-1;c>=0;c--){const s=o[c];s.f&(ut|Ee)||Nn(s)}}Xe.clear()}}Xe=null}}function Ei(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const o=i.f;o&pe?Ei(i,t,n,r):o&(Dr|st)&&!(o&Ce)&&Ai(i,t,r)&&(ye(i,Ce),jt(i))}}function Ai(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if(i.f&pe&&Ai(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function jt(e){for(var t=Xn=e;t.parent!==null;){t=t.parent;var n=t.f;if(Er&&t===Y&&n&st&&!(n&ki))return;if(n&(It|lt)){if(!(n&ge))return;t.f^=ge}}Le.push(t)}function Na(e){let t=0,n=Ft(0),r;return()=>{or()&&(l(n),qr(()=>(t===0&&(r=jn(()=>e(()=>Rn(n)))),t+=1,()=>{rn(()=>{t-=1,t===0&&(r?.(),r=void 0,Rn(n))})})))}}var ja=Rt|Xt|Qn;function Oa(e,t,n){new Ua(e,t,n)}var Ve,Ge,Ii,ht,an,ft,Ke,Ae,vt,Ct,Ot,qt,Pt,sn,$t,Rr,Ne,qa,$a,Mr,er,tr,Br;class Ua{constructor(t,n,r){q(this,Ne),at(this,"parent"),q(this,Ve,!1),q(this,Ge),q(this,Ii,null),q(this,ht),q(this,an),q(this,ft),q(this,Ke,null),q(this,Ae,null),q(this,vt,null),q(this,Ct,null),q(this,Ot,null),q(this,qt,0),q(this,Pt,0),q(this,sn,!1),q(this,$t,null),q(this,Rr,Na(()=>(I(this,$t,Ft(h(this,qt))),()=>{I(this,$t,null)}))),I(this,Ge,t),I(this,ht,n),I(this,an,r),this.parent=Y.b,I(this,Ve,!!h(this,ht).pending),I(this,ft,ar(()=>{Y.b=this;{var i=G(this,Ne,Mr).call(this);try{I(this,Ke,Oe(()=>r(i)))}catch(o){this.error(o)}h(this,Pt)>0?G(this,Ne,tr).call(this):I(this,Ve,!1)}return()=>{var o;(o=h(this,Ot))==null||o.remove()}},ja))}is_pending(){return h(this,Ve)||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!h(this,ht).pending}update_pending_count(t){G(this,Ne,Br).call(this,t),I(this,qt,h(this,qt)+t),h(this,$t)&&cn(h(this,$t),h(this,qt))}get_effect_pending(){return h(this,Rr).call(this),l(h(this,$t))}error(t){var n=h(this,ht).onerror;let r=h(this,ht).failed;if(h(this,sn)||!n&&!r)throw t;h(this,Ke)&&(We(h(this,Ke)),I(this,Ke,null)),h(this,Ae)&&(We(h(this,Ae)),I(this,Ae,null)),h(this,vt)&&(We(h(this,vt)),I(this,vt,null));var i=!1,o=!1;const a=()=>{if(i){Ea();return}i=!0,o&&Ta(),Nt.ensure(),I(this,qt,0),h(this,vt)!==null&&dn(h(this,vt),()=>{I(this,vt,null)}),I(this,Ve,this.has_pending_snippet()),I(this,Ke,G(this,Ne,er).call(this,()=>(I(this,sn,!1),Oe(()=>h(this,an).call(this,h(this,Ge)))))),h(this,Pt)>0?G(this,Ne,tr).call(this):I(this,Ve,!1)};var c=H;try{Te(null),o=!0,n?.(t,a),o=!1}catch(s){on(s,h(this,ft)&&h(this,ft).parent)}finally{Te(c)}r&&rn(()=>{I(this,vt,G(this,Ne,er).call(this,()=>{Nt.ensure(),I(this,sn,!0);try{return Oe(()=>{r(h(this,Ge),()=>t,()=>a)})}catch(s){return on(s,h(this,ft).parent),null}finally{I(this,sn,!1)}}))})}}Ve=new WeakMap,Ge=new WeakMap,Ii=new WeakMap,ht=new WeakMap,an=new WeakMap,ft=new WeakMap,Ke=new WeakMap,Ae=new WeakMap,vt=new WeakMap,Ct=new WeakMap,Ot=new WeakMap,qt=new WeakMap,Pt=new WeakMap,sn=new WeakMap,$t=new WeakMap,Rr=new WeakMap,Ne=new WeakSet,qa=function(){try{I(this,Ke,Oe(()=>h(this,an).call(this,h(this,Ge))))}catch(e){this.error(e)}I(this,Ve,!1)},$a=function(){const e=h(this,ht).pending;e&&(I(this,Ae,Oe(()=>e(h(this,Ge)))),Nt.enqueue(()=>{var t=G(this,Ne,Mr).call(this);I(this,Ke,G(this,Ne,er).call(this,()=>(Nt.ensure(),Oe(()=>h(this,an).call(this,t))))),h(this,Pt)>0?G(this,Ne,tr).call(this):(dn(h(this,Ae),()=>{I(this,Ae,null)}),I(this,Ve,!1))}))},Mr=function(){var e=h(this,Ge);return h(this,Ve)&&(I(this,Ot,gt()),h(this,Ge).before(h(this,Ot)),e=h(this,Ot)),e},er=function(e){var t=Y,n=H,r=ae;nt(h(this,ft)),Te(h(this,ft)),nn(h(this,ft).ctx);try{return e()}catch(i){return Ci(i),null}finally{nt(t),Te(n),nn(r)}},tr=function(){const e=h(this,ht).pending;h(this,Ke)!==null&&(I(this,Ct,document.createDocumentFragment()),h(this,Ct).append(h(this,Ot)),Ji(h(this,Ke),h(this,Ct))),h(this,Ae)===null&&I(this,Ae,Oe(()=>e(h(this,Ge))))},Br=function(e){var t;if(!this.has_pending_snippet()){this.parent&&G(t=this.parent,Ne,Br).call(t,e);return}I(this,Pt,h(this,Pt)+e),h(this,Pt)===0&&(I(this,Ve,!1),h(this,Ae)&&dn(h(this,Ae),()=>{I(this,Ae,null)}),h(this,Ct)&&(h(this,Ge).before(h(this,Ct)),I(this,Ct,null)))};function ln(e,t){return t}function Fa(e,t,n){for(var r=[],i=t.length,o=0;o<i;o++)$r(t[o].e,r,!0);Qi(r,()=>{var a=r.length===0&&n!==null;if(a){var c=n,s=c.parentNode;ts(s),s.append(c),e.items.clear(),et(e,t[0].prev,t[i-1].next)}for(var d=0;d<i;d++){var f=t[d];a||(e.items.delete(f.k),et(e,f.prev,f.next)),We(f.e,!a)}e.first===t[0]&&(e.first=t[0].prev)})}function Ut(e,t,n,r,i,o=null){var a=e,c=new Map,s=null,d=(t&gi)!==0,f=(t&fi)!==0,w=(t&vi)!==0;if(d){var p=e;a=p.appendChild(gt())}var u=null,g=Lr(()=>{var v=n();return _r(v)?v:v==null?[]:Sr(v)}),m,S=!0;function W(){Ha(j,m,a,t,r),u!==null&&(m.length===0?(u.fragment?(a.before(u.fragment),u.fragment=null):Ur(u.effect),b.first=u.effect):dn(u.effect,()=>{u=null}))}var b=ar(()=>{m=l(g);for(var v=m.length,x=new Set,D=Q,E=null,T=Ui(),R=0;R<v;R+=1){var F=m[R],$=r(F,R),M=S?null:c.get($);M?(f&&cn(M.v,F),w?cn(M.i,R):M.i=R,T&&D.skipped_effects.delete(M.e)):(M=Va(S?a:null,E,F,$,R,i,t,n),S&&(M.o=!0,E===null?s=M:E.next=M,E=M),c.set($,M)),x.add($)}if(v===0&&o&&!u)if(S)u={fragment:null,effect:Oe(()=>o(a))};else{var ce=document.createDocumentFragment(),X=gt();ce.append(X),u={fragment:ce,effect:Oe(()=>o(X))}}if(!S)if(T){for(const[be,Ze]of c)x.has(be)||D.skipped_effects.add(Ze.e);D.oncommit(W),D.ondiscard(()=>{})}else W();l(g)}),j={effect:b,items:c,first:s};S=!1}function Ha(e,t,n,r,i){var o,a,c,s,d=(r&Jo)!==0,f=t.length,w=e.items,p=e.first,u,g=null,m,S=[],W=[],b,j,v,x;if(d)for(x=0;x<f;x+=1)b=t[x],j=i(b,x),v=w.get(j),(o=v.a)==null||o.measure(),(m??(m=new Set)).add(v);for(x=0;x<f;x+=1){if(b=t[x],j=i(b,x),v=w.get(j),e.first??(e.first=v),!v.o){v.o=!0;var D=g?g.next:p;et(e,g,v),et(e,v,D),zr(v,D,n),g=v,S=[],W=[],p=g.next;continue}if(v.e.f&Ee&&(Ur(v.e),d&&((a=v.a)==null||a.unfix(),(m??(m=new Set)).delete(v))),v!==p){if(u!==void 0&&u.has(v)){if(S.length<W.length){var E=W[0],T;g=E.prev;var R=S[0],F=S[S.length-1];for(T=0;T<S.length;T+=1)zr(S[T],E,n);for(T=0;T<W.length;T+=1)u.delete(W[T]);et(e,R.prev,F.next),et(e,g,R),et(e,F,E),p=E,g=F,x-=1,S=[],W=[]}else u.delete(v),zr(v,p,n),et(e,v.prev,v.next),et(e,v,g===null?e.first:g.next),et(e,g,v),g=v;continue}for(S=[],W=[];p!==null&&p.k!==j;)p.e.f&Ee||(u??(u=new Set)).add(p),W.push(p),p=p.next;if(p===null)continue;v=p}S.push(v),g=v,p=v.next}if(p!==null||u!==void 0){for(var $=u===void 0?[]:Sr(u);p!==null;)p.e.f&Ee||$.push(p),p=p.next;var M=$.length;if(M>0){var ce=r&gi&&f===0?n:null;if(d){for(x=0;x<M;x+=1)(c=$[x].a)==null||c.measure();for(x=0;x<M;x+=1)(s=$[x].a)==null||s.fix()}Fa(e,$,ce)}}d&&rn(()=>{var X;if(m!==void 0)for(v of m)(X=v.a)==null||X.apply()})}function Va(e,t,n,r,i,o,a,c){var s=(a&fi)!==0,d=(a&Xo)===0,f=s?d?Za(n,!1,!1):Ft(n):n,w=a&vi?Ft(i):i,p={i:w,v:f,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var u=document.createDocumentFragment();u.append(e=gt())}return p.e=Oe(()=>o(e,f,w,c)),t!==null&&(t.next=p),p}finally{}}function zr(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,o=e.e.nodes_start;o!==null&&o!==r;){var a=Mn(o);i.before(o),o=a}}function et(e,t,n){t===null?(e.first=n,e.effect.first=n&&n.e):(t.e.next&&(t.e.next.prev=null),t.next=n,t.e.next=n&&n.e),n===null?e.effect.last=t&&t.e:(n.e.prev&&(n.e.prev.next=null),n.prev=t,n.e.prev=t&&t.e)}function Ga(e,t,n,r){const i=Pn()?rr:Lr;if(n.length===0&&e.length===0){r(t.map(i));return}var o=Q,a=Y,c=Ka();function s(){Promise.all(n.map(d=>Ya(d))).then(d=>{c();try{r([...t.map(i),...d])}catch(f){a.f&ut||on(f,a)}o?.deactivate(),nr()}).catch(d=>{on(d,a)})}e.length>0?Promise.all(e).then(()=>{c();try{return s()}finally{o?.deactivate(),nr()}}):s()}function Ka(){var e=Y,t=H,n=ae,r=Q;return function(i=!0){nt(e),Te(t),nn(n),i&&r?.activate()}}function nr(){nt(null),Te(null),nn(null)}function rr(e){var t=pe|Ce,n=H!==null&&H.f&pe?H:null;return Y!==null&&(Y.f|=Xt),{ctx:ae,deps:null,effects:null,equals:xi,f:t,fn:e,reactions:null,rv:0,v:ve,wv:0,parent:n??Y,ac:null}}function Ya(e,t){let n=Y;n===null&&ya();var r=n.b,i=void 0,o=Ft(ve),a=!H,c=new Map;return ss(()=>{var s,d=yi();i=d.promise;try{Promise.resolve(e()).then(d.resolve,d.reject).then(()=>{f===Q&&f.committed&&f.deactivate(),nr()})}catch(u){d.reject(u),nr()}var f=Q;if(a){var w=!r.is_pending();r.update_pending_count(1),f.increment(w),(s=c.get(f))==null||s.reject(en),c.delete(f),c.set(f,d)}const p=(u,g=void 0)=>{if(f.activate(),g)g!==en&&(o.f|=xt,cn(o,g));else{o.f&xt&&(o.f^=xt),cn(o,u);for(const[m,S]of c){if(c.delete(m),m===f)break;S.reject(en)}}a&&(r.update_pending_count(-1),f.decrement(w))};d.promise.then(p,u=>p(null,u||"unknown"))}),Or(()=>{for(const s of c.values())s.reject(en)}),new Promise(s=>{function d(f){function w(){f===i?s(o):d(i)}f.then(w,w)}d(i)})}function ee(e){const t=rr(e);return eo(t),t}function Lr(e){const t=rr(e);return t.equals=_i,t}function Ri(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)We(t[n])}}function Qa(e){for(var t=e.parent;t!==null;){if(!(t.f&pe))return t.f&ut?null:t;t=t.parent}return null}function Nr(e){var t,n=Y;nt(Qa(e));try{e.f&=~Mt,Ri(e),t=oo(e)}finally{nt(n)}return t}function Mi(e){var t=Nr(e);if(e.equals(t)||(Q!=null&&Q.is_fork||(e.v=t),e.wv=ro()),!Ht)if(me!==null)or()&&me.set(e,t);else{var n=e.f&He?ge:ct;ye(e,n)}}let jr=new Set;const Wt=new Map;let Bi=!1;function Ft(e,t){var n={f:0,v:e,reactions:null,equals:xi,rv:0,wv:0};return n}function K(e,t){const n=Ft(e);return eo(n),n}function Za(e,t=!1,n=!0){var r;const i=Ft(e);return t||(i.equals=_i),tn&&n&&ae!==null&&ae.l!==null&&((r=ae.l).s??(r.s=[])).push(i),i}function y(e,t,n=!1){H!==null&&(!tt||H.f&bi)&&Pn()&&H.f&(pe|st|Dr|bi)&&!(qe!=null&&qe.includes(e))&&Wa();let r=n?je(t):t;return cn(e,r)}function cn(e,t){if(!e.equals(t)){var n=e.v;Ht?Wt.set(e,t):Wt.set(e,n),e.v=t;var r=Nt.ensure();r.capture(e,n),e.f&pe&&(e.f&Ce&&Nr(e),ye(e,e.f&He?ge:ct)),e.wv=ro(),Li(e,Ce),Pn()&&Y!==null&&Y.f&ge&&!(Y.f&(lt|It))&&($e===null?us([e]):$e.push(e)),!r.is_fork&&jr.size>0&&!Bi&&Ja()}return t}function Ja(){Bi=!1;var e=Tt;sr(!0);const t=Array.from(jr);try{for(const n of t)n.f&ge&&ye(n,ct),Ln(n)&&Nn(n)}finally{sr(e)}jr.clear()}function zi(e,t=1){var n=l(e),r=t===1?n++:n--;return y(e,n),r}function Rn(e){y(e,e.v+1)}function Li(e,t){var n=e.reactions;if(n!==null)for(var r=Pn(),i=n.length,o=0;o<i;o++){var a=n[o],c=a.f;if(!(!r&&a===Y)){var s=(c&Ce)===0;if(s&&ye(a,t),c&pe){var d=a;me?.delete(d),c&Mt||(c&He&&(a.f|=Mt),Li(d,ct))}else s&&(c&st&&Xe!==null&&Xe.add(a),jt(a))}}}function je(e){if(typeof e!="object"||e===null||Bt in e)return e;const t=mi(e);if(t!==pa&&t!==ha)return e;var n=new Map,r=_r(e),i=K(0),o=Vt,a=c=>{if(Vt===o)return c();var s=H,d=Vt;Te(null),no(o);var f=c();return Te(s),no(d),f};return r&&n.set("length",K(e.length)),new Proxy(e,{defineProperty(c,s,d){(!("value"in d)||d.configurable===!1||d.enumerable===!1||d.writable===!1)&&Ca();var f=n.get(s);return f===void 0?f=a(()=>{var w=K(d.value);return n.set(s,w),w}):y(f,d.value,!0),!0},deleteProperty(c,s){var d=n.get(s);if(d===void 0){if(s in c){const f=a(()=>K(ve));n.set(s,f),Rn(i)}}else y(d,ve),Rn(i);return!0},get(c,s,d){var f;if(s===Bt)return e;var w=n.get(s),p=s in c;if(w===void 0&&(!p||(f=Jt(c,s))!=null&&f.writable)&&(w=a(()=>{var g=je(p?c[s]:ve),m=K(g);return m}),n.set(s,w)),w!==void 0){var u=l(w);return u===ve?void 0:u}return Reflect.get(c,s,d)},getOwnPropertyDescriptor(c,s){var d=Reflect.getOwnPropertyDescriptor(c,s);if(d&&"value"in d){var f=n.get(s);f&&(d.value=l(f))}else if(d===void 0){var w=n.get(s),p=w?.v;if(w!==void 0&&p!==ve)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return d},has(c,s){var d;if(s===Bt)return!0;var f=n.get(s),w=f!==void 0&&f.v!==ve||Reflect.has(c,s);if(f!==void 0||Y!==null&&(!w||(d=Jt(c,s))!=null&&d.writable)){f===void 0&&(f=a(()=>{var u=w?je(c[s]):ve,g=K(u);return g}),n.set(s,f));var p=l(f);if(p===ve)return!1}return w},set(c,s,d,f){var w,p=n.get(s),u=s in c;if(r&&s==="length")for(var g=d;g<p.v;g+=1){var m=n.get(g+"");m!==void 0?y(m,ve):g in c&&(m=a(()=>K(ve)),n.set(g+"",m))}if(p===void 0)(!u||(w=Jt(c,s))!=null&&w.writable)&&(p=a(()=>K(void 0)),y(p,je(d)),n.set(s,p));else{u=p.v!==ve;var S=a(()=>je(d));y(p,S)}var W=Reflect.getOwnPropertyDescriptor(c,s);if(W!=null&&W.set&&W.set.call(f,d),!u){if(r&&typeof s=="string"){var b=n.get("length"),j=Number(s);Number.isInteger(j)&&j>=b.v&&y(b,j+1)}Rn(i)}return!0},ownKeys(c){l(i);var s=Reflect.ownKeys(c).filter(w=>{var p=n.get(w);return p===void 0||p.v!==ve});for(var[d,f]of n)f.v!==ve&&!(d in c)&&s.push(d);return s},setPrototypeOf(){Pa()}})}function Ni(e){try{if(e!==null&&typeof e=="object"&&Bt in e)return e[Bt]}catch{}return e}function Xa(e,t){return Object.is(Ni(e),Ni(t))}var ji,Oi,qi,$i;function es(){if(ji===void 0){ji=window,Oi=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;qi=Jt(t,"firstChild").get,$i=Jt(t,"nextSibling").get,wi(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),wi(n)&&(n.__t=void 0)}}function gt(e=""){return document.createTextNode(e)}function un(e){return qi.call(e)}function Mn(e){return $i.call(e)}function P(e,t){return un(e)}function we(e,t=!1){{var n=un(e);return n instanceof Comment&&n.data===""?Mn(n):n}}function B(e,t=1,n=!1){let r=e;for(;t--;)r=Mn(r);return r}function ts(e){e.textContent=""}function Ui(){return!1}let Fi=!1;function ns(){Fi||(Fi=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const n of e.target.elements)(t=n.__on_r)==null||t.call(n)})},{capture:!0}))}function ir(e){var t=H,n=Y;Te(null),nt(null);try{return e()}finally{Te(t),nt(n)}}function rs(e,t,n,r=n){e.addEventListener(t,()=>ir(n));const i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),ns()}function is(e){Y===null&&(H===null&&xa(),ka()),Ht&&ba()}function os(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function mt(e,t,n){var r=Y;r!==null&&r.f&Ee&&(e|=Ee);var i={ctx:ae,deps:null,nodes_start:null,nodes_end:null,f:e|Ce|He,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{Nn(i),i.f|=Wr}catch(c){throw We(i),c}else t!==null&&jt(i);var o=i;if(n&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&!(o.f&Xt)&&(o=o.first,e&st&&e&Rt&&o!==null&&(o.f|=Rt)),o!==null&&(o.parent=r,r!==null&&os(o,r),H!==null&&H.f&pe&&!(e&It))){var a=H;(a.effects??(a.effects=[])).push(o)}return i}function or(){return H!==null&&!tt}function Or(e){const t=mt(Pr,null,!1);return ye(t,ge),t.teardown=e,t}function Bn(e){is();var t=Y.f,n=!H&&(t&lt)!==0&&(t&Wr)===0;if(n){var r=ae;(r.e??(r.e=[])).push(e)}else return Hi(e)}function Hi(e){return mt(Cr|va,e,!1)}function as(e){Nt.ensure();const t=mt(It|Xt,e,!0);return(n={})=>new Promise(r=>{n.outro?dn(t,()=>{We(t),r(void 0)}):(We(t),r(void 0))})}function Vi(e){return mt(Cr,e,!1)}function ss(e){return mt(Dr|Xt,e,!0)}function qr(e,t=0){return mt(Pr|t,e,!0)}function z(e,t=[],n=[],r=[]){Ga(r,t,n,i=>{mt(Pr,()=>e(...i.map(l)),!0)})}function ar(e,t=0){var n=mt(st|t,e,!0);return n}function Oe(e){return mt(lt|Xt,e,!0)}function Gi(e){var t=e.teardown;if(t!==null){const n=Ht,r=H;Xi(!0),Te(null);try{t.call(null)}finally{Xi(n),Te(r)}}}function Ki(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&ir(()=>{i.abort(en)});var r=n.next;n.f&It?n.parent=null:We(n,t),n=r}}function ls(e){for(var t=e.first;t!==null;){var n=t.next;t.f&lt||We(t),t=n}}function We(e,t=!0){var n=!1;(t||e.f&ki)&&e.nodes_start!==null&&e.nodes_end!==null&&(cs(e.nodes_start,e.nodes_end),n=!0),Ki(e,t&&!n),lr(e,0),ye(e,ut);var r=e.transitions;if(r!==null)for(const o of r)o.stop();Gi(e);var i=e.parent;i!==null&&i.first!==null&&Yi(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function cs(e,t){for(;e!==null;){var n=e===t?null:Mn(e);e.remove(),e=n}}function Yi(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function dn(e,t,n=!0){var r=[];$r(e,r,!0),Qi(r,()=>{n&&We(e),t&&t()})}function Qi(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function $r(e,t,n){if(!(e.f&Ee)){if(e.f^=Ee,e.transitions!==null)for(const a of e.transitions)(a.is_global||n)&&t.push(a);for(var r=e.first;r!==null;){var i=r.next,o=(r.f&Rt)!==0||(r.f&lt)!==0&&(e.f&st)!==0;$r(r,t,o?n:!1),r=i}}}function Ur(e){Zi(e,!0)}function Zi(e,t){if(e.f&Ee){e.f^=Ee,e.f&ge||(ye(e,Ce),jt(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Rt)!==0||(n.f&lt)!==0;Zi(n,i?t:!1),n=r}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}function Ji(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:Mn(n);t.append(n),n=i}}let Tt=!1;function sr(e){Tt=e}let Ht=!1;function Xi(e){Ht=e}let H=null,tt=!1;function Te(e){H=e}let Y=null;function nt(e){Y=e}let qe=null;function eo(e){H!==null&&(qe===null?qe=[e]:qe.push(e))}let Se=null,Ie=0,$e=null;function us(e){$e=e}let to=1,zn=0,Vt=zn;function no(e){Vt=e}function ro(){return++to}function Ln(e){var t=e.f;if(t&Ce)return!0;if(t&pe&&(e.f&=~Mt),t&ct){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var o=n[i];if(Ln(o)&&Mi(o),o.wv>e.wv)return!0}t&He&&me===null&&ye(e,ge)}return!1}function io(e,t,n=!0){var r=e.reactions;if(r!==null&&!(qe!=null&&qe.includes(e)))for(var i=0;i<r.length;i++){var o=r[i];o.f&pe?io(o,t,!1):t===o&&(n?ye(o,Ce):o.f&ge&&ye(o,ct),jt(o))}}function oo(e){var t,n=Se,r=Ie,i=$e,o=H,a=qe,c=ae,s=tt,d=Vt,f=e.f;Se=null,Ie=0,$e=null,H=f&(lt|It)?null:e,qe=null,nn(e.ctx),tt=!1,Vt=++zn,e.ac!==null&&(ir(()=>{e.ac.abort(en)}),e.ac=null);try{e.f|=Tr;var w=e.fn,p=w(),u=e.deps;if(Se!==null){var g;if(lr(e,Ie),u!==null&&Ie>0)for(u.length=Ie+Se.length,g=0;g<Se.length;g++)u[Ie+g]=Se[g];else e.deps=u=Se;if(Tt&&or()&&e.f&He)for(g=Ie;g<u.length;g++)((t=u[g]).reactions??(t.reactions=[])).push(e)}else u!==null&&Ie<u.length&&(lr(e,Ie),u.length=Ie);if(Pn()&&$e!==null&&!tt&&u!==null&&!(e.f&(pe|ct|Ce)))for(g=0;g<$e.length;g++)io($e[g],e);return o!==null&&o!==e&&(zn++,$e!==null&&(i===null?i=$e:i.push(...$e))),e.f&xt&&(e.f^=xt),p}catch(m){return Ci(m)}finally{e.f^=Tr,Se=n,Ie=r,$e=i,H=o,qe=a,nn(c),tt=s,Vt=d}}function ds(e,t){let n=t.reactions;if(n!==null){var r=ca.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&t.f&pe&&(Se===null||!Se.includes(t))&&(ye(t,ct),t.f&He&&(t.f^=He,t.f&=~Mt),Ri(t),lr(t,0))}function lr(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)ds(e,n[r])}function Nn(e){var t=e.f;if(!(t&ut)){ye(e,ge);var n=Y,r=Tt;Y=e,Tt=!0;try{t&st?ls(e):Ki(e),Gi(e);var i=oo(e);e.teardown=typeof i=="function"?i:null,e.wv=to;var o;la&&Ia&&e.f&Ce&&e.deps}finally{Tt=r,Y=n}}}async function ps(){await Promise.resolve(),za()}function l(e){var t=e.f,n=(t&pe)!==0;if(H!==null&&!tt){var r=Y!==null&&(Y.f&ut)!==0;if(!r&&!(qe!=null&&qe.includes(e))){var i=H.deps;if(H.f&Tr)e.rv<zn&&(e.rv=zn,Se===null&&i!==null&&i[Ie]===e?Ie++:Se===null?Se=[e]:Se.includes(e)||Se.push(e));else{(H.deps??(H.deps=[])).push(e);var o=e.reactions;o===null?e.reactions=[H]:o.includes(H)||o.push(H)}}}if(Ht){if(Wt.has(e))return Wt.get(e);if(n){var a=e,c=a.v;return(!(a.f&ge)&&a.reactions!==null||so(a))&&(c=Nr(a)),Wt.set(a,c),c}}else n&&!(me!=null&&me.has(e))&&(a=e,Ln(a)&&Mi(a),Tt&&or()&&!(a.f&He)&&ao(a));if(me!=null&&me.has(e))return me.get(e);if(e.f&xt)throw e.v;return e.v}function ao(e){if(e.deps!==null){e.f^=He;for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),t.f&pe&&!(t.f&He)&&ao(t)}}function so(e){if(e.v===ve)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Wt.has(t)||t.f&pe&&so(t))return!0;return!1}function jn(e){var t=tt;try{return tt=!0,e()}finally{tt=t}}const hs=-7169;function ye(e,t){e.f=e.f&hs|t}const lo=new Set,Fr=new Set;function fs(e,t,n,r={}){function i(o){if(r.capture||On.call(t,o),!o.cancelBubble)return ir(()=>n?.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?rn(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function wt(e,t,n,r,i){var o={capture:r,passive:i},a=fs(e,t,n,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&Or(()=>{t.removeEventListener(e,a,o)})}function cr(e){for(var t=0;t<e.length;t++)lo.add(e[t]);for(var n of Fr)n(e)}let co=null;function On(e){var t,n=this,r=n.ownerDocument,i=e.type,o=((t=e.composedPath)==null?void 0:t.call(e))||[],a=o[0]||e.target;co=e;var c=0,s=co===e&&e.__root;if(s){var d=o.indexOf(s);if(d!==-1&&(n===document||n===window)){e.__root=n;return}var f=o.indexOf(n);if(f===-1)return;d<=f&&(c=d)}if(a=o[c]||e.target,a!==n){ua(e,"currentTarget",{configurable:!0,get(){return a||r}});var w=H,p=Y;Te(null),nt(null);try{for(var u,g=[];a!==null;){var m=a.assignedSlot||a.parentNode||a.host||null;try{var S=a["__"+i];S!=null&&(!a.disabled||e.target===a)&&S.call(a,e)}catch(W){u?g.push(W):u=W}if(e.cancelBubble||m===n||m===null)break;a=m}if(u){for(let W of g)queueMicrotask(()=>{throw W});throw u}}finally{e.__root=n,delete e.currentTarget,Te(w),nt(p)}}}function uo(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function qn(e,t){var n=Y;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function L(e,t){var n=(t&oa)!==0,r=(t&aa)!==0,i,o=!e.startsWith("<!>");return()=>{i===void 0&&(i=uo(o?e:"<!>"+e),n||(i=un(i)));var a=r||Oi?document.importNode(i,!0):i.cloneNode(!0);if(n){var c=un(a),s=a.lastChild;qn(c,s)}else qn(a,a);return a}}function vs(e,t,n="svg"){var r=!e.startsWith("<!>"),i=`<${n}>${r?e:"<!>"+e}</${n}>`,o;return()=>{if(!o){var a=uo(i),c=un(a);o=un(c)}var s=o.cloneNode(!0);return qn(s,s),s}}function ur(e,t){return vs(e,t,"svg")}function Dt(e=""){{var t=gt(e+"");return qn(t,t),t}}function Ye(){var e=document.createDocumentFragment(),t=document.createComment(""),n=gt();return e.append(t,n),qn(t,n),e}function _(e,t){e!==null&&e.before(t)}const gs=["touchstart","touchmove"];function ms(e){return gs.includes(e)}function O(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=n+"")}function ws(e,t){return ys(e,t)}const pn=new Map;function ys(e,{target:t,anchor:n,props:r={},events:i,context:o,intro:a=!0}){es();var c=new Set,s=w=>{for(var p=0;p<w.length;p++){var u=w[p];if(!c.has(u)){c.add(u);var g=ms(u);t.addEventListener(u,On,{passive:g});var m=pn.get(u);m===void 0?(document.addEventListener(u,On,{passive:g}),pn.set(u,1)):pn.set(u,m+1)}}};s(Sr(lo)),Fr.add(s);var d=void 0,f=as(()=>{var w=n??t.appendChild(gt());return Oa(w,{pending:()=>{}},p=>{if(o){dt({});var u=ae;u.c=o}i&&(r.$$events=i),d=e(p,r)||{},o&&pt()}),()=>{var p;for(var u of c){t.removeEventListener(u,On);var g=pn.get(u);--g===0?(document.removeEventListener(u,On),pn.delete(u)):pn.set(u,g)}Fr.delete(s),w!==n&&((p=w.parentNode)==null||p.removeChild(w))}});return bs.set(d,f),d}let bs=new WeakMap;var rt,yt,Ue,hn,dr,pr,Hr;class po{constructor(t,n=!0){at(this,"anchor"),q(this,rt,new Map),q(this,yt,new Map),q(this,Ue,new Map),q(this,hn,new Set),q(this,dr,!0),q(this,pr,()=>{var r=Q;if(h(this,rt).has(r)){var i=h(this,rt).get(r),o=h(this,yt).get(i);if(o)Ur(o),h(this,hn).delete(i);else{var a=h(this,Ue).get(i);a&&(h(this,yt).set(i,a.effect),h(this,Ue).delete(i),a.fragment.lastChild.remove(),this.anchor.before(a.fragment),o=a.effect)}for(const[c,s]of h(this,rt)){if(h(this,rt).delete(c),c===r)break;const d=h(this,Ue).get(s);d&&(We(d.effect),h(this,Ue).delete(s))}for(const[c,s]of h(this,yt)){if(c===i||h(this,hn).has(c))continue;const d=()=>{if(Array.from(h(this,rt).values()).includes(c)){var f=document.createDocumentFragment();Ji(s,f),f.append(gt()),h(this,Ue).set(c,{effect:s,fragment:f})}else We(s);h(this,hn).delete(c),h(this,yt).delete(c)};h(this,dr)||!o?(h(this,hn).add(c),dn(s,d,!1)):d()}}}),q(this,Hr,r=>{h(this,rt).delete(r);const i=Array.from(h(this,rt).values());for(const[o,a]of h(this,Ue))i.includes(o)||(We(a.effect),h(this,Ue).delete(o))}),this.anchor=t,I(this,dr,n)}ensure(t,n){var r=Q,i=Ui();if(n&&!h(this,yt).has(t)&&!h(this,Ue).has(t))if(i){var o=document.createDocumentFragment(),a=gt();o.append(a),h(this,Ue).set(t,{effect:Oe(()=>n(a)),fragment:o})}else h(this,yt).set(t,Oe(()=>n(this.anchor)));if(h(this,rt).set(r,t),i){for(const[c,s]of h(this,yt))c===t?r.skipped_effects.delete(s):r.skipped_effects.add(s);for(const[c,s]of h(this,Ue))c===t?r.skipped_effects.delete(s.effect):r.skipped_effects.add(s.effect);r.oncommit(h(this,pr)),r.ondiscard(h(this,Hr))}else h(this,pr).call(this)}}rt=new WeakMap,yt=new WeakMap,Ue=new WeakMap,hn=new WeakMap,dr=new WeakMap,pr=new WeakMap,Hr=new WeakMap;function Vr(e){ae===null&&wa(),tn&&ae.l!==null?ks(ae).m.push(e):Bn(()=>{const t=jn(e);if(typeof t=="function")return t})}function ks(e){var t=e.l;return t.u??(t.u={a:[],b:[],m:[]})}function U(e,t,n=!1){var r=new po(e),i=n?Rt:0;function o(a,c){r.ensure(a,c)}ar(()=>{var a=!1;t((c,s=!0)=>{a=!0,o(s,c)}),a||o(!1,null)},i)}function ho(e,t,n,r,i){var o,a=(o=t.$$slots)==null?void 0:o[n],c=!1;a===!0&&(a=t.children,c=!0),a===void 0||a(e,c?()=>r:r)}function fo(e,t,n){var r=new po(e);ar(()=>{var i=t()??null;r.ensure(i,i&&(o=>n(o,i)))},Rt)}function bt(e,t){Vi(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function vo(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=vo(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function xs(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=vo(e))&&(r&&(r+=" "),r+=t);return r}function fn(e){return typeof e=="object"?xs(e):e??""}function _s(e,t,n){var r=e==null?"":""+e;return t&&(r=r?r+" "+t:t),r===""?null:r}function Et(e,t,n,r,i,o){var a=e.__className;if(a!==n||a===void 0){var c=_s(n,r);c==null?e.removeAttribute("class"):t?e.className=c:e.setAttribute("class",c),e.__className=n}return o}function go(e,t,n=!1){if(e.multiple){if(t==null)return;if(!_r(t))return Da();for(var r of e.options)r.selected=t.includes(mo(r));return}for(r of e.options){var i=mo(r);if(Xa(i,t)){r.selected=!0;return}}(!n||t!==void 0)&&(e.selectedIndex=-1)}function Ss(e){var t=new MutationObserver(()=>{go(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),Or(()=>{t.disconnect()})}function mo(e){return"__value"in e?e.__value:e.value}const Cs=Symbol("is custom element"),Ps=Symbol("is html");function Ws(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function se(e,t,n,r){var i=Ts(e);i[t]!==(i[t]=n)&&(t==="loading"&&(e[ma]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Ds(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Ts(e){return e.__attributes??(e.__attributes={[Cs]:e.nodeName.includes("-"),[Ps]:e.namespaceURI===sa})}var wo=new Map;function Ds(e){var t=e.getAttribute("is")||e.nodeName,n=wo.get(t);if(n)return n;wo.set(t,n=[]);for(var r,i=e,o=Element.prototype;o!==i;){r=da(i);for(var a in r)r[a].set&&n.push(a);i=mi(i)}return n}function Es(e,t,n=t){var r=new WeakSet;rs(e,"input",async i=>{var o=i?e.defaultValue:e.value;if(o=Gr(e)?Kr(o):o,n(o),Q!==null&&r.add(Q),await ps(),o!==(o=t())){var a=e.selectionStart,c=e.selectionEnd,s=e.value.length;if(e.value=o??"",c!==null){var d=e.value.length;a===c&&c===s&&d>s?(e.selectionStart=d,e.selectionEnd=d):(e.selectionStart=a,e.selectionEnd=Math.min(c,d))}}}),jn(t)==null&&e.value&&(n(Gr(e)?Kr(e.value):e.value),Q!==null&&r.add(Q)),qr(()=>{var i=t();if(e===document.activeElement){var o=Jn??Q;if(r.has(o))return}Gr(e)&&i===Kr(e.value)||e.type==="date"&&!i&&!e.value||i!==e.value&&(e.value=i??"")})}function Gr(e){var t=e.type;return t==="number"||t==="range"}function Kr(e){return e===""?null:+e}function yo(e,t){return e===t||e?.[Bt]===t}function As(e={},t,n,r){return Vi(()=>{var i,o;return qr(()=>{i=o,o=[],jn(()=>{e!==n(...o)&&(t(e,...o),i&&yo(n(...i),e)&&t(null,...i))})}),()=>{rn(()=>{o&&yo(n(...o),e)&&t(null,...o)})}}),e}let hr=!1;function Is(e){var t=hr;try{return hr=!1,[e(),hr]}finally{hr=t}}function Re(e,t,n,r){var i,o=!tn||(n&ta)!==0,a=(n&ra)!==0,c=(n&ia)!==0,s=r,d=!0,f=()=>(d&&(d=!1,s=c?jn(r):r),s),w;if(a){var p=Bt in e||ga in e;w=((i=Jt(e,t))==null?void 0:i.set)??(p&&t in e?v=>e[t]=v:void 0)}var u,g=!1;a?[u,g]=Is(()=>e[t]):u=e[t],u===void 0&&r!==void 0&&(u=f(),w&&(o&&Sa(),w(u)));var m;if(o?m=()=>{var v=e[t];return v===void 0?f():(d=!0,v)}:m=()=>{var v=e[t];return v!==void 0&&(s=void 0),v===void 0?s:v},o&&!(n&na))return m;if(w){var S=e.$$legacy;return function(v,x){return arguments.length>0?((!o||!x||S||g)&&w(x?m():v),v):m()}}var W=!1,b=(n&ea?rr:Lr)(()=>(W=!1,m()));a&&l(b);var j=Y;return function(v,x){if(arguments.length>0){const D=x?l(b):o&&a?je(v):v;return y(b,D),W=!0,s!==void 0&&(s=D),v}return Ht&&W||j.f&ut?b.v:l(b)}}const bo="wineater_consent",Rs=["wineater_uid","uniqueUserID","sessionID"];function Ms(){try{const e=window.localStorage.getItem(bo);return e==="granted"||e==="denied"?e:null}catch{return null}}let Yr=K(je(Ms())),fr=K(null);function Bs(e){y(fr,e,!0)}function ko(){var e;return((e=window?.wineaterData)==null?void 0:e.requireConsent)===!0?!0:l(fr)===!0}function zs(){return l(fr)!==null&&ko()&&l(Yr)===null}function xo(){var e;return((e=window?.wineaterData)==null?void 0:e.tracking)===!1||l(fr)===null?!1:ko()?l(Yr)==="granted":!0}function Ls(){for(const e of Rs){try{window.localStorage.removeItem(e)}catch{}try{document.cookie=`${e}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`}catch{}}}const Qr=new Set;function Ns(e){return Qr.add(e),()=>Qr.delete(e)}function _o(e){y(Yr,e,!0);try{window.localStorage.setItem(bo,e)}catch{}e==="denied"&&Ls();for(const t of Qr)t(e)}function So(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})}function Zr(e,t,n){let r="";if(n){const i=new Date;i.setTime(i.getTime()+n*24*60*60*1e3),r="; expires="+i.toUTCString()}document.cookie=e+"="+(t||"")+r+"; path=/; secure; samesite=strict"}function Jr(e){const t=e+"=",n=document.cookie.split(";");for(let r=0;r<n.length;r++){let i=n[r];for(;i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(t)===0)return i.substring(t.length,i.length)}return null}function js(){const e="uniqueUserID";let t=Jr(e);return t||(t=So(),Zr(e,t,365)),t}function Me(e,t,n={},r={}){const i="https://admin-api.wineater.com/api/widget-events",o=new Date().toISOString(),a=navigator.language.split("-")[1]||null,c=navigator.language.split("-")[0]||"en";if(!xo()){const p={event_type:e,store_id:t,event_time:o,data:n,meta:{...r,anonymous:!0},device_info:{device:window.innerWidth<768?"mobile":"desktop"},region:a,language:c};return fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(p),keepalive:!0}).catch(u=>{console.debug("[wineater] anonymous event failed:",u?.message)})}let s=Jr("uniqueUserID");s||(s=js());const d={user_agent:navigator.userAgent,screen_width:window.screen.width,screen_height:window.screen.height,language:navigator.language,platform:navigator.platform};let f=Jr("sessionID");f||(f=So(),Zr("sessionID",f,1));const w={event_type:e,store_id:t,session_id:f,event_time:o,data:n,meta:{...r,user_id:s},device_info:d,region:a,language:c};return fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(w)}).then(p=>p.ok?p.json():p.json().then(u=>{throw new Error(u.message||"Failed to track widget event")})).catch(p=>{throw console.error("Widget event tracking error:",p),p})}function Os(e){return{id:String(e.ID),appellation:e.Appellation||null,country:e.Country||null,grape:e.Grape,image:e.Image,price:Number(e.Price),producer:e.Producer||null,region:e.Region,score:e.Score?Number(e.Score):null,shortDescription:e["Short Description"]||null,store:e.Store,storeId:e.Store_id||null,tags:Array.isArray(e.Tags)?e.Tags.map(String):[],title:e.Title,type:e.Type,url:e.Url||null,vintage:e.Vintage?Number(e.Vintage):null,pairingRecommendation:e.pairing_recommendation||null,total:e.Total?Number(e.Total):null,itemId:e.item_id||null,isPromote:e.is_promote?!!e.is_promote:null,stock:e.stock?Number(e.stock):null,byTheGlass:!!e.by_the_glass,glassPrice:e.glass_price!=null?Number(e.glass_price):null}}function vr(e){return{id:String(e.id),title:String(e.title),description:String(e.description),region:String(e.region),price:Number(e.price),grape:String(e.grape),appellation:e.appellation?String(e.appellation):null,url:e.url?String(e.url):null,store:String(e.store),storeId:e.storeId?String(e.storeId):null,image:String(e.image),country:e.country?String(e.country):null,vintage:e.vintage?Number(e.vintage):null,tags:Array.isArray(e.tags)?e.tags.map(String):[],score:e.score?Number(e.score):null,total:e.total?Number(e.total):null,isPromote:e.is_promote?!!e.is_promote:null,stock:e.stock?Number(e.stock):null,distance:Number(e.distance),reason:String(e.reason),type:String(e.type),byTheGlass:!!e.by_the_glass,glassPrice:e.glass_price!=null?Number(e.glass_price):null}}function qs(e){return{recommendations:(e.recommendations||[]).filter(Boolean).map(vr),hasMore:!!e.has_more}}const $n="wineater_uid",$s=365;let gr=null;function Co(){const e=globalThis.crypto;if(e!=null&&e.randomUUID)return e.randomUUID();const t=new Uint8Array(16);if(e!=null&&e.getRandomValues)e.getRandomValues(t);else for(let r=0;r<16;r++)t[r]=Math.random()*256|0;t[6]=t[6]&15|64,t[8]=t[8]&63|128;const n=Array.from(t,r=>r.toString(16).padStart(2,"0")).join("");return`${n.slice(0,8)}-${n.slice(8,12)}-${n.slice(12,16)}-${n.slice(16,20)}-${n.slice(20)}`}const Po=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;function Wo(e){try{const t=e+"=";for(const n of document.cookie.split(";")){const r=n.trim();if(r.startsWith(t))return decodeURIComponent(r.slice(t.length))}}catch{}return null}function Us(e,t){try{const n=new Date(Date.now()+$s*864e5).toUTCString();document.cookie=`${e}=${encodeURIComponent(t)}; expires=${n}; path=/; SameSite=Lax; Secure`}catch{}}function To(){return xo()}Ns(e=>{e==="denied"&&(gr=null)});function Xr(){if(!To())return null;if(gr)return gr;let e=null;try{e=window.localStorage.getItem($n)}catch{}(!e||!Po.test(e))&&(e=Wo($n)),(!e||!Po.test(e))&&(e=Co());try{window.localStorage.setItem($n,e)}catch{}return Wo($n)!==e&&Us($n,e),gr=e,e}function Do(){return Co()}const Fs=2e3,Eo=100;let mr=null,vn=[],Un=null,Ao=!1;function Hs(e){mr=e,!(Ao||typeof document>"u")&&(Ao=!0,document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Fn()}),window.addEventListener("pagehide",()=>void Fn()))}function gn(e){var t;if(!(!To()||!mr)&&!(!((t=e.sku_ids)!=null&&t.length)&&e.type!=="more")){if(vn.push(e),vn.length>=Eo){Fn();return}Un||(Un=setTimeout(()=>void Fn(),Fs))}}async function Fn(){if(Un&&(clearTimeout(Un),Un=null),!mr||vn.length===0)return;const e=Xr();if(!e){vn=[];return}const t=vn.splice(0,Eo);try{await mr({uid:e,events:t})}catch(n){console.debug("[wineater] feedback flush failed:",n?.message)}vn.length>0&&Fn()}const Vs="X-Wineater-Uid";var Hn,wr,mn,Vn,Qe,ei,wn,ti;class Gs{constructor(t,n="1"){q(this,Qe),q(this,Hn,"https://api.wineater.com/"),q(this,wr),q(this,mn),q(this,Vn,!1),I(this,wr,t),I(this,mn,n)}async getInstantRecommendations(){try{const t=h(this,mn)==="2"?"dish/recommendations/instant/v2":"dish/recommendations/instant",{data:n,headers:r}=await G(this,Qe,ti).call(this,t,{});return{wines:n.filter(Boolean).map(Os),profileHash:r.get("X-Wineater-Profile")||null}}catch(t){throw new Error(`Error in getInstantRecommendations: ${t.message}`)}}async getWineRecommendationsSearch(t,n){try{const r=h(this,mn)==="2"?"dish/recommendations/search/v2":"dish/recommendations/search";return(await G(this,Qe,wn).call(this,r,n?{text:t,query_id:n}:{text:t})).filter(Boolean).map(vr)}catch(r){throw new Error(`Error in getWineRecommendations: ${r.message}`)}}async searchStream(t,n,r){const i=()=>this.getWineRecommendationsSearch(t,n);if(h(this,mn)!=="2")return i();let o;try{o=await fetch(`${h(this,Hn)}dish/recommendations/search/v2/stream`,{method:"POST",headers:G(this,Qe,ei).call(this),body:JSON.stringify(n?{text:t,query_id:n}:{text:t})})}catch{return i()}if(!o.ok||!o.body)return i();const a=o.body.getReader(),c=new TextDecoder;let s="",d=null;const f=w=>(w??[]).filter(Boolean).map(vr);try{for(;;){const{done:w,value:p}=await a.read();p&&(s+=c.decode(p,{stream:!0}));const u=s.split(`
2
- `);s=w?"":u.pop()??"";for(const g of w?u.filter(Boolean):u){if(!g.trim())continue;const m=JSON.parse(g);if(m.type==="wines")d=f(m.recommendations).map(S=>({...S,reason:""})),r(d);else{if(m.type==="final")return f(m.recommendations);if(m.type==="error")return d||i()}}if(w)break}}catch{return d||i()}return d??i()}async getMoreWineRecommendations(t,n){try{const r=await G(this,Qe,wn).call(this,"dish/recommendations/search/v2/more",{text:t,exclude_ids:n});return qs(r)}catch(r){throw new Error(`Error in getMoreWineRecommendations: ${r.message}`)}}async getSimilarWines(t){try{return(await G(this,Qe,wn).call(this,"dish/recommendations/similar",{id:t})).filter(Boolean).map(vr)}catch(n){throw new Error(`Error in getSimilarWines: ${n.message}`)}}async postEvents(t){await G(this,Qe,wn).call(this,"events",t,{keepalive:!0})}async getStoreConfig(){try{return await G(this,Qe,wn).call(this,"stores/store",{})}catch(t){throw console.error("Error fetching store configuration:",t),t}}}Hn=new WeakMap,wr=new WeakMap,mn=new WeakMap,Vn=new WeakMap,Qe=new WeakSet,ei=function(){const e={"Content-Type":"application/json",Authorization:`Bearer ${h(this,wr)}`};if(!h(this,Vn)){const t=Xr();t&&(e[Vs]=t)}return e},wn=async function(e,t,n={}){return(await G(this,Qe,ti).call(this,e,t,n)).data},ti=async function(e,t,n={}){const r=()=>({method:n.method??"POST",headers:G(this,Qe,ei).call(this),body:t===void 0?void 0:JSON.stringify(t),keepalive:n.keepalive});let i;try{i=await fetch(`${h(this,Hn)}${e}`,r())}catch(c){if(h(this,Vn)||!Xr())throw c;I(this,Vn,!0),i=await fetch(`${h(this,Hn)}${e}`,r())}const o=await i.text(),a=o?JSON.parse(o):null;if(!i.ok)throw new Error(`API call failed with status ${i.status}: ${a?.message||"No additional error information"}`);return{data:a,headers:i.headers}};const Ks="HeUw6IXuhvz6tRuXdPEGEbj3SGQ3Q2YtEc1Z8jd41Kg9LtyPb4Epu0to31SYIadG";var Io;const Ro=((Io=window?.wineaterData)==null?void 0:Io.CLIENT_TOKEN)||Ks;var Mo;const ni=String(((Mo=window?.wineaterData)==null?void 0:Mo.apiVersion)||"1"),yn=new Gs(Ro,ni);Hs(e=>yn.postEvents(e));function Ys(e){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n)|0;return(t>>>0).toString(36)}const ri=`${Ys(Ro)}:${ni}`,Bo="wineater:v1:";function ii(e,t){try{const n=window.localStorage.getItem(Bo+e);if(!n)return null;const r=JSON.parse(n);return Date.now()-r.savedAt>t?null:r.value}catch{return null}}function oi(e,t){try{const n={savedAt:Date.now(),value:t};window.localStorage.setItem(Bo+e,JSON.stringify(n))}catch{}}const Be={WIDGET_INITIALIZED:"widget_initialized",WIDGET_LOADED:"widget_loaded",SEARCH_PERFORMED:"search_performed",SEARCH_RESULTS_DISPLAYED:"search_results_displayed",NO_RESULTS_FOUND:"no_results_found",WINE_CARD_HOVER:"wine_card_hover",WINE_CARD_CLICK:"wine_card_click",WINE_DETAILS_VIEWED:"wine_details_viewed",WINE_DETAILS_CLOSED:"wine_details_closed",BUY_BUTTON_CLICKED:"buy_button_clicked",SHOW_MORE_CLICKED:"show_more_clicked",SIMILAR_WINES_CLICKED:"similar_wines_clicked",FILTER_APPLIED:"filter_applied",LANGUAGE_CHANGED:"language_changed",ERROR_OCCURRED:"error_occurred",MOBILE_VIEW_ACTIVATED:"mobile_view_activated"},Qs={lang:"fr",welcomeMessage:"Quel plat allez-vous d\xE9guster ? D\xE9crivez-le-moi et je vous proposerai le vin qui l'accompagnera parfaitement.",noResultsFound:"Aucun r\xE9sultat trouv\xE9.",somethingWentWrong:"D\xE9sol\xE9, quelque chose a mal tourn\xE9.",chatButton1:"Trouvez l'accord parfait",chatButton2:"Associez le vin",chatButton3:"Obtenez des conseils",chatTitle:"Accord Mets & Vins \u{1F377}",chatSubtitle:"D\xE9crivez votre plat et obtenez une recommandation en 30 secondes",inputPlaceholder:"ex., Salade de thon",sendButton:"Accorder",poweredBy:"Propuls\xE9 par",price:"Prix",region:"R\xE9gion",type:"Type",reason:"Suggestion",moreInfo:"Plus d'infos",tryAgain:"R\xE9essayer",similarWines:"Vins similaires",byTheGlass:"Au verre",winePairingIntro:"Pour ce vin, voici quelques suggestions de plats :",askForDinner:"Que voulez-vous manger ce soir?",clearChatButton:"Effacer le chat",widgetTitle:"TROUVEZ VOTRE VIN PARFAIT",widgetSubtitle:"Partagez tout ce que vous avez en t\xEAte\u2014votre repas, humeur, budget ou occasion\u2014et notre sommelier IA vous recommandera le vin parfait en quelques secondes",searchPlaceholder:"Entrez un mot-cl\xE9 ou une description","wineDetails.reason":"Raison","wineDetails.price":"Prix","wineDetails.region":"R\xE9gion","wineDetails.type":"Type","wineDetails.moreInfo":"Plus d'infos","wineDetails.code":"Code","wineDetails.buy":"Acheter",searchButton:"Rechercher",priceRange:"Gamme de prix",wineColor:"Couleur du vin",intensity:"Intensit\xE9",red:"Rouge",white:"Blanc",rose:"Ros\xE9",light:"L\xE9ger",medium:"Moyen",full:"Puissant",barTitle:"S\xE9lection du bar",barSubtitle:"Choisissez vos plats ci-dessous et cliquez sur \xABEnvoyer\xBB",barSendButton:"Envoyer",barResetButton:"R\xE9initialiser",barName:"Nom du bar",barNotesPlaceholder:"Entrez vos souhaits ici...",placeholderSuggestions:["Vin pour les p\xE2tes","Parfait avec du poisson","Recommand\xE9 pour une soir\xE9e"],headerLine1:"Partagez tout ce qui vous passe par la t\xEAte \u2014",headerLine2:"\u2014 et obtenez des recommandations de vin parfait en quelques secondes",headerMeal:"repas",headerMood:"humeur",headerBudget:"budget",headerOccasion:"occasion",headerOr:"ou",errorMessage:"Une erreur est survenue. Veuillez r\xE9essayer plus tard.",noResultsMessage:"Aucun r\xE9sultat trouv\xE9 pour votre recherche. Veuillez essayer une autre requ\xEAte.",ai_sommelier:"AI sommelier",consentText:"L'assistant vin enregistre un identifiant anonyme sur cet appareil pour apprendre vos go\xFBts et am\xE9liorer ses recommandations. Vous pouvez l'utiliser sans accepter.",consentAccept:"Accepter",consentDecline:"Refuser",consentPrivacy:"Politique de confidentialit\xE9"},Zs={lang:"es",welcomeMessage:"\xBFQu\xE9 vas a comer? Cu\xE9ntame tu plato y te recomendar\xE9 el maridaje perfecto.",noResultsFound:"No se encontraron resultados.",somethingWentWrong:"Lo sentimos, algo sali\xF3 mal.",chatButton1:"Encuentra tu maridaje",chatButton2:"Combina vino ya",chatButton3:"Recibe asesor\xEDa ahora",chatTitle:"Maridaje de Vinos \u{1F377}",chatSubtitle:"Describe tu comida y obt\xE9n una recomendaci\xF3n en 30 segundos",inputPlaceholder:"ej., Ensalada de at\xFAn",sendButton:"Combinar",poweredBy:"Desarrollado por",price:"Precio",region:"Regi\xF3n",type:"Tipo",reason:"Sugerencia",moreInfo:"M\xE1s info",tryAgain:"Probar otra vez",similarWines:"Vinos similares",byTheGlass:"Por copa",winePairingIntro:"Para este vino, aqu\xED tienes algunas sugerencias de platos:",askForDinner:"\xBFQu\xE9 te gustar\xEDa cenar?",clearChatButton:"Limpiar el chat",widgetTitle:"ENCUENTRA TU VINO PERFECTO",widgetSubtitle:"Comparte cualquier cosa que tengas en mente\u2014tu comida, estado de \xE1nimo, presupuesto o evento\u2014y nuestro sommelier de IA te recomendar\xE1 el vino perfecto en segundos",searchPlaceholder:"Escribe una palabra clave o descripci\xF3n","wineDetails.reason":"Raz\xF3n","wineDetails.price":"Precio","wineDetails.region":"Regi\xF3n","wineDetails.type":"Tipo","wineDetails.code":"C\xF3digo","wineDetails.moreInfo":"M\xE1s informaci\xF3n","wineDetails.buy":"Comprar",searchButton:"Buscar",priceRange:"Rango de precios",wineColor:"Color del vino",intensity:"Intensidad",red:"Tinto",white:"Blanco",rose:"Rosado",light:"Ligero",medium:"Medio",full:"Intenso",barTitle:"Platos de Bar",barSubtitle:"Selecciona de la lista y presiona \xABEnviar\xBB",barSendButton:"Enviar",barResetButton:"Reiniciar",barName:"Nombre del bar",barNotesPlaceholder:"Agrega tus comentarios aqu\xED...",placeholderSuggestions:["Vino para pasta","Perfecto con pescado","Recomendado para una fiesta"],headerLine1:"Comparte cualquier cosa que tengas en mente \u2014",headerLine2:"\u2014 y obt\xE9n recomendaciones del vino perfecto en cuesti\xF3n de segundos",headerMeal:"comida",headerMood:"estado de \xE1nimo",headerBudget:"presupuesto",headerOccasion:"ocasi\xF3n",headerOr:"o",errorMessage:"Algo sali\xF3 mal. Por favor, int\xE9ntalo de nuevo m\xE1s tarde.",noResultsMessage:"No se encontraron resultados para tu b\xFAsqueda. Por favor, intenta con otra consulta.",ai_sommelier:"AI sommelier",consentText:"El asistente de vinos guarda un identificador an\xF3nimo en este dispositivo para conocer tus gustos y mejorar las recomendaciones. Puedes usarlo sin aceptar.",consentAccept:"Aceptar",consentDecline:"Rechazar",consentPrivacy:"Pol\xEDtica de privacidad"},Js={lang:"en",welcomeMessage:"What are you planning to eat? Share your dish and I'll recommend the perfect wine pairing for your meal.",noResultsFound:"No results found.",somethingWentWrong:"Sorry, something went wrong.",chatButton1:"Find Your Pairing",chatButton2:"Pair Wine Now",chatButton3:"Get Wine Advice",chatTitle:"Wine Pairing Assistant \u{1F377}",chatSubtitle:"Describe your meal and get a recommendation in 30 seconds",inputPlaceholder:"e.g., Tuna salad",sendButton:"Match",poweredBy:"Powered by",price:"Price",region:"Region",type:"Type",reason:"Suggestion",moreInfo:"More info",tryAgain:"Try again",similarWines:"Similar wines",byTheGlass:"By the glass",winePairingIntro:"For this wine, here are some suggested dishes:",askForDinner:"What would you like to have for dinner?",clearChatButton:"Clear Chat",widgetTitle:"FIND YOUR PERFECT WINE",widgetSubtitle:"Share anything on your mind\u2014your meal, mood, budget, or occasion\u2014and our AI sommelier will recommend the perfect wine in seconds",searchPlaceholder:"Enter a keyword or description","wineDetails.price":"Price","wineDetails.region":"Region","wineDetails.type":"Type","wineDetails.moreInfo":"More info","wineDetails.reason":"Reason","wineDetails.code":"Code","wineDetails.buy":"Buy",searchButton:"Search",priceRange:"Price Range",wineColor:"Wine Color",intensity:"Intensity",red:"Red",white:"White",rose:"Ros\xE9",light:"Light",medium:"Medium",full:"Full",barTitle:"Bar Dishes",barSubtitle:"Select dishes below and click 'Send'",barSendButton:"Send",barResetButton:"Reset",barName:"Bar Name",barNotesPlaceholder:"Add your wishes here...",placeholderSuggestions:["Wine for pasta","Perfect with fish","Recommended for a party"],headerLine1:"Share anything on your mind \u2014",headerLine2:"\u2014 and get recommendations of the perfect wine in seconds",headerMeal:"meal",headerMood:"mood",headerBudget:"budget",headerOccasion:"occasion",headerOr:"or",errorMessage:"Something went wrong. Please try again later.",noResultsMessage:"No results found for your search. Please try a different query.",ai_sommelier:"AI sommelier",consentText:"The wine assistant stores an anonymous identifier on this device to learn your taste and improve recommendations. You can use it without accepting.",consentAccept:"Accept",consentDecline:"Decline",consentPrivacy:"Privacy policy"},Xs={lang:"sr",welcomeMessage:"\u0160ta planirate da jedete? Podelite svoje jelo i preporu\u010Di\u0107u vam savr\u0161eno vino uz obrok.",noResultsFound:"Nema rezultata.",somethingWentWrong:"Izvinite, ne\u0161to je po\u0161lo po zlu.",chatButton1:"Prona\u0111i vino",chatButton2:"Upari vino sada",chatButton3:"Zatra\u017Ei preporuku",chatTitle:"Asistent za uparivanje vina \u{1F377}",chatSubtitle:"Opi\u0161ite svoj obrok i dobijte preporuku za 30 sekundi",inputPlaceholder:"npr. Tuna salata",sendButton:"Upari",poweredBy:"Pokre\u0107e",price:"Cena",region:"Regija",type:"Tip",reason:"Preporuka",moreInfo:"Vi\u0161e informacija",tryAgain:"Poku\u0161aj ponovo",similarWines:"Sli\u010Dna vina",byTheGlass:"Na \u010Da\u0161u",winePairingIntro:"Za ovo vino, preporu\u010Duju se slede\u0107a jela:",askForDinner:"\u0160ta biste \u017Eeleli za ve\u010Deru?",clearChatButton:"Obri\u0161i razgovor",widgetTitle:"PRONA\u0110ITE SAVR\u0160ENO VINO",widgetSubtitle:"Podelite bilo \u0161ta \u2014 obrok, raspolo\u017Eenje, bud\u017Eet ili priliku \u2014 i na\u0161 AI somelijer \u0107e vam za par sekundi preporu\u010Diti vino",searchPlaceholder:"Unesite klju\u010Dnu re\u010D ili opis","wineDetails.price":"Cena","wineDetails.region":"Regija","wineDetails.type":"Tip","wineDetails.moreInfo":"Vi\u0161e informacija","wineDetails.reason":"Razlog","wineDetails.code":"\u0160ifra","wineDetails.buy":"Kupi",searchButton:"Pretraga",priceRange:"Cenovni raspon",wineColor:"Boja vina",intensity:"Intenzitet",red:"Crveno",white:"Belo",rose:"Roze",light:"Lako",medium:"Srednje",full:"Puno",barTitle:"Jela iz bara",barSubtitle:"Izaberite jela ispod i kliknite 'Po\u0161alji'",barSendButton:"Po\u0161alji",barResetButton:"Resetuj",barName:"Naziv bara",barNotesPlaceholder:"Dodajte svoje \u017Eelje ovde...",placeholderSuggestions:["Vino uz pastu","Savr\u0161eno uz ribu","Preporuka za \u017Eurku"],headerLine1:"Podelite bilo \u0161ta \u0161to vam je na umu \u2014",headerLine2:"\u2014 i dobijte preporuke za savr\u0161eno vino za par sekundi",headerMeal:"obrok",headerMood:"raspolo\u017Eenje",headerBudget:"bud\u017Eet",headerOccasion:"prilika",headerOr:"ili",errorMessage:"Ne\u0161to je po\u0161lo po zlu. Molimo poku\u0161ajte ponovo kasnije.",noResultsMessage:"Nema rezultata za va\u0161u pretragu. Molimo poku\u0161ajte sa druga\u010Dijim upitom.",ai_sommelier:"AI sommelier",consentText:"Vinski asistent \u010Duva anonimni identifikator na ovom ure\u0111aju kako bi upoznao va\u0161 ukus i pobolj\u0161ao preporuke. Mo\u017Eete ga koristiti i bez prihvatanja.",consentAccept:"Prihvati",consentDecline:"Odbij",consentPrivacy:"Politika privatnosti"},el={lang:"de",welcomeMessage:"Was m\xF6chten Sie essen? Beschreiben Sie Ihr Gericht und ich empfehle Ihnen den perfekten Wein dazu.",noResultsFound:"Keine Ergebnisse gefunden.",somethingWentWrong:"Entschuldigung, etwas ist schief gelaufen.",chatButton1:"Finde Dein Pairing",chatButton2:"Wein jetzt w\xE4hlen",chatButton3:"Erhalte Weinberatung",chatTitle:"Wein & Speisen \u{1F377}",chatSubtitle:"Beschreiben Sie Ihr Gericht und erhalten Sie in 30 Sekunden eine Empfehlung",inputPlaceholder:"z.B., Thunfischsalat",sendButton:"Kombinieren",poweredBy:"Unterst\xFCtzt von",price:"Preis",region:"Region",type:"Typ",reason:"Anregung",moreInfo:"Mehr Info",tryAgain:"Nochmal versuchen",similarWines:"\xC4hnliche Weine",byTheGlass:"Glasweise",winePairingIntro:"F\xFCr diesen Wein gibt es folgende Essensvorschl\xE4ge:",askForDinner:"Was m\xF6chten Sie zum Abendessen essen?",clearChatButton:"Chat l\xF6schen",widgetTitle:"FINDEN SIE IHREN PERFEKTEN WEIN",widgetSubtitle:"Teilen Sie alles, was Ihnen in den Sinn kommt\u2014Ihre Mahlzeit, Stimmung, Ihr Budget oder Anlass\u2014und unser KI-Sommelier empfiehlt Ihnen in Sekunden den perfekten Wein",placeholderSuggestions:["Wein f\xFCr Pasta","Perfekt zu Fisch","Empfohlen f\xFCr eine Party"],searchPlaceholder:"Geben Sie ein Stichwort oder eine Beschreibung ein","wineDetails.price":"Preis","wineDetails.region":"Region","wineDetails.type":"Typ","wineDetails.moreInfo":"Mehr Info","wineDetails.reason":"Grund","wineDetails.code":"Code","wineDetails.buy":"Kaufen",searchButton:"Suche",priceRange:"Preisspanne",wineColor:"Weinfarbe",intensity:"Intensit\xE4t",red:"Rot",white:"Wei\xDF",rose:"Ros\xE9",light:"Leicht",medium:"Mittel",full:"Voll",barTitle:"Bar-Auswahl",barSubtitle:"W\xE4hlen Sie Ihre Gerichte und klicken Sie auf 'Senden'",barSendButton:"Senden",barResetButton:"Zur\xFCcksetzen",barName:"Name der Bar",headerLine1:"Teilen Sie alles, was Ihnen durch den Kopf geht \u2014",headerLine2:"\u2014 und erhalten Sie in Sekundenschnelle Empfehlungen f\xFCr den perfekten Wein",headerMeal:"Mahlzeit",headerMood:"Stimmung",headerBudget:"Budget",headerOccasion:"Anlass",headerOr:"oder",errorMessage:"Etwas ist schief gelaufen. Bitte versuchen Sie es sp\xE4ter erneut.",noResultsMessage:"Keine Ergebnisse f\xFCr Ihre Suche gefunden. Bitte versuchen Sie es mit einer anderen Anfrage.",ai_sommelier:"AI sommelier",consentText:"Der Weinassistent speichert eine anonyme Kennung auf diesem Ger\xE4t, um Ihren Geschmack kennenzulernen und Empfehlungen zu verbessern. Sie k\xF6nnen ihn auch ohne Zustimmung nutzen.",consentAccept:"Akzeptieren",consentDecline:"Ablehnen",consentPrivacy:"Datenschutzerkl\xE4rung"},tl={lang:"ukr",welcomeMessage:"\u0429\u043E \u0432\u0438 \u0437\u0431\u0438\u0440\u0430\u0454\u0442\u0435\u0441\u044C \u0457\u0441\u0442\u0438? \u041E\u043F\u0438\u0448\u0456\u0442\u044C \u0441\u0432\u043E\u044E \u0441\u0442\u0440\u0430\u0432\u0443, \u0456 \u044F \u043F\u043E\u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u044E \u0432\u0430\u043C \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u0435 \u0432\u0438\u043D\u043E.",noResultsFound:"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E.",somethingWentWrong:"\u0412\u0438\u0431\u0430\u0447\u0442\u0435, \u0449\u043E\u0441\u044C \u043F\u0456\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A.",chatButton1:"\u0417\u043D\u0430\u0439\u0442\u0438 \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u0435 \u043F\u043E\u0454\u0434\u043D\u0430\u043D\u043D\u044F",chatButton2:"\u041F\u0456\u0434\u0456\u0431\u0440\u0430\u0442\u0438 \u0432\u0438\u043D\u043E",chatButton3:"\u041E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u043F\u043E\u0440\u0430\u0434\u0443",chatTitle:"\u0421\u043E\u043C\u0435\u043B\u044C\u0454-\u043F\u043E\u043C\u0456\u0447\u043D\u0438\u043A \u{1F377}",chatSubtitle:"\u041E\u043F\u0438\u0448\u0456\u0442\u044C \u0441\u0432\u043E\u044E \u0441\u0442\u0440\u0430\u0432\u0443 \u0456 \u043E\u0442\u0440\u0438\u043C\u0430\u0439\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u044E \u0437\u0430 30 \u0441\u0435\u043A\u0443\u043D\u0434",inputPlaceholder:"\u043D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434, \u0422\u0443\u043D\u0435\u0446\u044C \u0456\u0437 \u0441\u0430\u043B\u0430\u0442\u043E\u043C",sendButton:"\u041F\u0456\u0434\u0456\u0431\u0440\u0430\u0442\u0438",poweredBy:"\u0420\u043E\u0437\u0440\u043E\u0431\u043B\u0435\u043D\u043E \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0456",price:"\u0426\u0456\u043D\u0430",region:"\u0420\u0435\u0433\u0456\u043E\u043D",type:"\u0422\u0438\u043F",reason:"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u044F",moreInfo:"\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435",tryAgain:"\u0421\u043F\u0440\u043E\u0431\u0443\u0432\u0430\u0442\u0438 \u0449\u0435",similarWines:"\u0421\u0445\u043E\u0436\u0456 \u0432\u0438\u043D\u0430",byTheGlass:"\u041D\u0430 \u043A\u0435\u043B\u0438\u0445",winePairingIntro:"\u0414\u043E \u0446\u044C\u043E\u0433\u043E \u0432\u0438\u043D\u0430 \u043F\u0456\u0434\u0445\u043E\u0434\u044F\u0442\u044C \u0442\u0430\u043A\u0456 \u0441\u0442\u0440\u0430\u0432\u0438:",askForDinner:"\u0429\u043E \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435 \u043D\u0430 \u0432\u0435\u0447\u0435\u0440\u044E?",clearChatButton:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0447\u0430\u0442",widgetTitle:"\u0417\u041D\u0410\u0419\u0414\u0406\u0422\u042C \u0406\u0414\u0415\u0410\u041B\u042C\u041D\u0415 \u0412\u0418\u041D\u041E",widgetSubtitle:"\u041F\u043E\u0434\u0456\u043B\u0456\u0442\u044C\u0441\u044F \u0442\u0438\u043C, \u0449\u043E \u0443 \u0432\u0430\u0441 \u043D\u0430 \u0434\u0443\u043C\u0446\u0456\u2014\u0457\u0436\u0430, \u043D\u0430\u0441\u0442\u0440\u0456\u0439, \u0431\u044E\u0434\u0436\u0435\u0442 \u0447\u0438 \u043F\u043E\u0434\u0456\u044F\u2014\u0456 \u043D\u0430\u0448 AI-\u0441\u043E\u043C\u0435\u043B\u044C\u0454 \u043F\u043E\u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0454 \u0432\u0430\u043C \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u0435 \u0432\u0438\u043D\u043E \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0438",searchPlaceholder:"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043B\u044E\u0447\u043E\u0432\u0435 \u0441\u043B\u043E\u0432\u043E \u0430\u0431\u043E \u043E\u043F\u0438\u0441","wineDetails.reason":"\u041F\u0440\u0438\u0447\u0438\u043D\u0430","wineDetails.price":"\u0426\u0456\u043D\u0430","wineDetails.region":"\u0420\u0435\u0433\u0456\u043E\u043D","wineDetails.type":"\u0422\u0438\u043F","wineDetails.moreInfo":"\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435","wineDetails.code":"\u041A\u043E\u0434","wineDetails.buy":"\u041A\u0443\u043F\u0438\u0442\u0438",searchButton:"\u041F\u043E\u0448\u0443\u043A",priceRange:"\u0414\u0456\u0430\u043F\u0430\u0437\u043E\u043D \u0446\u0456\u043D",wineColor:"\u041A\u043E\u043B\u0456\u0440 \u0432\u0438\u043D\u0430",intensity:"\u0406\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u0456\u0441\u0442\u044C",red:"\u0427\u0435\u0440\u0432\u043E\u043D\u0435",white:"\u0411\u0456\u043B\u0435",rose:"\u0420\u043E\u0436\u0435\u0432\u0435",light:"\u041B\u0435\u0433\u043A\u0435",medium:"\u0421\u0435\u0440\u0435\u0434\u043D\u0454",full:"\u041F\u043E\u0432\u043D\u0435",barTitle:"\u0417\u0430\u043A\u0443\u0441\u043A\u0438 \u0434\u043E \u0432\u0438\u043D\u0430",barSubtitle:"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0441\u0442\u0440\u0430\u0432\u0438 \u043D\u0438\u0436\u0447\u0435 \u0442\u0430 \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \xAB\u041D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438\xBB",barSendButton:"\u041D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438",barResetButton:"\u0421\u043A\u0438\u043D\u0443\u0442\u0438",barName:"\u041D\u0430\u0437\u0432\u0430 \u0431\u0430\u0440\u0443",barNotesPlaceholder:"\u0414\u043E\u0434\u0430\u0439\u0442\u0435 \u0432\u0430\u0448\u0456 \u043F\u043E\u0431\u0430\u0436\u0430\u043D\u043D\u044F \u0442\u0443\u0442...",placeholderSuggestions:["\u0412\u0438\u043D\u043E \u0434\u043E \u043F\u0430\u0441\u0442\u0438","\u0406\u0434\u0435\u0430\u043B\u044C\u043D\u043E \u0434\u043E \u0440\u0438\u0431\u0438","\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0454\u043C\u043E \u0434\u043B\u044F \u0432\u0435\u0447\u0456\u0440\u043A\u0438"],headerLine1:"\u041F\u043E\u0434\u0456\u043B\u0456\u0442\u044C\u0441\u044F \u0431\u0443\u0434\u044C-\u044F\u043A\u0438\u043C\u0438 \u0432\u0430\u0448\u0438\u043C\u0438 \u0434\u0443\u043C\u043A\u0430\u043C\u0438 \u2014",headerLine2:"\u2014 \u0456 \u043E\u0442\u0440\u0438\u043C\u0430\u0439\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u0457 \u0449\u043E\u0434\u043E \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0432\u0438\u043D\u0430 \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0438",headerMeal:"\u0441\u0442\u0440\u0430\u0432\u0430",headerMood:"\u043D\u0430\u0441\u0442\u0440\u0456\u0439",headerBudget:"\u0431\u044E\u0434\u0436\u0435\u0442",headerOccasion:"\u043F\u043E\u0434\u0456\u044F",headerOr:"\u0430\u0431\u043E",errorMessage:"\u0429\u043E\u0441\u044C \u043F\u0456\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A. \u0411\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0441\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u0456\u0437\u043D\u0456\u0448\u0435.",noResultsMessage:"\u0417\u0430 \u0432\u0430\u0448\u0438\u043C \u0437\u0430\u043F\u0438\u0442\u043E\u043C \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0456\u043D\u0448\u0438\u0439 \u0437\u0430\u043F\u0438\u0442.",ai_sommelier:"AI sommelier",consentText:"\u0412\u0438\u043D\u043D\u0438\u0439 \u043F\u043E\u043C\u0456\u0447\u043D\u0438\u043A \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0454 \u043D\u0430 \u0446\u044C\u043E\u043C\u0443 \u043F\u0440\u0438\u0441\u0442\u0440\u043E\u0457 \u0430\u043D\u043E\u043D\u0456\u043C\u043D\u0438\u0439 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440, \u0449\u043E\u0431 \u0432\u0440\u0430\u0445\u043E\u0432\u0443\u0432\u0430\u0442\u0438 \u0432\u0430\u0448 \u0441\u043C\u0430\u043A \u0456 \u043F\u043E\u043A\u0440\u0430\u0449\u0443\u0432\u0430\u0442\u0438 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u0457. \u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043C\u043E\u0436\u043D\u0430 \u0439 \u0431\u0435\u0437 \u0437\u0433\u043E\u0434\u0438.",consentAccept:"\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0438",consentDecline:"\u0412\u0456\u0434\u0445\u0438\u043B\u0438\u0442\u0438",consentPrivacy:"\u041F\u043E\u043B\u0456\u0442\u0438\u043A\u0430 \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456"},nl={lang:"ru",welcomeMessage:"\u0427\u0442\u043E \u0432\u044B \u043F\u043B\u0430\u043D\u0438\u0440\u0443\u0435\u0442\u0435 \u043F\u043E\u0435\u0441\u0442\u044C? \u041D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u0431\u043B\u044E\u0434\u043E, \u0438 \u044F \u043F\u043E\u0434\u0431\u0435\u0440\u0443 \u0438\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u0435 \u0432\u0438\u043D\u043E \u043A \u043D\u0435\u043C\u0443.",noResultsFound:"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B.",somethingWentWrong:"\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0447\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A.",chatButton1:"\u041D\u0430\u0439\u0442\u0438 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435",chatButton2:"\u041F\u043E\u0434\u043E\u0431\u0440\u0430\u0442\u044C \u0432\u0438\u043D\u043E",chatButton3:"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0441\u043E\u0432\u0435\u0442",chatTitle:"\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u043F\u043E \u043F\u043E\u0434\u0431\u043E\u0440\u0443 \u0432\u0438\u043D\u0430 \u{1F377}",chatSubtitle:"\u041E\u043F\u0438\u0448\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u0431\u043B\u044E\u0434\u043E \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u044E \u0437\u0430 30 \u0441\u0435\u043A\u0443\u043D\u0434",inputPlaceholder:"\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0422\u0443\u043D\u0435\u0446 \u0441 \u0441\u0430\u043B\u0430\u0442\u043E\u043C",sendButton:"\u041F\u043E\u0434\u043E\u0431\u0440\u0430\u0442\u044C",poweredBy:"Powered by",price:"\u0426\u0435\u043D\u0430",region:"\u0420\u0435\u0433\u0438\u043E\u043D",type:"\u0422\u0438\u043F",reason:"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u044F",moreInfo:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435",tryAgain:"\u041F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0435\u0449\u0451",similarWines:"\u041F\u043E\u0445\u043E\u0436\u0438\u0435 \u0432\u0438\u043D\u0430",byTheGlass:"\u041F\u043E \u0431\u043E\u043A\u0430\u043B\u0430\u043C",winePairingIntro:"\u041A \u044D\u0442\u043E\u043C\u0443 \u0432\u0438\u043D\u0443 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0442 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0431\u043B\u044E\u0434\u0430:",askForDinner:"\u0427\u0442\u043E \u0431\u044B \u0432\u044B \u0445\u043E\u0442\u0435\u043B\u0438 \u043D\u0430 \u0443\u0436\u0438\u043D?",clearChatButton:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0447\u0430\u0442",widgetTitle:"\u041D\u0410\u0419\u0414\u0418\u0422\u042C \u0418\u0414\u0415\u0410\u041B\u042C\u041D\u041E\u0415 \u0412\u0418\u041D\u041E",widgetSubtitle:"\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u0435\u0441\u044C \u0432\u0430\u0448\u0438\u043C\u0438 \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0435\u043D\u0438\u044F\u043C\u0438 \u2014 \u0431\u043B\u044E\u0434\u043E\u043C, \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0438\u0435\u043C, \u0431\u044E\u0434\u0436\u0435\u0442\u043E\u043C \u0438\u043B\u0438 \u0441\u043B\u0443\u0447\u0430\u0435\u043C \u2014 \u0438 \u043D\u0430\u0448 AI-\u0441\u043E\u043C\u0435\u043B\u044C\u0435 \u043F\u043E\u0434\u0431\u0435\u0440\u0451\u0442 \u0438\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u0435 \u0432\u0438\u043D\u043E \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u044B",searchPlaceholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043B\u044E\u0447\u0435\u0432\u043E\u0435 \u0441\u043B\u043E\u0432\u043E \u0438\u043B\u0438 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435","wineDetails.price":"\u0426\u0435\u043D\u0430","wineDetails.region":"\u0420\u0435\u0433\u0438\u043E\u043D","wineDetails.type":"\u0422\u0438\u043F","wineDetails.moreInfo":"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435","wineDetails.reason":"\u041F\u0440\u0438\u0447\u0438\u043D\u0430","wineDetails.code":"\u041A\u043E\u0434","wineDetails.buy":"\u041A\u0443\u043F\u0438\u0442\u044C",searchButton:"\u041F\u043E\u0438\u0441\u043A",priceRange:"\u0414\u0438\u0430\u043F\u0430\u0437\u043E\u043D \u0446\u0435\u043D",wineColor:"\u0426\u0432\u0435\u0442 \u0432\u0438\u043D\u0430",intensity:"\u0418\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u043E\u0441\u0442\u044C",red:"\u041A\u0440\u0430\u0441\u043D\u043E\u0435",white:"\u0411\u0435\u043B\u043E\u0435",rose:"\u0420\u043E\u0437\u043E\u0432\u043E\u0435",light:"\u041B\u0451\u0433\u043A\u043E\u0435",medium:"\u0421\u0440\u0435\u0434\u043D\u0435\u0435",full:"\u041F\u043E\u043B\u043D\u043E\u0435",barTitle:"\u0417\u0430\u043A\u0443\u0441\u043A\u0438 \u043A \u0432\u0438\u043D\u0443",barSubtitle:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0431\u043B\u044E\u0434\u0430 \u043D\u0438\u0436\u0435 \u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 '\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C'",barSendButton:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C",barResetButton:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C",barName:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0431\u0430\u0440\u0430",barNotesPlaceholder:"\u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0432\u0430\u0448\u0438 \u043F\u043E\u0436\u0435\u043B\u0430\u043D\u0438\u044F \u0437\u0434\u0435\u0441\u044C...",placeholderSuggestions:["\u0412\u0438\u043D\u043E \u0434\u043B\u044F \u043F\u0430\u0441\u0442\u044B","\u0418\u0434\u0435\u0430\u043B\u044C\u043D\u043E \u043A \u0440\u044B\u0431\u0435","\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C \u0434\u043B\u044F \u0432\u0435\u0447\u0435\u0440\u0438\u043D\u043A\u0438"],headerLine1:"\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u0435\u0441\u044C \u043B\u044E\u0431\u044B\u043C\u0438 \u0432\u0430\u0448\u0438\u043C\u0438 \u043C\u044B\u0441\u043B\u044F\u043C\u0438 \u2014",headerLine2:"\u2014 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438 \u043F\u043E \u0438\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u043C\u0443 \u0432\u0438\u043D\u0443 \u0437\u0430 \u0441\u0447\u0438\u0442\u0430\u043D\u043D\u044B\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u044B",headerMeal:"\u0431\u043B\u044E\u0434\u043E",headerMood:"\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0438\u0435",headerBudget:"\u0431\u044E\u0434\u0436\u0435\u0442",headerOccasion:"\u0441\u043B\u0443\u0447\u0430\u0439",headerOr:"\u0438\u043B\u0438",errorMessage:"\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.",noResultsMessage:"\u041F\u043E \u0432\u0430\u0448\u0435\u043C\u0443 \u0437\u0430\u043F\u0440\u043E\u0441\u0443 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u0437\u0430\u043F\u0440\u043E\u0441.",ai_sommelier:"AI sommelier",consentText:"\u0412\u0438\u043D\u043D\u044B\u0439 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A \u0441\u043E\u0445\u0440\u0430\u043D\u044F\u0435\u0442 \u043D\u0430 \u044D\u0442\u043E\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435 \u0430\u043D\u043E\u043D\u0438\u043C\u043D\u044B\u0439 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440, \u0447\u0442\u043E\u0431\u044B \u0443\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u0432\u0430\u0448 \u0432\u043A\u0443\u0441 \u0438 \u0443\u043B\u0443\u0447\u0448\u0430\u0442\u044C \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438. \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u043C\u043E\u0436\u043D\u043E \u0438 \u0431\u0435\u0437 \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u044F.",consentAccept:"\u041F\u0440\u0438\u043D\u044F\u0442\u044C",consentDecline:"\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C",consentPrivacy:"\u041F\u043E\u043B\u0438\u0442\u0438\u043A\u0430 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438"},rl={lang:"kk",welcomeMessage:"\u0421\u0456\u0437 \u043D\u0435 \u0436\u0435\u0433\u0456\u04A3\u0456\u0437 \u043A\u0435\u043B\u0435\u0434\u0456? \u0422\u0430\u0493\u0430\u043C\u044B\u04A3\u044B\u0437\u0434\u044B \u0441\u0438\u043F\u0430\u0442\u0442\u0430\u04A3\u044B\u0437, \u043C\u0435\u043D \u043E\u0493\u0430\u043D \u043A\u0435\u0440\u0435\u043C\u0435\u0442 \u0448\u0430\u0440\u0430\u043F \u04B1\u0441\u044B\u043D\u0430\u043C\u044B\u043D.",noResultsFound:"\u041D\u04D9\u0442\u0438\u0436\u0435\u043B\u0435\u0440 \u0442\u0430\u0431\u044B\u043B\u043C\u0430\u0434\u044B.",somethingWentWrong:"\u041A\u0435\u0448\u0456\u0440\u0456\u04A3\u0456\u0437, \u0431\u0456\u0440\u0434\u0435\u04A3\u0435 \u0434\u04B1\u0440\u044B\u0441 \u0431\u043E\u043B\u043C\u0430\u0434\u044B.",chatButton1:"\u0421\u04D9\u0439\u043A\u0435\u0441\u0442\u0456\u043A \u0442\u0430\u0431\u0443",chatButton2:"\u0428\u0430\u0440\u0430\u043F \u0442\u0430\u04A3\u0434\u0430\u0443",chatButton3:"\u041A\u0435\u04A3\u0435\u0441 \u0430\u043B\u0443",chatTitle:"\u0428\u0430\u0440\u0430\u043F \u0442\u0430\u04A3\u0434\u0430\u0443\u0448\u044B \u043A\u04E9\u043C\u0435\u043A\u0448\u0456 \u{1F377}",chatSubtitle:"\u0422\u0430\u0493\u0430\u043C\u044B\u04A3\u044B\u0437\u0434\u044B \u0441\u0438\u043F\u0430\u0442\u0442\u0430\u04A3\u044B\u0437 \u2014 30 \u0441\u0435\u043A\u0443\u043D\u0434\u0442\u0430 \u04B1\u0441\u044B\u043D\u044B\u0441 \u0430\u043B\u044B\u04A3\u044B\u0437",inputPlaceholder:"\u043C\u044B\u0441\u0430\u043B\u044B, \u0442\u0443\u043D\u0435\u0446 \u0441\u0430\u043B\u0430\u0442\u044B\u043C\u0435\u043D",sendButton:"\u0422\u0430\u04A3\u0434\u0430\u0443",poweredBy:"Powered by",price:"\u0411\u0430\u0493\u0430\u0441\u044B",region:"\u04E8\u04A3\u0456\u0440",type:"\u0422\u04AF\u0440\u0456",reason:"\u04B0\u0441\u044B\u043D\u044B\u0441",moreInfo:"\u0422\u043E\u043B\u044B\u0493\u044B\u0440\u0430\u049B",tryAgain:"\u049A\u0430\u0439\u0442\u0430 \u043A\u04E9\u0440\u0443",similarWines:"\u04B0\u049B\u0441\u0430\u0441 \u0448\u0430\u0440\u0430\u043F\u0442\u0430\u0440",byTheGlass:"\u0411\u043E\u043A\u0430\u043B\u043C\u0435\u043D",winePairingIntro:"\u0411\u04B1\u043B \u0448\u0430\u0440\u0430\u043F\u049B\u0430 \u043A\u0435\u043B\u0435\u0441\u0456 \u0442\u0430\u0493\u0430\u043C\u0434\u0430\u0440 \u0441\u04D9\u0439\u043A\u0435\u0441 \u043A\u0435\u043B\u0435\u0434\u0456:",askForDinner:"\u041A\u0435\u0448\u043A\u0456 \u0430\u0441\u049B\u0430 \u043D\u0435 \u049B\u0430\u043B\u0430\u0439\u0441\u044B\u0437?",clearChatButton:"\u0427\u0430\u0442\u0442\u044B \u0442\u0430\u0437\u0430\u043B\u0430\u0443",widgetTitle:"\u041A\u0415\u0420\u0415\u041C\u0415\u0422 \u0428\u0410\u0420\u0410\u041F\u0422\u042B \u0422\u0410\u0411\u042B\u04A2\u042B\u0417",widgetSubtitle:"\u0422\u0430\u04A3\u0434\u0430\u0443\u043B\u0430\u0440\u044B\u04A3\u044B\u0437\u0434\u044B \u0431\u04E9\u043B\u0456\u0441\u0456\u04A3\u0456\u0437 \u2014 \u0442\u0430\u0493\u0430\u043C, \u043A\u04E9\u04A3\u0456\u043B-\u043A\u04AF\u0439, \u0431\u044E\u0434\u0436\u0435\u0442 \u043D\u0435\u043C\u0435\u0441\u0435 \u0436\u0430\u0493\u0434\u0430\u0439 \u2014 \u0436\u04D9\u043D\u0435 \u0431\u0456\u0437\u0434\u0456\u04A3 AI-\u0441\u043E\u043C\u0435\u043B\u044C\u0435 \u0441\u0456\u0437\u0433\u0435 \u0431\u0456\u0440\u043D\u0435\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u0442\u0430 \u0448\u0430\u0440\u0430\u043F \u04B1\u0441\u044B\u043D\u0430\u0434\u044B",searchPlaceholder:"\u041A\u0456\u043B\u0442 \u0441\u04E9\u0437\u0434\u0456 \u043D\u0435\u043C\u0435\u0441\u0435 \u0441\u0438\u043F\u0430\u0442\u0442\u0430\u043C\u0430\u043D\u044B \u0435\u043D\u0433\u0456\u0437\u0456\u04A3\u0456\u0437","wineDetails.price":"\u0411\u0430\u0493\u0430\u0441\u044B","wineDetails.region":"\u04E8\u04A3\u0456\u0440","wineDetails.type":"\u0422\u04AF\u0440\u0456","wineDetails.moreInfo":"\u0422\u043E\u043B\u044B\u0493\u044B\u0440\u0430\u049B","wineDetails.reason":"\u0421\u0435\u0431\u0435\u0431\u0456","wineDetails.code":"\u041A\u043E\u0434","wineDetails.buy":"\u0421\u0430\u0442\u044B\u043F \u0430\u043B\u0443",searchButton:"\u0406\u0437\u0434\u0435\u0443",priceRange:"\u0411\u0430\u0493\u0430 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u044B",wineColor:"\u0428\u0430\u0440\u0430\u043F \u0442\u04AF\u0441\u0456",intensity:"\u049A\u0430\u043D\u044B\u049B\u0442\u044B\u043B\u044B\u049B",red:"\u049A\u044B\u0437\u044B\u043B",white:"\u0410\u049B",rose:"\u0420\u043E\u0437\u0430\u043B\u044B\u049B",light:"\u0416\u0435\u04A3\u0456\u043B",medium:"\u041E\u0440\u0442\u0430\u0448\u0430",full:"\u0422\u043E\u043B\u044B\u049B",barTitle:"\u0428\u0430\u0440\u0430\u043F\u049B\u0430 \u0430\u0440\u043D\u0430\u043B\u0493\u0430\u043D \u0442\u0456\u0441\u043A\u0435\u0431\u0430\u0441\u0430\u0440\u043B\u0430\u0440",barSubtitle:"\u0422\u04E9\u043C\u0435\u043D\u0434\u0435\u0433\u0456 \u0442\u0430\u0493\u0430\u043C\u0434\u0430\u0440\u0434\u044B \u0442\u0430\u04A3\u0434\u0430\u04A3\u044B\u0437 \u0436\u04D9\u043D\u0435 '\u0416\u0456\u0431\u0435\u0440\u0443' \u0431\u0430\u0442\u044B\u0440\u043C\u0430\u0441\u044B\u043D \u0431\u0430\u0441\u044B\u04A3\u044B\u0437",barSendButton:"\u0416\u0456\u0431\u0435\u0440\u0443",barResetButton:"\u049A\u0430\u043B\u043F\u044B\u043D\u0430 \u043A\u0435\u043B\u0442\u0456\u0440\u0443",barName:"\u0411\u0430\u0440 \u0430\u0442\u0430\u0443\u044B",barNotesPlaceholder:"\u041C\u04B1\u043D\u0434\u0430 \u04E9\u0437 \u0442\u0456\u043B\u0435\u043A\u0442\u0435\u0440\u0456\u04A3\u0456\u0437\u0434\u0456 \u0436\u0430\u0437\u044B\u04A3\u044B\u0437...",placeholderSuggestions:["\u041F\u0430\u0441\u0442\u0430\u0493\u0430 \u0430\u0440\u043D\u0430\u043B\u0493\u0430\u043D \u0448\u0430\u0440\u0430\u043F","\u0411\u0430\u043B\u044B\u049B\u049B\u0430 \u0442\u0430\u043C\u0430\u0448\u0430 \u04AF\u0439\u043B\u0435\u0441\u0435\u0434\u0456","\u041A\u0435\u0448\u043A\u0435 \u04B1\u0441\u044B\u043D\u0443\u0493\u0430 \u0431\u043E\u043B\u0430\u0434\u044B"],headerLine1:"\u041E\u0439\u043B\u0430\u0440\u044B\u04A3\u044B\u0437\u0431\u0435\u043D \u0431\u04E9\u043B\u0456\u0441\u0456\u04A3\u0456\u0437 \u2014",headerLine2:"\u2014 \u0436\u04D9\u043D\u0435 \u0431\u0456\u0440\u043D\u0435\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u0442\u0430 \u043C\u0456\u043D\u0441\u0456\u0437 \u0448\u0430\u0440\u0430\u043F \u04B1\u0441\u044B\u043D\u044B\u0441\u044B\u043D \u0430\u043B\u044B\u04A3\u044B\u0437",headerMeal:"\u0442\u0430\u0493\u0430\u043C",headerMood:"\u043A\u04E9\u04A3\u0456\u043B-\u043A\u04AF\u0439",headerBudget:"\u0431\u044E\u0434\u0436\u0435\u0442",headerOccasion:"\u0436\u0430\u0493\u0434\u0430\u0439",headerOr:"\u043D\u0435\u043C\u0435\u0441\u0435",errorMessage:"\u0411\u0456\u0440\u0434\u0435\u04A3\u0435 \u0434\u04B1\u0440\u044B\u0441 \u0431\u043E\u043B\u043C\u0430\u0434\u044B. \u041A\u0435\u0439\u0456\u043D\u0456\u0440\u0435\u043A \u049B\u0430\u0439\u0442\u0430 \u043A\u04E9\u0440\u0456\u04A3\u0456\u0437.",noResultsMessage:"\u0406\u0437\u0434\u0435\u0443\u0456\u04A3\u0456\u0437\u0433\u0435 \u0441\u04D9\u0439\u043A\u0435\u0441 \u043D\u04D9\u0442\u0438\u0436\u0435 \u0442\u0430\u0431\u044B\u043B\u043C\u0430\u0434\u044B. \u0411\u0430\u0441\u049B\u0430 \u0441\u04B1\u0440\u0430\u0443 \u049B\u043E\u043B\u0434\u0430\u043D\u044B\u043F \u043A\u04E9\u0440\u0456\u04A3\u0456\u0437.",ai_sommelier:"AI sommelier",consentText:"\u0428\u0430\u0440\u0430\u043F \u043A\u04E9\u043C\u0435\u043A\u0448\u0456\u0441\u0456 \u0441\u0456\u0437\u0434\u0456\u04A3 \u0442\u0430\u043B\u0493\u0430\u043C\u044B\u04A3\u044B\u0437\u0434\u044B \u0435\u0441\u043A\u0435\u0440\u0456\u043F, \u04B1\u0441\u044B\u043D\u044B\u0441\u0442\u0430\u0440\u0434\u044B \u0436\u0430\u049B\u0441\u0430\u0440\u0442\u0443 \u04AF\u0448\u0456\u043D \u043E\u0441\u044B \u049B\u04B1\u0440\u044B\u043B\u0493\u044B\u0434\u0430 \u0430\u043D\u043E\u043D\u0438\u043C\u0434\u0456 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0441\u0430\u049B\u0442\u0430\u0439\u0434\u044B. \u041A\u0435\u043B\u0456\u0441\u0456\u043C\u0441\u0456\u0437 \u0434\u0435 \u043F\u0430\u0439\u0434\u0430\u043B\u0430\u043D\u0430 \u0430\u043B\u0430\u0441\u044B\u0437.",consentAccept:"\u049A\u0430\u0431\u044B\u043B\u0434\u0430\u0443",consentDecline:"\u0411\u0430\u0441 \u0442\u0430\u0440\u0442\u0443",consentPrivacy:"\u049A\u04B1\u043F\u0438\u044F\u043B\u044B\u043B\u044B\u049B \u0441\u0430\u044F\u0441\u0430\u0442\u044B"},il={lang:"pt",welcomeMessage:"O que voc\xEA planeja comer? Descreva seu prato e eu recomendarei a harmoniza\xE7\xE3o perfeita.",noResultsFound:"Nenhum resultado encontrado.",somethingWentWrong:"Desculpe, algo deu errado.",chatButton1:"Encontre sua harmoniza\xE7\xE3o",chatButton2:"Harmonizar vinho agora",chatButton3:"Receber conselho de vinho",chatTitle:"Assistente de Harmoniza\xE7\xE3o de Vinhos \u{1F377}",chatSubtitle:"Descreva sua refei\xE7\xE3o e receba uma recomenda\xE7\xE3o em 30 segundos",inputPlaceholder:"ex., Salada de atum",sendButton:"Harmonizar",poweredBy:"Desenvolvido por",price:"Pre\xE7o",region:"Regi\xE3o",type:"Tipo",reason:"Sugest\xE3o",moreInfo:"Mais informa\xE7\xF5es",tryAgain:"Tentar de novo",similarWines:"Vinhos semelhantes",byTheGlass:"Por ta\xE7a",winePairingIntro:"Para este vinho, aqui est\xE3o algumas sugest\xF5es de pratos:",askForDinner:"O que voc\xEA gostaria de jantar?",clearChatButton:"Limpar chat",widgetTitle:"ENCONTRE SEU VINHO PERFEITO",widgetSubtitle:"Compartilhe o que tiver em mente \u2014 sua refei\xE7\xE3o, humor, or\xE7amento ou ocasi\xE3o \u2014 e nosso sommelier de IA recomendar\xE1 o vinho perfeito em segundos",searchPlaceholder:"Digite uma palavra-chave ou descri\xE7\xE3o","wineDetails.reason":"Motivo","wineDetails.price":"Pre\xE7o","wineDetails.region":"Regi\xE3o","wineDetails.type":"Tipo","wineDetails.moreInfo":"Mais informa\xE7\xF5es","wineDetails.code":"C\xF3digo","wineDetails.buy":"Comprar",searchButton:"Pesquisar",priceRange:"Faixa de pre\xE7o",wineColor:"Cor do vinho",intensity:"Intensidade",red:"Tinto",white:"Branco",rose:"Ros\xE9",light:"Leve",medium:"M\xE9dio",full:"Encorpado",barTitle:"Pratos do bar",barSubtitle:"Selecione os pratos abaixo e clique em 'Enviar'",barSendButton:"Enviar",barResetButton:"Resetar",barName:"Nome do bar",barNotesPlaceholder:"Adicione seus desejos aqui...",placeholderSuggestions:["Vinho para massa","Perfeito com peixe","Recomendado para uma festa"],headerLine1:"Compartilhe o que tiver em mente \u2014",headerLine2:"\u2014 e receba recomenda\xE7\xF5es do vinho perfeito em segundos",headerMeal:"refei\xE7\xE3o",headerMood:"humor",headerBudget:"or\xE7amento",headerOccasion:"ocasi\xE3o",headerOr:"ou",errorMessage:"Algo deu errado. Por favor, tente novamente mais tarde.",noResultsMessage:"Nenhum resultado encontrado para sua pesquisa. Por favor, tente uma consulta diferente.",ai_sommelier:"AI sommelier",consentText:"O assistente de vinhos guarda um identificador an\xF3nimo neste dispositivo para conhecer o seu gosto e melhorar as recomenda\xE7\xF5es. Pode us\xE1-lo sem aceitar.",consentAccept:"Aceitar",consentDecline:"Recusar",consentPrivacy:"Pol\xEDtica de privacidade"},ol={fr:Qs,es:Zs,en:Js,sr:Xs,de:el,ukr:tl,ru:nl,kk:rl,pt:il};function al(e){return{id:String(e.id),lang:e.lang,available_languages:e.available_languages?e.available_languages:[e.lang],open_ai_key:e.open_ai_key??null,currency:e.currency,title:e.title,requires_cookie_consent:e.requires_cookie_consent===!0}}const sl={0:{logoUrl:null,brandColor:"#7B2BEB"},29:{logoUrl:"https://czvgkhagwvmknscoerfy.supabase.co/storage/v1/object/public/static-media/plou_logo.jpg",brandColor:"#e6c6bb"},25:{logoUrl:null,brandColor:"#000000",wineaterColor:"#000000",buttonUppercase:!0,customCss:`
1
+ var Zo=Object.defineProperty,fi=e=>{throw TypeError(e)},Jo=(e,t,n)=>t in e?Zo(e,t,{enumerable:!0,configurable:!0,writable:!0,value:n}):e[t]=n,ut=(e,t,n)=>Jo(e,typeof t!="symbol"?t+"":t,n),Sr=(e,t,n)=>t.has(e)||fi("Cannot "+n),h=(e,t,n)=>(Sr(e,t,"read from private field"),n?n.call(e):t.get(e)),F=(e,t,n)=>t.has(e)?fi("Cannot add the same private member more than once"):t instanceof WeakSet?t.add(e):t.set(e,n),j=(e,t,n,r)=>(Sr(e,t,"write to private field"),r?r.call(e,n):t.set(e,n),n),Y=(e,t,n)=>(Sr(e,t,"access private method"),n);const Qo="5";var vi;typeof window<"u"&&((vi=window.__svelte??(window.__svelte={})).v??(vi.v=new Set)).add(Qo);const gi=1,wi=2,mi=4,Xo=8,ea=16,ta=1,na=2,ra=4,ia=8,oa=16,yi=1,aa=2,we=Symbol(),sa="http://www.w3.org/1999/xhtml",la=!1;var Cr=Array.isArray,ca=Array.prototype.indexOf,Pr=Array.from,ua=Object.defineProperty,en=Object.getOwnPropertyDescriptor,da=Object.getOwnPropertyDescriptors,pa=Object.prototype,ha=Array.prototype,bi=Object.getPrototypeOf,ki=Object.isExtensible;function fa(e){for(var t=0;t<e.length;t++)e[t]()}function xi(){var e,t,n=new Promise((r,i)=>{e=r,t=i});return{promise:n,resolve:e,reject:t}}function va(e,t){if(Array.isArray(e))return e;if(!(Symbol.iterator in e))return Array.from(e);const n=[];for(const r of e)if(n.push(r),n.length===t)break;return n}const fe=2,Wr=4,Tr=8,dt=16,pt=32,zt=64,Qn=128,Ge=512,me=1024,Pe=2048,ht=4096,Me=8192,ft=16384,Dr=32768,Bt=65536,_i=1<<17,Si=1<<18,tn=1<<19,ga=1<<20,Lt=32768,Er=1<<21,Mr=1<<22,_t=1<<23,Nt=Symbol("$state"),wa=Symbol("legacy props"),ma=Symbol(""),nn=new class extends Error{constructor(){super(...arguments),ut(this,"name","StaleReactionError"),ut(this,"message","The reaction that called `getAbortSignal()` was re-run or destroyed")}};function ya(e){throw new Error("https://svelte.dev/e/lifecycle_outside_component")}function ba(){throw new Error("https://svelte.dev/e/async_derived_orphan")}function ka(e){throw new Error("https://svelte.dev/e/effect_in_teardown")}function xa(){throw new Error("https://svelte.dev/e/effect_in_unowned_derived")}function _a(e){throw new Error("https://svelte.dev/e/effect_orphan")}function Sa(){throw new Error("https://svelte.dev/e/effect_update_depth_exceeded")}function Ca(e){throw new Error("https://svelte.dev/e/props_invalid_value")}function Pa(){throw new Error("https://svelte.dev/e/state_descriptors_fixed")}function Wa(){throw new Error("https://svelte.dev/e/state_prototype_fixed")}function Ta(){throw new Error("https://svelte.dev/e/state_unsafe_mutation")}function Da(){throw new Error("https://svelte.dev/e/svelte_boundary_reset_onerror")}function Ea(){console.warn("https://svelte.dev/e/select_multiple_invalid_value")}function Ma(){console.warn("https://svelte.dev/e/svelte_boundary_reset_noop")}function Ci(e){return e===this.v}function Aa(e,t){return e!=e?t==t:e!==t||e!==null&&typeof e=="object"||typeof e=="function"}function Pi(e){return!Aa(e,this.v)}let rn=!1,Ia=!1;function Ra(){rn=!0}let le=null;function on(e){le=e}function Xe(e,t=!1,n){le={p:le,i:!1,c:null,e:null,s:e,x:null,l:rn&&!t?{s:null,u:null,$:[]}:null}}function et(e){var t=le,n=t.e;if(n!==null){t.e=null;for(var r of n)Ki(r)}return e!==void 0&&(t.x=e),t.i=!0,le=t.p,e??{}}function Tn(){return!rn||le!==null&&le.l===null}let jt=[];function Wi(){var e=jt;jt=[],fa(e)}function an(e){if(jt.length===0&&!Dn){var t=jt;queueMicrotask(()=>{t===jt&&Wi()})}jt.push(e)}function za(){for(;jt.length>0;)Wi()}function Ti(e){var t=Z;if(t===null)return G.f|=_t,e;if(t.f&Dr)sn(e,t);else{if(!(t.f&Qn))throw e;t.b.error(e)}}function sn(e,t){for(;t!==null;){if(t.f&Qn)try{t.b.error(e);return}catch(n){e=n}t=t.parent}throw e}const Xn=new Set;let J=null,er=null,ye=null,Ne=[],tr=null,Ar=!1,Dn=!1;var En,Mn,St,Ct,An,In,Rn,We,Ir,Ot,Rr,Di,Ei;const Ba=class ui{constructor(){F(this,We),ut(this,"committed",!1),ut(this,"current",new Map),ut(this,"previous",new Map),F(this,En,new Set),F(this,Mn,new Set),F(this,St,0),F(this,Ct,0),F(this,An,null),F(this,In,[]),F(this,Rn,[]),ut(this,"skipped_effects",new Set),ut(this,"is_fork",!1)}is_deferred(){return this.is_fork||h(this,Ct)>0}process(t){var n;Ne=[],er=null,this.apply();var r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const i of t)Y(this,We,Ir).call(this,i,r);this.is_fork||Y(this,We,Di).call(this),this.is_deferred()?(Y(this,We,Ot).call(this,r.effects),Y(this,We,Ot).call(this,r.render_effects),Y(this,We,Ot).call(this,r.block_effects)):(er=this,J=null,Ai(r.render_effects),Ai(r.effects),er=null,(n=h(this,An))==null||n.resolve()),ye=null}capture(t,n){this.previous.has(t)||this.previous.set(t,n),t.f&_t||(this.current.set(t,t.v),ye?.set(t,t.v))}activate(){J=this,this.apply()}deactivate(){J===this&&(J=null,ye=null)}flush(){if(this.activate(),Ne.length>0){if(Mi(),J!==null&&J!==this)return}else h(this,St)===0&&this.process([]);this.deactivate()}discard(){for(const t of h(this,Mn))t(this);h(this,Mn).clear()}increment(t){j(this,St,h(this,St)+1),t&&j(this,Ct,h(this,Ct)+1)}decrement(t){j(this,St,h(this,St)-1),t&&j(this,Ct,h(this,Ct)-1),this.revive()}revive(){for(const t of h(this,In))be(t,Pe),$t(t);for(const t of h(this,Rn))be(t,ht),$t(t);j(this,In,[]),j(this,Rn,[]),this.flush()}oncommit(t){h(this,En).add(t)}ondiscard(t){h(this,Mn).add(t)}settled(){return(h(this,An)??j(this,An,xi())).promise}static ensure(){if(J===null){const t=J=new ui;Xn.add(J),Dn||ui.enqueue(()=>{J===t&&t.flush()})}return J}static enqueue(t){an(t)}apply(){}};En=new WeakMap,Mn=new WeakMap,St=new WeakMap,Ct=new WeakMap,An=new WeakMap,In=new WeakMap,Rn=new WeakMap,We=new WeakSet,Ir=function(e,t){var n;e.f^=me;for(var r=e.first;r!==null;){var i=r.f,o=(i&(pt|zt))!==0,s=o&&(i&me)!==0,c=s||(i&Me)!==0||this.skipped_effects.has(r);if(r.f&Qn&&(n=r.b)!=null&&n.is_pending()&&(t={parent:t,effect:r,effects:[],render_effects:[],block_effects:[]}),!c&&r.fn!==null){o?r.f^=me:i&Wr?t.effects.push(r):jn(r)&&(r.f&dt&&t.block_effects.push(r),On(r));var l=r.first;if(l!==null){r=l;continue}}var d=r.parent;for(r=r.next;r===null&&d!==null;)d===t.effect&&(Y(this,We,Ot).call(this,t.effects),Y(this,We,Ot).call(this,t.render_effects),Y(this,We,Ot).call(this,t.block_effects),t=t.parent),r=d.next,d=d.parent}},Ot=function(e){for(const t of e)(t.f&Pe?h(this,In):h(this,Rn)).push(t),Y(this,We,Rr).call(this,t.deps),be(t,me)},Rr=function(e){if(e!==null)for(const t of e)!(t.f&fe)||!(t.f&Lt)||(t.f^=Lt,Y(this,We,Rr).call(this,t.deps))},Di=function(){if(h(this,Ct)===0){for(const e of h(this,En))e();h(this,En).clear()}h(this,St)===0&&Y(this,We,Ei).call(this)},Ei=function(){var e;if(Xn.size>1){this.previous.clear();var t=ye,n=!0,r={parent:null,effect:null,effects:[],render_effects:[],block_effects:[]};for(const o of Xn){if(o===this){n=!1;continue}const s=[];for(const[l,d]of this.current){if(o.current.has(l))if(n&&d!==o.current.get(l))o.current.set(l,d);else continue;s.push(l)}if(s.length===0)continue;const c=[...o.current.keys()].filter(l=>!this.current.has(l));if(c.length>0){var i=Ne;Ne=[];const l=new Set,d=new Map;for(const f of s)Ii(f,c,l,d);if(Ne.length>0){J=o,o.apply();for(const f of Ne)Y(e=o,We,Ir).call(e,f,r);o.deactivate()}Ne=i}}J=null,ye=t}this.committed=!0,Xn.delete(this)};let qt=Ba;function La(e){var t=Dn;Dn=!0;try{for(var n;;){if(za(),Ne.length===0&&(J?.flush(),Ne.length===0))return tr=null,n;Mi()}}finally{Dn=t}}function Mi(){var e=Et;Ar=!0;var t=null;try{var n=0;for(cr(!0);Ne.length>0;){var r=qt.ensure();if(n++>1e3){var i,o;Na()}r.process(Ne),Dt.clear()}}finally{Ar=!1,cr(e),tr=null}}function Na(){try{Sa()}catch(e){sn(e,tr)}}let tt=null;function Ai(e){var t=e.length;if(t!==0){for(var n=0;n<t;){var r=e[n++];if(!(r.f&(ft|Me))&&jn(r)&&(tt=new Set,On(r),r.deps===null&&r.first===null&&r.nodes_start===null&&(r.teardown===null&&r.ac===null?Qi(r):r.fn=null),tt?.size>0)){Dt.clear();for(const i of tt){if(i.f&(ft|Me))continue;const o=[i];let s=i.parent;for(;s!==null;)tt.has(s)&&(tt.delete(s),o.push(s)),s=s.parent;for(let c=o.length-1;c>=0;c--){const l=o[c];l.f&(ft|Me)||On(l)}}tt.clear()}}tt=null}}function Ii(e,t,n,r){if(!n.has(e)&&(n.add(e),e.reactions!==null))for(const i of e.reactions){const o=i.f;o&fe?Ii(i,t,n,r):o&(Mr|dt)&&!(o&Pe)&&Ri(i,t,r)&&(be(i,Pe),$t(i))}}function Ri(e,t,n){const r=n.get(e);if(r!==void 0)return r;if(e.deps!==null)for(const i of e.deps){if(t.includes(i))return!0;if(i.f&fe&&Ri(i,t,n))return n.set(i,!0),!0}return n.set(e,!1),!1}function $t(e){for(var t=tr=e;t.parent!==null;){t=t.parent;var n=t.f;if(Ar&&t===Z&&n&dt&&!(n&Si))return;if(n&(zt|pt)){if(!(n&me))return;t.f^=me}}Ne.push(t)}function ja(e){let t=0,n=Gt(0),r;return()=>{sr()&&(a(n),Ur(()=>(t===0&&(r=qn(()=>e(()=>zn(n)))),t+=1,()=>{an(()=>{t-=1,t===0&&(r?.(),r=void 0,zn(n))})})))}}var Oa=Bt|tn|Qn;function qa(e,t,n){new Fa(e,t,n)}var Ve,Ke,zi,vt,ln,gt,Ye,Ae,wt,Pt,Ut,Ft,Wt,cn,Ht,zr,je,$a,Ua,Br,nr,rr,Lr;class Fa{constructor(t,n,r){F(this,je),ut(this,"parent"),F(this,Ve,!1),F(this,Ke),F(this,zi,null),F(this,vt),F(this,ln),F(this,gt),F(this,Ye,null),F(this,Ae,null),F(this,wt,null),F(this,Pt,null),F(this,Ut,null),F(this,Ft,0),F(this,Wt,0),F(this,cn,!1),F(this,Ht,null),F(this,zr,ja(()=>(j(this,Ht,Gt(h(this,Ft))),()=>{j(this,Ht,null)}))),j(this,Ke,t),j(this,vt,n),j(this,ln,r),this.parent=Z.b,j(this,Ve,!!h(this,vt).pending),j(this,gt,lr(()=>{Z.b=this;{var i=Y(this,je,Br).call(this);try{j(this,Ye,qe(()=>r(i)))}catch(o){this.error(o)}h(this,Wt)>0?Y(this,je,rr).call(this):j(this,Ve,!1)}return()=>{var o;(o=h(this,Ut))==null||o.remove()}},Oa))}is_pending(){return h(this,Ve)||!!this.parent&&this.parent.is_pending()}has_pending_snippet(){return!!h(this,vt).pending}update_pending_count(t){Y(this,je,Lr).call(this,t),j(this,Ft,h(this,Ft)+t),h(this,Ht)&&dn(h(this,Ht),h(this,Ft))}get_effect_pending(){return h(this,zr).call(this),a(h(this,Ht))}error(t){var n=h(this,vt).onerror;let r=h(this,vt).failed;if(h(this,cn)||!n&&!r)throw t;h(this,Ye)&&(Te(h(this,Ye)),j(this,Ye,null)),h(this,Ae)&&(Te(h(this,Ae)),j(this,Ae,null)),h(this,wt)&&(Te(h(this,wt)),j(this,wt,null));var i=!1,o=!1;const s=()=>{if(i){Ma();return}i=!0,o&&Da(),qt.ensure(),j(this,Ft,0),h(this,wt)!==null&&pn(h(this,wt),()=>{j(this,wt,null)}),j(this,Ve,this.has_pending_snippet()),j(this,Ye,Y(this,je,nr).call(this,()=>(j(this,cn,!1),qe(()=>h(this,ln).call(this,h(this,Ke)))))),h(this,Wt)>0?Y(this,je,rr).call(this):j(this,Ve,!1)};var c=G;try{De(null),o=!0,n?.(t,s),o=!1}catch(l){sn(l,h(this,gt)&&h(this,gt).parent)}finally{De(c)}r&&an(()=>{j(this,wt,Y(this,je,nr).call(this,()=>{qt.ensure(),j(this,cn,!0);try{return qe(()=>{r(h(this,Ke),()=>t,()=>s)})}catch(l){return sn(l,h(this,gt).parent),null}finally{j(this,cn,!1)}}))})}}Ve=new WeakMap,Ke=new WeakMap,zi=new WeakMap,vt=new WeakMap,ln=new WeakMap,gt=new WeakMap,Ye=new WeakMap,Ae=new WeakMap,wt=new WeakMap,Pt=new WeakMap,Ut=new WeakMap,Ft=new WeakMap,Wt=new WeakMap,cn=new WeakMap,Ht=new WeakMap,zr=new WeakMap,je=new WeakSet,$a=function(){try{j(this,Ye,qe(()=>h(this,ln).call(this,h(this,Ke))))}catch(e){this.error(e)}j(this,Ve,!1)},Ua=function(){const e=h(this,vt).pending;e&&(j(this,Ae,qe(()=>e(h(this,Ke)))),qt.enqueue(()=>{var t=Y(this,je,Br).call(this);j(this,Ye,Y(this,je,nr).call(this,()=>(qt.ensure(),qe(()=>h(this,ln).call(this,t))))),h(this,Wt)>0?Y(this,je,rr).call(this):(pn(h(this,Ae),()=>{j(this,Ae,null)}),j(this,Ve,!1))}))},Br=function(){var e=h(this,Ke);return h(this,Ve)&&(j(this,Ut,mt()),h(this,Ke).before(h(this,Ut)),e=h(this,Ut)),e},nr=function(e){var t=Z,n=G,r=le;it(h(this,gt)),De(h(this,gt)),on(h(this,gt).ctx);try{return e()}catch(i){return Ti(i),null}finally{it(t),De(n),on(r)}},rr=function(){const e=h(this,vt).pending;h(this,Ye)!==null&&(j(this,Pt,document.createDocumentFragment()),h(this,Pt).append(h(this,Ut)),to(h(this,Ye),h(this,Pt))),h(this,Ae)===null&&j(this,Ae,qe(()=>e(h(this,Ke))))},Lr=function(e){var t;if(!this.has_pending_snippet()){this.parent&&Y(t=this.parent,je,Lr).call(t,e);return}j(this,Wt,h(this,Wt)+e),h(this,Wt)===0&&(j(this,Ve,!1),h(this,Ae)&&pn(h(this,Ae),()=>{j(this,Ae,null)}),h(this,Pt)&&(h(this,Ke).before(h(this,Pt)),j(this,Pt,null)))};function un(e,t){return t}function Ha(e,t,n){for(var r=[],i=t.length,o=0;o<i;o++)Fr(t[o].e,r,!0);Xi(r,()=>{var s=r.length===0&&n!==null;if(s){var c=n,l=c.parentNode;ns(l),l.append(c),e.items.clear(),nt(e,t[0].prev,t[i-1].next)}for(var d=0;d<i;d++){var f=t[d];s||(e.items.delete(f.k),nt(e,f.prev,f.next)),Te(f.e,!s)}e.first===t[0]&&(e.first=t[0].prev)})}function Tt(e,t,n,r,i,o=null){var s=e,c=new Map,l=null,d=(t&mi)!==0,f=(t&gi)!==0,g=(t&wi)!==0;if(d){var p=e;s=p.appendChild(mt())}var u=null,w=jr(()=>{var v=n();return Cr(v)?v:v==null?[]:Pr(v)}),m,S=!0;function W(){Ga(N,m,s,t,r),u!==null&&(m.length===0?(u.fragment?(s.before(u.fragment),u.fragment=null):Hr(u.effect),b.first=u.effect):pn(u.effect,()=>{u=null}))}var b=lr(()=>{m=a(w);for(var v=m.length,k=new Set,E=J,P=null,T=Gi(),z=0;z<v;z+=1){var U=m[z],q=r(U,z),I=S?null:c.get(q);I?(f&&dn(I.v,U),g?dn(I.i,z):I.i=z,T&&E.skipped_effects.delete(I.e)):(I=Va(S?s:null,P,U,q,z,i,t,n),S&&(I.o=!0,P===null?l=I:P.next=I,P=I),c.set(q,I)),k.add(q)}if(v===0&&o&&!u)if(S)u={fragment:null,effect:qe(()=>o(s))};else{var se=document.createDocumentFragment(),ee=mt();se.append(ee),u={fragment:se,effect:qe(()=>o(ee))}}if(!S)if(T){for(const[ve,ke]of c)k.has(ve)||E.skipped_effects.add(ke.e);E.oncommit(W),E.ondiscard(()=>{})}else W();a(w)}),N={effect:b,items:c,first:l};S=!1}function Ga(e,t,n,r,i){var o,s,c,l,d=(r&Xo)!==0,f=t.length,g=e.items,p=e.first,u,w=null,m,S=[],W=[],b,N,v,k;if(d)for(k=0;k<f;k+=1)b=t[k],N=i(b,k),v=g.get(N),(o=v.a)==null||o.measure(),(m??(m=new Set)).add(v);for(k=0;k<f;k+=1){if(b=t[k],N=i(b,k),v=g.get(N),e.first??(e.first=v),!v.o){v.o=!0;var E=w?w.next:p;nt(e,w,v),nt(e,v,E),Nr(v,E,n),w=v,S=[],W=[],p=w.next;continue}if(v.e.f&Me&&(Hr(v.e),d&&((s=v.a)==null||s.unfix(),(m??(m=new Set)).delete(v))),v!==p){if(u!==void 0&&u.has(v)){if(S.length<W.length){var P=W[0],T;w=P.prev;var z=S[0],U=S[S.length-1];for(T=0;T<S.length;T+=1)Nr(S[T],P,n);for(T=0;T<W.length;T+=1)u.delete(W[T]);nt(e,z.prev,U.next),nt(e,w,z),nt(e,U,P),p=P,w=U,k-=1,S=[],W=[]}else u.delete(v),Nr(v,p,n),nt(e,v.prev,v.next),nt(e,v,w===null?e.first:w.next),nt(e,w,v),w=v;continue}for(S=[],W=[];p!==null&&p.k!==N;)p.e.f&Me||(u??(u=new Set)).add(p),W.push(p),p=p.next;if(p===null)continue;v=p}S.push(v),w=v,p=v.next}if(p!==null||u!==void 0){for(var q=u===void 0?[]:Pr(u);p!==null;)p.e.f&Me||q.push(p),p=p.next;var I=q.length;if(I>0){var se=r&mi&&f===0?n:null;if(d){for(k=0;k<I;k+=1)(c=q[k].a)==null||c.measure();for(k=0;k<I;k+=1)(l=q[k].a)==null||l.fix()}Ha(e,q,se)}}d&&an(()=>{var ee;if(m!==void 0)for(v of m)(ee=v.a)==null||ee.apply()})}function Va(e,t,n,r,i,o,s,c){var l=(s&gi)!==0,d=(s&ea)===0,f=l?d?Qa(n,!1,!1):Gt(n):n,g=s&wi?Gt(i):i,p={i:g,v:f,k:r,a:null,e:null,o:!1,prev:t,next:null};try{if(e===null){var u=document.createDocumentFragment();u.append(e=mt())}return p.e=qe(()=>o(e,f,g,c)),t!==null&&(t.next=p),p}finally{}}function Nr(e,t,n){for(var r=e.next?e.next.e.nodes_start:n,i=t?t.e.nodes_start:n,o=e.e.nodes_start;o!==null&&o!==r;){var s=Bn(o);i.before(o),o=s}}function nt(e,t,n){t===null?(e.first=n,e.effect.first=n&&n.e):(t.e.next&&(t.e.next.prev=null),t.next=n,t.e.next=n&&n.e),n===null?e.effect.last=t&&t.e:(n.e.prev&&(n.e.prev.next=null),n.prev=t,n.e.prev=t&&t.e)}function Ka(e,t,n,r){const i=Tn()?or:jr;if(n.length===0&&e.length===0){r(t.map(i));return}var o=J,s=Z,c=Ya();function l(){Promise.all(n.map(d=>Za(d))).then(d=>{c();try{r([...t.map(i),...d])}catch(f){s.f&ft||sn(f,s)}o?.deactivate(),ir()}).catch(d=>{sn(d,s)})}e.length>0?Promise.all(e).then(()=>{c();try{return l()}finally{o?.deactivate(),ir()}}):l()}function Ya(){var e=Z,t=G,n=le,r=J;return function(i=!0){it(e),De(t),on(n),i&&r?.activate()}}function ir(){it(null),De(null),on(null)}function or(e){var t=fe|Pe,n=G!==null&&G.f&fe?G:null;return Z!==null&&(Z.f|=tn),{ctx:le,deps:null,effects:null,equals:Ci,f:t,fn:e,reactions:null,rv:0,v:we,wv:0,parent:n??Z,ac:null}}function Za(e,t){let n=Z;n===null&&ba();var r=n.b,i=void 0,o=Gt(we),s=!G,c=new Map;return ls(()=>{var l,d=xi();i=d.promise;try{Promise.resolve(e()).then(d.resolve,d.reject).then(()=>{f===J&&f.committed&&f.deactivate(),ir()})}catch(u){d.reject(u),ir()}var f=J;if(s){var g=!r.is_pending();r.update_pending_count(1),f.increment(g),(l=c.get(f))==null||l.reject(nn),c.delete(f),c.set(f,d)}const p=(u,w=void 0)=>{if(f.activate(),w)w!==nn&&(o.f|=_t,dn(o,w));else{o.f&_t&&(o.f^=_t),dn(o,u);for(const[m,S]of c){if(c.delete(m),m===f)break;S.reject(nn)}}s&&(r.update_pending_count(-1),f.decrement(g))};d.promise.then(p,u=>p(null,u||"unknown"))}),$r(()=>{for(const l of c.values())l.reject(nn)}),new Promise(l=>{function d(f){function g(){f===i?l(o):d(i)}f.then(g,g)}d(i)})}function X(e){const t=or(e);return ro(t),t}function jr(e){const t=or(e);return t.equals=Pi,t}function Bi(e){var t=e.effects;if(t!==null){e.effects=null;for(var n=0;n<t.length;n+=1)Te(t[n])}}function Ja(e){for(var t=e.parent;t!==null;){if(!(t.f&fe))return t.f&ft?null:t;t=t.parent}return null}function Or(e){var t,n=Z;it(Ja(e));try{e.f&=~Lt,Bi(e),t=lo(e)}finally{it(n)}return t}function Li(e){var t=Or(e);if(e.equals(t)||(J!=null&&J.is_fork||(e.v=t),e.wv=ao()),!Vt)if(ye!==null)sr()&&ye.set(e,t);else{var n=e.f&Ge?me:ht;be(e,n)}}let qr=new Set;const Dt=new Map;let Ni=!1;function Gt(e,t){var n={f:0,v:e,reactions:null,equals:Ci,rv:0,wv:0};return n}function V(e,t){const n=Gt(e);return ro(n),n}function Qa(e,t=!1,n=!0){var r;const i=Gt(e);return t||(i.equals=Pi),rn&&n&&le!==null&&le.l!==null&&((r=le.l).s??(r.s=[])).push(i),i}function y(e,t,n=!1){G!==null&&(!rt||G.f&_i)&&Tn()&&G.f&(fe|dt|Mr|_i)&&!($e!=null&&$e.includes(e))&&Ta();let r=n?Oe(t):t;return dn(e,r)}function dn(e,t){if(!e.equals(t)){var n=e.v;Vt?Dt.set(e,t):Dt.set(e,n),e.v=t;var r=qt.ensure();r.capture(e,n),e.f&fe&&(e.f&Pe&&Or(e),be(e,e.f&Ge?me:ht)),e.wv=ao(),Oi(e,Pe),Tn()&&Z!==null&&Z.f&me&&!(Z.f&(pt|zt))&&(Ue===null?ds([e]):Ue.push(e)),!r.is_fork&&qr.size>0&&!Ni&&Xa()}return t}function Xa(){Ni=!1;var e=Et;cr(!0);const t=Array.from(qr);try{for(const n of t)n.f&me&&be(n,ht),jn(n)&&On(n)}finally{cr(e)}qr.clear()}function ji(e,t=1){var n=a(e),r=t===1?n++:n--;return y(e,n),r}function zn(e){y(e,e.v+1)}function Oi(e,t){var n=e.reactions;if(n!==null)for(var r=Tn(),i=n.length,o=0;o<i;o++){var s=n[o],c=s.f;if(!(!r&&s===Z)){var l=(c&Pe)===0;if(l&&be(s,t),c&fe){var d=s;ye?.delete(d),c&Lt||(c&Ge&&(s.f|=Lt),Oi(d,ht))}else l&&(c&dt&&tt!==null&&tt.add(s),$t(s))}}}function Oe(e){if(typeof e!="object"||e===null||Nt in e)return e;const t=bi(e);if(t!==pa&&t!==ha)return e;var n=new Map,r=Cr(e),i=V(0),o=Kt,s=c=>{if(Kt===o)return c();var l=G,d=Kt;De(null),oo(o);var f=c();return De(l),oo(d),f};return r&&n.set("length",V(e.length)),new Proxy(e,{defineProperty(c,l,d){(!("value"in d)||d.configurable===!1||d.enumerable===!1||d.writable===!1)&&Pa();var f=n.get(l);return f===void 0?f=s(()=>{var g=V(d.value);return n.set(l,g),g}):y(f,d.value,!0),!0},deleteProperty(c,l){var d=n.get(l);if(d===void 0){if(l in c){const f=s(()=>V(we));n.set(l,f),zn(i)}}else y(d,we),zn(i);return!0},get(c,l,d){var f;if(l===Nt)return e;var g=n.get(l),p=l in c;if(g===void 0&&(!p||(f=en(c,l))!=null&&f.writable)&&(g=s(()=>{var w=Oe(p?c[l]:we),m=V(w);return m}),n.set(l,g)),g!==void 0){var u=a(g);return u===we?void 0:u}return Reflect.get(c,l,d)},getOwnPropertyDescriptor(c,l){var d=Reflect.getOwnPropertyDescriptor(c,l);if(d&&"value"in d){var f=n.get(l);f&&(d.value=a(f))}else if(d===void 0){var g=n.get(l),p=g?.v;if(g!==void 0&&p!==we)return{enumerable:!0,configurable:!0,value:p,writable:!0}}return d},has(c,l){var d;if(l===Nt)return!0;var f=n.get(l),g=f!==void 0&&f.v!==we||Reflect.has(c,l);if(f!==void 0||Z!==null&&(!g||(d=en(c,l))!=null&&d.writable)){f===void 0&&(f=s(()=>{var u=g?Oe(c[l]):we,w=V(u);return w}),n.set(l,f));var p=a(f);if(p===we)return!1}return g},set(c,l,d,f){var g,p=n.get(l),u=l in c;if(r&&l==="length")for(var w=d;w<p.v;w+=1){var m=n.get(w+"");m!==void 0?y(m,we):w in c&&(m=s(()=>V(we)),n.set(w+"",m))}if(p===void 0)(!u||(g=en(c,l))!=null&&g.writable)&&(p=s(()=>V(void 0)),y(p,Oe(d)),n.set(l,p));else{u=p.v!==we;var S=s(()=>Oe(d));y(p,S)}var W=Reflect.getOwnPropertyDescriptor(c,l);if(W!=null&&W.set&&W.set.call(f,d),!u){if(r&&typeof l=="string"){var b=n.get("length"),N=Number(l);Number.isInteger(N)&&N>=b.v&&y(b,N+1)}zn(i)}return!0},ownKeys(c){a(i);var l=Reflect.ownKeys(c).filter(g=>{var p=n.get(g);return p===void 0||p.v!==we});for(var[d,f]of n)f.v!==we&&!(d in c)&&l.push(d);return l},setPrototypeOf(){Wa()}})}function qi(e){try{if(e!==null&&typeof e=="object"&&Nt in e)return e[Nt]}catch{}return e}function es(e,t){return Object.is(qi(e),qi(t))}var $i,Ui,Fi,Hi;function ts(){if($i===void 0){$i=window,Ui=/Firefox/.test(navigator.userAgent);var e=Element.prototype,t=Node.prototype,n=Text.prototype;Fi=en(t,"firstChild").get,Hi=en(t,"nextSibling").get,ki(e)&&(e.__click=void 0,e.__className=void 0,e.__attributes=null,e.__style=void 0,e.__e=void 0),ki(n)&&(n.__t=void 0)}}function mt(e=""){return document.createTextNode(e)}function yt(e){return Fi.call(e)}function Bn(e){return Hi.call(e)}function D(e,t){return yt(e)}function de(e,t=!1){{var n=yt(e);return n instanceof Comment&&n.data===""?Bn(n):n}}function M(e,t=1,n=!1){let r=e;for(;t--;)r=Bn(r);return r}function ns(e){e.textContent=""}function Gi(){return!1}let Vi=!1;function rs(){Vi||(Vi=!0,document.addEventListener("reset",e=>{Promise.resolve().then(()=>{var t;if(!e.defaultPrevented)for(const n of e.target.elements)(t=n.__on_r)==null||t.call(n)})},{capture:!0}))}function ar(e){var t=G,n=Z;De(null),it(null);try{return e()}finally{De(t),it(n)}}function is(e,t,n,r=n){e.addEventListener(t,()=>ar(n));const i=e.__on_r;i?e.__on_r=()=>{i(),r(!0)}:e.__on_r=()=>r(!0),rs()}function os(e){Z===null&&(G===null&&_a(),xa()),Vt&&ka()}function as(e,t){var n=t.last;n===null?t.last=t.first=e:(n.next=e,e.prev=n,t.last=e)}function bt(e,t,n){var r=Z;r!==null&&r.f&Me&&(e|=Me);var i={ctx:le,deps:null,nodes_start:null,nodes_end:null,f:e|Pe|Ge,first:null,fn:t,last:null,next:null,parent:r,b:r&&r.b,prev:null,teardown:null,transitions:null,wv:0,ac:null};if(n)try{On(i),i.f|=Dr}catch(c){throw Te(i),c}else t!==null&&$t(i);var o=i;if(n&&o.deps===null&&o.teardown===null&&o.nodes_start===null&&o.first===o.last&&!(o.f&tn)&&(o=o.first,e&dt&&e&Bt&&o!==null&&(o.f|=Bt)),o!==null&&(o.parent=r,r!==null&&as(o,r),G!==null&&G.f&fe&&!(e&zt))){var s=G;(s.effects??(s.effects=[])).push(o)}return i}function sr(){return G!==null&&!rt}function $r(e){const t=bt(Tr,null,!1);return be(t,me),t.teardown=e,t}function Ln(e){os();var t=Z.f,n=!G&&(t&pt)!==0&&(t&Dr)===0;if(n){var r=le;(r.e??(r.e=[])).push(e)}else return Ki(e)}function Ki(e){return bt(Wr|ga,e,!1)}function ss(e){qt.ensure();const t=bt(zt|tn,e,!0);return(n={})=>new Promise(r=>{n.outro?pn(t,()=>{Te(t),r(void 0)}):(Te(t),r(void 0))})}function Yi(e){return bt(Wr,e,!1)}function ls(e){return bt(Mr|tn,e,!0)}function Ur(e,t=0){return bt(Tr|t,e,!0)}function L(e,t=[],n=[],r=[]){Ka(r,t,n,i=>{bt(Tr,()=>e(...i.map(a)),!0)})}function lr(e,t=0){var n=bt(dt|t,e,!0);return n}function qe(e){return bt(pt|tn,e,!0)}function Zi(e){var t=e.teardown;if(t!==null){const n=Vt,r=G;no(!0),De(null);try{t.call(null)}finally{no(n),De(r)}}}function Ji(e,t=!1){var n=e.first;for(e.first=e.last=null;n!==null;){const i=n.ac;i!==null&&ar(()=>{i.abort(nn)});var r=n.next;n.f&zt?n.parent=null:Te(n,t),n=r}}function cs(e){for(var t=e.first;t!==null;){var n=t.next;t.f&pt||Te(t),t=n}}function Te(e,t=!0){var n=!1;(t||e.f&Si)&&e.nodes_start!==null&&e.nodes_end!==null&&(us(e.nodes_start,e.nodes_end),n=!0),Ji(e,t&&!n),ur(e,0),be(e,ft);var r=e.transitions;if(r!==null)for(const o of r)o.stop();Zi(e);var i=e.parent;i!==null&&i.first!==null&&Qi(e),e.next=e.prev=e.teardown=e.ctx=e.deps=e.fn=e.nodes_start=e.nodes_end=e.ac=null}function us(e,t){for(;e!==null;){var n=e===t?null:Bn(e);e.remove(),e=n}}function Qi(e){var t=e.parent,n=e.prev,r=e.next;n!==null&&(n.next=r),r!==null&&(r.prev=n),t!==null&&(t.first===e&&(t.first=r),t.last===e&&(t.last=n))}function pn(e,t,n=!0){var r=[];Fr(e,r,!0),Xi(r,()=>{n&&Te(e),t&&t()})}function Xi(e,t){var n=e.length;if(n>0){var r=()=>--n||t();for(var i of e)i.out(r)}else t()}function Fr(e,t,n){if(!(e.f&Me)){if(e.f^=Me,e.transitions!==null)for(const s of e.transitions)(s.is_global||n)&&t.push(s);for(var r=e.first;r!==null;){var i=r.next,o=(r.f&Bt)!==0||(r.f&pt)!==0&&(e.f&dt)!==0;Fr(r,t,o?n:!1),r=i}}}function Hr(e){eo(e,!0)}function eo(e,t){if(e.f&Me){e.f^=Me,e.f&me||(be(e,Pe),$t(e));for(var n=e.first;n!==null;){var r=n.next,i=(n.f&Bt)!==0||(n.f&pt)!==0;eo(n,i?t:!1),n=r}if(e.transitions!==null)for(const o of e.transitions)(o.is_global||t)&&o.in()}}function to(e,t){for(var n=e.nodes_start,r=e.nodes_end;n!==null;){var i=n===r?null:Bn(n);t.append(n),n=i}}let Et=!1;function cr(e){Et=e}let Vt=!1;function no(e){Vt=e}let G=null,rt=!1;function De(e){G=e}let Z=null;function it(e){Z=e}let $e=null;function ro(e){G!==null&&($e===null?$e=[e]:$e.push(e))}let Ce=null,Ie=0,Ue=null;function ds(e){Ue=e}let io=1,Nn=0,Kt=Nn;function oo(e){Kt=e}function ao(){return++io}function jn(e){var t=e.f;if(t&Pe)return!0;if(t&fe&&(e.f&=~Lt),t&ht){var n=e.deps;if(n!==null)for(var r=n.length,i=0;i<r;i++){var o=n[i];if(jn(o)&&Li(o),o.wv>e.wv)return!0}t&Ge&&ye===null&&be(e,me)}return!1}function so(e,t,n=!0){var r=e.reactions;if(r!==null&&!($e!=null&&$e.includes(e)))for(var i=0;i<r.length;i++){var o=r[i];o.f&fe?so(o,t,!1):t===o&&(n?be(o,Pe):o.f&me&&be(o,ht),$t(o))}}function lo(e){var t,n=Ce,r=Ie,i=Ue,o=G,s=$e,c=le,l=rt,d=Kt,f=e.f;Ce=null,Ie=0,Ue=null,G=f&(pt|zt)?null:e,$e=null,on(e.ctx),rt=!1,Kt=++Nn,e.ac!==null&&(ar(()=>{e.ac.abort(nn)}),e.ac=null);try{e.f|=Er;var g=e.fn,p=g(),u=e.deps;if(Ce!==null){var w;if(ur(e,Ie),u!==null&&Ie>0)for(u.length=Ie+Ce.length,w=0;w<Ce.length;w++)u[Ie+w]=Ce[w];else e.deps=u=Ce;if(Et&&sr()&&e.f&Ge)for(w=Ie;w<u.length;w++)((t=u[w]).reactions??(t.reactions=[])).push(e)}else u!==null&&Ie<u.length&&(ur(e,Ie),u.length=Ie);if(Tn()&&Ue!==null&&!rt&&u!==null&&!(e.f&(fe|ht|Pe)))for(w=0;w<Ue.length;w++)so(Ue[w],e);return o!==null&&o!==e&&(Nn++,Ue!==null&&(i===null?i=Ue:i.push(...Ue))),e.f&_t&&(e.f^=_t),p}catch(m){return Ti(m)}finally{e.f^=Er,Ce=n,Ie=r,Ue=i,G=o,$e=s,on(c),rt=l,Kt=d}}function ps(e,t){let n=t.reactions;if(n!==null){var r=ca.call(n,e);if(r!==-1){var i=n.length-1;i===0?n=t.reactions=null:(n[r]=n[i],n.pop())}}n===null&&t.f&fe&&(Ce===null||!Ce.includes(t))&&(be(t,ht),t.f&Ge&&(t.f^=Ge,t.f&=~Lt),Bi(t),ur(t,0))}function ur(e,t){var n=e.deps;if(n!==null)for(var r=t;r<n.length;r++)ps(e,n[r])}function On(e){var t=e.f;if(!(t&ft)){be(e,me);var n=Z,r=Et;Z=e,Et=!0;try{t&dt?cs(e):Ji(e),Zi(e);var i=lo(e);e.teardown=typeof i=="function"?i:null,e.wv=io;var o;la&&Ia&&e.f&Pe&&e.deps}finally{Et=r,Z=n}}}async function hs(){await Promise.resolve(),La()}function a(e){var t=e.f,n=(t&fe)!==0;if(G!==null&&!rt){var r=Z!==null&&(Z.f&ft)!==0;if(!r&&!($e!=null&&$e.includes(e))){var i=G.deps;if(G.f&Er)e.rv<Nn&&(e.rv=Nn,Ce===null&&i!==null&&i[Ie]===e?Ie++:Ce===null?Ce=[e]:Ce.includes(e)||Ce.push(e));else{(G.deps??(G.deps=[])).push(e);var o=e.reactions;o===null?e.reactions=[G]:o.includes(G)||o.push(G)}}}if(Vt){if(Dt.has(e))return Dt.get(e);if(n){var s=e,c=s.v;return(!(s.f&me)&&s.reactions!==null||uo(s))&&(c=Or(s)),Dt.set(s,c),c}}else n&&!(ye!=null&&ye.has(e))&&(s=e,jn(s)&&Li(s),Et&&sr()&&!(s.f&Ge)&&co(s));if(ye!=null&&ye.has(e))return ye.get(e);if(e.f&_t)throw e.v;return e.v}function co(e){if(e.deps!==null){e.f^=Ge;for(const t of e.deps)(t.reactions??(t.reactions=[])).push(e),t.f&fe&&!(t.f&Ge)&&co(t)}}function uo(e){if(e.v===we)return!0;if(e.deps===null)return!1;for(const t of e.deps)if(Dt.has(t)||t.f&fe&&uo(t))return!0;return!1}function qn(e){var t=rt;try{return rt=!0,e()}finally{rt=t}}const fs=-7169;function be(e,t){e.f=e.f&fs|t}const po=new Set,Gr=new Set;function vs(e,t,n,r={}){function i(o){if(r.capture||$n.call(t,o),!o.cancelBubble)return ar(()=>n?.call(this,o))}return e.startsWith("pointer")||e.startsWith("touch")||e==="wheel"?an(()=>{t.addEventListener(e,i,r)}):t.addEventListener(e,i,r),i}function ot(e,t,n,r,i){var o={capture:r,passive:i},s=vs(e,t,n,o);(t===document.body||t===window||t===document||t instanceof HTMLMediaElement)&&$r(()=>{t.removeEventListener(e,s,o)})}function dr(e){for(var t=0;t<e.length;t++)po.add(e[t]);for(var n of Gr)n(e)}let ho=null;function $n(e){var t,n=this,r=n.ownerDocument,i=e.type,o=((t=e.composedPath)==null?void 0:t.call(e))||[],s=o[0]||e.target;ho=e;var c=0,l=ho===e&&e.__root;if(l){var d=o.indexOf(l);if(d!==-1&&(n===document||n===window)){e.__root=n;return}var f=o.indexOf(n);if(f===-1)return;d<=f&&(c=d)}if(s=o[c]||e.target,s!==n){ua(e,"currentTarget",{configurable:!0,get(){return s||r}});var g=G,p=Z;De(null),it(null);try{for(var u,w=[];s!==null;){var m=s.assignedSlot||s.parentNode||s.host||null;try{var S=s["__"+i];S!=null&&(!s.disabled||e.target===s)&&S.call(s,e)}catch(W){u?w.push(W):u=W}if(e.cancelBubble||m===n||m===null)break;s=m}if(u){for(let W of w)queueMicrotask(()=>{throw W});throw u}}finally{e.__root=n,delete e.currentTarget,De(g),it(p)}}}function fo(e){var t=document.createElement("template");return t.innerHTML=e.replaceAll("<!>","<!---->"),t.content}function hn(e,t){var n=Z;n.nodes_start===null&&(n.nodes_start=e,n.nodes_end=t)}function O(e,t){var n=(t&yi)!==0,r=(t&aa)!==0,i,o=!e.startsWith("<!>");return()=>{i===void 0&&(i=fo(o?e:"<!>"+e),n||(i=yt(i)));var s=r||Ui?document.importNode(i,!0):i.cloneNode(!0);if(n){var c=yt(s),l=s.lastChild;hn(c,l)}else hn(s,s);return s}}function gs(e,t,n="svg"){var r=!e.startsWith("<!>"),i=(t&yi)!==0,o=`<${n}>${r?e:"<!>"+e}</${n}>`,s;return()=>{if(!s){var c=fo(o),l=yt(c);if(i)for(s=document.createDocumentFragment();yt(l);)s.appendChild(yt(l));else s=yt(l)}var d=s.cloneNode(!0);if(i){var f=yt(d),g=d.lastChild;hn(f,g)}else hn(d,d);return d}}function Mt(e,t){return gs(e,t,"svg")}function At(e=""){{var t=mt(e+"");return hn(t,t),t}}function Ze(){var e=document.createDocumentFragment(),t=document.createComment(""),n=mt();return e.append(t,n),hn(t,n),e}function _(e,t){e!==null&&e.before(t)}const ws=["touchstart","touchmove"];function ms(e){return ws.includes(e)}function $(e,t){var n=t==null?"":typeof t=="object"?t+"":t;n!==(e.__t??(e.__t=e.nodeValue))&&(e.__t=n,e.nodeValue=n+"")}function ys(e,t){return bs(e,t)}const fn=new Map;function bs(e,{target:t,anchor:n,props:r={},events:i,context:o,intro:s=!0}){ts();var c=new Set,l=g=>{for(var p=0;p<g.length;p++){var u=g[p];if(!c.has(u)){c.add(u);var w=ms(u);t.addEventListener(u,$n,{passive:w});var m=fn.get(u);m===void 0?(document.addEventListener(u,$n,{passive:w}),fn.set(u,1)):fn.set(u,m+1)}}};l(Pr(po)),Gr.add(l);var d=void 0,f=ss(()=>{var g=n??t.appendChild(mt());return qa(g,{pending:()=>{}},p=>{if(o){Xe({});var u=le;u.c=o}i&&(r.$$events=i),d=e(p,r)||{},o&&et()}),()=>{var p;for(var u of c){t.removeEventListener(u,$n);var w=fn.get(u);--w===0?(document.removeEventListener(u,$n),fn.delete(u)):fn.set(u,w)}Gr.delete(l),g!==n&&((p=g.parentNode)==null||p.removeChild(g))}});return ks.set(d,f),d}let ks=new WeakMap;var at,kt,Fe,vn,pr,hr,Vr;class vo{constructor(t,n=!0){ut(this,"anchor"),F(this,at,new Map),F(this,kt,new Map),F(this,Fe,new Map),F(this,vn,new Set),F(this,pr,!0),F(this,hr,()=>{var r=J;if(h(this,at).has(r)){var i=h(this,at).get(r),o=h(this,kt).get(i);if(o)Hr(o),h(this,vn).delete(i);else{var s=h(this,Fe).get(i);s&&(h(this,kt).set(i,s.effect),h(this,Fe).delete(i),s.fragment.lastChild.remove(),this.anchor.before(s.fragment),o=s.effect)}for(const[c,l]of h(this,at)){if(h(this,at).delete(c),c===r)break;const d=h(this,Fe).get(l);d&&(Te(d.effect),h(this,Fe).delete(l))}for(const[c,l]of h(this,kt)){if(c===i||h(this,vn).has(c))continue;const d=()=>{if(Array.from(h(this,at).values()).includes(c)){var f=document.createDocumentFragment();to(l,f),f.append(mt()),h(this,Fe).set(c,{effect:l,fragment:f})}else Te(l);h(this,vn).delete(c),h(this,kt).delete(c)};h(this,pr)||!o?(h(this,vn).add(c),pn(l,d,!1)):d()}}}),F(this,Vr,r=>{h(this,at).delete(r);const i=Array.from(h(this,at).values());for(const[o,s]of h(this,Fe))i.includes(o)||(Te(s.effect),h(this,Fe).delete(o))}),this.anchor=t,j(this,pr,n)}ensure(t,n){var r=J,i=Gi();if(n&&!h(this,kt).has(t)&&!h(this,Fe).has(t))if(i){var o=document.createDocumentFragment(),s=mt();o.append(s),h(this,Fe).set(t,{effect:qe(()=>n(s)),fragment:o})}else h(this,kt).set(t,qe(()=>n(this.anchor)));if(h(this,at).set(r,t),i){for(const[c,l]of h(this,kt))c===t?r.skipped_effects.delete(l):r.skipped_effects.add(l);for(const[c,l]of h(this,Fe))c===t?r.skipped_effects.delete(l.effect):r.skipped_effects.add(l.effect);r.oncommit(h(this,hr)),r.ondiscard(h(this,Vr))}else h(this,hr).call(this)}}at=new WeakMap,kt=new WeakMap,Fe=new WeakMap,vn=new WeakMap,pr=new WeakMap,hr=new WeakMap,Vr=new WeakMap;function Kr(e){le===null&&ya(),rn&&le.l!==null?xs(le).m.push(e):Ln(()=>{const t=qn(e);if(typeof t=="function")return t})}function xs(e){var t=e.l;return t.u??(t.u={a:[],b:[],m:[]})}function H(e,t,n=!1){var r=new vo(e),i=n?Bt:0;function o(s,c){r.ensure(s,c)}lr(()=>{var s=!1;t((c,l=!0)=>{s=!0,o(l,c)}),s||o(!1,null)},i)}function go(e,t,n,r,i){var o,s=(o=t.$$slots)==null?void 0:o[n],c=!1;s===!0&&(s=t.children,c=!0),s===void 0||s(e,c?()=>r:r)}function wo(e,t,n){var r=new vo(e);lr(()=>{var i=t()??null;r.ensure(i,i&&(o=>n(o,i)))},Bt)}function st(e,t){Yi(()=>{var n=e.getRootNode(),r=n.host?n:n.head??n.ownerDocument.head;if(!r.querySelector("#"+t.hash)){const i=document.createElement("style");i.id=t.hash,i.textContent=t.code,r.appendChild(i)}})}function mo(e){var t,n,r="";if(typeof e=="string"||typeof e=="number")r+=e;else if(typeof e=="object")if(Array.isArray(e)){var i=e.length;for(t=0;t<i;t++)e[t]&&(n=mo(e[t]))&&(r&&(r+=" "),r+=n)}else for(n in e)e[n]&&(r&&(r+=" "),r+=n);return r}function _s(){for(var e,t,n=0,r="",i=arguments.length;n<i;n++)(e=arguments[n])&&(t=mo(e))&&(r&&(r+=" "),r+=t);return r}function gn(e){return typeof e=="object"?_s(e):e??""}function Ss(e,t,n){var r=e==null?"":""+e;return t&&(r=r?r+" "+t:t),r===""?null:r}function It(e,t,n,r,i,o){var s=e.__className;if(s!==n||s===void 0){var c=Ss(n,r);c==null?e.removeAttribute("class"):t?e.className=c:e.setAttribute("class",c),e.__className=n}return o}function yo(e,t,n=!1){if(e.multiple){if(t==null)return;if(!Cr(t))return Ea();for(var r of e.options)r.selected=t.includes(bo(r));return}for(r of e.options){var i=bo(r);if(es(i,t)){r.selected=!0;return}}(!n||t!==void 0)&&(e.selectedIndex=-1)}function Cs(e){var t=new MutationObserver(()=>{yo(e,e.__value)});t.observe(e,{childList:!0,subtree:!0,attributes:!0,attributeFilter:["value"]}),$r(()=>{t.disconnect()})}function bo(e){return"__value"in e?e.__value:e.value}const Ps=Symbol("is custom element"),Ws=Symbol("is html");function Ts(e,t){t?e.hasAttribute("selected")||e.setAttribute("selected",""):e.removeAttribute("selected")}function A(e,t,n,r){var i=Ds(e);i[t]!==(i[t]=n)&&(t==="loading"&&(e[ma]=n),n==null?e.removeAttribute(t):typeof n!="string"&&Es(e).includes(t)?e[t]=n:e.setAttribute(t,n))}function Ds(e){return e.__attributes??(e.__attributes={[Ps]:e.nodeName.includes("-"),[Ws]:e.namespaceURI===sa})}var ko=new Map;function Es(e){var t=e.getAttribute("is")||e.nodeName,n=ko.get(t);if(n)return n;ko.set(t,n=[]);for(var r,i=e,o=Element.prototype;o!==i;){r=da(i);for(var s in r)r[s].set&&n.push(s);i=bi(i)}return n}function Ms(e,t,n=t){var r=new WeakSet;is(e,"input",async i=>{var o=i?e.defaultValue:e.value;if(o=Yr(e)?Zr(o):o,n(o),J!==null&&r.add(J),await hs(),o!==(o=t())){var s=e.selectionStart,c=e.selectionEnd,l=e.value.length;if(e.value=o??"",c!==null){var d=e.value.length;s===c&&c===l&&d>l?(e.selectionStart=d,e.selectionEnd=d):(e.selectionStart=s,e.selectionEnd=Math.min(c,d))}}}),qn(t)==null&&e.value&&(n(Yr(e)?Zr(e.value):e.value),J!==null&&r.add(J)),Ur(()=>{var i=t();if(e===document.activeElement){var o=er??J;if(r.has(o))return}Yr(e)&&i===Zr(e.value)||e.type==="date"&&!i&&!e.value||i!==e.value&&(e.value=i??"")})}function Yr(e){var t=e.type;return t==="number"||t==="range"}function Zr(e){return e===""?null:+e}function xo(e,t){return e===t||e?.[Nt]===t}function As(e={},t,n,r){return Yi(()=>{var i,o;return Ur(()=>{i=o,o=[],qn(()=>{e!==n(...o)&&(t(e,...o),i&&xo(n(...i),e)&&t(null,...i))})}),()=>{an(()=>{o&&xo(n(...o),e)&&t(null,...o)})}}),e}let fr=!1;function Is(e){var t=fr;try{return fr=!1,[e(),fr]}finally{fr=t}}function Re(e,t,n,r){var i,o=!rn||(n&na)!==0,s=(n&ia)!==0,c=(n&oa)!==0,l=r,d=!0,f=()=>(d&&(d=!1,l=c?qn(r):r),l),g;if(s){var p=Nt in e||wa in e;g=((i=en(e,t))==null?void 0:i.set)??(p&&t in e?v=>e[t]=v:void 0)}var u,w=!1;s?[u,w]=Is(()=>e[t]):u=e[t],u===void 0&&r!==void 0&&(u=f(),g&&(o&&Ca(),g(u)));var m;if(o?m=()=>{var v=e[t];return v===void 0?f():(d=!0,v)}:m=()=>{var v=e[t];return v!==void 0&&(l=void 0),v===void 0?l:v},o&&!(n&ra))return m;if(g){var S=e.$$legacy;return function(v,k){return arguments.length>0?((!o||!k||S||w)&&g(k?m():v),v):m()}}var W=!1,b=(n&ta?or:jr)(()=>(W=!1,m()));s&&a(b);var N=Z;return function(v,k){if(arguments.length>0){const E=k?a(b):o&&s?Oe(v):v;return y(b,E),W=!0,l!==void 0&&(l=E),v}return Vt&&W||N.f&ft?b.v:a(b)}}const _o="wineater_consent",Rs=["wineater_uid","uniqueUserID","sessionID"];function zs(){try{const e=window.localStorage.getItem(_o);return e==="granted"||e==="denied"?e:null}catch{return null}}let Jr=V(Oe(zs())),vr=V(null);function Bs(e){y(vr,e,!0)}function So(){var e;return((e=window?.wineaterData)==null?void 0:e.requireConsent)===!0?!0:a(vr)===!0}function Ls(){return a(vr)!==null&&So()&&a(Jr)===null}function Co(){var e;return((e=window?.wineaterData)==null?void 0:e.tracking)===!1||a(vr)===null?!1:So()?a(Jr)==="granted":!0}function Ns(){for(const e of Rs){try{window.localStorage.removeItem(e)}catch{}try{document.cookie=`${e}=; expires=Thu, 01 Jan 1970 00:00:00 GMT; path=/`}catch{}}}const Qr=new Set;function js(e){return Qr.add(e),()=>Qr.delete(e)}function Po(e){y(Jr,e,!0);try{window.localStorage.setItem(_o,e)}catch{}e==="denied"&&Ns();for(const t of Qr)t(e)}function Wo(){return"xxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx".replace(/[xy]/g,function(e){const t=Math.random()*16|0;return(e==="x"?t:t&3|8).toString(16)})}function Xr(e,t,n){let r="";if(n){const i=new Date;i.setTime(i.getTime()+n*24*60*60*1e3),r="; expires="+i.toUTCString()}document.cookie=e+"="+(t||"")+r+"; path=/; secure; samesite=strict"}function ei(e){const t=e+"=",n=document.cookie.split(";");for(let r=0;r<n.length;r++){let i=n[r];for(;i.charAt(0)===" ";)i=i.substring(1,i.length);if(i.indexOf(t)===0)return i.substring(t.length,i.length)}return null}function Os(){const e="uniqueUserID";let t=ei(e);return t||(t=Wo(),Xr(e,t,365)),t}function ze(e,t,n={},r={}){const i="https://admin-api.wineater.com/api/widget-events",o=new Date().toISOString(),s=navigator.language.split("-")[1]||null,c=navigator.language.split("-")[0]||"en";if(!Co()){const p={event_type:e,store_id:t,event_time:o,data:n,meta:{...r,anonymous:!0},device_info:{device:window.innerWidth<768?"mobile":"desktop"},region:s,language:c};return fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(p),keepalive:!0}).catch(u=>{console.debug("[wineater] anonymous event failed:",u?.message)})}let l=ei("uniqueUserID");l||(l=Os());const d={user_agent:navigator.userAgent,screen_width:window.screen.width,screen_height:window.screen.height,language:navigator.language,platform:navigator.platform};let f=ei("sessionID");f||(f=Wo(),Xr("sessionID",f,1));const g={event_type:e,store_id:t,session_id:f,event_time:o,data:n,meta:{...r,user_id:l},device_info:d,region:s,language:c};return fetch(i,{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify(g)}).then(p=>p.ok?p.json():p.json().then(u=>{throw new Error(u.message||"Failed to track widget event")})).catch(p=>{throw console.error("Widget event tracking error:",p),p})}function qs(e){return{id:String(e.ID),appellation:e.Appellation||null,country:e.Country||null,grape:e.Grape,image:e.Image,price:Number(e.Price),producer:e.Producer||null,region:e.Region,score:e.Score?Number(e.Score):null,shortDescription:e["Short Description"]||null,store:e.Store,storeId:e.Store_id||null,tags:Array.isArray(e.Tags)?e.Tags.map(String):[],title:e.Title,type:e.Type,url:e.Url||null,vintage:e.Vintage?Number(e.Vintage):null,pairingRecommendation:e.pairing_recommendation||null,total:e.Total?Number(e.Total):null,itemId:e.item_id||null,isPromote:e.is_promote?!!e.is_promote:null,stock:e.stock?Number(e.stock):null,byTheGlass:!!e.by_the_glass,glassPrice:e.glass_price!=null?Number(e.glass_price):null}}function gr(e){return{id:String(e.id),title:String(e.title),description:String(e.description),region:String(e.region),price:Number(e.price),grape:String(e.grape),appellation:e.appellation?String(e.appellation):null,url:e.url?String(e.url):null,store:String(e.store),storeId:e.storeId?String(e.storeId):null,image:String(e.image),country:e.country?String(e.country):null,vintage:e.vintage?Number(e.vintage):null,tags:Array.isArray(e.tags)?e.tags.map(String):[],score:e.score?Number(e.score):null,total:e.total?Number(e.total):null,isPromote:e.is_promote?!!e.is_promote:null,stock:e.stock?Number(e.stock):null,distance:Number(e.distance),reason:String(e.reason),type:String(e.type),byTheGlass:!!e.by_the_glass,glassPrice:e.glass_price!=null?Number(e.glass_price):null}}function $s(e){return{recommendations:(e.recommendations||[]).filter(Boolean).map(gr),hasMore:!!e.has_more}}const Un="wineater_uid",Us=365;let wr=null;function To(){const e=globalThis.crypto;if(e!=null&&e.randomUUID)return e.randomUUID();const t=new Uint8Array(16);if(e!=null&&e.getRandomValues)e.getRandomValues(t);else for(let r=0;r<16;r++)t[r]=Math.random()*256|0;t[6]=t[6]&15|64,t[8]=t[8]&63|128;const n=Array.from(t,r=>r.toString(16).padStart(2,"0")).join("");return`${n.slice(0,8)}-${n.slice(8,12)}-${n.slice(12,16)}-${n.slice(16,20)}-${n.slice(20)}`}const Do=/^[0-9a-f]{8}-[0-9a-f]{4}-4[0-9a-f]{3}-[89ab][0-9a-f]{3}-[0-9a-f]{12}$/i;function Eo(e){try{const t=e+"=";for(const n of document.cookie.split(";")){const r=n.trim();if(r.startsWith(t))return decodeURIComponent(r.slice(t.length))}}catch{}return null}function Fs(e,t){try{const n=new Date(Date.now()+Us*864e5).toUTCString();document.cookie=`${e}=${encodeURIComponent(t)}; expires=${n}; path=/; SameSite=Lax; Secure`}catch{}}function Mo(){return Co()}js(e=>{e==="denied"&&(wr=null)});function ti(){if(!Mo())return null;if(wr)return wr;let e=null;try{e=window.localStorage.getItem(Un)}catch{}(!e||!Do.test(e))&&(e=Eo(Un)),(!e||!Do.test(e))&&(e=To());try{window.localStorage.setItem(Un,e)}catch{}return Eo(Un)!==e&&Fs(Un,e),wr=e,e}function Ao(){return To()}const Hs=2e3,Io=100;let mr=null,wn=[],Fn=null,Ro=!1;function Gs(e){mr=e,!(Ro||typeof document>"u")&&(Ro=!0,document.addEventListener("visibilitychange",()=>{document.visibilityState==="hidden"&&Hn()}),window.addEventListener("pagehide",()=>void Hn()))}function mn(e){var t;if(!(!Mo()||!mr)&&!(!((t=e.sku_ids)!=null&&t.length)&&e.type!=="more")){if(wn.push(e),wn.length>=Io){Hn();return}Fn||(Fn=setTimeout(()=>void Hn(),Hs))}}async function Hn(){if(Fn&&(clearTimeout(Fn),Fn=null),!mr||wn.length===0)return;const e=ti();if(!e){wn=[];return}const t=wn.splice(0,Io);try{await mr({uid:e,events:t})}catch(n){console.debug("[wineater] feedback flush failed:",n?.message)}wn.length>0&&Hn()}const Vs="X-Wineater-Uid";var Gn,yr,yn,Vn,Je,ni,bn,ri;class Ks{constructor(t,n="1"){F(this,Je),F(this,Gn,"https://api.wineater.com/"),F(this,yr),F(this,yn),F(this,Vn,!1),j(this,yr,t),j(this,yn,n)}async getInstantRecommendations(){try{const t=h(this,yn)==="2"?"dish/recommendations/instant/v2":"dish/recommendations/instant",{data:n,headers:r}=await Y(this,Je,ri).call(this,t,{});return{wines:n.filter(Boolean).map(qs),profileHash:r.get("X-Wineater-Profile")||null}}catch(t){throw new Error(`Error in getInstantRecommendations: ${t.message}`)}}async getWineRecommendationsSearch(t,n){try{const r=h(this,yn)==="2"?"dish/recommendations/search/v2":"dish/recommendations/search";return(await Y(this,Je,bn).call(this,r,n?{text:t,query_id:n}:{text:t})).filter(Boolean).map(gr)}catch(r){throw new Error(`Error in getWineRecommendations: ${r.message}`)}}async searchStream(t,n,r){const i=()=>this.getWineRecommendationsSearch(t,n);if(h(this,yn)!=="2")return i();let o;try{o=await fetch(`${h(this,Gn)}dish/recommendations/search/v2/stream`,{method:"POST",headers:Y(this,Je,ni).call(this),body:JSON.stringify(n?{text:t,query_id:n}:{text:t})})}catch{return i()}if(!o.ok||!o.body)return i();const s=o.body.getReader(),c=new TextDecoder;let l="",d=null;const f=g=>(g??[]).filter(Boolean).map(gr);try{for(;;){const{done:g,value:p}=await s.read();p&&(l+=c.decode(p,{stream:!0}));const u=l.split(`
2
+ `);l=g?"":u.pop()??"";for(const w of g?u.filter(Boolean):u){if(!w.trim())continue;const m=JSON.parse(w);if(m.type==="wines")d=f(m.recommendations).map(S=>({...S,reason:""})),r(d);else{if(m.type==="final")return f(m.recommendations);if(m.type==="error")return d||i()}}if(g)break}}catch{return d||i()}return d??i()}async getMoreWineRecommendations(t,n){try{const r=await Y(this,Je,bn).call(this,"dish/recommendations/search/v2/more",{text:t,exclude_ids:n});return $s(r)}catch(r){throw new Error(`Error in getMoreWineRecommendations: ${r.message}`)}}async getSimilarWines(t){try{return(await Y(this,Je,bn).call(this,"dish/recommendations/similar",{id:t})).filter(Boolean).map(gr)}catch(n){throw new Error(`Error in getSimilarWines: ${n.message}`)}}async postEvents(t){await Y(this,Je,bn).call(this,"events",t,{keepalive:!0})}async getStoreConfig(){try{return await Y(this,Je,bn).call(this,"stores/store",{})}catch(t){throw console.error("Error fetching store configuration:",t),t}}}Gn=new WeakMap,yr=new WeakMap,yn=new WeakMap,Vn=new WeakMap,Je=new WeakSet,ni=function(){const e={"Content-Type":"application/json",Authorization:`Bearer ${h(this,yr)}`};if(!h(this,Vn)){const t=ti();t&&(e[Vs]=t)}return e},bn=async function(e,t,n={}){return(await Y(this,Je,ri).call(this,e,t,n)).data},ri=async function(e,t,n={}){const r=()=>({method:n.method??"POST",headers:Y(this,Je,ni).call(this),body:t===void 0?void 0:JSON.stringify(t),keepalive:n.keepalive});let i;try{i=await fetch(`${h(this,Gn)}${e}`,r())}catch(c){if(h(this,Vn)||!ti())throw c;j(this,Vn,!0),i=await fetch(`${h(this,Gn)}${e}`,r())}const o=await i.text(),s=o?JSON.parse(o):null;if(!i.ok)throw new Error(`API call failed with status ${i.status}: ${s?.message||"No additional error information"}`);return{data:s,headers:i.headers}};const Ys="HeUw6IXuhvz6tRuXdPEGEbj3SGQ3Q2YtEc1Z8jd41Kg9LtyPb4Epu0to31SYIadG";var zo;const Bo=((zo=window?.wineaterData)==null?void 0:zo.CLIENT_TOKEN)||Ys;var Lo;const ii=String(((Lo=window?.wineaterData)==null?void 0:Lo.apiVersion)||"1"),kn=new Ks(Bo,ii);Gs(e=>kn.postEvents(e));function Zs(e){let t=5381;for(let n=0;n<e.length;n++)t=(t<<5)+t+e.charCodeAt(n)|0;return(t>>>0).toString(36)}const oi=`${Zs(Bo)}:${ii}`,No="wineater:v1:";function ai(e,t){try{const n=window.localStorage.getItem(No+e);if(!n)return null;const r=JSON.parse(n);return Date.now()-r.savedAt>t?null:r.value}catch{return null}}function si(e,t){try{const n={savedAt:Date.now(),value:t};window.localStorage.setItem(No+e,JSON.stringify(n))}catch{}}const Be={WIDGET_INITIALIZED:"widget_initialized",WIDGET_LOADED:"widget_loaded",SEARCH_PERFORMED:"search_performed",SEARCH_RESULTS_DISPLAYED:"search_results_displayed",NO_RESULTS_FOUND:"no_results_found",WINE_CARD_HOVER:"wine_card_hover",WINE_CARD_CLICK:"wine_card_click",WINE_DETAILS_VIEWED:"wine_details_viewed",WINE_DETAILS_CLOSED:"wine_details_closed",BUY_BUTTON_CLICKED:"buy_button_clicked",SHOW_MORE_CLICKED:"show_more_clicked",SIMILAR_WINES_CLICKED:"similar_wines_clicked",FILTER_APPLIED:"filter_applied",LANGUAGE_CHANGED:"language_changed",ERROR_OCCURRED:"error_occurred",MOBILE_VIEW_ACTIVATED:"mobile_view_activated"},Js={lang:"fr",welcomeMessage:"Quel plat allez-vous d\xE9guster ? D\xE9crivez-le-moi et je vous proposerai le vin qui l'accompagnera parfaitement.",noResultsFound:"Aucun r\xE9sultat trouv\xE9.",somethingWentWrong:"D\xE9sol\xE9, quelque chose a mal tourn\xE9.",chatButton1:"Trouvez l'accord parfait",chatButton2:"Associez le vin",chatButton3:"Obtenez des conseils",chatTitle:"Accord Mets & Vins \u{1F377}",chatSubtitle:"D\xE9crivez votre plat et obtenez une recommandation en 30 secondes",inputPlaceholder:"ex., Salade de thon",sendButton:"Accorder",poweredBy:"Propuls\xE9 par",price:"Prix",region:"R\xE9gion",type:"Type",reason:"Suggestion",moreInfo:"Plus d'infos",tryAgain:"R\xE9essayer",similarWines:"Vins similaires",byTheGlass:"Au verre",winePairingIntro:"Pour ce vin, voici quelques suggestions de plats :",askForDinner:"Que voulez-vous manger ce soir?",clearChatButton:"Effacer le chat",widgetTitle:"TROUVEZ VOTRE VIN PARFAIT",widgetSubtitle:"Partagez tout ce que vous avez en t\xEAte\u2014votre repas, humeur, budget ou occasion\u2014et notre sommelier IA vous recommandera le vin parfait en quelques secondes",searchPlaceholder:"Entrez un mot-cl\xE9 ou une description","wineDetails.reason":"Raison","wineDetails.price":"Prix","wineDetails.region":"R\xE9gion","wineDetails.type":"Type","wineDetails.moreInfo":"Plus d'infos","wineDetails.code":"Code","wineDetails.buy":"Acheter",searchButton:"Rechercher",priceRange:"Gamme de prix",wineColor:"Couleur du vin",intensity:"Intensit\xE9",red:"Rouge",white:"Blanc",rose:"Ros\xE9",light:"L\xE9ger",medium:"Moyen",full:"Puissant",barTitle:"S\xE9lection du bar",barSubtitle:"Choisissez vos plats ci-dessous et cliquez sur \xABEnvoyer\xBB",barSendButton:"Envoyer",barResetButton:"R\xE9initialiser",barName:"Nom du bar",barNotesPlaceholder:"Entrez vos souhaits ici...",placeholderSuggestions:["Vin pour les p\xE2tes","Parfait avec du poisson","Recommand\xE9 pour une soir\xE9e"],headerLine1:"Partagez tout ce qui vous passe par la t\xEAte \u2014",headerLine2:"\u2014 et obtenez des recommandations de vin parfait en quelques secondes",headerMeal:"repas",headerMood:"humeur",headerBudget:"budget",headerOccasion:"occasion",headerOr:"ou",errorMessage:"Une erreur est survenue. Veuillez r\xE9essayer plus tard.",noResultsMessage:"Aucun r\xE9sultat trouv\xE9 pour votre recherche. Veuillez essayer une autre requ\xEAte.",ai_sommelier:"AI sommelier",consentText:"L'assistant vin enregistre un identifiant anonyme sur cet appareil pour apprendre vos go\xFBts et am\xE9liorer ses recommandations. Vous pouvez l'utiliser sans accepter.",consentAccept:"Accepter",consentDecline:"Refuser",consentPrivacy:"Politique de confidentialit\xE9"},Qs={lang:"es",welcomeMessage:"\xBFQu\xE9 vas a comer? Cu\xE9ntame tu plato y te recomendar\xE9 el maridaje perfecto.",noResultsFound:"No se encontraron resultados.",somethingWentWrong:"Lo sentimos, algo sali\xF3 mal.",chatButton1:"Encuentra tu maridaje",chatButton2:"Combina vino ya",chatButton3:"Recibe asesor\xEDa ahora",chatTitle:"Maridaje de Vinos \u{1F377}",chatSubtitle:"Describe tu comida y obt\xE9n una recomendaci\xF3n en 30 segundos",inputPlaceholder:"ej., Ensalada de at\xFAn",sendButton:"Combinar",poweredBy:"Desarrollado por",price:"Precio",region:"Regi\xF3n",type:"Tipo",reason:"Sugerencia",moreInfo:"M\xE1s info",tryAgain:"Probar otra vez",similarWines:"Vinos similares",byTheGlass:"Por copa",winePairingIntro:"Para este vino, aqu\xED tienes algunas sugerencias de platos:",askForDinner:"\xBFQu\xE9 te gustar\xEDa cenar?",clearChatButton:"Limpiar el chat",widgetTitle:"ENCUENTRA TU VINO PERFECTO",widgetSubtitle:"Comparte cualquier cosa que tengas en mente\u2014tu comida, estado de \xE1nimo, presupuesto o evento\u2014y nuestro sommelier de IA te recomendar\xE1 el vino perfecto en segundos",searchPlaceholder:"Escribe una palabra clave o descripci\xF3n","wineDetails.reason":"Raz\xF3n","wineDetails.price":"Precio","wineDetails.region":"Regi\xF3n","wineDetails.type":"Tipo","wineDetails.code":"C\xF3digo","wineDetails.moreInfo":"M\xE1s informaci\xF3n","wineDetails.buy":"Comprar",searchButton:"Buscar",priceRange:"Rango de precios",wineColor:"Color del vino",intensity:"Intensidad",red:"Tinto",white:"Blanco",rose:"Rosado",light:"Ligero",medium:"Medio",full:"Intenso",barTitle:"Platos de Bar",barSubtitle:"Selecciona de la lista y presiona \xABEnviar\xBB",barSendButton:"Enviar",barResetButton:"Reiniciar",barName:"Nombre del bar",barNotesPlaceholder:"Agrega tus comentarios aqu\xED...",placeholderSuggestions:["Vino para pasta","Perfecto con pescado","Recomendado para una fiesta"],headerLine1:"Comparte cualquier cosa que tengas en mente \u2014",headerLine2:"\u2014 y obt\xE9n recomendaciones del vino perfecto en cuesti\xF3n de segundos",headerMeal:"comida",headerMood:"estado de \xE1nimo",headerBudget:"presupuesto",headerOccasion:"ocasi\xF3n",headerOr:"o",errorMessage:"Algo sali\xF3 mal. Por favor, int\xE9ntalo de nuevo m\xE1s tarde.",noResultsMessage:"No se encontraron resultados para tu b\xFAsqueda. Por favor, intenta con otra consulta.",ai_sommelier:"AI sommelier",consentText:"El asistente de vinos guarda un identificador an\xF3nimo en este dispositivo para conocer tus gustos y mejorar las recomendaciones. Puedes usarlo sin aceptar.",consentAccept:"Aceptar",consentDecline:"Rechazar",consentPrivacy:"Pol\xEDtica de privacidad"},Xs={lang:"en",welcomeMessage:"What are you planning to eat? Share your dish and I'll recommend the perfect wine pairing for your meal.",noResultsFound:"No results found.",somethingWentWrong:"Sorry, something went wrong.",chatButton1:"Find Your Pairing",chatButton2:"Pair Wine Now",chatButton3:"Get Wine Advice",chatTitle:"Wine Pairing Assistant \u{1F377}",chatSubtitle:"Describe your meal and get a recommendation in 30 seconds",inputPlaceholder:"e.g., Tuna salad",sendButton:"Match",poweredBy:"Powered by",price:"Price",region:"Region",type:"Type",reason:"Suggestion",moreInfo:"More info",tryAgain:"Try again",similarWines:"Similar wines",byTheGlass:"By the glass",winePairingIntro:"For this wine, here are some suggested dishes:",askForDinner:"What would you like to have for dinner?",clearChatButton:"Clear Chat",widgetTitle:"FIND YOUR PERFECT WINE",widgetSubtitle:"Share anything on your mind\u2014your meal, mood, budget, or occasion\u2014and our AI sommelier will recommend the perfect wine in seconds",searchPlaceholder:"Enter a keyword or description","wineDetails.price":"Price","wineDetails.region":"Region","wineDetails.type":"Type","wineDetails.moreInfo":"More info","wineDetails.reason":"Reason","wineDetails.code":"Code","wineDetails.buy":"Buy",searchButton:"Search",priceRange:"Price Range",wineColor:"Wine Color",intensity:"Intensity",red:"Red",white:"White",rose:"Ros\xE9",light:"Light",medium:"Medium",full:"Full",barTitle:"Bar Dishes",barSubtitle:"Select dishes below and click 'Send'",barSendButton:"Send",barResetButton:"Reset",barName:"Bar Name",barNotesPlaceholder:"Add your wishes here...",placeholderSuggestions:["Wine for pasta","Perfect with fish","Recommended for a party"],headerLine1:"Share anything on your mind \u2014",headerLine2:"\u2014 and get recommendations of the perfect wine in seconds",headerMeal:"meal",headerMood:"mood",headerBudget:"budget",headerOccasion:"occasion",headerOr:"or",errorMessage:"Something went wrong. Please try again later.",noResultsMessage:"No results found for your search. Please try a different query.",ai_sommelier:"AI sommelier",consentText:"The wine assistant stores an anonymous identifier on this device to learn your taste and improve recommendations. You can use it without accepting.",consentAccept:"Accept",consentDecline:"Decline",consentPrivacy:"Privacy policy"},el={lang:"sr",welcomeMessage:"\u0160ta planirate da jedete? Podelite svoje jelo i preporu\u010Di\u0107u vam savr\u0161eno vino uz obrok.",noResultsFound:"Nema rezultata.",somethingWentWrong:"Izvinite, ne\u0161to je po\u0161lo po zlu.",chatButton1:"Prona\u0111i vino",chatButton2:"Upari vino sada",chatButton3:"Zatra\u017Ei preporuku",chatTitle:"Asistent za uparivanje vina \u{1F377}",chatSubtitle:"Opi\u0161ite svoj obrok i dobijte preporuku za 30 sekundi",inputPlaceholder:"npr. Tuna salata",sendButton:"Upari",poweredBy:"Pokre\u0107e",price:"Cena",region:"Regija",type:"Tip",reason:"Preporuka",moreInfo:"Vi\u0161e informacija",tryAgain:"Poku\u0161aj ponovo",similarWines:"Sli\u010Dna vina",byTheGlass:"Na \u010Da\u0161u",winePairingIntro:"Za ovo vino, preporu\u010Duju se slede\u0107a jela:",askForDinner:"\u0160ta biste \u017Eeleli za ve\u010Deru?",clearChatButton:"Obri\u0161i razgovor",widgetTitle:"PRONA\u0110ITE SAVR\u0160ENO VINO",widgetSubtitle:"Podelite bilo \u0161ta \u2014 obrok, raspolo\u017Eenje, bud\u017Eet ili priliku \u2014 i na\u0161 AI somelijer \u0107e vam za par sekundi preporu\u010Diti vino",searchPlaceholder:"Unesite klju\u010Dnu re\u010D ili opis","wineDetails.price":"Cena","wineDetails.region":"Regija","wineDetails.type":"Tip","wineDetails.moreInfo":"Vi\u0161e informacija","wineDetails.reason":"Razlog","wineDetails.code":"\u0160ifra","wineDetails.buy":"Kupi",searchButton:"Pretraga",priceRange:"Cenovni raspon",wineColor:"Boja vina",intensity:"Intenzitet",red:"Crveno",white:"Belo",rose:"Roze",light:"Lako",medium:"Srednje",full:"Puno",barTitle:"Jela iz bara",barSubtitle:"Izaberite jela ispod i kliknite 'Po\u0161alji'",barSendButton:"Po\u0161alji",barResetButton:"Resetuj",barName:"Naziv bara",barNotesPlaceholder:"Dodajte svoje \u017Eelje ovde...",placeholderSuggestions:["Vino uz pastu","Savr\u0161eno uz ribu","Preporuka za \u017Eurku"],headerLine1:"Podelite bilo \u0161ta \u0161to vam je na umu \u2014",headerLine2:"\u2014 i dobijte preporuke za savr\u0161eno vino za par sekundi",headerMeal:"obrok",headerMood:"raspolo\u017Eenje",headerBudget:"bud\u017Eet",headerOccasion:"prilika",headerOr:"ili",errorMessage:"Ne\u0161to je po\u0161lo po zlu. Molimo poku\u0161ajte ponovo kasnije.",noResultsMessage:"Nema rezultata za va\u0161u pretragu. Molimo poku\u0161ajte sa druga\u010Dijim upitom.",ai_sommelier:"AI sommelier",consentText:"Vinski asistent \u010Duva anonimni identifikator na ovom ure\u0111aju kako bi upoznao va\u0161 ukus i pobolj\u0161ao preporuke. Mo\u017Eete ga koristiti i bez prihvatanja.",consentAccept:"Prihvati",consentDecline:"Odbij",consentPrivacy:"Politika privatnosti"},tl={lang:"de",welcomeMessage:"Was m\xF6chten Sie essen? Beschreiben Sie Ihr Gericht und ich empfehle Ihnen den perfekten Wein dazu.",noResultsFound:"Keine Ergebnisse gefunden.",somethingWentWrong:"Entschuldigung, etwas ist schief gelaufen.",chatButton1:"Finde Dein Pairing",chatButton2:"Wein jetzt w\xE4hlen",chatButton3:"Erhalte Weinberatung",chatTitle:"Wein & Speisen \u{1F377}",chatSubtitle:"Beschreiben Sie Ihr Gericht und erhalten Sie in 30 Sekunden eine Empfehlung",inputPlaceholder:"z.B., Thunfischsalat",sendButton:"Kombinieren",poweredBy:"Unterst\xFCtzt von",price:"Preis",region:"Region",type:"Typ",reason:"Anregung",moreInfo:"Mehr Info",tryAgain:"Nochmal versuchen",similarWines:"\xC4hnliche Weine",byTheGlass:"Glasweise",winePairingIntro:"F\xFCr diesen Wein gibt es folgende Essensvorschl\xE4ge:",askForDinner:"Was m\xF6chten Sie zum Abendessen essen?",clearChatButton:"Chat l\xF6schen",widgetTitle:"FINDEN SIE IHREN PERFEKTEN WEIN",widgetSubtitle:"Teilen Sie alles, was Ihnen in den Sinn kommt\u2014Ihre Mahlzeit, Stimmung, Ihr Budget oder Anlass\u2014und unser KI-Sommelier empfiehlt Ihnen in Sekunden den perfekten Wein",placeholderSuggestions:["Wein f\xFCr Pasta","Perfekt zu Fisch","Empfohlen f\xFCr eine Party"],searchPlaceholder:"Geben Sie ein Stichwort oder eine Beschreibung ein","wineDetails.price":"Preis","wineDetails.region":"Region","wineDetails.type":"Typ","wineDetails.moreInfo":"Mehr Info","wineDetails.reason":"Grund","wineDetails.code":"Code","wineDetails.buy":"Kaufen",searchButton:"Suche",priceRange:"Preisspanne",wineColor:"Weinfarbe",intensity:"Intensit\xE4t",red:"Rot",white:"Wei\xDF",rose:"Ros\xE9",light:"Leicht",medium:"Mittel",full:"Voll",barTitle:"Bar-Auswahl",barSubtitle:"W\xE4hlen Sie Ihre Gerichte und klicken Sie auf 'Senden'",barSendButton:"Senden",barResetButton:"Zur\xFCcksetzen",barName:"Name der Bar",headerLine1:"Teilen Sie alles, was Ihnen durch den Kopf geht \u2014",headerLine2:"\u2014 und erhalten Sie in Sekundenschnelle Empfehlungen f\xFCr den perfekten Wein",headerMeal:"Mahlzeit",headerMood:"Stimmung",headerBudget:"Budget",headerOccasion:"Anlass",headerOr:"oder",errorMessage:"Etwas ist schief gelaufen. Bitte versuchen Sie es sp\xE4ter erneut.",noResultsMessage:"Keine Ergebnisse f\xFCr Ihre Suche gefunden. Bitte versuchen Sie es mit einer anderen Anfrage.",ai_sommelier:"AI sommelier",consentText:"Der Weinassistent speichert eine anonyme Kennung auf diesem Ger\xE4t, um Ihren Geschmack kennenzulernen und Empfehlungen zu verbessern. Sie k\xF6nnen ihn auch ohne Zustimmung nutzen.",consentAccept:"Akzeptieren",consentDecline:"Ablehnen",consentPrivacy:"Datenschutzerkl\xE4rung"},nl={lang:"ukr",welcomeMessage:"\u0429\u043E \u0432\u0438 \u0437\u0431\u0438\u0440\u0430\u0454\u0442\u0435\u0441\u044C \u0457\u0441\u0442\u0438? \u041E\u043F\u0438\u0448\u0456\u0442\u044C \u0441\u0432\u043E\u044E \u0441\u0442\u0440\u0430\u0432\u0443, \u0456 \u044F \u043F\u043E\u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u044E \u0432\u0430\u043C \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u0435 \u0432\u0438\u043D\u043E.",noResultsFound:"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432 \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E.",somethingWentWrong:"\u0412\u0438\u0431\u0430\u0447\u0442\u0435, \u0449\u043E\u0441\u044C \u043F\u0456\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A.",chatButton1:"\u0417\u043D\u0430\u0439\u0442\u0438 \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u0435 \u043F\u043E\u0454\u0434\u043D\u0430\u043D\u043D\u044F",chatButton2:"\u041F\u0456\u0434\u0456\u0431\u0440\u0430\u0442\u0438 \u0432\u0438\u043D\u043E",chatButton3:"\u041E\u0442\u0440\u0438\u043C\u0430\u0442\u0438 \u043F\u043E\u0440\u0430\u0434\u0443",chatTitle:"\u0421\u043E\u043C\u0435\u043B\u044C\u0454-\u043F\u043E\u043C\u0456\u0447\u043D\u0438\u043A \u{1F377}",chatSubtitle:"\u041E\u043F\u0438\u0448\u0456\u0442\u044C \u0441\u0432\u043E\u044E \u0441\u0442\u0440\u0430\u0432\u0443 \u0456 \u043E\u0442\u0440\u0438\u043C\u0430\u0439\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u044E \u0437\u0430 30 \u0441\u0435\u043A\u0443\u043D\u0434",inputPlaceholder:"\u043D\u0430\u043F\u0440\u0438\u043A\u043B\u0430\u0434, \u0422\u0443\u043D\u0435\u0446\u044C \u0456\u0437 \u0441\u0430\u043B\u0430\u0442\u043E\u043C",sendButton:"\u041F\u0456\u0434\u0456\u0431\u0440\u0430\u0442\u0438",poweredBy:"\u0420\u043E\u0437\u0440\u043E\u0431\u043B\u0435\u043D\u043E \u043D\u0430 \u043E\u0441\u043D\u043E\u0432\u0456",price:"\u0426\u0456\u043D\u0430",region:"\u0420\u0435\u0433\u0456\u043E\u043D",type:"\u0422\u0438\u043F",reason:"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u044F",moreInfo:"\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435",tryAgain:"\u0421\u043F\u0440\u043E\u0431\u0443\u0432\u0430\u0442\u0438 \u0449\u0435",similarWines:"\u0421\u0445\u043E\u0436\u0456 \u0432\u0438\u043D\u0430",byTheGlass:"\u041D\u0430 \u043A\u0435\u043B\u0438\u0445",winePairingIntro:"\u0414\u043E \u0446\u044C\u043E\u0433\u043E \u0432\u0438\u043D\u0430 \u043F\u0456\u0434\u0445\u043E\u0434\u044F\u0442\u044C \u0442\u0430\u043A\u0456 \u0441\u0442\u0440\u0430\u0432\u0438:",askForDinner:"\u0429\u043E \u0432\u0438 \u0445\u043E\u0447\u0435\u0442\u0435 \u043D\u0430 \u0432\u0435\u0447\u0435\u0440\u044E?",clearChatButton:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u0438 \u0447\u0430\u0442",widgetTitle:"\u0417\u041D\u0410\u0419\u0414\u0406\u0422\u042C \u0406\u0414\u0415\u0410\u041B\u042C\u041D\u0415 \u0412\u0418\u041D\u041E",widgetSubtitle:"\u041F\u043E\u0434\u0456\u043B\u0456\u0442\u044C\u0441\u044F \u0442\u0438\u043C, \u0449\u043E \u0443 \u0432\u0430\u0441 \u043D\u0430 \u0434\u0443\u043C\u0446\u0456\u2014\u0457\u0436\u0430, \u043D\u0430\u0441\u0442\u0440\u0456\u0439, \u0431\u044E\u0434\u0436\u0435\u0442 \u0447\u0438 \u043F\u043E\u0434\u0456\u044F\u2014\u0456 \u043D\u0430\u0448 AI-\u0441\u043E\u043C\u0435\u043B\u044C\u0454 \u043F\u043E\u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0454 \u0432\u0430\u043C \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u0435 \u0432\u0438\u043D\u043E \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0438",searchPlaceholder:"\u0412\u0432\u0435\u0434\u0456\u0442\u044C \u043A\u043B\u044E\u0447\u043E\u0432\u0435 \u0441\u043B\u043E\u0432\u043E \u0430\u0431\u043E \u043E\u043F\u0438\u0441","wineDetails.reason":"\u041F\u0440\u0438\u0447\u0438\u043D\u0430","wineDetails.price":"\u0426\u0456\u043D\u0430","wineDetails.region":"\u0420\u0435\u0433\u0456\u043E\u043D","wineDetails.type":"\u0422\u0438\u043F","wineDetails.moreInfo":"\u0414\u043E\u043A\u043B\u0430\u0434\u043D\u0456\u0448\u0435","wineDetails.code":"\u041A\u043E\u0434","wineDetails.buy":"\u041A\u0443\u043F\u0438\u0442\u0438",searchButton:"\u041F\u043E\u0448\u0443\u043A",priceRange:"\u0414\u0456\u0430\u043F\u0430\u0437\u043E\u043D \u0446\u0456\u043D",wineColor:"\u041A\u043E\u043B\u0456\u0440 \u0432\u0438\u043D\u0430",intensity:"\u0406\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u0456\u0441\u0442\u044C",red:"\u0427\u0435\u0440\u0432\u043E\u043D\u0435",white:"\u0411\u0456\u043B\u0435",rose:"\u0420\u043E\u0436\u0435\u0432\u0435",light:"\u041B\u0435\u0433\u043A\u0435",medium:"\u0421\u0435\u0440\u0435\u0434\u043D\u0454",full:"\u041F\u043E\u0432\u043D\u0435",barTitle:"\u0417\u0430\u043A\u0443\u0441\u043A\u0438 \u0434\u043E \u0432\u0438\u043D\u0430",barSubtitle:"\u0412\u0438\u0431\u0435\u0440\u0456\u0442\u044C \u0441\u0442\u0440\u0430\u0432\u0438 \u043D\u0438\u0436\u0447\u0435 \u0442\u0430 \u043D\u0430\u0442\u0438\u0441\u043D\u0456\u0442\u044C \xAB\u041D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438\xBB",barSendButton:"\u041D\u0430\u0434\u0456\u0441\u043B\u0430\u0442\u0438",barResetButton:"\u0421\u043A\u0438\u043D\u0443\u0442\u0438",barName:"\u041D\u0430\u0437\u0432\u0430 \u0431\u0430\u0440\u0443",barNotesPlaceholder:"\u0414\u043E\u0434\u0430\u0439\u0442\u0435 \u0432\u0430\u0448\u0456 \u043F\u043E\u0431\u0430\u0436\u0430\u043D\u043D\u044F \u0442\u0443\u0442...",placeholderSuggestions:["\u0412\u0438\u043D\u043E \u0434\u043E \u043F\u0430\u0441\u0442\u0438","\u0406\u0434\u0435\u0430\u043B\u044C\u043D\u043E \u0434\u043E \u0440\u0438\u0431\u0438","\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0454\u043C\u043E \u0434\u043B\u044F \u0432\u0435\u0447\u0456\u0440\u043A\u0438"],headerLine1:"\u041F\u043E\u0434\u0456\u043B\u0456\u0442\u044C\u0441\u044F \u0431\u0443\u0434\u044C-\u044F\u043A\u0438\u043C\u0438 \u0432\u0430\u0448\u0438\u043C\u0438 \u0434\u0443\u043C\u043A\u0430\u043C\u0438 \u2014",headerLine2:"\u2014 \u0456 \u043E\u0442\u0440\u0438\u043C\u0430\u0439\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u0457 \u0449\u043E\u0434\u043E \u0456\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u0433\u043E \u0432\u0438\u043D\u0430 \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u0438",headerMeal:"\u0441\u0442\u0440\u0430\u0432\u0430",headerMood:"\u043D\u0430\u0441\u0442\u0440\u0456\u0439",headerBudget:"\u0431\u044E\u0434\u0436\u0435\u0442",headerOccasion:"\u043F\u043E\u0434\u0456\u044F",headerOr:"\u0430\u0431\u043E",errorMessage:"\u0429\u043E\u0441\u044C \u043F\u0456\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A. \u0411\u0443\u0434\u044C \u043B\u0430\u0441\u043A\u0430, \u0441\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u0456\u0437\u043D\u0456\u0448\u0435.",noResultsMessage:"\u0417\u0430 \u0432\u0430\u0448\u0438\u043C \u0437\u0430\u043F\u0438\u0442\u043E\u043C \u043D\u0435 \u0437\u043D\u0430\u0439\u0434\u0435\u043D\u043E \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u0456\u0432. \u0421\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0456\u043D\u0448\u0438\u0439 \u0437\u0430\u043F\u0438\u0442.",ai_sommelier:"AI sommelier",consentText:"\u0412\u0438\u043D\u043D\u0438\u0439 \u043F\u043E\u043C\u0456\u0447\u043D\u0438\u043A \u0437\u0431\u0435\u0440\u0456\u0433\u0430\u0454 \u043D\u0430 \u0446\u044C\u043E\u043C\u0443 \u043F\u0440\u0438\u0441\u0442\u0440\u043E\u0457 \u0430\u043D\u043E\u043D\u0456\u043C\u043D\u0438\u0439 \u0456\u0434\u0435\u043D\u0442\u0438\u0444\u0456\u043A\u0430\u0442\u043E\u0440, \u0449\u043E\u0431 \u0432\u0440\u0430\u0445\u043E\u0432\u0443\u0432\u0430\u0442\u0438 \u0432\u0430\u0448 \u0441\u043C\u0430\u043A \u0456 \u043F\u043E\u043A\u0440\u0430\u0449\u0443\u0432\u0430\u0442\u0438 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0456\u0457. \u041A\u043E\u0440\u0438\u0441\u0442\u0443\u0432\u0430\u0442\u0438\u0441\u044F \u043C\u043E\u0436\u043D\u0430 \u0439 \u0431\u0435\u0437 \u0437\u0433\u043E\u0434\u0438.",consentAccept:"\u041F\u0440\u0438\u0439\u043D\u044F\u0442\u0438",consentDecline:"\u0412\u0456\u0434\u0445\u0438\u043B\u0438\u0442\u0438",consentPrivacy:"\u041F\u043E\u043B\u0456\u0442\u0438\u043A\u0430 \u043A\u043E\u043D\u0444\u0456\u0434\u0435\u043D\u0446\u0456\u0439\u043D\u043E\u0441\u0442\u0456"},rl={lang:"ru",welcomeMessage:"\u0427\u0442\u043E \u0432\u044B \u043F\u043B\u0430\u043D\u0438\u0440\u0443\u0435\u0442\u0435 \u043F\u043E\u0435\u0441\u0442\u044C? \u041D\u0430\u043F\u0438\u0448\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u0431\u043B\u044E\u0434\u043E, \u0438 \u044F \u043F\u043E\u0434\u0431\u0435\u0440\u0443 \u0438\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u0435 \u0432\u0438\u043D\u043E \u043A \u043D\u0435\u043C\u0443.",noResultsFound:"\u0420\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u044B \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u044B.",somethingWentWrong:"\u0418\u0437\u0432\u0438\u043D\u0438\u0442\u0435, \u0447\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A.",chatButton1:"\u041D\u0430\u0439\u0442\u0438 \u0441\u043E\u0447\u0435\u0442\u0430\u043D\u0438\u0435",chatButton2:"\u041F\u043E\u0434\u043E\u0431\u0440\u0430\u0442\u044C \u0432\u0438\u043D\u043E",chatButton3:"\u041F\u043E\u043B\u0443\u0447\u0438\u0442\u044C \u0441\u043E\u0432\u0435\u0442",chatTitle:"\u0410\u0441\u0441\u0438\u0441\u0442\u0435\u043D\u0442 \u043F\u043E \u043F\u043E\u0434\u0431\u043E\u0440\u0443 \u0432\u0438\u043D\u0430 \u{1F377}",chatSubtitle:"\u041E\u043F\u0438\u0448\u0438\u0442\u0435 \u0432\u0430\u0448\u0435 \u0431\u043B\u044E\u0434\u043E \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u044E \u0437\u0430 30 \u0441\u0435\u043A\u0443\u043D\u0434",inputPlaceholder:"\u043D\u0430\u043F\u0440\u0438\u043C\u0435\u0440, \u0422\u0443\u043D\u0435\u0446 \u0441 \u0441\u0430\u043B\u0430\u0442\u043E\u043C",sendButton:"\u041F\u043E\u0434\u043E\u0431\u0440\u0430\u0442\u044C",poweredBy:"Powered by",price:"\u0426\u0435\u043D\u0430",region:"\u0420\u0435\u0433\u0438\u043E\u043D",type:"\u0422\u0438\u043F",reason:"\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u044F",moreInfo:"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435",tryAgain:"\u041F\u043E\u043F\u0440\u043E\u0431\u043E\u0432\u0430\u0442\u044C \u0435\u0449\u0451",similarWines:"\u041F\u043E\u0445\u043E\u0436\u0438\u0435 \u0432\u0438\u043D\u0430",byTheGlass:"\u041F\u043E \u0431\u043E\u043A\u0430\u043B\u0430\u043C",winePairingIntro:"\u041A \u044D\u0442\u043E\u043C\u0443 \u0432\u0438\u043D\u0443 \u043F\u043E\u0434\u0445\u043E\u0434\u044F\u0442 \u0441\u043B\u0435\u0434\u0443\u044E\u0449\u0438\u0435 \u0431\u043B\u044E\u0434\u0430:",askForDinner:"\u0427\u0442\u043E \u0431\u044B \u0432\u044B \u0445\u043E\u0442\u0435\u043B\u0438 \u043D\u0430 \u0443\u0436\u0438\u043D?",clearChatButton:"\u041E\u0447\u0438\u0441\u0442\u0438\u0442\u044C \u0447\u0430\u0442",widgetTitle:"\u041D\u0410\u0419\u0414\u0418\u0422\u042C \u0418\u0414\u0415\u0410\u041B\u042C\u041D\u041E\u0415 \u0412\u0418\u041D\u041E",widgetSubtitle:"\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u0435\u0441\u044C \u0432\u0430\u0448\u0438\u043C\u0438 \u043F\u0440\u0435\u0434\u043F\u043E\u0447\u0442\u0435\u043D\u0438\u044F\u043C\u0438 \u2014 \u0431\u043B\u044E\u0434\u043E\u043C, \u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0438\u0435\u043C, \u0431\u044E\u0434\u0436\u0435\u0442\u043E\u043C \u0438\u043B\u0438 \u0441\u043B\u0443\u0447\u0430\u0435\u043C \u2014 \u0438 \u043D\u0430\u0448 AI-\u0441\u043E\u043C\u0435\u043B\u044C\u0435 \u043F\u043E\u0434\u0431\u0435\u0440\u0451\u0442 \u0438\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u0435 \u0432\u0438\u043D\u043E \u0437\u0430 \u0441\u0435\u043A\u0443\u043D\u0434\u044B",searchPlaceholder:"\u0412\u0432\u0435\u0434\u0438\u0442\u0435 \u043A\u043B\u044E\u0447\u0435\u0432\u043E\u0435 \u0441\u043B\u043E\u0432\u043E \u0438\u043B\u0438 \u043E\u043F\u0438\u0441\u0430\u043D\u0438\u0435","wineDetails.price":"\u0426\u0435\u043D\u0430","wineDetails.region":"\u0420\u0435\u0433\u0438\u043E\u043D","wineDetails.type":"\u0422\u0438\u043F","wineDetails.moreInfo":"\u041F\u043E\u0434\u0440\u043E\u0431\u043D\u0435\u0435","wineDetails.reason":"\u041F\u0440\u0438\u0447\u0438\u043D\u0430","wineDetails.code":"\u041A\u043E\u0434","wineDetails.buy":"\u041A\u0443\u043F\u0438\u0442\u044C",searchButton:"\u041F\u043E\u0438\u0441\u043A",priceRange:"\u0414\u0438\u0430\u043F\u0430\u0437\u043E\u043D \u0446\u0435\u043D",wineColor:"\u0426\u0432\u0435\u0442 \u0432\u0438\u043D\u0430",intensity:"\u0418\u043D\u0442\u0435\u043D\u0441\u0438\u0432\u043D\u043E\u0441\u0442\u044C",red:"\u041A\u0440\u0430\u0441\u043D\u043E\u0435",white:"\u0411\u0435\u043B\u043E\u0435",rose:"\u0420\u043E\u0437\u043E\u0432\u043E\u0435",light:"\u041B\u0451\u0433\u043A\u043E\u0435",medium:"\u0421\u0440\u0435\u0434\u043D\u0435\u0435",full:"\u041F\u043E\u043B\u043D\u043E\u0435",barTitle:"\u0417\u0430\u043A\u0443\u0441\u043A\u0438 \u043A \u0432\u0438\u043D\u0443",barSubtitle:"\u0412\u044B\u0431\u0435\u0440\u0438\u0442\u0435 \u0431\u043B\u044E\u0434\u0430 \u043D\u0438\u0436\u0435 \u0438 \u043D\u0430\u0436\u043C\u0438\u0442\u0435 '\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C'",barSendButton:"\u041E\u0442\u043F\u0440\u0430\u0432\u0438\u0442\u044C",barResetButton:"\u0421\u0431\u0440\u043E\u0441\u0438\u0442\u044C",barName:"\u041D\u0430\u0437\u0432\u0430\u043D\u0438\u0435 \u0431\u0430\u0440\u0430",barNotesPlaceholder:"\u0414\u043E\u0431\u0430\u0432\u044C\u0442\u0435 \u0432\u0430\u0448\u0438 \u043F\u043E\u0436\u0435\u043B\u0430\u043D\u0438\u044F \u0437\u0434\u0435\u0441\u044C...",placeholderSuggestions:["\u0412\u0438\u043D\u043E \u0434\u043B\u044F \u043F\u0430\u0441\u0442\u044B","\u0418\u0434\u0435\u0430\u043B\u044C\u043D\u043E \u043A \u0440\u044B\u0431\u0435","\u0420\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0443\u0435\u043C \u0434\u043B\u044F \u0432\u0435\u0447\u0435\u0440\u0438\u043D\u043A\u0438"],headerLine1:"\u041F\u043E\u0434\u0435\u043B\u0438\u0442\u0435\u0441\u044C \u043B\u044E\u0431\u044B\u043C\u0438 \u0432\u0430\u0448\u0438\u043C\u0438 \u043C\u044B\u0441\u043B\u044F\u043C\u0438 \u2014",headerLine2:"\u2014 \u0438 \u043F\u043E\u043B\u0443\u0447\u0438\u0442\u0435 \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438 \u043F\u043E \u0438\u0434\u0435\u0430\u043B\u044C\u043D\u043E\u043C\u0443 \u0432\u0438\u043D\u0443 \u0437\u0430 \u0441\u0447\u0438\u0442\u0430\u043D\u043D\u044B\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u044B",headerMeal:"\u0431\u043B\u044E\u0434\u043E",headerMood:"\u043D\u0430\u0441\u0442\u0440\u043E\u0435\u043D\u0438\u0435",headerBudget:"\u0431\u044E\u0434\u0436\u0435\u0442",headerOccasion:"\u0441\u043B\u0443\u0447\u0430\u0439",headerOr:"\u0438\u043B\u0438",errorMessage:"\u0427\u0442\u043E-\u0442\u043E \u043F\u043E\u0448\u043B\u043E \u043D\u0435 \u0442\u0430\u043A. \u041F\u043E\u0436\u0430\u043B\u0443\u0439\u0441\u0442\u0430, \u043F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u043F\u043E\u0437\u0436\u0435.",noResultsMessage:"\u041F\u043E \u0432\u0430\u0448\u0435\u043C\u0443 \u0437\u0430\u043F\u0440\u043E\u0441\u0443 \u043D\u0435 \u043D\u0430\u0439\u0434\u0435\u043D\u043E \u0440\u0435\u0437\u0443\u043B\u044C\u0442\u0430\u0442\u043E\u0432. \u041F\u043E\u043F\u0440\u043E\u0431\u0443\u0439\u0442\u0435 \u0434\u0440\u0443\u0433\u043E\u0439 \u0437\u0430\u043F\u0440\u043E\u0441.",ai_sommelier:"AI sommelier",consentText:"\u0412\u0438\u043D\u043D\u044B\u0439 \u043F\u043E\u043C\u043E\u0449\u043D\u0438\u043A \u0441\u043E\u0445\u0440\u0430\u043D\u044F\u0435\u0442 \u043D\u0430 \u044D\u0442\u043E\u043C \u0443\u0441\u0442\u0440\u043E\u0439\u0441\u0442\u0432\u0435 \u0430\u043D\u043E\u043D\u0438\u043C\u043D\u044B\u0439 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440, \u0447\u0442\u043E\u0431\u044B \u0443\u0447\u0438\u0442\u044B\u0432\u0430\u0442\u044C \u0432\u0430\u0448 \u0432\u043A\u0443\u0441 \u0438 \u0443\u043B\u0443\u0447\u0448\u0430\u0442\u044C \u0440\u0435\u043A\u043E\u043C\u0435\u043D\u0434\u0430\u0446\u0438\u0438. \u041F\u043E\u043B\u044C\u0437\u043E\u0432\u0430\u0442\u044C\u0441\u044F \u043C\u043E\u0436\u043D\u043E \u0438 \u0431\u0435\u0437 \u0441\u043E\u0433\u043B\u0430\u0441\u0438\u044F.",consentAccept:"\u041F\u0440\u0438\u043D\u044F\u0442\u044C",consentDecline:"\u041E\u0442\u043A\u043B\u043E\u043D\u0438\u0442\u044C",consentPrivacy:"\u041F\u043E\u043B\u0438\u0442\u0438\u043A\u0430 \u043A\u043E\u043D\u0444\u0438\u0434\u0435\u043D\u0446\u0438\u0430\u043B\u044C\u043D\u043E\u0441\u0442\u0438"},il={lang:"kk",welcomeMessage:"\u0421\u0456\u0437 \u043D\u0435 \u0436\u0435\u0433\u0456\u04A3\u0456\u0437 \u043A\u0435\u043B\u0435\u0434\u0456? \u0422\u0430\u0493\u0430\u043C\u044B\u04A3\u044B\u0437\u0434\u044B \u0441\u0438\u043F\u0430\u0442\u0442\u0430\u04A3\u044B\u0437, \u043C\u0435\u043D \u043E\u0493\u0430\u043D \u043A\u0435\u0440\u0435\u043C\u0435\u0442 \u0448\u0430\u0440\u0430\u043F \u04B1\u0441\u044B\u043D\u0430\u043C\u044B\u043D.",noResultsFound:"\u041D\u04D9\u0442\u0438\u0436\u0435\u043B\u0435\u0440 \u0442\u0430\u0431\u044B\u043B\u043C\u0430\u0434\u044B.",somethingWentWrong:"\u041A\u0435\u0448\u0456\u0440\u0456\u04A3\u0456\u0437, \u0431\u0456\u0440\u0434\u0435\u04A3\u0435 \u0434\u04B1\u0440\u044B\u0441 \u0431\u043E\u043B\u043C\u0430\u0434\u044B.",chatButton1:"\u0421\u04D9\u0439\u043A\u0435\u0441\u0442\u0456\u043A \u0442\u0430\u0431\u0443",chatButton2:"\u0428\u0430\u0440\u0430\u043F \u0442\u0430\u04A3\u0434\u0430\u0443",chatButton3:"\u041A\u0435\u04A3\u0435\u0441 \u0430\u043B\u0443",chatTitle:"\u0428\u0430\u0440\u0430\u043F \u0442\u0430\u04A3\u0434\u0430\u0443\u0448\u044B \u043A\u04E9\u043C\u0435\u043A\u0448\u0456 \u{1F377}",chatSubtitle:"\u0422\u0430\u0493\u0430\u043C\u044B\u04A3\u044B\u0437\u0434\u044B \u0441\u0438\u043F\u0430\u0442\u0442\u0430\u04A3\u044B\u0437 \u2014 30 \u0441\u0435\u043A\u0443\u043D\u0434\u0442\u0430 \u04B1\u0441\u044B\u043D\u044B\u0441 \u0430\u043B\u044B\u04A3\u044B\u0437",inputPlaceholder:"\u043C\u044B\u0441\u0430\u043B\u044B, \u0442\u0443\u043D\u0435\u0446 \u0441\u0430\u043B\u0430\u0442\u044B\u043C\u0435\u043D",sendButton:"\u0422\u0430\u04A3\u0434\u0430\u0443",poweredBy:"Powered by",price:"\u0411\u0430\u0493\u0430\u0441\u044B",region:"\u04E8\u04A3\u0456\u0440",type:"\u0422\u04AF\u0440\u0456",reason:"\u04B0\u0441\u044B\u043D\u044B\u0441",moreInfo:"\u0422\u043E\u043B\u044B\u0493\u044B\u0440\u0430\u049B",tryAgain:"\u049A\u0430\u0439\u0442\u0430 \u043A\u04E9\u0440\u0443",similarWines:"\u04B0\u049B\u0441\u0430\u0441 \u0448\u0430\u0440\u0430\u043F\u0442\u0430\u0440",byTheGlass:"\u0411\u043E\u043A\u0430\u043B\u043C\u0435\u043D",winePairingIntro:"\u0411\u04B1\u043B \u0448\u0430\u0440\u0430\u043F\u049B\u0430 \u043A\u0435\u043B\u0435\u0441\u0456 \u0442\u0430\u0493\u0430\u043C\u0434\u0430\u0440 \u0441\u04D9\u0439\u043A\u0435\u0441 \u043A\u0435\u043B\u0435\u0434\u0456:",askForDinner:"\u041A\u0435\u0448\u043A\u0456 \u0430\u0441\u049B\u0430 \u043D\u0435 \u049B\u0430\u043B\u0430\u0439\u0441\u044B\u0437?",clearChatButton:"\u0427\u0430\u0442\u0442\u044B \u0442\u0430\u0437\u0430\u043B\u0430\u0443",widgetTitle:"\u041A\u0415\u0420\u0415\u041C\u0415\u0422 \u0428\u0410\u0420\u0410\u041F\u0422\u042B \u0422\u0410\u0411\u042B\u04A2\u042B\u0417",widgetSubtitle:"\u0422\u0430\u04A3\u0434\u0430\u0443\u043B\u0430\u0440\u044B\u04A3\u044B\u0437\u0434\u044B \u0431\u04E9\u043B\u0456\u0441\u0456\u04A3\u0456\u0437 \u2014 \u0442\u0430\u0493\u0430\u043C, \u043A\u04E9\u04A3\u0456\u043B-\u043A\u04AF\u0439, \u0431\u044E\u0434\u0436\u0435\u0442 \u043D\u0435\u043C\u0435\u0441\u0435 \u0436\u0430\u0493\u0434\u0430\u0439 \u2014 \u0436\u04D9\u043D\u0435 \u0431\u0456\u0437\u0434\u0456\u04A3 AI-\u0441\u043E\u043C\u0435\u043B\u044C\u0435 \u0441\u0456\u0437\u0433\u0435 \u0431\u0456\u0440\u043D\u0435\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u0442\u0430 \u0448\u0430\u0440\u0430\u043F \u04B1\u0441\u044B\u043D\u0430\u0434\u044B",searchPlaceholder:"\u041A\u0456\u043B\u0442 \u0441\u04E9\u0437\u0434\u0456 \u043D\u0435\u043C\u0435\u0441\u0435 \u0441\u0438\u043F\u0430\u0442\u0442\u0430\u043C\u0430\u043D\u044B \u0435\u043D\u0433\u0456\u0437\u0456\u04A3\u0456\u0437","wineDetails.price":"\u0411\u0430\u0493\u0430\u0441\u044B","wineDetails.region":"\u04E8\u04A3\u0456\u0440","wineDetails.type":"\u0422\u04AF\u0440\u0456","wineDetails.moreInfo":"\u0422\u043E\u043B\u044B\u0493\u044B\u0440\u0430\u049B","wineDetails.reason":"\u0421\u0435\u0431\u0435\u0431\u0456","wineDetails.code":"\u041A\u043E\u0434","wineDetails.buy":"\u0421\u0430\u0442\u044B\u043F \u0430\u043B\u0443",searchButton:"\u0406\u0437\u0434\u0435\u0443",priceRange:"\u0411\u0430\u0493\u0430 \u0434\u0438\u0430\u043F\u0430\u0437\u043E\u043D\u044B",wineColor:"\u0428\u0430\u0440\u0430\u043F \u0442\u04AF\u0441\u0456",intensity:"\u049A\u0430\u043D\u044B\u049B\u0442\u044B\u043B\u044B\u049B",red:"\u049A\u044B\u0437\u044B\u043B",white:"\u0410\u049B",rose:"\u0420\u043E\u0437\u0430\u043B\u044B\u049B",light:"\u0416\u0435\u04A3\u0456\u043B",medium:"\u041E\u0440\u0442\u0430\u0448\u0430",full:"\u0422\u043E\u043B\u044B\u049B",barTitle:"\u0428\u0430\u0440\u0430\u043F\u049B\u0430 \u0430\u0440\u043D\u0430\u043B\u0493\u0430\u043D \u0442\u0456\u0441\u043A\u0435\u0431\u0430\u0441\u0430\u0440\u043B\u0430\u0440",barSubtitle:"\u0422\u04E9\u043C\u0435\u043D\u0434\u0435\u0433\u0456 \u0442\u0430\u0493\u0430\u043C\u0434\u0430\u0440\u0434\u044B \u0442\u0430\u04A3\u0434\u0430\u04A3\u044B\u0437 \u0436\u04D9\u043D\u0435 '\u0416\u0456\u0431\u0435\u0440\u0443' \u0431\u0430\u0442\u044B\u0440\u043C\u0430\u0441\u044B\u043D \u0431\u0430\u0441\u044B\u04A3\u044B\u0437",barSendButton:"\u0416\u0456\u0431\u0435\u0440\u0443",barResetButton:"\u049A\u0430\u043B\u043F\u044B\u043D\u0430 \u043A\u0435\u043B\u0442\u0456\u0440\u0443",barName:"\u0411\u0430\u0440 \u0430\u0442\u0430\u0443\u044B",barNotesPlaceholder:"\u041C\u04B1\u043D\u0434\u0430 \u04E9\u0437 \u0442\u0456\u043B\u0435\u043A\u0442\u0435\u0440\u0456\u04A3\u0456\u0437\u0434\u0456 \u0436\u0430\u0437\u044B\u04A3\u044B\u0437...",placeholderSuggestions:["\u041F\u0430\u0441\u0442\u0430\u0493\u0430 \u0430\u0440\u043D\u0430\u043B\u0493\u0430\u043D \u0448\u0430\u0440\u0430\u043F","\u0411\u0430\u043B\u044B\u049B\u049B\u0430 \u0442\u0430\u043C\u0430\u0448\u0430 \u04AF\u0439\u043B\u0435\u0441\u0435\u0434\u0456","\u041A\u0435\u0448\u043A\u0435 \u04B1\u0441\u044B\u043D\u0443\u0493\u0430 \u0431\u043E\u043B\u0430\u0434\u044B"],headerLine1:"\u041E\u0439\u043B\u0430\u0440\u044B\u04A3\u044B\u0437\u0431\u0435\u043D \u0431\u04E9\u043B\u0456\u0441\u0456\u04A3\u0456\u0437 \u2014",headerLine2:"\u2014 \u0436\u04D9\u043D\u0435 \u0431\u0456\u0440\u043D\u0435\u0448\u0435 \u0441\u0435\u043A\u0443\u043D\u0434\u0442\u0430 \u043C\u0456\u043D\u0441\u0456\u0437 \u0448\u0430\u0440\u0430\u043F \u04B1\u0441\u044B\u043D\u044B\u0441\u044B\u043D \u0430\u043B\u044B\u04A3\u044B\u0437",headerMeal:"\u0442\u0430\u0493\u0430\u043C",headerMood:"\u043A\u04E9\u04A3\u0456\u043B-\u043A\u04AF\u0439",headerBudget:"\u0431\u044E\u0434\u0436\u0435\u0442",headerOccasion:"\u0436\u0430\u0493\u0434\u0430\u0439",headerOr:"\u043D\u0435\u043C\u0435\u0441\u0435",errorMessage:"\u0411\u0456\u0440\u0434\u0435\u04A3\u0435 \u0434\u04B1\u0440\u044B\u0441 \u0431\u043E\u043B\u043C\u0430\u0434\u044B. \u041A\u0435\u0439\u0456\u043D\u0456\u0440\u0435\u043A \u049B\u0430\u0439\u0442\u0430 \u043A\u04E9\u0440\u0456\u04A3\u0456\u0437.",noResultsMessage:"\u0406\u0437\u0434\u0435\u0443\u0456\u04A3\u0456\u0437\u0433\u0435 \u0441\u04D9\u0439\u043A\u0435\u0441 \u043D\u04D9\u0442\u0438\u0436\u0435 \u0442\u0430\u0431\u044B\u043B\u043C\u0430\u0434\u044B. \u0411\u0430\u0441\u049B\u0430 \u0441\u04B1\u0440\u0430\u0443 \u049B\u043E\u043B\u0434\u0430\u043D\u044B\u043F \u043A\u04E9\u0440\u0456\u04A3\u0456\u0437.",ai_sommelier:"AI sommelier",consentText:"\u0428\u0430\u0440\u0430\u043F \u043A\u04E9\u043C\u0435\u043A\u0448\u0456\u0441\u0456 \u0441\u0456\u0437\u0434\u0456\u04A3 \u0442\u0430\u043B\u0493\u0430\u043C\u044B\u04A3\u044B\u0437\u0434\u044B \u0435\u0441\u043A\u0435\u0440\u0456\u043F, \u04B1\u0441\u044B\u043D\u044B\u0441\u0442\u0430\u0440\u0434\u044B \u0436\u0430\u049B\u0441\u0430\u0440\u0442\u0443 \u04AF\u0448\u0456\u043D \u043E\u0441\u044B \u049B\u04B1\u0440\u044B\u043B\u0493\u044B\u0434\u0430 \u0430\u043D\u043E\u043D\u0438\u043C\u0434\u0456 \u0438\u0434\u0435\u043D\u0442\u0438\u0444\u0438\u043A\u0430\u0442\u043E\u0440 \u0441\u0430\u049B\u0442\u0430\u0439\u0434\u044B. \u041A\u0435\u043B\u0456\u0441\u0456\u043C\u0441\u0456\u0437 \u0434\u0435 \u043F\u0430\u0439\u0434\u0430\u043B\u0430\u043D\u0430 \u0430\u043B\u0430\u0441\u044B\u0437.",consentAccept:"\u049A\u0430\u0431\u044B\u043B\u0434\u0430\u0443",consentDecline:"\u0411\u0430\u0441 \u0442\u0430\u0440\u0442\u0443",consentPrivacy:"\u049A\u04B1\u043F\u0438\u044F\u043B\u044B\u043B\u044B\u049B \u0441\u0430\u044F\u0441\u0430\u0442\u044B"},ol={lang:"pt",welcomeMessage:"O que voc\xEA planeja comer? Descreva seu prato e eu recomendarei a harmoniza\xE7\xE3o perfeita.",noResultsFound:"Nenhum resultado encontrado.",somethingWentWrong:"Desculpe, algo deu errado.",chatButton1:"Encontre sua harmoniza\xE7\xE3o",chatButton2:"Harmonizar vinho agora",chatButton3:"Receber conselho de vinho",chatTitle:"Assistente de Harmoniza\xE7\xE3o de Vinhos \u{1F377}",chatSubtitle:"Descreva sua refei\xE7\xE3o e receba uma recomenda\xE7\xE3o em 30 segundos",inputPlaceholder:"ex., Salada de atum",sendButton:"Harmonizar",poweredBy:"Desenvolvido por",price:"Pre\xE7o",region:"Regi\xE3o",type:"Tipo",reason:"Sugest\xE3o",moreInfo:"Mais informa\xE7\xF5es",tryAgain:"Tentar de novo",similarWines:"Vinhos semelhantes",byTheGlass:"Por ta\xE7a",winePairingIntro:"Para este vinho, aqui est\xE3o algumas sugest\xF5es de pratos:",askForDinner:"O que voc\xEA gostaria de jantar?",clearChatButton:"Limpar chat",widgetTitle:"ENCONTRE SEU VINHO PERFEITO",widgetSubtitle:"Compartilhe o que tiver em mente \u2014 sua refei\xE7\xE3o, humor, or\xE7amento ou ocasi\xE3o \u2014 e nosso sommelier de IA recomendar\xE1 o vinho perfeito em segundos",searchPlaceholder:"Digite uma palavra-chave ou descri\xE7\xE3o","wineDetails.reason":"Motivo","wineDetails.price":"Pre\xE7o","wineDetails.region":"Regi\xE3o","wineDetails.type":"Tipo","wineDetails.moreInfo":"Mais informa\xE7\xF5es","wineDetails.code":"C\xF3digo","wineDetails.buy":"Comprar",searchButton:"Pesquisar",priceRange:"Faixa de pre\xE7o",wineColor:"Cor do vinho",intensity:"Intensidade",red:"Tinto",white:"Branco",rose:"Ros\xE9",light:"Leve",medium:"M\xE9dio",full:"Encorpado",barTitle:"Pratos do bar",barSubtitle:"Selecione os pratos abaixo e clique em 'Enviar'",barSendButton:"Enviar",barResetButton:"Resetar",barName:"Nome do bar",barNotesPlaceholder:"Adicione seus desejos aqui...",placeholderSuggestions:["Vinho para massa","Perfeito com peixe","Recomendado para uma festa"],headerLine1:"Compartilhe o que tiver em mente \u2014",headerLine2:"\u2014 e receba recomenda\xE7\xF5es do vinho perfeito em segundos",headerMeal:"refei\xE7\xE3o",headerMood:"humor",headerBudget:"or\xE7amento",headerOccasion:"ocasi\xE3o",headerOr:"ou",errorMessage:"Algo deu errado. Por favor, tente novamente mais tarde.",noResultsMessage:"Nenhum resultado encontrado para sua pesquisa. Por favor, tente uma consulta diferente.",ai_sommelier:"AI sommelier",consentText:"O assistente de vinhos guarda um identificador an\xF3nimo neste dispositivo para conhecer o seu gosto e melhorar as recomenda\xE7\xF5es. Pode us\xE1-lo sem aceitar.",consentAccept:"Aceitar",consentDecline:"Recusar",consentPrivacy:"Pol\xEDtica de privacidade"},al={fr:Js,es:Qs,en:Xs,sr:el,de:tl,ukr:nl,ru:rl,kk:il,pt:ol};function sl(e){return{id:String(e.id),lang:e.lang,available_languages:e.available_languages?e.available_languages:[e.lang],open_ai_key:e.open_ai_key??null,currency:e.currency,title:e.title,requires_cookie_consent:e.requires_cookie_consent===!0}}const ll={0:{logoUrl:null,brandColor:"#7B2BEB"},29:{logoUrl:"https://czvgkhagwvmknscoerfy.supabase.co/storage/v1/object/public/static-media/plou_logo.jpg",brandColor:"#e6c6bb"},25:{logoUrl:null,brandColor:"#000000",wineaterColor:"#000000",buttonUppercase:!0,customCss:`
3
3
  @import url('https://fonts.googleapis.com/css2?family=Roboto:wght@400;600;700&display=swap');
4
4
  :root { --wineater-font-primary: 'Roboto', sans-serif; }
5
5
  #wr-Custom {
@@ -100,10 +100,10 @@ var Yo=Object.defineProperty,pi=e=>{throw TypeError(e)},Qo=(e,t,n)=>t in e?Yo(e,
100
100
  background-color: #8bae98;
101
101
  }
102
102
  }
103
- `}};function ll(e){const t={logoUrl:null,brandColor:"#7B2BEB",wineaterColor:"#7B2BEB",customCss:`
103
+ `}};function cl(e){const t={logoUrl:null,brandColor:"#7B2BEB",wineaterColor:"#7B2BEB",customCss:`
104
104
  @import url('https://fonts.googleapis.com/css2?family=Bricolage+Grotesque:opsz,wght@12..96,200..800&display=swap');
105
105
  :root { --wineater-font-primary: 'Bricolage Grotesque', serif; }
106
- `},n=sl[e]||{};return{...t,...n}}const cl=24*60*60*1e3;let te=je({storeConfig:null,currentLanguage:"en",isConfigLoaded:!1,uiConfig:null});const le={getLanguageFromURL(){return new URLSearchParams(window.location.search).get("lang")},getAppLanguage(){return te?.currentLanguage??"en"},getStoreLanguage(){var e;return((e=te.storeConfig)==null?void 0:e.lang)??null},getApiKey(){var e;return((e=te.storeConfig)==null?void 0:e.open_ai_key)??null},getStoreId(){var e;return((e=te.storeConfig)==null?void 0:e.id)??null},setStoreLanguage(e){if(te.storeConfig&&te.storeConfig.available_languages.includes(e)){te.currentLanguage=e;const t=new URLSearchParams(window.location.search);t.set("lang",e);const n=`${window.location.pathname}?${t.toString()}`;window.history.replaceState({},"",n)}else throw new Error(`Language ${e} is not available in store configuration.`)},getSupportedLanguages(){var e;return((e=te.storeConfig)==null?void 0:e.available_languages)??["en"]},getConsentRequired(){var e;return((e=te.storeConfig)==null?void 0:e.requires_cookie_consent)===!0},getCurrency(){var e;return((e=te.storeConfig)==null?void 0:e.currency)??"USD"},applyStoreConfig(e){te.storeConfig=al(e),te.currentLanguage=te.storeConfig.lang;const t=this.getLanguageFromURL();t&&te.storeConfig.available_languages.includes(t)?this.setStoreLanguage(t):this.setStoreLanguage(te.storeConfig.lang),this.setUiConfig(ll(te.storeConfig.id)),Bs(te.storeConfig.requires_cookie_consent),te.isConfigLoaded=!0},async initializeStore(){const e=`${ri}:store-config:v2`,t=async()=>{const n=await yn.getStoreConfig();return oi(e,n),n};try{const n=ii(e,cl);if(n)try{this.applyStoreConfig(n),t().catch(()=>{});return}catch(r){console.warn("Ignoring invalid cached store config:",r)}this.applyStoreConfig(await t())}catch(n){console.error("Failed to initialize store:",n),te.isConfigLoaded=!1}},isInitialized(){return te.isConfigLoaded},getUiConfig(){return te.uiConfig},setUiConfig(e){te.uiConfig=e}},ul={en:"en-US",de:"de-DE",fr:"fr-FR",es:"es-ES",it:"it-IT",ja:"ja-JP",zh:"zh-CN",ru:"ru-RU",kk:"kk-KZ",pt:"pt-PT"};function dl(e,t,n="en"){try{return new Intl.NumberFormat(ul[n]||"en-US",{style:"currency",currency:t,currencyDisplay:"narrowSymbol"}).format(e)}catch{return e.toString()}}function oe({key:e,lang:t}){const n=ol,r=le.getUiConfig(),i=r?.translations||{};if(i[t]&&i[t][e])return i[t][e];if(n[t]&&n[t][e])return n[t][e];throw new Error(`Translation for key "${e}" not found in language "${t}".`)}async function pl({sourceLang:e,targetLang:t,texts:n,apiKey:r}){var i,o,a,c;if(!r||!e||!t||e===t)return n;const s="https://api.openai.com/v1/chat/completions",d={"Content-Type":"application/json",Authorization:`Bearer ${r}`},f=Object.entries(n).map(([u,g])=>({key:u,text:g})),w=`
106
+ `},n=ll[e]||{};return{...t,...n}}const ul=24*60*60*1e3;let ne=Oe({storeConfig:null,currentLanguage:"en",isConfigLoaded:!1,uiConfig:null});const ce={getLanguageFromURL(){return new URLSearchParams(window.location.search).get("lang")},getAppLanguage(){return ne?.currentLanguage??"en"},getStoreLanguage(){var e;return((e=ne.storeConfig)==null?void 0:e.lang)??null},getApiKey(){var e;return((e=ne.storeConfig)==null?void 0:e.open_ai_key)??null},getStoreId(){var e;return((e=ne.storeConfig)==null?void 0:e.id)??null},setStoreLanguage(e){if(ne.storeConfig&&ne.storeConfig.available_languages.includes(e)){ne.currentLanguage=e;const t=new URLSearchParams(window.location.search);t.set("lang",e);const n=`${window.location.pathname}?${t.toString()}`;window.history.replaceState({},"",n)}else throw new Error(`Language ${e} is not available in store configuration.`)},getSupportedLanguages(){var e;return((e=ne.storeConfig)==null?void 0:e.available_languages)??["en"]},getConsentRequired(){var e;return((e=ne.storeConfig)==null?void 0:e.requires_cookie_consent)===!0},getCurrency(){var e;return((e=ne.storeConfig)==null?void 0:e.currency)??"USD"},applyStoreConfig(e){ne.storeConfig=sl(e),ne.currentLanguage=ne.storeConfig.lang;const t=this.getLanguageFromURL();t&&ne.storeConfig.available_languages.includes(t)?this.setStoreLanguage(t):this.setStoreLanguage(ne.storeConfig.lang),this.setUiConfig(cl(ne.storeConfig.id)),Bs(ne.storeConfig.requires_cookie_consent),ne.isConfigLoaded=!0},async initializeStore(){const e=`${oi}:store-config:v2`,t=async()=>{const n=await kn.getStoreConfig();return si(e,n),n};try{const n=ai(e,ul);if(n)try{this.applyStoreConfig(n),t().catch(()=>{});return}catch(r){console.warn("Ignoring invalid cached store config:",r)}this.applyStoreConfig(await t())}catch(n){console.error("Failed to initialize store:",n),ne.isConfigLoaded=!1}},isInitialized(){return ne.isConfigLoaded},getUiConfig(){return ne.uiConfig},setUiConfig(e){ne.uiConfig=e}},dl={en:"en-US",de:"de-DE",fr:"fr-FR",es:"es-ES",it:"it-IT",ja:"ja-JP",zh:"zh-CN",ru:"ru-RU",kk:"kk-KZ",pt:"pt-PT"};function pl(e,t,n="en"){try{return new Intl.NumberFormat(dl[n]||"en-US",{style:"currency",currency:t,currencyDisplay:"narrowSymbol"}).format(e)}catch{return e.toString()}}function ae({key:e,lang:t}){const n=al,r=ce.getUiConfig(),i=r?.translations||{};if(i[t]&&i[t][e])return i[t][e];if(n[t]&&n[t][e])return n[t][e];throw new Error(`Translation for key "${e}" not found in language "${t}".`)}async function hl({sourceLang:e,targetLang:t,texts:n,apiKey:r}){var i,o,s,c;if(!r||!e||!t||e===t)return n;const l="https://api.openai.com/v1/chat/completions",d={"Content-Type":"application/json",Authorization:`Bearer ${r}`},f=Object.entries(n).map(([u,w])=>({key:u,text:w})),g=`
107
107
  You are a professional translator.
108
108
 
109
109
  The input texts are written in language with code "${e}". Your task is to translate them strictly to the target language with code "${t}".
@@ -128,18 +128,18 @@ Output:
128
128
 
129
129
  Now translate the following input:
130
130
  ${JSON.stringify(f,null,2)}
131
- `,p=JSON.stringify({model:"gpt-3.5-turbo",messages:[{role:"system",content:"You are a professional translator."},{role:"user",content:w}],temperature:.2,max_tokens:1e3});try{const u=await(await fetch(s,{method:"POST",headers:d,body:p})).json(),g=(c=(a=(o=(i=u?.choices)==null?void 0:i[0])==null?void 0:o.message)==null?void 0:a.content)==null?void 0:c.trim();if(!g)throw new Error("No response from OpenAI");const m=JSON.parse(g),S={};return m.forEach(W=>{W.key&&W.text!==void 0&&(S[W.key]=W.text)}),{...n,...S}}catch(u){return console.error("Error translating texts:",u),n}}Ra();var hl=ur('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38" fill="none"><path d="M10.036 4.96326H28.2826L34.3648 14.0865L19.1593 33.8537L3.95381 14.0865L10.036 4.96326Z" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17.6388 4.96326L13.0771 14.0865L19.1593 33.8537L25.2415 14.0865L20.6799 4.96326" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.95381 14.0867H34.3648" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function zo(e,t){let n=Re(t,"className",8,""),r=Re(t,"size",8,20);var i=hl();z(()=>{Et(i,0,fn(n())),se(i,"width",r()),se(i,"height",r())}),_(e,i)}var fl=ur('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38" fill="none"><path d="M29.533 21.4034C31.7986 19.1834 34.0946 16.5224 34.0946 13.0404C34.0946 10.8224 33.2135 8.69521 31.6451 7.12684C30.0768 5.55847 27.9496 4.67737 25.7316 4.67737C23.0554 4.67737 21.1699 5.43764 18.8891 7.71847C16.6083 5.43764 14.7228 4.67737 12.0467 4.67737C9.82865 4.67737 7.70148 5.55847 6.13311 7.12684C4.56474 8.69521 3.68364 10.8224 3.68364 13.0404C3.68364 16.5376 5.96446 19.1986 8.24528 21.4034L18.8891 32.0472L29.533 21.4034Z" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path><path d="M18.8891 19.8829L17.3686 18.3623L20.4097 15.3212L15.848 10.7596L18.8891 7.71851" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function Lo(e,t){let n=Re(t,"className",8,""),r=Re(t,"size",8,20);var i=fl();z(()=>{Et(i,0,fn(n())),se(i,"width",r()),se(i,"height",r())}),_(e,i)}var vl=ur('<svg viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.041" d="M19.57 17.655a3.801 3.801 0 1 0 0-7.602 3.801 3.801 0 0 0 0 7.602Z"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.041" d="M19.57 3.97a9.884 9.884 0 0 0-9.458 6.995c-1.673 4.76-1.186 5.93-4.835 9.245a4.562 4.562 0 0 0 2.889 8.09c6.082 0 12.772-2.738 17.334-6.54a9.885 9.885 0 0 0-5.93-17.79Z"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.041" d="m28.693 10.053 3.33 6.842c.316.983.475 2.009.471 3.041a9.867 9.867 0 0 1-3.953 7.907c-4.562 3.801-11.252 6.538-17.334 6.538a4.562 4.562 0 0 1-4.075-2.524l-2.92-5.839"></path></svg>');function ai(e,t){let n=Re(t,"className",8,""),r=Re(t,"size",8,20);var i=vl();z(()=>{Et(i,0,fn(n())),se(i,"width",r()),se(i,"height",r())}),_(e,i)}var gl=ur('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 34" fill="none"><path d="M9.03846 17.0001C10.3456 12.1888 15.9077 8.65686 20.858 8.65686C25.8083 8.65686 29.2846 12.1888 30.5917 17.0001C29.2846 21.8252 25.8083 25.3432 20.858 25.3432C15.9077 25.3432 10.3456 21.8252 9.03846 17.0001Z" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M25.0296 17V17.6953" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22.2485 25.2457C20.4397 22.8774 19.4599 19.98 19.4599 16.9999C19.4599 14.0198 20.4397 11.1224 22.2485 8.75403" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.73372 15.1506C9.73372 11.4379 7.75916 8.6151 3.79615 7.96155C2.40562 10.0473 2.40562 14.9142 4.11597 17C2.39171 19.0858 2.39171 23.9527 3.79615 26.0385C7.75916 25.3849 9.73372 22.5621 9.73372 18.8494" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14.545 10.4089C14.1834 8.48998 12.7512 6.20951 11.1243 4.48525H19.1893C19.8491 4.4828 20.4883 4.71502 20.9927 5.14042C21.497 5.56582 21.8337 6.15668 21.9426 6.80744L22.2624 8.75418" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22.2624 25.2459L21.9426 27.1926C21.8337 27.8434 21.497 28.4342 20.9927 28.8596C20.4883 29.285 19.8491 29.5172 19.1893 29.5148H13.2101C14.5573 27.9873 15.2948 26.0172 15.2819 23.9805" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function No(e,t){let n=Re(t,"className",8,""),r=Re(t,"size",8,20);var i=gl();z(()=>{Et(i,0,fn(n())),se(i,"width",r()),se(i,"height",r())}),_(e,i)}var ml=L('<span><!></span><span class="wr-Header-label svelte-oiwvqb"> </span>',1),wl=L('<!><span class="wr-Header-label svelte-oiwvqb"> </span>',1),yl=L('<!><span class="wr-Header-label svelte-oiwvqb"> </span>',1),bl=L('<h1 class="wr-Header-title svelte-oiwvqb"></h1>'),kl=L('<h1 class="wr-Header-title svelte-oiwvqb"> <span><!></span> <span class="wr-Header-label svelte-oiwvqb"> </span>, <!> <span class="wr-Header-label svelte-oiwvqb"> </span> <br/> <!> <span class="wr-Header-label svelte-oiwvqb"> </span> </h1>'),xl=L('<div class="wr-Header"><!></div>');const _l={hash:"svelte-oiwvqb",code:`.wr-Header-title.svelte-oiwvqb {font-weight:600;font-size:24px;margin:0 auto;line-height:1.3;color:#333;text-align:center;
131
+ `,p=JSON.stringify({model:"gpt-3.5-turbo",messages:[{role:"system",content:"You are a professional translator."},{role:"user",content:g}],temperature:.2,max_tokens:1e3});try{const u=await(await fetch(l,{method:"POST",headers:d,body:p})).json(),w=(c=(s=(o=(i=u?.choices)==null?void 0:i[0])==null?void 0:o.message)==null?void 0:s.content)==null?void 0:c.trim();if(!w)throw new Error("No response from OpenAI");const m=JSON.parse(w),S={};return m.forEach(W=>{W.key&&W.text!==void 0&&(S[W.key]=W.text)}),{...n,...S}}catch(u){return console.error("Error translating texts:",u),n}}Ra();var fl=Mt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38" fill="none"><path d="M10.036 4.96326H28.2826L34.3648 14.0865L19.1593 33.8537L3.95381 14.0865L10.036 4.96326Z" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path><path d="M17.6388 4.96326L13.0771 14.0865L19.1593 33.8537L25.2415 14.0865L20.6799 4.96326" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path><path d="M3.95381 14.0867H34.3648" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function jo(e,t){let n=Re(t,"className",8,""),r=Re(t,"size",8,20);var i=fl();L(()=>{It(i,0,gn(n())),A(i,"width",r()),A(i,"height",r())}),_(e,i)}var vl=Mt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 38 38" fill="none"><path d="M29.533 21.4034C31.7986 19.1834 34.0946 16.5224 34.0946 13.0404C34.0946 10.8224 33.2135 8.69521 31.6451 7.12684C30.0768 5.55847 27.9496 4.67737 25.7316 4.67737C23.0554 4.67737 21.1699 5.43764 18.8891 7.71847C16.6083 5.43764 14.7228 4.67737 12.0467 4.67737C9.82865 4.67737 7.70148 5.55847 6.13311 7.12684C4.56474 8.69521 3.68364 10.8224 3.68364 13.0404C3.68364 16.5376 5.96446 19.1986 8.24528 21.4034L18.8891 32.0472L29.533 21.4034Z" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path><path d="M18.8891 19.8829L17.3686 18.3623L20.4097 15.3212L15.848 10.7596L18.8891 7.71851" stroke="currentColor" stroke-width="3.0411" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function Oo(e,t){let n=Re(t,"className",8,""),r=Re(t,"size",8,20);var i=vl();L(()=>{It(i,0,gn(n())),A(i,"width",r()),A(i,"height",r())}),_(e,i)}var gl=Mt('<svg viewBox="0 0 38 38" xmlns="http://www.w3.org/2000/svg" fill="none"><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.041" d="M19.57 17.655a3.801 3.801 0 1 0 0-7.602 3.801 3.801 0 0 0 0 7.602Z"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.041" d="M19.57 3.97a9.884 9.884 0 0 0-9.458 6.995c-1.673 4.76-1.186 5.93-4.835 9.245a4.562 4.562 0 0 0 2.889 8.09c6.082 0 12.772-2.738 17.334-6.54a9.885 9.885 0 0 0-5.93-17.79Z"></path><path stroke="currentColor" stroke-linecap="round" stroke-linejoin="round" stroke-width="3.041" d="m28.693 10.053 3.33 6.842c.316.983.475 2.009.471 3.041a9.867 9.867 0 0 1-3.953 7.907c-4.562 3.801-11.252 6.538-17.334 6.538a4.562 4.562 0 0 1-4.075-2.524l-2.92-5.839"></path></svg>');function li(e,t){let n=Re(t,"className",8,""),r=Re(t,"size",8,20);var i=gl();L(()=>{It(i,0,gn(n())),A(i,"width",r()),A(i,"height",r())}),_(e,i)}var wl=Mt('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 34 34" fill="none"><path d="M9.03846 17.0001C10.3456 12.1888 15.9077 8.65686 20.858 8.65686C25.8083 8.65686 29.2846 12.1888 30.5917 17.0001C29.2846 21.8252 25.8083 25.3432 20.858 25.3432C15.9077 25.3432 10.3456 21.8252 9.03846 17.0001Z" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M25.0296 17V17.6953" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22.2485 25.2457C20.4397 22.8774 19.4599 19.98 19.4599 16.9999C19.4599 14.0198 20.4397 11.1224 22.2485 8.75403" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M9.73372 15.1506C9.73372 11.4379 7.75916 8.6151 3.79615 7.96155C2.40562 10.0473 2.40562 14.9142 4.11597 17C2.39171 19.0858 2.39171 23.9527 3.79615 26.0385C7.75916 25.3849 9.73372 22.5621 9.73372 18.8494" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M14.545 10.4089C14.1834 8.48998 12.7512 6.20951 11.1243 4.48525H19.1893C19.8491 4.4828 20.4883 4.71502 20.9927 5.14042C21.497 5.56582 21.8337 6.15668 21.9426 6.80744L22.2624 8.75418" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path><path d="M22.2624 25.2459L21.9426 27.1926C21.8337 27.8434 21.497 28.4342 20.9927 28.8596C20.4883 29.285 19.8491 29.5172 19.1893 29.5148H13.2101C14.5573 27.9873 15.2948 26.0172 15.2819 23.9805" stroke="currentColor" stroke-width="2.78106" stroke-linecap="round" stroke-linejoin="round"></path></svg>');function qo(e,t){let n=Re(t,"className",8,""),r=Re(t,"size",8,20);var i=wl();L(()=>{It(i,0,gn(n())),A(i,"width",r()),A(i,"height",r())}),_(e,i)}var ml=O('<span><!></span><span class="wr-Header-label svelte-oiwvqb"> </span>',1),yl=O('<!><span class="wr-Header-label svelte-oiwvqb"> </span>',1),bl=O('<!><span class="wr-Header-label svelte-oiwvqb"> </span>',1),kl=O('<h1 class="wr-Header-title svelte-oiwvqb"></h1>'),xl=O('<h1 class="wr-Header-title svelte-oiwvqb"> <span><!></span> <span class="wr-Header-label svelte-oiwvqb"> </span>, <!> <span class="wr-Header-label svelte-oiwvqb"> </span> <br/> <!> <span class="wr-Header-label svelte-oiwvqb"> </span> </h1>'),_l=O('<div class="wr-Header"><!></div>');const Sl={hash:"svelte-oiwvqb",code:`.wr-Header-title.svelte-oiwvqb {font-weight:600;font-size:24px;margin:0 auto;line-height:1.3;color:#333;text-align:center;
132
132
 
133
133
  /* TODO: add wineater-color to svg */}.wr-Header-icon {display:inline-block;vertical-align:middle;color:var(--wr-wineater-color);}.wr-Header-label.svelte-oiwvqb {color:var(--wr-wineater-color);font-weight:500;}
134
134
 
135
135
  @media screen and (max-width: 768px) {.wr-Header-title.svelte-oiwvqb {display:none;}
136
- }`};function Sl(e,t){dt(t,!0),bt(e,_l);let n=ee(()=>le.getAppLanguage()),r=ee(()=>le.getUiConfig()),i=ee(()=>{var p,u;return((p=window?.wineaterData)==null?void 0:p.TITLE_TEXT)||((u=l(r))==null?void 0:u.titleText)||null}),o=K(je(ai));function a(p){return p.split(/(meal|mood|occasion)/gi).map(u=>({keyword:/^(meal|mood|occasion)$/i.test(u)?u.toLowerCase():null,text:u}))}let c=ee(()=>l(i)?a(l(i)):null);var s=xl(),d=P(s);{var f=p=>{var u=bl();Ut(u,21,()=>l(c),ln,(g,m)=>{var S=Ye(),W=we(S);{var b=v=>{var x=ml(),D=we(x),E=P(D);fo(E,()=>l(o),(F,$)=>{$(F,{className:"wr-Header-icon",size:"28"})});var T=B(D),R=P(T);z(()=>O(R,l(m).text)),wt("mouseenter",D,()=>y(o,No,!0)),wt("mouseleave",D,()=>y(o,ai,!0)),_(v,x)},j=v=>{var x=Ye(),D=we(x);{var E=R=>{var F=wl(),$=we(F);Lo($,{className:"wr-Header-icon",size:"28"});var M=B($),ce=P(M);z(()=>O(ce,l(m).text)),_(R,F)},T=R=>{var F=Ye(),$=we(F);{var M=X=>{var be=yl(),Ze=we(be);zo(Ze,{className:"wr-Header-icon",size:"28"});var he=B(Ze),Kt=P(he);z(()=>O(Kt,l(m).text)),_(X,be)},ce=X=>{var be=Dt();z(()=>O(be,l(m).text)),_(X,be)};U($,X=>{l(m).keyword==="occasion"?X(M):X(ce,!1)},!0)}_(R,F)};U(D,R=>{l(m).keyword==="mood"?R(E):R(T,!1)},!0)}_(v,x)};U(W,v=>{l(m).keyword==="meal"?v(b):v(j,!1)})}_(g,S)}),_(p,u)},w=p=>{var u=kl(),g=P(u),m=B(g),S=P(m);fo(S,()=>l(o),($,M)=>{M($,{className:"wr-Header-icon",size:"28"})});var W=B(m,2),b=P(W),j=B(W,2);Lo(j,{className:"wr-Header-icon",size:"28"});var v=B(j,2),x=P(v),D=B(v,3),E=B(D);zo(E,{className:"wr-Header-icon",size:"28"});var T=B(E,2),R=P(T),F=B(T);z(($,M,ce,X,be,Ze)=>{O(g,`${$??""} `),O(b,M),O(x,ce),O(D,` ${X??""} `),O(R,be),O(F,` ${Ze??""}`)},[()=>oe({key:"headerLine1",lang:l(n)}),()=>oe({key:"headerMeal",lang:l(n)}),()=>oe({key:"headerMood",lang:l(n)}),()=>oe({key:"headerOr",lang:l(n)}),()=>oe({key:"headerOccasion",lang:l(n)}),()=>oe({key:"headerLine2",lang:l(n)})]),wt("mouseenter",m,()=>y(o,No,!0)),wt("mouseleave",m,()=>y(o,ai,!0)),_(p,u)};U(d,p=>{l(c)?p(f):p(w,!1)})}_(e,s),pt()}var Cl=L('<option class="wr-Footer-lang"> </option>'),Pl=L('<select class="wr-Footer-dropdown svelte-1sr6y3t"></select>'),Wl=L('<footer class="wr-Footer svelte-1sr6y3t"><div class="wr-Footer-center svelte-1sr6y3t"><a href="https://wineater.com" class="wr-Footer-link svelte-1sr6y3t" target="_blank"><span class="wr-Footer-text"> </span> <img class="wr-Footer-logo svelte-1sr6y3t" alt="Wineater Logo" loading="lazy" decoding="async"/> <span class="wr-Footer-text wr-Footer-text--sommelier svelte-1sr6y3t"> </span></a></div> <!></footer>');const Tl={hash:"svelte-1sr6y3t",code:`.wr-Footer.svelte-1sr6y3t {position:relative;border-top:2px solid #f6f7fd;font-weight:200;padding:12px 24px;min-height:40px;}.wr-Footer-center.svelte-1sr6y3t {position:absolute;left:50%;transform:translateX(-50%);text-align:center;}.wr-Footer-dropdown.svelte-1sr6y3t {position:absolute;right:0px;top:50%;transform:translateY(-50%);padding:4px;border-radius:6px;border:2px solid var(--wr-brand-color);background-color:white;color:var(--wr-brand-color);font-weight:500;font-size:12px;cursor:pointer;transition:all 0.2s ease;}.wr-Footer-dropdown.svelte-1sr6y3t:hover {box-shadow:0 4px 8px rgba(123, 43, 235, 0.2);}.wr-Footer-link.svelte-1sr6y3t {text-decoration:none;display:flex;align-items:center;white-space:nowrap;gap:8px;color:#a8a8a8;font-size:12px;line-height:16px;transition:opacity 0.2s ease;}.wr-Footer-link.svelte-1sr6y3t:hover {opacity:0.8;}.wr-Footer-logo.svelte-1sr6y3t {height:16px;width:auto;color:#a8a8a8;}
136
+ }`};function Cl(e,t){Xe(t,!0),st(e,Sl);let n=X(()=>ce.getAppLanguage()),r=X(()=>ce.getUiConfig()),i=X(()=>{var p,u;return((p=window?.wineaterData)==null?void 0:p.TITLE_TEXT)||((u=a(r))==null?void 0:u.titleText)||null}),o=V(Oe(li));function s(p){return p.split(/(meal|mood|occasion)/gi).map(u=>({keyword:/^(meal|mood|occasion)$/i.test(u)?u.toLowerCase():null,text:u}))}let c=X(()=>a(i)?s(a(i)):null);var l=_l(),d=D(l);{var f=p=>{var u=kl();Tt(u,21,()=>a(c),un,(w,m)=>{var S=Ze(),W=de(S);{var b=v=>{var k=ml(),E=de(k),P=D(E);wo(P,()=>a(o),(U,q)=>{q(U,{className:"wr-Header-icon",size:"28"})});var T=M(E),z=D(T);L(()=>$(z,a(m).text)),ot("mouseenter",E,()=>y(o,qo,!0)),ot("mouseleave",E,()=>y(o,li,!0)),_(v,k)},N=v=>{var k=Ze(),E=de(k);{var P=z=>{var U=yl(),q=de(U);Oo(q,{className:"wr-Header-icon",size:"28"});var I=M(q),se=D(I);L(()=>$(se,a(m).text)),_(z,U)},T=z=>{var U=Ze(),q=de(U);{var I=ee=>{var ve=bl(),ke=de(ve);jo(ke,{className:"wr-Header-icon",size:"28"});var pe=M(ke),Zt=D(pe);L(()=>$(Zt,a(m).text)),_(ee,ve)},se=ee=>{var ve=At();L(()=>$(ve,a(m).text)),_(ee,ve)};H(q,ee=>{a(m).keyword==="occasion"?ee(I):ee(se,!1)},!0)}_(z,U)};H(E,z=>{a(m).keyword==="mood"?z(P):z(T,!1)},!0)}_(v,k)};H(W,v=>{a(m).keyword==="meal"?v(b):v(N,!1)})}_(w,S)}),_(p,u)},g=p=>{var u=xl(),w=D(u),m=M(w),S=D(m);wo(S,()=>a(o),(q,I)=>{I(q,{className:"wr-Header-icon",size:"28"})});var W=M(m,2),b=D(W),N=M(W,2);Oo(N,{className:"wr-Header-icon",size:"28"});var v=M(N,2),k=D(v),E=M(v,3),P=M(E);jo(P,{className:"wr-Header-icon",size:"28"});var T=M(P,2),z=D(T),U=M(T);L((q,I,se,ee,ve,ke)=>{$(w,`${q??""} `),$(b,I),$(k,se),$(E,` ${ee??""} `),$(z,ve),$(U,` ${ke??""}`)},[()=>ae({key:"headerLine1",lang:a(n)}),()=>ae({key:"headerMeal",lang:a(n)}),()=>ae({key:"headerMood",lang:a(n)}),()=>ae({key:"headerOr",lang:a(n)}),()=>ae({key:"headerOccasion",lang:a(n)}),()=>ae({key:"headerLine2",lang:a(n)})]),ot("mouseenter",m,()=>y(o,qo,!0)),ot("mouseleave",m,()=>y(o,li,!0)),_(p,u)};H(d,p=>{a(c)?p(f):p(g,!1)})}_(e,l),et()}var Pl=O('<option class="wr-Footer-lang"> </option>'),Wl=O('<select class="wr-Footer-dropdown svelte-1sr6y3t"></select>'),Tl=O('<footer class="wr-Footer svelte-1sr6y3t"><div class="wr-Footer-center svelte-1sr6y3t"><a href="https://wineater.com" class="wr-Footer-link svelte-1sr6y3t" target="_blank"><span class="wr-Footer-text"> </span> <img class="wr-Footer-logo svelte-1sr6y3t" alt="Wineater Logo" loading="lazy" decoding="async"/> <span class="wr-Footer-text wr-Footer-text--sommelier svelte-1sr6y3t"> </span></a></div> <!></footer>');const Dl={hash:"svelte-1sr6y3t",code:`.wr-Footer.svelte-1sr6y3t {position:relative;border-top:2px solid #f6f7fd;font-weight:200;padding:12px 24px;min-height:40px;}.wr-Footer-center.svelte-1sr6y3t {position:absolute;left:50%;transform:translateX(-50%);text-align:center;}.wr-Footer-dropdown.svelte-1sr6y3t {position:absolute;right:0px;top:50%;transform:translateY(-50%);padding:4px;border-radius:6px;border:2px solid var(--wr-brand-color);background-color:white;color:var(--wr-brand-color);font-weight:500;font-size:12px;cursor:pointer;transition:all 0.2s ease;}.wr-Footer-dropdown.svelte-1sr6y3t:hover {box-shadow:0 4px 8px rgba(123, 43, 235, 0.2);}.wr-Footer-link.svelte-1sr6y3t {text-decoration:none;display:flex;align-items:center;white-space:nowrap;gap:8px;color:#a8a8a8;font-size:12px;line-height:16px;transition:opacity 0.2s ease;}.wr-Footer-link.svelte-1sr6y3t:hover {opacity:0.8;}.wr-Footer-logo.svelte-1sr6y3t {height:16px;width:auto;color:#a8a8a8;}
137
137
 
138
138
  @media screen and (max-width: 768px) {.wr-Footer-text--sommelier.svelte-1sr6y3t {display:none;}
139
- }`};function Dl(e,t){dt(t,!0),bt(e,Tl);let n=Re(t,"countryCode",3,null),r=ee(()=>le.getAppLanguage()),i=ee(()=>le.getSupportedLanguages()),o=ee(()=>le.getStoreId());function a(W){const b=W.target.value;Me(Be.LANGUAGE_CHANGED,l(o),{from_language:l(r),to_language:b}),le.setStoreLanguage(b)}var c=Wl(),s=P(c),d=P(s),f=P(d),w=P(f),p=B(f,2),u=B(p,2),g=P(u),m=B(s,2);{var S=W=>{var b=Pl();b.__change=a,Ut(b,21,()=>l(i),ln,(v,x)=>{var D=Cl(),E=P(D),T={};z(R=>{Ws(D,l(x)===l(r)),O(E,R),T!==(T=l(x))&&(D.value=(D.__value=l(x))??"")},[()=>l(x).toUpperCase()]),_(v,D)});var j;Ss(b),z(()=>{j!==(j=l(r))&&(b.value=(b.__value=l(r))??"",go(b,l(r)))}),_(W,b)};U(m,W=>{l(i).length>1&&W(S)})}z((W,b)=>{O(w,W),se(p,"src",n()==="ru"?"https://czvgkhagwvmknscoerfy.supabase.co/storage/v1/object/public/static-media/divino_logo.svg?x=5":"https://czvgkhagwvmknscoerfy.supabase.co/storage/v1/object/public/static-media/logo_medium_gray.svg"),O(g,b)},[()=>oe({key:"poweredBy",lang:l(r)}),()=>oe({key:"ai_sommelier",lang:l(r)})]),_(e,c),pt()}cr(["change"]);var El=L('<a rel="noopener noreferrer"><!></a>'),Al=L("<button><!></button>");const Il={hash:"svelte-8cxv3l",code:`.wr-Action.svelte-8cxv3l {background:transparent;border:none;font-family:inherit;cursor:pointer;display:block;text-decoration:none;transition:background 0.2s,
139
+ }`};function El(e,t){Xe(t,!0),st(e,Dl);let n=Re(t,"countryCode",3,null),r=X(()=>ce.getAppLanguage()),i=X(()=>ce.getSupportedLanguages()),o=X(()=>ce.getStoreId());function s(W){const b=W.target.value;ze(Be.LANGUAGE_CHANGED,a(o),{from_language:a(r),to_language:b}),ce.setStoreLanguage(b)}var c=Tl(),l=D(c),d=D(l),f=D(d),g=D(f),p=M(f,2),u=M(p,2),w=D(u),m=M(l,2);{var S=W=>{var b=Wl();b.__change=s,Tt(b,21,()=>a(i),un,(v,k)=>{var E=Pl(),P=D(E),T={};L(z=>{Ts(E,a(k)===a(r)),$(P,z),T!==(T=a(k))&&(E.value=(E.__value=a(k))??"")},[()=>a(k).toUpperCase()]),_(v,E)});var N;Cs(b),L(()=>{N!==(N=a(r))&&(b.value=(b.__value=a(r))??"",yo(b,a(r)))}),_(W,b)};H(m,W=>{a(i).length>1&&W(S)})}L((W,b)=>{$(g,W),A(p,"src",n()==="ru"?"https://czvgkhagwvmknscoerfy.supabase.co/storage/v1/object/public/static-media/divino_logo.svg?x=5":"https://czvgkhagwvmknscoerfy.supabase.co/storage/v1/object/public/static-media/logo_medium_gray.svg"),$(w,b)},[()=>ae({key:"poweredBy",lang:a(r)}),()=>ae({key:"ai_sommelier",lang:a(r)})]),_(e,c),et()}dr(["change"]);var Ml=O('<a rel="noopener noreferrer"><!></a>'),Al=O("<button><!></button>");const Il={hash:"svelte-8cxv3l",code:`.wr-Action.svelte-8cxv3l {background:transparent;border:none;font-family:inherit;cursor:pointer;display:block;text-decoration:none;transition:background 0.2s,
140
140
  color 0.2s,
141
- box-shadow 0.2s;}.wr-Action.primary.svelte-8cxv3l {background:var(--wr-brand-color);color:#fff;border-radius:6px;padding:8px 16px;font-size:14px;font-weight:500;&:hover {opacity:0.8;}}.wr-Action.outlined.svelte-8cxv3l {background:transparent;color:var(--wr-brand-color);border:2px solid var(--wr-brand-color);border-radius:6px;padding:8px 16px;font-size:14px;font-weight:500;&:hover {box-shadow:0 4px 8px rgba(123, 43, 235, 0.25);background-color:var(--wr-brand-color);color:#fff;}}.wr-Action--uppercase.svelte-8cxv3l {text-transform:uppercase;}`};function Gt(e,t){dt(t,!0),bt(e,Il);let n=Re(t,"type",3,"button"),r=Re(t,"variant",3,"primary"),i=Re(t,"target",3,"_self"),o=le.getUiConfig(),a=`wr-Action ${r()} ${t.className||""} ${o.buttonUppercase?"wr-Action--uppercase":""}`.trim();var c=Ye(),s=we(c);{var d=w=>{var p=El();p.__click=function(...g){var m;(m=t.handleClick)==null||m.apply(this,g)};var u=P(p);ho(u,t,"default",{}),z(()=>{Et(p,1,fn(a),"svelte-8cxv3l"),se(p,"href",t.href),se(p,"id",t.id),se(p,"target",i())}),_(w,p)},f=w=>{var p=Al();p.__click=function(...g){var m;(m=t.handleClick)==null||m.apply(this,g)};var u=P(p);ho(u,t,"default",{}),z(()=>{Et(p,1,fn(a),"svelte-8cxv3l"),se(p,"type",n()),se(p,"id",t.id)}),_(w,p)};U(s,w=>{t.href?w(d):w(f,!1)})}_(e,c),pt()}cr(["click"]);var Rl=L('<form class="wr-Search svelte-1wah7ro"><span class="wr-Search-icon svelte-1wah7ro"></span> <input class="wr-Search-input svelte-1wah7ro" type="text"/> <!></form>');const Ml={hash:"svelte-1wah7ro",code:`.wr-Search.svelte-1wah7ro {position:relative;margin:12px auto;padding:0 6px;display:flex;align-items:center;border:2px solid #d5d9ee;border-radius:10px;}.wr-Search-icon.svelte-1wah7ro {left:12px;width:24px;height:24px;flex:0 0 auto;background-image:url("data:image/svg+xml,%3Csvg%20width=%2224%22%20height=%2225%22%20viewBox=%220%200%2024%2025%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M11%2019.3884C15.4183%2019.3884%2019%2015.8067%2019%2011.3884C19%206.97015%2015.4183%203.38843%2011%203.38843C6.58172%203.38843%203%206.97015%203%2011.3884C3%2015.8067%206.58172%2019.3884%2011%2019.3884Z%22%20stroke=%22%238250D2%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3Cpath%20d=%22M21%2021.3884L16.7%2017.0884%22%20stroke=%22%238250D2%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;z-index:2;}.wr-Search-input.svelte-1wah7ro {flex:1 1 0%;min-width:0;padding:12px;font-size:16px;border:none;border-radius:10px;outline:none;transition:border 0.2s ease;}.wr-Search-input.svelte-1wah7ro::placeholder {color:var(--wr-wineater-color);opacity:1;transition:color 0.3s ease,
142
- opacity 0.3s ease-in-out;}.wr-Search-input.svelte-1wah7ro:focus {border-color:var(--wr-brand-color);}.wr-Search-input.svelte-1wah7ro:focus::placeholder {opacity:0.5;}`};function Bl(e,t){dt(t,!0),bt(e,Ml);let n=Re(t,"searchQuery",15),r,i=K(!1),o=K(0),a=K(0),c=K(!0),s=K(!1),d=ee(()=>le.getAppLanguage()),f=0;function w(){return r}function p(){const v=++f,x=oe({key:"placeholderSuggestions",lang:l(d)});if(!r||!x.length)return;y(s,!0);const D=()=>{if(v!==f||!r||!l(s)||l(i)||n().length)return;const E=x[l(o)];if(l(c)){if(r.placeholder=E.substring(0,zi(a)),l(a)>E.length){y(c,!1),setTimeout(D,1600);return}setTimeout(D,90)}else{if(r.placeholder=E.substring(0,zi(a,-1)),l(a)<0){y(c,!0),y(o,(l(o)+1)%x.length),setTimeout(D,450);return}setTimeout(D,45)}};D()}function u(){y(s,!1)}function g(){y(i,!0),u(),r&&(r.placeholder="")}function m(){y(i,!1),y(a,0),y(c,!0),y(s,!1)}Bn(()=>{if(!r||n().length>0)return;f++,y(s,!1),y(o,0),y(a,0),y(c,!0);const v=oe({key:"placeholderSuggestions",lang:l(d)});v&&v.length?r.placeholder=v[0]:r.placeholder=oe({key:"searchPlaceholder",lang:l(d)})}),Bn(()=>{r&&t.initialized&&!l(i)&&!n().length&&!l(s)&&p(),n().length>0&&l(s)&&(y(s,!1),f++)}),Vr(()=>{});var S={getSearchElement:w},W=Rl(),b=B(P(W),2);As(b,v=>r=v,()=>r);var j=B(b,2);return Gt(j,{className:"wr-Search-button",type:"submit",variant:"primary",children:(v,x)=>{var D=Dt();z(E=>O(D,E),[()=>oe({key:"searchButton",lang:l(d)})]),_(v,D)},$$slots:{default:!0}}),wt("submit",W,function(...v){var x;(x=t.onSubmit)==null||x.apply(this,v)}),wt("focus",b,g),wt("blur",b,m),Es(b,n),_(e,W),pt(S)}var zl=L('<div class="wr-Skeleton-tile svelte-f6xbvk"><div class="wr-Skeleton-block wr-Skeleton-image svelte-f6xbvk"></div> <div class="wr-Skeleton-block wr-Skeleton-price svelte-f6xbvk"></div> <div class="wr-Skeleton-block wr-Skeleton-title svelte-f6xbvk"></div> <div class="wr-Skeleton-block wr-Skeleton-title wr-Skeleton-title--short svelte-f6xbvk"></div> <div class="wr-Skeleton-block wr-Skeleton-button svelte-f6xbvk"></div></div>'),Ll=L('<div class="wr-Skeleton svelte-f6xbvk" aria-hidden="true"></div>');const Nl={hash:"svelte-f6xbvk",code:`.wr-Skeleton.svelte-f6xbvk {display:grid;grid-template-columns:repeat(4, 1fr);}.wr-Skeleton-tile.svelte-f6xbvk {display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px 8px;border-right:2px solid #f6f7fd;}.wr-Skeleton-tile.svelte-f6xbvk:last-child {border-right:none;}.wr-Skeleton-block.svelte-f6xbvk {border-radius:6px;background:linear-gradient(90deg, #f1f2f8 25%, #f8f9fc 50%, #f1f2f8 75%);background-size:200% 100%;
141
+ box-shadow 0.2s;}.wr-Action.primary.svelte-8cxv3l {background:var(--wr-brand-color);color:#fff;border-radius:6px;padding:8px 16px;font-size:14px;font-weight:500;&:hover {opacity:0.8;}}.wr-Action.outlined.svelte-8cxv3l {background:transparent;color:var(--wr-brand-color);border:2px solid var(--wr-brand-color);border-radius:6px;padding:8px 16px;font-size:14px;font-weight:500;&:hover {box-shadow:0 4px 8px rgba(123, 43, 235, 0.25);background-color:var(--wr-brand-color);color:#fff;}}.wr-Action--uppercase.svelte-8cxv3l {text-transform:uppercase;}`};function Yt(e,t){Xe(t,!0),st(e,Il);let n=Re(t,"type",3,"button"),r=Re(t,"variant",3,"primary"),i=Re(t,"target",3,"_self"),o=ce.getUiConfig(),s=`wr-Action ${r()} ${t.className||""} ${o.buttonUppercase?"wr-Action--uppercase":""}`.trim();var c=Ze(),l=de(c);{var d=g=>{var p=Ml();p.__click=function(...w){var m;(m=t.handleClick)==null||m.apply(this,w)};var u=D(p);go(u,t,"default",{}),L(()=>{It(p,1,gn(s),"svelte-8cxv3l"),A(p,"href",t.href),A(p,"id",t.id),A(p,"target",i())}),_(g,p)},f=g=>{var p=Al();p.__click=function(...w){var m;(m=t.handleClick)==null||m.apply(this,w)};var u=D(p);go(u,t,"default",{}),L(()=>{It(p,1,gn(s),"svelte-8cxv3l"),A(p,"type",n()),A(p,"id",t.id)}),_(g,p)};H(l,g=>{t.href?g(d):g(f,!1)})}_(e,c),et()}dr(["click"]);var Rl=O('<form class="wr-Search svelte-1wah7ro"><span class="wr-Search-icon svelte-1wah7ro"></span> <input class="wr-Search-input svelte-1wah7ro" type="text"/> <!></form>');const zl={hash:"svelte-1wah7ro",code:`.wr-Search.svelte-1wah7ro {position:relative;margin:12px auto;padding:0 6px;display:flex;align-items:center;border:2px solid #d5d9ee;border-radius:10px;}.wr-Search-icon.svelte-1wah7ro {left:12px;width:24px;height:24px;flex:0 0 auto;background-image:url("data:image/svg+xml,%3Csvg%20width=%2224%22%20height=%2225%22%20viewBox=%220%200%2024%2025%22%20fill=%22none%22%20xmlns=%22http://www.w3.org/2000/svg%22%3E%3Cpath%20d=%22M11%2019.3884C15.4183%2019.3884%2019%2015.8067%2019%2011.3884C19%206.97015%2015.4183%203.38843%2011%203.38843C6.58172%203.38843%203%206.97015%203%2011.3884C3%2015.8067%206.58172%2019.3884%2011%2019.3884Z%22%20stroke=%22%238250D2%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3Cpath%20d=%22M21%2021.3884L16.7%2017.0884%22%20stroke=%22%238250D2%22%20stroke-width=%222%22%20stroke-linecap=%22round%22%20stroke-linejoin=%22round%22/%3E%3C/svg%3E");background-repeat:no-repeat;background-size:contain;z-index:2;}.wr-Search-input.svelte-1wah7ro {flex:1 1 0%;min-width:0;padding:12px;font-size:16px;border:none;border-radius:10px;outline:none;transition:border 0.2s ease;}.wr-Search-input.svelte-1wah7ro::placeholder {color:var(--wr-wineater-color);opacity:1;transition:color 0.3s ease,
142
+ opacity 0.3s ease-in-out;}.wr-Search-input.svelte-1wah7ro:focus {border-color:var(--wr-brand-color);}.wr-Search-input.svelte-1wah7ro:focus::placeholder {opacity:0.5;}`};function Bl(e,t){Xe(t,!0),st(e,zl);let n=Re(t,"searchQuery",15),r,i=V(!1),o=V(0),s=V(0),c=V(!0),l=V(!1),d=X(()=>ce.getAppLanguage()),f=0;function g(){return r}function p(){const v=++f,k=ae({key:"placeholderSuggestions",lang:a(d)});if(!r||!k.length)return;y(l,!0);const E=()=>{if(v!==f||!r||!a(l)||a(i)||n().length)return;const P=k[a(o)];if(a(c)){if(r.placeholder=P.substring(0,ji(s)),a(s)>P.length){y(c,!1),setTimeout(E,1600);return}setTimeout(E,90)}else{if(r.placeholder=P.substring(0,ji(s,-1)),a(s)<0){y(c,!0),y(o,(a(o)+1)%k.length),setTimeout(E,450);return}setTimeout(E,45)}};E()}function u(){y(l,!1)}function w(){y(i,!0),u(),r&&(r.placeholder="")}function m(){y(i,!1),y(s,0),y(c,!0),y(l,!1)}Ln(()=>{if(!r||n().length>0)return;f++,y(l,!1),y(o,0),y(s,0),y(c,!0);const v=ae({key:"placeholderSuggestions",lang:a(d)});v&&v.length?r.placeholder=v[0]:r.placeholder=ae({key:"searchPlaceholder",lang:a(d)})}),Ln(()=>{r&&t.initialized&&!a(i)&&!n().length&&!a(l)&&p(),n().length>0&&a(l)&&(y(l,!1),f++)}),Kr(()=>{});var S={getSearchElement:g},W=Rl(),b=M(D(W),2);As(b,v=>r=v,()=>r);var N=M(b,2);return Yt(N,{className:"wr-Search-button",type:"submit",variant:"primary",children:(v,k)=>{var E=At();L(P=>$(E,P),[()=>ae({key:"searchButton",lang:a(d)})]),_(v,E)},$$slots:{default:!0}}),ot("submit",W,function(...v){var k;(k=t.onSubmit)==null||k.apply(this,v)}),ot("focus",b,w),ot("blur",b,m),Ms(b,n),_(e,W),et(S)}var Ll=O('<div class="wr-Skeleton-tile svelte-f6xbvk"><div class="wr-Skeleton-block wr-Skeleton-image svelte-f6xbvk"></div> <div class="wr-Skeleton-block wr-Skeleton-price svelte-f6xbvk"></div> <div class="wr-Skeleton-block wr-Skeleton-title svelte-f6xbvk"></div> <div class="wr-Skeleton-block wr-Skeleton-title wr-Skeleton-title--short svelte-f6xbvk"></div> <div class="wr-Skeleton-block wr-Skeleton-button svelte-f6xbvk"></div></div>'),Nl=O('<div class="wr-Skeleton svelte-f6xbvk" aria-hidden="true"></div>');const jl={hash:"svelte-f6xbvk",code:`.wr-Skeleton.svelte-f6xbvk {display:grid;grid-template-columns:repeat(4, 1fr);}.wr-Skeleton-tile.svelte-f6xbvk {display:flex;flex-direction:column;align-items:center;gap:10px;padding:16px 8px;border-right:2px solid #f6f7fd;}.wr-Skeleton-tile.svelte-f6xbvk:last-child {border-right:none;}.wr-Skeleton-block.svelte-f6xbvk {border-radius:6px;background:linear-gradient(90deg, #f1f2f8 25%, #f8f9fc 50%, #f1f2f8 75%);background-size:200% 100%;
143
143
  animation: svelte-f6xbvk-wr-shimmer 1.2s linear infinite;}.wr-Skeleton-image.svelte-f6xbvk {width:60%;height:200px;margin-bottom:6px;}.wr-Skeleton-price.svelte-f6xbvk {width:40px;height:16px;}.wr-Skeleton-title.svelte-f6xbvk {width:80%;height:14px;}.wr-Skeleton-title--short.svelte-f6xbvk {width:55%;}.wr-Skeleton-button.svelte-f6xbvk {width:96px;height:36px;margin-top:14px;border-radius:10px;}
144
144
 
145
145
  @keyframes svelte-f6xbvk-wr-shimmer {
@@ -156,8 +156,8 @@ ${JSON.stringify(f,null,2)}
156
156
  }
157
157
 
158
158
  @media screen and (max-width: 768px) {.wr-Skeleton.svelte-f6xbvk {display:flex;gap:8px;overflow:hidden;padding:8px 0;}.wr-Skeleton-tile.svelte-f6xbvk {flex:0 0 240px;}
159
- }`};function jo(e){bt(e,Nl);var t=Ll();Ut(t,4,()=>[0,1,2,3],n=>n,(n,r)=>{var i=zl();_(n,i)}),_(e,t)}var jl=L('<p class="wr-WinePopup-desc wr-WinePopup-text svelte-17gehox"> </p>'),Ol=L('<div class="wr-WinePopup-reason svelte-17gehox"> </div>'),ql=L('<p class="wr-WinePopup-pairing wr-WinePopup-text svelte-17gehox"> </p>'),$l=L('<span class="wr-WinePopup-tag svelte-17gehox"> </span>'),Ul=L('<div class="wr-WinePopup-tags svelte-17gehox"></div>'),Fl=L('<div class="wr-WinePopupMobile svelte-17gehox"><div class="wr-WinePopupMobile-overlay svelte-17gehox"></div> <div class="wr-WinePopupMobile-wrapper svelte-17gehox"><div class="wr-WinePopup js-WinePopup svelte-17gehox"><div class="wr-WinePopup-header svelte-17gehox"><h2 class="wr-WinePopup-title svelte-17gehox"> </h2> <button class="wr-WinePopup-close js-WinePopupClose svelte-17gehox">&times;</button></div> <!> <!> <!></div></div></div>'),Hl=L('<p class="wr-WinePopup-desc wr-WinePopup-text svelte-17gehox"> </p>'),Vl=L('<div class="wr-WinePopup-reason svelte-17gehox"> </div>'),Gl=L('<p class="wr-WinePopup-pairing wr-WinePopup-text svelte-17gehox"> </p>'),Kl=L('<span class="wr-WinePopup-tag svelte-17gehox"> </span>'),Yl=L('<div class="wr-WinePopup-tags svelte-17gehox"></div>'),Ql=L('<div class="wr-WinePopup svelte-17gehox"><div class="wr-WinePopup-header svelte-17gehox"><h2 class="wr-WinePopup-title svelte-17gehox"> </h2> <button class="wr-WinePopup-close svelte-17gehox">&times;</button></div> <!> <!> <!></div>');const Zl={hash:"svelte-17gehox",code:".wr-WinePopup.svelte-17gehox {position:absolute;width:100%;background-color:white;padding:16px;border-radius:16px;box-shadow:0 6px 30px rgba(0, 0, 0, 0.2);text-align:left;font-size:14px;box-sizing:border-box;display:flex;flex-direction:column;}.wr-WinePopup-text.svelte-17gehox {margin:5px 0;}.wr-WinePopup-header.svelte-17gehox {display:flex;justify-content:space-between;align-items:flex-start;gap:12px;}.wr-WinePopup-title.svelte-17gehox {font-size:16px;font-weight:600;margin:0;flex:1;line-height:1.3;}.wr-WinePopup-close.svelte-17gehox {font-size:20px;font-weight:bold;cursor:pointer;color:#999;border:none;background:transparent;line-height:1;}.wr-WinePopup-close.svelte-17gehox:hover {color:#000;}.wr-WinePopup-desc.svelte-17gehox {margin-top:8px;}.wr-WinePopup-reason.svelte-17gehox {font-size:14px;font-weight:400;color:#333;margin-top:8px;}.wr-WinePopup-pairing.svelte-17gehox {margin-top:8px;}.wr-WinePopup-tags.svelte-17gehox {display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;justify-content:center;}.wr-WinePopup-tag.svelte-17gehox {display:inline-block;padding:4px 8px;border-radius:12px;background-color:#f5f0ff;border:1px solid #ddd;font-size:13px;color:#333;text-transform:capitalize;}.wr-WinePopupMobile.svelte-17gehox {position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;}.wr-WinePopupMobile-overlay.svelte-17gehox {position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.5);}.wr-WinePopupMobile-wrapper.svelte-17gehox {position:absolute;width:100%;height:100%;top:50%;left:50%;transform:translate(-50%, -50%);max-width:90%;max-height:80%;overflow-y:auto;background:transparent;}"};function Oo(e,t){dt(t,!0),bt(e,Zl);const n=!!t.isMobile;var r=Ye(),i=we(r);{var o=c=>{var s=Fl(),d=P(s);d.__click=function(...E){var T;(T=t.onClose)==null||T.apply(this,E)};var f=B(d,2),w=P(f),p=P(w),u=P(p),g=P(u),m=B(u,2);m.__click=function(...E){var T;(T=t.onClose)==null||T.apply(this,E)};var S=B(p,2);{var W=E=>{var T=jl(),R=P(T);z(()=>O(R,t.shortDescription)),_(E,T)};U(S,E=>{t.shortDescription&&E(W)})}var b=B(S,2);{var j=E=>{var T=Ol(),R=P(T);z(()=>O(R,t.reason)),_(E,T)},v=E=>{var T=Ye(),R=we(T);{var F=$=>{var M=ql(),ce=P(M);z(()=>O(ce,t.pairing)),_($,M)};U(R,$=>{t.pairing&&$(F)},!0)}_(E,T)};U(b,E=>{t.reason?E(j):E(v,!1)})}var x=B(b,2);{var D=E=>{var T=Ul();Ut(T,21,()=>t.tags,ln,(R,F)=>{var $=$l(),M=P($);z(()=>O(M,l(F))),_(R,$)}),_(E,T)};U(x,E=>{t.tags&&t.tags.length&&E(D)})}z(()=>O(g,t.title)),_(c,s)},a=c=>{var s=Ql(),d=P(s),f=P(d),w=P(f),p=B(f,2);p.__click=function(...v){var x;(x=t.onClose)==null||x.apply(this,v)};var u=B(d,2);{var g=v=>{var x=Hl(),D=P(x);z(()=>O(D,t.shortDescription)),_(v,x)};U(u,v=>{t.shortDescription&&v(g)})}var m=B(u,2);{var S=v=>{var x=Vl(),D=P(x);z(()=>O(D,t.reason)),_(v,x)},W=v=>{var x=Ye(),D=we(x);{var E=T=>{var R=Gl(),F=P(R);z(()=>O(F,t.pairing)),_(T,R)};U(D,T=>{t.pairing&&T(E)},!0)}_(v,x)};U(m,v=>{t.reason?v(S):v(W,!1)})}var b=B(m,2);{var j=v=>{var x=Yl();Ut(x,21,()=>t.tags,ln,(D,E)=>{var T=Kl(),R=P(T);z(()=>O(R,l(E))),_(D,T)}),_(v,x)};U(b,v=>{t.tags&&t.tags.length&&v(j)})}z(()=>O(w,t.title)),_(c,s)};U(i,c=>{n?c(o):c(a,!1)})}_(e,r),pt()}cr(["click"]);var Jl=L('<img class="wr-WineTile-image svelte-yk3emv" decoding="async"/>'),Xl=L('<div class="wr-WineTile-price svelte-yk3emv"> </div>'),ec=L('<div class="wr-WineTile-glass svelte-yk3emv"> </div>'),tc=L('<div class="wr-WineTile-params svelte-yk3emv"> </div>'),nc=L('<div class="wr-WineTilePopup-reason svelte-yk3emv"> </div>'),rc=L('<span class="wr-WineTilePopup-tag svelte-yk3emv"> </span>'),ic=L('<div class="wr-WineTilePopup-tags svelte-yk3emv"></div>'),oc=L("<div><!> <!></div>"),ac=L('<article><header class="wr-WineTile-header svelte-yk3emv"><!> <!> <!> <h3 class="wr-WineTile-title svelte-yk3emv"> </h3></header> <!> <footer class="wr-WineTile-footer svelte-yk3emv"><div class="wr-WineTile-actions svelte-yk3emv"><!> <!></div></footer> <!> <!></article> <!>',1);const sc={hash:"svelte-yk3emv",code:`.wr-WineTile.svelte-yk3emv {display:flex;flex-direction:column;align-items:center;text-align:center;box-sizing:border-box;padding:16px 8px;border-right:2px solid #f6f7fd;position:relative;transform:translateY(0);opacity:1;transition:transform 180ms cubic-bezier(0.22, 0.61, 0.36, 1),
160
- opacity 180ms cubic-bezier(0.22, 0.61, 0.36, 1);will-change:transform, opacity;}.wr-WineTile.svelte-yk3emv:last-child {border-right:none;}.wr-WineTile.ww-slide-up.svelte-yk3emv {transform:translateY(-28px);opacity:0;}.wr-WineTile-header.svelte-yk3emv {display:flex;flex-direction:column;align-items:center;justify-content:flex-start;}.wr-WineTile-image.svelte-yk3emv {height:200px;width:100%;max-width:100%;object-fit:contain;margin:0 auto 16px;display:block;}.wr-WineTile-title.svelte-yk3emv {font-size:15px;font-weight:500;margin:0 0 8px;min-height:3rem;line-height:1.2;text-align:center;color:#000;}.wr-WineTile-params.svelte-yk3emv {font-size:14px;color:#666;white-space:normal;text-align:center;}.wr-WineTile-footer.svelte-yk3emv {margin-top:auto;display:flex;align-items:center;gap:12px;justify-content:center;}.wr-WineTile-price.svelte-yk3emv {font-size:16px;font-weight:400;margin-bottom:8px;color:#333;}.wr-WineTile-glass.svelte-yk3emv {font-size:12px;font-weight:500;color:var(--wr-brand-color, #7b2beb);margin-bottom:8px;}.wr-WineTile-actions.svelte-yk3emv {margin:16px auto 0;display:flex;flex-direction:column;align-items:center;gap:8px;}
159
+ }`};function $o(e){st(e,jl);var t=Nl();Tt(t,4,()=>[0,1,2,3],n=>n,(n,r)=>{var i=Ll();_(n,i)}),_(e,t)}var Ol=O('<p class="wr-WinePopup-desc wr-WinePopup-text svelte-17gehox"> </p>'),ql=O('<div class="wr-WinePopup-reason svelte-17gehox"> </div>'),$l=O('<p class="wr-WinePopup-pairing wr-WinePopup-text svelte-17gehox"> </p>'),Ul=O('<span class="wr-WinePopup-tag svelte-17gehox"> </span>'),Fl=O('<div class="wr-WinePopup-tags svelte-17gehox"></div>'),Hl=O('<div class="wr-WinePopupMobile svelte-17gehox"><div class="wr-WinePopupMobile-overlay svelte-17gehox"></div> <div class="wr-WinePopupMobile-wrapper svelte-17gehox"><div class="wr-WinePopup js-WinePopup svelte-17gehox"><div class="wr-WinePopup-header svelte-17gehox"><h2 class="wr-WinePopup-title svelte-17gehox"> </h2> <button class="wr-WinePopup-close js-WinePopupClose svelte-17gehox">&times;</button></div> <!> <!> <!></div></div></div>'),Gl=O('<p class="wr-WinePopup-desc wr-WinePopup-text svelte-17gehox"> </p>'),Vl=O('<div class="wr-WinePopup-reason svelte-17gehox"> </div>'),Kl=O('<p class="wr-WinePopup-pairing wr-WinePopup-text svelte-17gehox"> </p>'),Yl=O('<span class="wr-WinePopup-tag svelte-17gehox"> </span>'),Zl=O('<div class="wr-WinePopup-tags svelte-17gehox"></div>'),Jl=O('<div class="wr-WinePopup svelte-17gehox"><div class="wr-WinePopup-header svelte-17gehox"><h2 class="wr-WinePopup-title svelte-17gehox"> </h2> <button class="wr-WinePopup-close svelte-17gehox">&times;</button></div> <!> <!> <!></div>');const Ql={hash:"svelte-17gehox",code:".wr-WinePopup.svelte-17gehox {position:absolute;width:100%;background-color:white;padding:16px;border-radius:16px;box-shadow:0 6px 30px rgba(0, 0, 0, 0.2);text-align:left;font-size:14px;box-sizing:border-box;display:flex;flex-direction:column;}.wr-WinePopup-text.svelte-17gehox {margin:5px 0;}.wr-WinePopup-header.svelte-17gehox {display:flex;justify-content:space-between;align-items:flex-start;gap:12px;}.wr-WinePopup-title.svelte-17gehox {font-size:16px;font-weight:600;margin:0;flex:1;line-height:1.3;}.wr-WinePopup-close.svelte-17gehox {font-size:20px;font-weight:bold;cursor:pointer;color:#999;border:none;background:transparent;line-height:1;}.wr-WinePopup-close.svelte-17gehox:hover {color:#000;}.wr-WinePopup-desc.svelte-17gehox {margin-top:8px;}.wr-WinePopup-reason.svelte-17gehox {font-size:14px;font-weight:400;color:#333;margin-top:8px;}.wr-WinePopup-pairing.svelte-17gehox {margin-top:8px;}.wr-WinePopup-tags.svelte-17gehox {display:flex;flex-wrap:wrap;gap:8px;margin-top:8px;justify-content:center;}.wr-WinePopup-tag.svelte-17gehox {display:inline-block;padding:4px 8px;border-radius:12px;background-color:#f5f0ff;border:1px solid #ddd;font-size:13px;color:#333;text-transform:capitalize;}.wr-WinePopupMobile.svelte-17gehox {position:fixed;top:0;left:0;width:100%;height:100%;z-index:10000;}.wr-WinePopupMobile-overlay.svelte-17gehox {position:absolute;top:0;left:0;width:100%;height:100%;background:rgba(0, 0, 0, 0.5);}.wr-WinePopupMobile-wrapper.svelte-17gehox {position:absolute;width:100%;height:100%;top:50%;left:50%;transform:translate(-50%, -50%);max-width:90%;max-height:80%;overflow-y:auto;background:transparent;}"};function Uo(e,t){Xe(t,!0),st(e,Ql);const n=!!t.isMobile;var r=Ze(),i=de(r);{var o=c=>{var l=Hl(),d=D(l);d.__click=function(...P){var T;(T=t.onClose)==null||T.apply(this,P)};var f=M(d,2),g=D(f),p=D(g),u=D(p),w=D(u),m=M(u,2);m.__click=function(...P){var T;(T=t.onClose)==null||T.apply(this,P)};var S=M(p,2);{var W=P=>{var T=Ol(),z=D(T);L(()=>$(z,t.shortDescription)),_(P,T)};H(S,P=>{t.shortDescription&&P(W)})}var b=M(S,2);{var N=P=>{var T=ql(),z=D(T);L(()=>$(z,t.reason)),_(P,T)},v=P=>{var T=Ze(),z=de(T);{var U=q=>{var I=$l(),se=D(I);L(()=>$(se,t.pairing)),_(q,I)};H(z,q=>{t.pairing&&q(U)},!0)}_(P,T)};H(b,P=>{t.reason?P(N):P(v,!1)})}var k=M(b,2);{var E=P=>{var T=Fl();Tt(T,21,()=>t.tags,un,(z,U)=>{var q=Ul(),I=D(q);L(()=>$(I,a(U))),_(z,q)}),_(P,T)};H(k,P=>{t.tags&&t.tags.length&&P(E)})}L(()=>$(w,t.title)),_(c,l)},s=c=>{var l=Jl(),d=D(l),f=D(d),g=D(f),p=M(f,2);p.__click=function(...v){var k;(k=t.onClose)==null||k.apply(this,v)};var u=M(d,2);{var w=v=>{var k=Gl(),E=D(k);L(()=>$(E,t.shortDescription)),_(v,k)};H(u,v=>{t.shortDescription&&v(w)})}var m=M(u,2);{var S=v=>{var k=Vl(),E=D(k);L(()=>$(E,t.reason)),_(v,k)},W=v=>{var k=Ze(),E=de(k);{var P=T=>{var z=Kl(),U=D(z);L(()=>$(U,t.pairing)),_(T,z)};H(E,T=>{t.pairing&&T(P)},!0)}_(v,k)};H(m,v=>{t.reason?v(S):v(W,!1)})}var b=M(m,2);{var N=v=>{var k=Zl();Tt(k,21,()=>t.tags,un,(E,P)=>{var T=Yl(),z=D(T);L(()=>$(z,a(P))),_(E,T)}),_(v,k)};H(b,v=>{t.tags&&t.tags.length&&v(N)})}L(()=>$(g,t.title)),_(c,l)};H(i,c=>{n?c(o):c(s,!1)})}_(e,r),et()}dr(["click"]);const Xl={red:{glass:"#3b1230",foil:"#7a1f3d",accent:"#7a1f3d",shoulder:"bordeaux"},white:{glass:"#a9b568",foil:"#c9b458",accent:"#8a8f3c",shoulder:"flute"},rose:{glass:"#d98a9d",foil:"#e8a3b4",accent:"#b8566f",shoulder:"burgundy"},sparkling:{glass:"#5f6b3a",foil:"#d9c26a",accent:"#b89b2e",shoulder:"champagne"},sweet:{glass:"#b8862e",foil:"#d9a441",accent:"#9a6a1c",shoulder:"flute"},fortified:{glass:"#4a2a1a",foil:"#8a5a2b",accent:"#8a5a2b",shoulder:"port"}},ec={flute:{body:"M17 4h10v34c0 6 8 10 8 24v56c0 3-2 5-5 5H14c-3 0-5-2-5-5V62c0-14 8-18 8-24z",cap:{x:16,y:2,w:12,h:20},label:{x:9,y:72,w:26,h:34},shine:"M12 66c0 18 0 40 0 52"},burgundy:{body:"M17 4h10v30c0 10 11 14 11 30v54c0 3-2 5-5 5H11c-3 0-5-2-5-5V64c0-16 11-20 11-30z",cap:{x:16,y:2,w:12,h:20},label:{x:8,y:72,w:28,h:34},shine:"M11 68c0 18 0 38 0 50"},bordeaux:{body:"M17 4h10v32c0 4 1 6 4 9 4 4 6 7 6 14v59c0 3-2 5-5 5H12c-3 0-5-2-5-5V59c0-7 2-10 6-14 3-3 4-5 4-9z",cap:{x:16,y:2,w:12,h:20},label:{x:9,y:72,w:26,h:34},shine:"M12 64c0 18 0 40 0 54"},champagne:{body:"M17 4h10v34c0 12 15 18 15 42v35c0 5-3 8-7 8H9c-4 0-7-3-7-8V80c0-24 15-30 15-42z",cap:{x:15,y:2,w:14,h:34},label:{x:6,y:78,w:32,h:36},shine:"M8 82c0 14 0 28 0 36"},port:{body:"M16 4h12v16c0 3-2 4-2 7s3 4 3 8c0 6 9 6 9 18v65c0 3-2 5-5 5H11c-3 0-5-2-5-5V53c0-12 9-12 9-18 0-4 3-5 3-8s-2-4-2-7z",cap:{x:15,y:2,w:14,h:15},label:{x:8,y:66,w:28,h:42},shine:"M11 60c0 20 0 40 0 56"}},tc=[[20,58,1.5],[26,50,1.1],[23,44,.8],[14,66,1.2],[30,63,1.7],[9,86,1.1],[34,92,1.3],[8,106,1.6],[35,112,1],[25,70,.9],[17,73,.7]];function nc(e){const t=(e??"").toLowerCase().normalize("NFD").replace(/[̀-ͯ]/g,"");return/(spark|champ|cava|prosecco|cremant|brut|pet.?nat|espum|petillant)/.test(t)?"sparkling":/(rose|pink|rosado)/.test(t)?"rose":/(fortif|port|sherry|madeira|marsala)/.test(t)?"fortified":/(sweet|dessert|late|sauternes|ice|moelleux|dulce)/.test(t)?"sweet":/(red|rouge|tinto|rosso|krasn)/.test(t)?"red":"white"}function rc(e){const t=(e??"").trim();return!!t&&t!=="null"&&t!=="undefined"}var ic=Mt("<circle></circle>"),oc=Mt('<path d="M16.5 10h11l1.5 26h-14z"></path><rect x="14" y="2" width="16" height="9" rx="3.5"></rect><rect x="14" y="8" width="16" height="2.4" fill="#000" opacity="0.12"></rect><path d="M16 15h12M15.6 20h12.8M15.2 25h13.6M14.8 30h14.4M22 11v21" stroke="#8a6d12" stroke-opacity="0.55" stroke-width="0.9" fill="none"></path><circle cx="22" cy="33" r="1.6" fill="none" stroke="#8a6d12" stroke-opacity="0.55" stroke-width="0.9"></circle><g fill="#fff" opacity="0.4"></g>',1),ac=Mt('<rect rx="2.5"></rect><rect height="2.5" fill="#000" opacity="0.12"></rect>',1),sc=Mt('<svg class="wr-WineBottle svelte-1duzdpv" viewBox="0 0 44 130" aria-hidden="true" focusable="false"><defs><linearGradient x1="0" x2="1" y1="0" y2="0"><stop offset="0" stop-opacity="0.78"></stop><stop offset="0.45"></stop><stop offset="1" stop-opacity="0.88"></stop></linearGradient></defs><path></path><!><rect rx="2.5" fill="#fffdf8" opacity="0.94"></rect><rect height="2.4" rx="1.2"></rect><rect height="1.8" rx="0.9" opacity="0.5"></rect><rect height="1.8" rx="0.9" opacity="0.5"></rect><path stroke="#fff" stroke-opacity="0.22" stroke-width="2.2" stroke-linecap="round" fill="none"></path></svg>');const lc={hash:"svelte-1duzdpv",code:".wr-WineBottle.svelte-1duzdpv {display:block;height:100%;width:auto;margin:0 auto;}"};function cc(e,t){Xe(t,!0),st(e,lc);const n=X(()=>nc(t.type)),r=X(()=>Xl[a(n)]),i=X(()=>ec[a(r).shoulder]),o=`wr-bottle-${Math.random().toString(36).slice(2,8)}`;var s=sc(),c=D(s),l=D(c),d=D(l),f=M(d),g=M(f),p=M(c),u=M(p);{var w=k=>{var E=oc(),P=de(E),T=M(P),z=M(T,4);Tt(z,21,()=>tc,([U,q,I])=>`${U}-${q}`,(U,q)=>{var I=X(()=>va(a(q),3));let se=()=>a(I)[0],ee=()=>a(I)[1],ve=()=>a(I)[2];var ke=ic();L(()=>{A(ke,"cx",se()),A(ke,"cy",ee()),A(ke,"r",ve())}),_(U,ke)}),L(()=>{A(P,"fill",a(r).foil),A(T,"fill",a(r).foil)}),_(k,E)},m=k=>{var E=ac(),P=de(E),T=M(P);L(()=>{A(P,"x",a(i).cap.x),A(P,"y",a(i).cap.y),A(P,"width",a(i).cap.w),A(P,"height",a(i).cap.h),A(P,"fill",a(r).foil),A(T,"x",a(i).cap.x),A(T,"y",a(i).cap.y+a(i).cap.h-3),A(T,"width",a(i).cap.w)}),_(k,E)};H(u,k=>{a(n)==="sparkling"?k(w):k(m,!1)})}var S=M(u),W=M(S),b=M(W),N=M(b),v=M(N);L(()=>{A(l,"id",o),A(d,"stop-color",a(r).glass),A(f,"stop-color",a(r).glass),A(g,"stop-color",a(r).glass),A(p,"d",a(i).body),A(p,"fill",`url(#${o})`),A(S,"x",a(i).label.x),A(S,"y",a(i).label.y),A(S,"width",a(i).label.w),A(S,"height",a(i).label.h),A(W,"x",a(i).label.x+a(i).label.w*.2),A(W,"y",a(i).label.y+8),A(W,"width",a(i).label.w*.6),A(W,"fill",a(r).accent),A(b,"x",a(i).label.x+a(i).label.w*.3),A(b,"y",a(i).label.y+14),A(b,"width",a(i).label.w*.4),A(b,"fill",a(r).accent),A(N,"x",a(i).label.x+a(i).label.w*.3),A(N,"y",a(i).label.y+19),A(N,"width",a(i).label.w*.4),A(N,"fill",a(r).accent),A(v,"d",a(i).shine)}),_(e,s),et()}var uc=O('<img class="wr-WineTile-image svelte-yk3emv" decoding="async"/>'),dc=O('<div class="wr-WineTile-image wr-WineTile-bottle svelte-yk3emv"><!></div>'),pc=O('<div class="wr-WineTile-price svelte-yk3emv"> </div>'),hc=O('<div class="wr-WineTile-glass svelte-yk3emv"> </div>'),fc=O('<div class="wr-WineTile-params svelte-yk3emv"> </div>'),vc=O('<div class="wr-WineTilePopup-reason svelte-yk3emv"> </div>'),gc=O('<span class="wr-WineTilePopup-tag svelte-yk3emv"> </span>'),wc=O('<div class="wr-WineTilePopup-tags svelte-yk3emv"></div>'),mc=O("<div><!> <!></div>"),yc=O('<article><header class="wr-WineTile-header svelte-yk3emv"><!> <!> <!> <h3 class="wr-WineTile-title svelte-yk3emv"> </h3></header> <!> <footer class="wr-WineTile-footer svelte-yk3emv"><div class="wr-WineTile-actions svelte-yk3emv"><!> <!></div></footer> <!> <!></article> <!>',1);const bc={hash:"svelte-yk3emv",code:`.wr-WineTile.svelte-yk3emv {display:flex;flex-direction:column;align-items:center;text-align:center;box-sizing:border-box;padding:16px 8px;border-right:2px solid #f6f7fd;position:relative;transform:translateY(0);opacity:1;transition:transform 180ms cubic-bezier(0.22, 0.61, 0.36, 1),
160
+ opacity 180ms cubic-bezier(0.22, 0.61, 0.36, 1);will-change:transform, opacity;}.wr-WineTile.svelte-yk3emv:last-child {border-right:none;}.wr-WineTile.ww-slide-up.svelte-yk3emv {transform:translateY(-28px);opacity:0;}.wr-WineTile-header.svelte-yk3emv {display:flex;flex-direction:column;align-items:center;justify-content:flex-start;}.wr-WineTile-image.svelte-yk3emv {height:200px;width:100%;max-width:100%;object-fit:contain;margin:0 auto 16px;display:block;}.wr-WineTile-bottle.svelte-yk3emv {padding:4px 0;box-sizing:border-box;}.wr-WineTile-title.svelte-yk3emv {font-size:15px;font-weight:500;margin:0 0 8px;min-height:3rem;line-height:1.2;text-align:center;color:#000;}.wr-WineTile-params.svelte-yk3emv {font-size:14px;color:#666;white-space:normal;text-align:center;}.wr-WineTile-footer.svelte-yk3emv {margin-top:auto;display:flex;align-items:center;gap:12px;justify-content:center;}.wr-WineTile-price.svelte-yk3emv {font-size:16px;font-weight:400;margin-bottom:8px;color:#333;}.wr-WineTile-glass.svelte-yk3emv {font-size:12px;font-weight:500;color:var(--wr-brand-color, #7b2beb);margin-bottom:8px;}.wr-WineTile-actions.svelte-yk3emv {margin:16px auto 0;display:flex;flex-direction:column;align-items:center;gap:8px;}
161
161
 
162
162
  /* :global \u043E\u0431\u044F\u0437\u0430\u0442\u0435\u043B\u0435\u043D \u2014 \u043A\u043B\u0430\u0441\u0441 \u0443\u0435\u0437\u0436\u0430\u0435\u0442 \u0432\u043D\u0443\u0442\u0440\u044C <Action>, \u0430 \u0441\u043A\u043E\u0443\u043F Svelte
163
163
  \u0434\u0435\u0439\u0441\u0442\u0432\u0443\u0435\u0442 \u0442\u043E\u043B\u044C\u043A\u043E \u043D\u0430 \u0440\u0430\u0437\u043C\u0435\u0442\u043A\u0443 \u044D\u0442\u043E\u0433\u043E \u043A\u043E\u043C\u043F\u043E\u043D\u0435\u043D\u0442\u0430, \u0438\u043D\u0430\u0447\u0435 \u043F\u0440\u0430\u0432\u0438\u043B\u043E \u043E\u0442\u0431\u0440\u0430\u0441\u044B\u0432\u0430\u0435\u0442\u0441\u044F
@@ -180,9 +180,9 @@ ${JSON.stringify(f,null,2)}
180
180
  }
181
181
 
182
182
  @media screen and (max-width: 768px) {.wr-WineTile.svelte-yk3emv {flex:0 0 auto;scroll-snap-align:center;width:240px;text-align:center;}
183
- }`};function lc(e,t){dt(t,!0),bt(e,sc);const n=4;let r=ee(()=>le.getAppLanguage());const i=(C,N)=>C[N]||C[N.charAt(0).toUpperCase()+N.slice(1)],o=(C,N)=>N.map(Z=>i(C,Z)).filter(Boolean).join(" \u2022 ");function a(C){var N;return dl(C,((N=le.getCurrency)==null?void 0:N.call(le))||"USD",l(r))}function c(C){return t.selectedWineId===C}function s(C){return!!(C.reason||C.shortDescription||C.tags)}function d(C,N){let Z=C?.tags||N.tags;return Z?(Array.isArray(Z)&&(Z=Z.join(",")),typeof Z!="string"?[]:Z.split(",").map(J=>J.trim()).filter(Boolean)):[]}let f=K(!1);Vr(()=>{const C=()=>{y(f,window.innerWidth<=768)};return C(),window.addEventListener("resize",C),()=>{window.removeEventListener("resize",C)}});var w=ac(),p=we(w);p.__click=C=>t.onTileClick(C,t.wine);var u=P(p),g=P(u);{var m=C=>{var N=Jl();z(()=>{se(N,"src",t.wine.image),se(N,"alt",t.wine.title),se(N,"loading",t.index<n?"eager":"lazy"),se(N,"fetchpriority",t.index<n?"high":"auto")}),_(C,N)};U(g,C=>{t.wine.image&&C(m)})}var S=B(g,2);{var W=C=>{var N=Xl(),Z=P(N);z(J=>O(Z,J),[()=>a(t.wine.total)]),_(C,N)};U(S,C=>{t.wine.total&&C(W)})}var b=B(S,2);{var j=C=>{var N=ec(),Z=P(N);z((J,ke)=>O(Z,`${J??""}${ke??""}`),[()=>oe({key:"byTheGlass",lang:l(r)}),()=>t.wine.glassPrice?` \u2014 ${a(t.wine.glassPrice)}`:""]),_(C,N)};U(b,C=>{t.wine.byTheGlass&&C(j)})}var v=B(b,2),x=P(v),D=B(u,2);{var E=C=>{var N=tc(),Z=P(N);z(J=>O(Z,J),[()=>o(t.wine,["type","country","region","grape"])]),_(C,N)};U(D,C=>{o(t.wine,["type","country","region","grape"])&&C(E)})}var T=B(D,2),R=P(T),F=P(R);{var $=C=>{Gt(C,{get href(){return t.wine.url},handleClick:()=>t.onBuyLinkClick(t.wine,t.index),className:"wr-WineTile-action wr-WineTile-action--link js-WineTileAction",target:"_blank",variant:"outlined",children:(N,Z)=>{var J=Dt();z(ke=>O(J,ke),[()=>oe({key:"wineDetails.buy",lang:l(r)})]),_(N,J)},$$slots:{default:!0}})},M=C=>{Gt(C,{handleClick:()=>t.onBuyClick(t.wine,t.index),variant:"outlined",className:"wr-WineTile-action wr-WineTile-action--button js-WineTileAction",children:(N,Z)=>{var J=Dt();z(ke=>O(J,ke),[()=>oe({key:"moreInfo",lang:l(r)})]),_(N,J)},$$slots:{default:!0}})};U(F,C=>{t.wine.url?C($):C(M,!1)})}var ce=B(F,2);{var X=C=>{Gt(C,{handleClick:()=>t.onSimilarClick(t.wine),variant:"text",className:"wr-WineTile-action wr-WineTile-action--similar js-WineTileAction",children:(N,Z)=>{var J=Dt();z(ke=>O(J,ke),[()=>oe({key:"similarWines",lang:l(r)})]),_(N,J)},$$slots:{default:!0}})};U(ce,C=>{t.onSimilarClick&&C(X)})}var be=B(T,2);{var Ze=C=>{{let N=ee(()=>{var re;return((re=t.translatedPopup)==null?void 0:re.shortDescription)||t.wine.shortDescription}),Z=ee(()=>{var re;return((re=t.translatedPopup)==null?void 0:re.reason)||t.wine.reason}),J=ee(()=>{var re;return((re=t.translatedPopup)==null?void 0:re.pairingRecommendation)||t.wine.pairingRecommendation}),ke=ee(()=>d(t.translatedPopup,t.wine));Oo(C,{get title(){return t.wine.title},get shortDescription(){return l(N)},get reason(){return l(Z)},get pairing(){return l(J)},get tags(){return l(ke)},get onClose(){return t.onPopupClose},isMobile:!1})}};U(be,C=>{c(t.wine.id)&&!l(f)&&C(Ze)})}var he=B(be,2);{var Kt=C=>{var N=oc(),Z=P(N);{var J=it=>{var De=nc(),Fe=P(De);z(()=>{var Yt,At;return O(Fe,((Yt=t.translatedPopup)==null?void 0:Yt.reason)||((At=t.translatedPopup)==null?void 0:At.shortDescription)||t.wine.reason||t.wine.shortDescription)}),_(it,De)};U(Z,it=>{var De,Fe;((De=t.translatedPopup)!=null&&De.reason||(Fe=t.translatedPopup)!=null&&Fe.shortDescription||t.wine.reason||t.wine.shortDescription)&&it(J)})}var ke=B(Z,2);{var re=it=>{var De=ic();Ut(De,21,()=>d(t.translatedPopup,t.wine),ln,(Fe,Yt)=>{var At=rc(),yr=P(At);z(()=>O(yr,l(Yt))),_(Fe,At)}),_(it,De)};U(ke,it=>{var De,Fe;((De=t.translatedPopup)!=null&&De.tags||(Fe=t.translatedPopup)!=null&&Fe.Tags||t.wine.tags)&&it(re)})}z(()=>Et(N,1,`wr-WineTilePopup ${t.hoveredWineId===t.wine.id?"slide-in visible":""}`,"svelte-yk3emv")),_(C,N)};U(he,C=>{s(t.wine)&&C(Kt)})}var Je=B(p,2);{var bn=C=>{{let N=ee(()=>{var re;return((re=t.translatedPopup)==null?void 0:re.shortDescription)||t.wine.shortDescription}),Z=ee(()=>{var re;return((re=t.translatedPopup)==null?void 0:re.reason)||t.wine.reason}),J=ee(()=>{var re;return((re=t.translatedPopup)==null?void 0:re.pairingRecommendation)||t.wine.pairingRecommendation}),ke=ee(()=>d(t.translatedPopup,t.wine));Oo(C,{get title(){return t.wine.title},get shortDescription(){return l(N)},get reason(){return l(Z)},get pairing(){return l(J)},get tags(){return l(ke)},get onClose(){return t.onPopupClose},isMobile:!0})}};U(Je,C=>{c(t.wine.id)&&l(f)&&C(bn)})}z(()=>{Et(p,1,`wr-WineTile ${t.isAnimating?"ww-slide-up":""}`,"svelte-yk3emv"),O(x,t.wine.title)}),wt("mouseenter",p,()=>t.onTileEnter(t.wine)),wt("mouseleave",p,()=>t.onTileLeave(t.wine)),_(e,w),pt()}cr(["click"]);var cc=L('<a class="wr-Consent-link svelte-dqnzo8" target="_blank" rel="noopener noreferrer"> </a>'),uc=L('<div class="wr-Consent svelte-dqnzo8" role="region" aria-label="Cookies"><p class="wr-Consent-text svelte-dqnzo8"> <!></p> <div class="wr-Consent-actions svelte-dqnzo8"><!> <!></div></div>');const dc={hash:"svelte-dqnzo8",code:`.wr-Consent.svelte-dqnzo8 {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 0;padding:12px 16px;border-radius:12px;background:#f6f4f2;font-size:13px;line-height:1.4;color:#333;}.wr-Consent-text.svelte-dqnzo8 {margin:0;flex:1;}.wr-Consent-link.svelte-dqnzo8 {color:inherit;text-decoration:underline;margin-left:4px;}.wr-Consent-actions.svelte-dqnzo8 {display:flex;gap:8px;flex-shrink:0;}
183
+ }`};function kc(e,t){Xe(t,!0),st(e,bc);const n=4;let r=X(()=>ce.getAppLanguage()),i=V(!1);const o=(C,B)=>C[B]||C[B.charAt(0).toUpperCase()+B.slice(1)],s=(C,B)=>B.map(Q=>o(C,Q)).filter(Boolean).join(" \u2022 ");function c(C){var B;return pl(C,((B=ce.getCurrency)==null?void 0:B.call(ce))||"USD",a(r))}function l(C){return t.selectedWineId===C}function d(C){return!!(C.reason||C.shortDescription||C.tags)}function f(C,B){let Q=C?.tags||B.tags;return Q?(Array.isArray(Q)&&(Q=Q.join(",")),typeof Q!="string"?[]:Q.split(",").map(te=>te.trim()).filter(Boolean)):[]}let g=V(!1);Kr(()=>{const C=()=>{y(g,window.innerWidth<=768)};return C(),window.addEventListener("resize",C),()=>{window.removeEventListener("resize",C)}});var p=yc(),u=de(p);u.__click=C=>t.onTileClick(C,t.wine);var w=D(u),m=D(w);{var S=C=>{var B=uc();L(()=>{A(B,"src",t.wine.image),A(B,"alt",t.wine.title),A(B,"loading",t.index<n?"eager":"lazy"),A(B,"fetchpriority",t.index<n?"high":"auto")}),ot("error",B,()=>y(i,!0)),_(C,B)},W=C=>{var B=dc(),Q=D(B);cc(Q,{get type(){return t.wine.type}}),_(C,B)};H(m,C=>{rc(t.wine.image)&&!a(i)?C(S):C(W,!1)})}var b=M(m,2);{var N=C=>{var B=pc(),Q=D(B);L(te=>$(Q,te),[()=>c(t.wine.total)]),_(C,B)};H(b,C=>{t.wine.total&&C(N)})}var v=M(b,2);{var k=C=>{var B=hc(),Q=D(B);L((te,xe)=>$(Q,`${te??""}${xe??""}`),[()=>ae({key:"byTheGlass",lang:a(r)}),()=>t.wine.glassPrice?` \u2014 ${c(t.wine.glassPrice)}`:""]),_(C,B)};H(v,C=>{t.wine.byTheGlass&&C(k)})}var E=M(v,2),P=D(E),T=M(w,2);{var z=C=>{var B=fc(),Q=D(B);L(te=>$(Q,te),[()=>s(t.wine,["type","country","region","grape"])]),_(C,B)};H(T,C=>{s(t.wine,["type","country","region","grape"])&&C(z)})}var U=M(T,2),q=D(U),I=D(q);{var se=C=>{Yt(C,{get href(){return t.wine.url},handleClick:()=>t.onBuyLinkClick(t.wine,t.index),className:"wr-WineTile-action wr-WineTile-action--link js-WineTileAction",target:"_blank",variant:"outlined",children:(B,Q)=>{var te=At();L(xe=>$(te,xe),[()=>ae({key:"wineDetails.buy",lang:a(r)})]),_(B,te)},$$slots:{default:!0}})},ee=C=>{Yt(C,{handleClick:()=>t.onBuyClick(t.wine,t.index),variant:"outlined",className:"wr-WineTile-action wr-WineTile-action--button js-WineTileAction",children:(B,Q)=>{var te=At();L(xe=>$(te,xe),[()=>ae({key:"moreInfo",lang:a(r)})]),_(B,te)},$$slots:{default:!0}})};H(I,C=>{t.wine.url?C(se):C(ee,!1)})}var ve=M(I,2);{var ke=C=>{Yt(C,{handleClick:()=>t.onSimilarClick(t.wine),variant:"text",className:"wr-WineTile-action wr-WineTile-action--similar js-WineTileAction",children:(B,Q)=>{var te=At();L(xe=>$(te,xe),[()=>ae({key:"similarWines",lang:a(r)})]),_(B,te)},$$slots:{default:!0}})};H(ve,C=>{t.onSimilarClick&&C(ke)})}var pe=M(U,2);{var Zt=C=>{{let B=X(()=>{var ie;return((ie=t.translatedPopup)==null?void 0:ie.shortDescription)||t.wine.shortDescription}),Q=X(()=>{var ie;return((ie=t.translatedPopup)==null?void 0:ie.reason)||t.wine.reason}),te=X(()=>{var ie;return((ie=t.translatedPopup)==null?void 0:ie.pairingRecommendation)||t.wine.pairingRecommendation}),xe=X(()=>f(t.translatedPopup,t.wine));Uo(C,{get title(){return t.wine.title},get shortDescription(){return a(B)},get reason(){return a(Q)},get pairing(){return a(te)},get tags(){return a(xe)},get onClose(){return t.onPopupClose},isMobile:!1})}};H(pe,C=>{l(t.wine.id)&&!a(g)&&C(Zt)})}var Qe=M(pe,2);{var xn=C=>{var B=mc(),Q=D(B);{var te=lt=>{var Ee=vc(),He=D(Ee);L(()=>{var Jt,Rt;return $(He,((Jt=t.translatedPopup)==null?void 0:Jt.reason)||((Rt=t.translatedPopup)==null?void 0:Rt.shortDescription)||t.wine.reason||t.wine.shortDescription)}),_(lt,Ee)};H(Q,lt=>{var Ee,He;((Ee=t.translatedPopup)!=null&&Ee.reason||(He=t.translatedPopup)!=null&&He.shortDescription||t.wine.reason||t.wine.shortDescription)&&lt(te)})}var xe=M(Q,2);{var ie=lt=>{var Ee=wc();Tt(Ee,21,()=>f(t.translatedPopup,t.wine),un,(He,Jt)=>{var Rt=gc(),kr=D(Rt);L(()=>$(kr,a(Jt))),_(He,Rt)}),_(lt,Ee)};H(xe,lt=>{var Ee,He;((Ee=t.translatedPopup)!=null&&Ee.tags||(He=t.translatedPopup)!=null&&He.Tags||t.wine.tags)&&lt(ie)})}L(()=>It(B,1,`wr-WineTilePopup ${t.hoveredWineId===t.wine.id?"slide-in visible":""}`,"svelte-yk3emv")),_(C,B)};H(Qe,C=>{d(t.wine)&&C(xn)})}var Kn=M(u,2);{var br=C=>{{let B=X(()=>{var ie;return((ie=t.translatedPopup)==null?void 0:ie.shortDescription)||t.wine.shortDescription}),Q=X(()=>{var ie;return((ie=t.translatedPopup)==null?void 0:ie.reason)||t.wine.reason}),te=X(()=>{var ie;return((ie=t.translatedPopup)==null?void 0:ie.pairingRecommendation)||t.wine.pairingRecommendation}),xe=X(()=>f(t.translatedPopup,t.wine));Uo(C,{get title(){return t.wine.title},get shortDescription(){return a(B)},get reason(){return a(Q)},get pairing(){return a(te)},get tags(){return a(xe)},get onClose(){return t.onPopupClose},isMobile:!0})}};H(Kn,C=>{l(t.wine.id)&&a(g)&&C(br)})}L(()=>{It(u,1,`wr-WineTile ${t.isAnimating?"ww-slide-up":""}`,"svelte-yk3emv"),$(P,t.wine.title)}),ot("mouseenter",u,()=>t.onTileEnter(t.wine)),ot("mouseleave",u,()=>t.onTileLeave(t.wine)),_(e,p),et()}dr(["click"]);var xc=O('<a class="wr-Consent-link svelte-dqnzo8" target="_blank" rel="noopener noreferrer"> </a>'),_c=O('<div class="wr-Consent svelte-dqnzo8" role="region" aria-label="Cookies"><p class="wr-Consent-text svelte-dqnzo8"> <!></p> <div class="wr-Consent-actions svelte-dqnzo8"><!> <!></div></div>');const Sc={hash:"svelte-dqnzo8",code:`.wr-Consent.svelte-dqnzo8 {display:flex;align-items:center;justify-content:space-between;gap:16px;margin:12px 0 0;padding:12px 16px;border-radius:12px;background:#f6f4f2;font-size:13px;line-height:1.4;color:#333;}.wr-Consent-text.svelte-dqnzo8 {margin:0;flex:1;}.wr-Consent-link.svelte-dqnzo8 {color:inherit;text-decoration:underline;margin-left:4px;}.wr-Consent-actions.svelte-dqnzo8 {display:flex;gap:8px;flex-shrink:0;}
184
184
  @media (max-width: 640px) {.wr-Consent.svelte-dqnzo8 {flex-direction:column;align-items:stretch;}.wr-Consent-actions.svelte-dqnzo8 {justify-content:flex-end;}
185
- }`};function pc(e,t){var n;dt(t,!0),bt(e,dc);const r=(n=window?.wineaterData)==null?void 0:n.PRIVACY_URL,i=u=>oe({key:u,lang:t.lang});var o=uc(),a=P(o),c=P(a),s=B(c);{var d=u=>{var g=cc(),m=P(g);z(S=>{se(g,"href",r),O(m,S)},[()=>i("consentPrivacy")]),_(u,g)};U(s,u=>{r&&u(d)})}var f=B(a,2),w=P(f);Gt(w,{variant:"outlined",handleClick:()=>_o("denied"),children:(u,g)=>{var m=Dt();z(S=>O(m,S),[()=>i("consentDecline")]),_(u,m)},$$slots:{default:!0}});var p=B(w,2);Gt(p,{variant:"primary",handleClick:()=>_o("granted"),children:(u,g)=>{var m=Dt();z(S=>O(m,S),[()=>i("consentAccept")]),_(u,m)},$$slots:{default:!0}}),z(u=>O(c,`${u??""} `),[()=>i("consentText")]),_(e,o),pt()}const hc=/@import\s+url\(\s*['"]?([^'")]+)['"]?\s*\)\s*;?/g;function si(e,t,n=!1){const r=document.createElement("link");r.rel=e,r.href=t,n&&(r.crossOrigin="anonymous"),document.head.appendChild(r)}function fc(){document.querySelector('link[rel="preconnect"][href="https://fonts.googleapis.com"]')||(si("preconnect","https://fonts.googleapis.com"),si("preconnect","https://fonts.gstatic.com",!0))}function vc(e){if(!e)return"";const t="custom-ui-config-style";if(document.getElementById(t))return;const n=e.replace(hc,(i,o)=>(si("stylesheet",o),"")),r=document.createElement("style");return r.id=t,r.innerHTML=n,document.head.appendChild(r),t}var gc=L('<div class="wr-App-picture svelte-1n46o8q"><img class="wr-App-logo svelte-1n46o8q" alt=""/></div>'),mc=L('<div class="wr-App-error svelte-1n46o8q"><p> </p></div>'),wc=L('<div class="wr-App-showMore svelte-1n46o8q"><!></div>'),yc=L('<div class="wr-App-placeholder svelte-1n46o8q"></div> <!>',1),bc=L('<div id="wr-Custom" class="wr-App svelte-1n46o8q"><!> <!> <!> <div class="wr-App-content svelte-1n46o8q"><!></div> <!> <!></div>'),kc=L('<div class="wr-App wr-App--loading svelte-1n46o8q" aria-busy="true"><div class="wr-App-loadingTop svelte-1n46o8q"></div> <!></div>');const xc={hash:"svelte-1n46o8q",code:`
185
+ }`};function Cc(e,t){var n;Xe(t,!0),st(e,Sc);const r=(n=window?.wineaterData)==null?void 0:n.PRIVACY_URL,i=u=>ae({key:u,lang:t.lang});var o=_c(),s=D(o),c=D(s),l=M(c);{var d=u=>{var w=xc(),m=D(w);L(S=>{A(w,"href",r),$(m,S)},[()=>i("consentPrivacy")]),_(u,w)};H(l,u=>{r&&u(d)})}var f=M(s,2),g=D(f);Yt(g,{variant:"outlined",handleClick:()=>Po("denied"),children:(u,w)=>{var m=At();L(S=>$(m,S),[()=>i("consentDecline")]),_(u,m)},$$slots:{default:!0}});var p=M(g,2);Yt(p,{variant:"primary",handleClick:()=>Po("granted"),children:(u,w)=>{var m=At();L(S=>$(m,S),[()=>i("consentAccept")]),_(u,m)},$$slots:{default:!0}}),L(u=>$(c,`${u??""} `),[()=>i("consentText")]),_(e,o),et()}const Pc=/@import\s+url\(\s*['"]?([^'")]+)['"]?\s*\)\s*;?/g;function ci(e,t,n=!1){const r=document.createElement("link");r.rel=e,r.href=t,n&&(r.crossOrigin="anonymous"),document.head.appendChild(r)}function Wc(){document.querySelector('link[rel="preconnect"][href="https://fonts.googleapis.com"]')||(ci("preconnect","https://fonts.googleapis.com"),ci("preconnect","https://fonts.gstatic.com",!0))}function Tc(e){if(!e)return"";const t="custom-ui-config-style";if(document.getElementById(t))return;const n=e.replace(Pc,(i,o)=>(ci("stylesheet",o),"")),r=document.createElement("style");return r.id=t,r.innerHTML=n,document.head.appendChild(r),t}var Dc=O('<div class="wr-App-picture svelte-1n46o8q"><img class="wr-App-logo svelte-1n46o8q" alt=""/></div>'),Ec=O('<div class="wr-App-error svelte-1n46o8q"><p> </p></div>'),Mc=O('<div class="wr-App-showMore svelte-1n46o8q"><!></div>'),Ac=O('<div class="wr-App-placeholder svelte-1n46o8q"></div> <!>',1),Ic=O('<div id="wr-Custom" class="wr-App svelte-1n46o8q"><!> <!> <!> <div class="wr-App-content svelte-1n46o8q"><!></div> <!> <!></div>'),Rc=O('<div class="wr-App wr-App--loading svelte-1n46o8q" aria-busy="true"><div class="wr-App-loadingTop svelte-1n46o8q"></div> <!></div>');const zc={hash:"svelte-1n46o8q",code:`
186
186
  /* ===================== 1) CSS Variables ===================== */:root {--wineater-corp-color: #0044ff;
187
187
  /* --wr-brand-color is set dynamically from uiConfig.brandColor */--wr-brand-color: #7b2beb; /* fallback value */}
188
188
 
@@ -195,4 +195,4 @@ ${JSON.stringify(f,null,2)}
195
195
 
196
196
  /* ===================== 13) Mobile Styles ===================== */
197
197
  @media screen and (max-width: 768px) {.wr-App.svelte-1n46o8q {flex-direction:column;padding:0px 16px;min-width:100vw;}.wr-App-placeholder.svelte-1n46o8q {display:flex;gap:8px;overflow-x:auto;scroll-snap-type:x mandatory;padding:8px 0;width:calc(100vw - 32px);min-width:calc(100vw - 32px);}
198
- }`};function _c(e,t){var n,r,i;dt(t,!0),bt(e,xc);function o(){var k;Zr("chatbotToken",((k=window.wineaterData)==null?void 0:k.CLIENT_TOKEN)||a,365)}const a="HeUw6IXuhvz6tRuXdPEGEbj3SGQ3Q2YtEc1Z8jd41Kg9LtyPb4Epu0to31SYIadG";o(),fc();const c=6*60*60*1e3,s=60*60*1e3,d=`${ri}:instant-profile`,f=k=>`${ri}:instant${k?`:${k}`:""}`,w=((n=window?.wineaterData)==null?void 0:n.WIDGET_TYPE)||"store",p=((r=window?.wineaterData)==null?void 0:r.COUNTRY_CODE)||null;(i=window?.wineaterData)!=null&&i.WIDGET_WRAPPER;let u=K(!1),g=K(!1),m=!1,S=K(!1),W=K(!1),b=K(je([])),j=K(null),v=K(""),x=K(null),D=K(!1),E=K(null),T=K(je([])),R=K(""),F=K(!1),$=K(je([])),M=null;function ce(k,A){k!=null&&k.length&&gn({type:"shown",query_id:M??void 0,sku_ids:k.map(V=>V.id),text:A||void 0})}let X=ee(()=>le.getAppLanguage()),be=ee(()=>le.getStoreLanguage()),Ze=ee(()=>le.getApiKey()),he=ee(()=>le.getStoreId()),Kt=ee(()=>le.isInitialized()),Je=ee(()=>le.getUiConfig());function bn(){y(x,oe({key:"errorMessage",lang:l(X)}),!0)}const C=()=>y(x,null);async function N(k){if(l(X)===l(be)||w!=="bar")return k.map(()=>({}));const A=["shortDescription","reason","pairingRecommendation","tags"],V=k[0];if(!V)return k.map(()=>({}));const ue=A.filter(_e=>_e in V),ie=4,xe=[];for(let _e=0;_e<k.length;_e+=ie){const kn=k.slice(_e,_e+ie).map(async ot=>{const ne=ue.map(de=>{const ze=ot[de]||ot[de.toLowerCase()];return ze?{key:de,text:Array.isArray(ze)?ze.join(", "):ze}:null}).filter(Boolean);return ne.length===0?{}:await pl({sourceLang:l(be),targetLang:l(X),texts:Object.fromEntries(ne.map(de=>[de.key,de.text])),apiKey:l(Ze)})}),Qt=await Promise.all(kn);xe.push(...Qt)}return xe}async function Z(k){const A=ii(d,2592e6),V=ii(f(A),A?s:c),ue=!!(V!=null&&V.length);ue?y(b,V,!0):y(S,!0);try{const{wines:ie,profileHash:xe}=await yn.getInstantRecommendations();ie.length>0&&(oi(f(xe),ie),oi(d,xe)),!ue&&!m&&y(b,ie,!0)}catch(ie){console.error("[wineater] instant recommendations error:",ie),!ue&&!m&&(await k,bn())}finally{m||y(S,!1)}}function J(k=220){return!l(b)||l(b).length===0?Promise.resolve():(y(D,!0),new Promise(A=>{setTimeout(()=>{A()},k)}))}async function ke(k){k.preventDefault(),m=!0;let A="",V;try{y(S,!0),C(),A=l(v).trim()+";",y(R,A,!0),M=Do(),V=M;try{Me(Be.SEARCH_PERFORMED,l(he),{query:A})}catch(ne){console.error("Error tracking search event:",ne)}let ue=!1,ie=!1,xe=null;const _e=ne=>{if(!ne||ne.length===0){y(b,[],!0),y(T,[],!0),y(x,oe({key:"noResultsMessage",lang:l(X)}),!0),Me(Be.NO_RESULTS_FOUND,l(he),{query:A});return}y(b,ne,!0),y(S,!1),!ie&&(ie=!0,y(F,ni==="2"&&ne.length>=4,!0),ce(ne,A),Me(Be.SEARCH_RESULTS_DISPLAYED,l(he),{results_count:ne.length,results:ne,query:A}))},kn=ne=>{V===M&&(ue?_e(ne):xe=ne)},Qt=yn.searchStream(A,M,kn);Qt.catch(()=>{}),await J(220),y(b,[],!0),y(D,!1),y(F,!1),y($,[],!0),ue=!0,xe&&_e(xe);const ot=await Qt;if(V!==M)return;if(ie&&ot.length===l(b).length&&ot.every((ne,de)=>{var ze;return ne.id===((ze=l(b)[de])==null?void 0:ze.id)})){const ne=new Map(ot.map(de=>[de.id,de]));y(b,l(b).map(de=>{var ze;return{...de,reason:((ze=ne.get(de.id))==null?void 0:ze.reason)??de.reason}}),!0)}else _e(ot)}catch(ue){if(V!==M)return;y(b,[],!0),console.error("[wineater] search error:",ue),Me(Be.ERROR_OCCURRED,l(he),{error_message:ue?.message,query:A}),bn()}finally{V===M&&y(S,!1)}}async function re(){if(l(W)||!l(F))return;m=!0;const k=l(b);try{y(W,!0),y(S,!0),y($,[...new Set([...l($),...l(b).map(ie=>ie.id)])],!0);const A=yn.getMoreWineRecommendations(l(R),l($));A.catch(()=>{}),await J(220),y(b,[],!0),y(D,!1);const{recommendations:V,hasMore:ue}=await A;gn({type:"more",query_id:M??void 0,text:l(R)||void 0}),ce(V,l(R)),Me(Be.SHOW_MORE_CLICKED,l(he),{query:l(R),results_count:V.length}),y(b,V.length>0?V:k,!0),y(F,ue,!0)}catch(A){console.error("[wineater] try again error:",A),y(b,k,!0),y(F,!1)}finally{y(W,!1),y(S,!1)}}async function it(k){m=!0;try{y(S,!0),C(),Me(Be.SIMILAR_WINES_CLICKED,l(he),{wine_id:k.id,wine_title:k.title}),gn({type:"similar",query_id:M??void 0,sku_ids:[k.id]}),M=Do();const A=yn.getSimilarWines(k.id);A.catch(()=>{}),await J(220),y(b,[],!0),y(D,!1),y(F,!1),y(j,null);const V=await A;y(v,k.title,!0),y(R,""),!V||V.length===0?(y(b,[],!0),y(T,[],!0),y(x,oe({key:"noResultsMessage",lang:l(X)}),!0)):(y(b,V,!0),ce(V,""))}catch(A){y(b,[],!0),console.error("[wineater] similar wines error:",A),bn()}finally{y(S,!1)}}Bn(async()=>{if(!l(b)||l(b).length===0){y(T,[],!0);return}try{const k=await N(l(b));l(b)&&l(b).length>0&&y(T,k,!0)}catch(k){console.error("translatePopupContent failed",k)}});function De(k,A){l(j)&&l(j)!==k.id&&y(j,null),y(j,k.id,!0),gn({type:"click",query_id:M??void 0,sku_ids:[k.id],position:A}),Me(Be.WINE_DETAILS_VIEWED,l(he),{wine_id:k.id,wine_title:k.title,is_mobile:window.innerWidth<=768})}function Fe(k,A){gn({type:"buy_click",query_id:M??void 0,sku_ids:[k.id],position:A}),Me(Be.BUY_BUTTON_CLICKED,l(he),{wine_id:k.id,wine_title:k.title,wine_url:k.url,is_mobile:window.innerWidth<=768})}function Yt(){const k=l(b).find(A=>A.id===l(j));Me(Be.WINE_DETAILS_CLOSED,l(he),{wine_id:l(j),wine_title:k.title}),y(j,null)}function At(k){return!!(k.reason||k.shortDescription||k.tags)}function yr(k){w==="store"&&At(k)&&(y(E,k.id,!0),Me(Be.WINE_CARD_HOVER,l(he),{wine_id:k.id,wine_title:k.title}))}function qo(k){w==="store"&&l(E)===k.id&&y(E,null)}function $o(k,A){k.target.closest(".js-WineTileAction")||k.target.closest(".js-WinePopupClose")||(gn({type:"click",query_id:M??void 0,sku_ids:[A.id],position:l(b).findIndex(V=>V.id===A.id)}),Me(Be.WINE_CARD_CLICK,l(he),{wine_id:A.id,wine_title:A.title}))}function ci(k){const A=k.target;A.closest(".js-WinePopup")||A.closest(".js-WineTileAction")||y(j,null)}Bn(()=>{var k,A;(k=l(Je))!=null&&k.brandColor&&document.documentElement.style.setProperty("--wr-brand-color",l(Je).brandColor),(A=l(Je))!=null&&A.wineaterColor&&document.documentElement.style.setProperty("--wr-wineater-color",l(Je).wineaterColor)}),Vr(()=>(document.addEventListener("click",ci),(async()=>{const k=le.initializeStore();if(Z(k),await k,!l(Kt)){y(g,!0);return}l(Je).customCss&&vc(l(Je).customCss),y(u,!0),Me(Be.WIDGET_INITIALIZED,l(he))})(),()=>{document.removeEventListener("click",ci)}));var ui=Ye(),Uo=we(ui);{var Fo=k=>{var A=bc(),V=P(A);{var ue=fe=>{var kt=gc(),xn=P(kt);z(()=>se(xn,"src",l(Je).logoUrl)),_(fe,kt)};U(V,fe=>{l(Je).logoUrl&&fe(ue)})}var ie=B(V,2);Sl(ie,{});var xe=B(ie,2);Bl(xe,{onSubmit:ke,get initialized(){return l(u)},get searchQuery(){return l(v)},set searchQuery(fe){y(v,fe,!0)}});var _e=B(xe,2),kn=P(_e);{var Qt=fe=>{var kt=mc(),xn=P(kt),br=P(xn);z(()=>O(br,l(x))),_(fe,kt)},ot=fe=>{var kt=Ye(),xn=we(kt);{var br=Zt=>{var _n=yc(),Gn=we(_n);Ut(Gn,21,()=>l(b),ln,(Cn,Kn,Yn)=>{lc(Cn,{get wine(){return l(Kn)},index:Yn,get hoveredWineId(){return l(E)},get selectedWineId(){return l(j)},get isAnimating(){return l(D)},get translatedPopup(){return l(T)[Yn]},onBuyClick:De,onBuyLinkClick:Fe,onPopupClose:Yt,onSimilarClick:it,onTileEnter:yr,onTileLeave:qo,onTileClick:$o})});var kr=B(Gn,2);{var Sn=Cn=>{var Kn=wc(),Yn=P(Kn);Gt(Yn,{handleClick:re,variant:"outlined",children:(Go,Cc)=>{var di=Dt();z(Ko=>O(di,Ko),[()=>oe({key:"tryAgain",lang:l(X)})]),_(Go,di)},$$slots:{default:!0}}),_(Cn,Kn)};U(kr,Cn=>{l(F)&&Cn(Sn)})}_(Zt,_n)},Vo=Zt=>{var _n=Ye(),Gn=we(_n);{var kr=Sn=>{jo(Sn)};U(Gn,Sn=>{l(S)&&Sn(kr)},!0)}_(Zt,_n)};U(xn,Zt=>{l(b)&&l(b).length>0?Zt(br):Zt(Vo,!1)},!0)}_(fe,kt)};U(kn,fe=>{l(x)?fe(Qt):fe(ot,!1)})}var ne=B(_e,2);{var de=fe=>{pc(fe,{get lang(){return l(X)}})};U(ne,fe=>{zs()&&fe(de)})}var ze=B(ne,2);Dl(ze,{get countryCode(){return p}}),_(k,A)},Ho=k=>{var A=Ye(),V=we(A);{var ue=ie=>{var xe=kc(),_e=B(P(xe),2);jo(_e),_(ie,xe)};U(V,ie=>{l(g)||ie(ue)},!0)}_(k,A)};U(Uo,k=>{l(Kt)?k(Fo):k(Ho,!1)})}_(e,ui),pt()}const Sc=ws(_c,{target:document.getElementById("wineater-widget-conteiner")});export{Sc as default};
198
+ }`};function Bc(e,t){var n,r,i;Xe(t,!0),st(e,zc);function o(){var x;Xr("chatbotToken",((x=window.wineaterData)==null?void 0:x.CLIENT_TOKEN)||s,365)}const s="HeUw6IXuhvz6tRuXdPEGEbj3SGQ3Q2YtEc1Z8jd41Kg9LtyPb4Epu0to31SYIadG";o(),Wc();const c=6*60*60*1e3,l=60*60*1e3,d=`${oi}:instant-profile`,f=x=>`${oi}:instant${x?`:${x}`:""}`,g=((n=window?.wineaterData)==null?void 0:n.WIDGET_TYPE)||"store",p=((r=window?.wineaterData)==null?void 0:r.COUNTRY_CODE)||null;(i=window?.wineaterData)!=null&&i.WIDGET_WRAPPER;let u=V(!1),w=V(!1),m=!1,S=V(!1),W=V(!1),b=V(Oe([])),N=V(null),v=V(""),k=V(null),E=V(!1),P=V(null),T=V(Oe([])),z=V(""),U=V(!1),q=V(Oe([])),I=null;function se(x,R){x!=null&&x.length&&mn({type:"shown",query_id:I??void 0,sku_ids:x.map(K=>K.id),text:R||void 0})}let ee=X(()=>ce.getAppLanguage()),ve=X(()=>ce.getStoreLanguage()),ke=X(()=>ce.getApiKey()),pe=X(()=>ce.getStoreId()),Zt=X(()=>ce.isInitialized()),Qe=X(()=>ce.getUiConfig());function xn(){y(k,ae({key:"errorMessage",lang:a(ee)}),!0)}const Kn=()=>y(k,null);async function br(x){if(a(ee)===a(ve)||g!=="bar")return x.map(()=>({}));const R=["shortDescription","reason","pairingRecommendation","tags"],K=x[0];if(!K)return x.map(()=>({}));const ue=R.filter(Se=>Se in K),oe=4,_e=[];for(let Se=0;Se<x.length;Se+=oe){const _n=x.slice(Se,Se+oe).map(async ct=>{const re=ue.map(he=>{const Le=ct[he]||ct[he.toLowerCase()];return Le?{key:he,text:Array.isArray(Le)?Le.join(", "):Le}:null}).filter(Boolean);return re.length===0?{}:await hl({sourceLang:a(ve),targetLang:a(ee),texts:Object.fromEntries(re.map(he=>[he.key,he.text])),apiKey:a(ke)})}),Qt=await Promise.all(_n);_e.push(...Qt)}return _e}async function C(x){const R=ai(d,2592e6),K=ai(f(R),R?l:c),ue=!!(K!=null&&K.length);ue?y(b,K,!0):y(S,!0);try{const{wines:oe,profileHash:_e}=await kn.getInstantRecommendations();oe.length>0&&(si(f(_e),oe),si(d,_e)),!ue&&!m&&y(b,oe,!0)}catch(oe){console.error("[wineater] instant recommendations error:",oe),!ue&&!m&&(await x,xn())}finally{m||y(S,!1)}}function B(x=220){return!a(b)||a(b).length===0?Promise.resolve():(y(E,!0),new Promise(R=>{setTimeout(()=>{R()},x)}))}async function Q(x){x.preventDefault(),m=!0;let R="",K;try{y(S,!0),Kn(),R=a(v).trim()+";",y(z,R,!0),I=Ao(),K=I;try{ze(Be.SEARCH_PERFORMED,a(pe),{query:R})}catch(re){console.error("Error tracking search event:",re)}let ue=!1,oe=!1,_e=null;const Se=re=>{if(!re||re.length===0){y(b,[],!0),y(T,[],!0),y(k,ae({key:"noResultsMessage",lang:a(ee)}),!0),ze(Be.NO_RESULTS_FOUND,a(pe),{query:R});return}y(b,re,!0),y(S,!1),!oe&&(oe=!0,y(U,ii==="2"&&re.length>=4,!0),se(re,R),ze(Be.SEARCH_RESULTS_DISPLAYED,a(pe),{results_count:re.length,results:re,query:R}))},_n=re=>{K===I&&(ue?Se(re):_e=re)},Qt=kn.searchStream(R,I,_n);Qt.catch(()=>{}),await B(220),y(b,[],!0),y(E,!1),y(U,!1),y(q,[],!0),ue=!0,_e&&Se(_e);const ct=await Qt;if(K!==I)return;if(oe&&ct.length===a(b).length&&ct.every((re,he)=>{var Le;return re.id===((Le=a(b)[he])==null?void 0:Le.id)})){const re=new Map(ct.map(he=>[he.id,he]));y(b,a(b).map(he=>{var Le;return{...he,reason:((Le=re.get(he.id))==null?void 0:Le.reason)??he.reason}}),!0)}else Se(ct)}catch(ue){if(K!==I)return;y(b,[],!0),console.error("[wineater] search error:",ue),ze(Be.ERROR_OCCURRED,a(pe),{error_message:ue?.message,query:R}),xn()}finally{K===I&&y(S,!1)}}async function te(){if(a(W)||!a(U))return;m=!0;const x=a(b);try{y(W,!0),y(S,!0),y(q,[...new Set([...a(q),...a(b).map(oe=>oe.id)])],!0);const R=kn.getMoreWineRecommendations(a(z),a(q));R.catch(()=>{}),await B(220),y(b,[],!0),y(E,!1);const{recommendations:K,hasMore:ue}=await R;mn({type:"more",query_id:I??void 0,text:a(z)||void 0}),se(K,a(z)),ze(Be.SHOW_MORE_CLICKED,a(pe),{query:a(z),results_count:K.length}),y(b,K.length>0?K:x,!0),y(U,ue,!0)}catch(R){console.error("[wineater] try again error:",R),y(b,x,!0),y(U,!1)}finally{y(W,!1),y(S,!1)}}async function xe(x){m=!0;try{y(S,!0),Kn(),ze(Be.SIMILAR_WINES_CLICKED,a(pe),{wine_id:x.id,wine_title:x.title}),mn({type:"similar",query_id:I??void 0,sku_ids:[x.id]}),I=Ao();const R=kn.getSimilarWines(x.id);R.catch(()=>{}),await B(220),y(b,[],!0),y(E,!1),y(U,!1),y(N,null);const K=await R;y(v,x.title,!0),y(z,""),!K||K.length===0?(y(b,[],!0),y(T,[],!0),y(k,ae({key:"noResultsMessage",lang:a(ee)}),!0)):(y(b,K,!0),se(K,""))}catch(R){y(b,[],!0),console.error("[wineater] similar wines error:",R),xn()}finally{y(S,!1)}}Ln(async()=>{if(!a(b)||a(b).length===0){y(T,[],!0);return}try{const x=await br(a(b));a(b)&&a(b).length>0&&y(T,x,!0)}catch(x){console.error("translatePopupContent failed",x)}});function ie(x,R){a(N)&&a(N)!==x.id&&y(N,null),y(N,x.id,!0),mn({type:"click",query_id:I??void 0,sku_ids:[x.id],position:R}),ze(Be.WINE_DETAILS_VIEWED,a(pe),{wine_id:x.id,wine_title:x.title,is_mobile:window.innerWidth<=768})}function lt(x,R){mn({type:"buy_click",query_id:I??void 0,sku_ids:[x.id],position:R}),ze(Be.BUY_BUTTON_CLICKED,a(pe),{wine_id:x.id,wine_title:x.title,wine_url:x.url,is_mobile:window.innerWidth<=768})}function Ee(){const x=a(b).find(R=>R.id===a(N));ze(Be.WINE_DETAILS_CLOSED,a(pe),{wine_id:a(N),wine_title:x.title}),y(N,null)}function He(x){return!!(x.reason||x.shortDescription||x.tags)}function Jt(x){g==="store"&&He(x)&&(y(P,x.id,!0),ze(Be.WINE_CARD_HOVER,a(pe),{wine_id:x.id,wine_title:x.title}))}function Rt(x){g==="store"&&a(P)===x.id&&y(P,null)}function kr(x,R){x.target.closest(".js-WineTileAction")||x.target.closest(".js-WinePopupClose")||(mn({type:"click",query_id:I??void 0,sku_ids:[R.id],position:a(b).findIndex(K=>K.id===R.id)}),ze(Be.WINE_CARD_CLICK,a(pe),{wine_id:R.id,wine_title:R.title}))}function di(x){const R=x.target;R.closest(".js-WinePopup")||R.closest(".js-WineTileAction")||y(N,null)}Ln(()=>{var x,R;(x=a(Qe))!=null&&x.brandColor&&document.documentElement.style.setProperty("--wr-brand-color",a(Qe).brandColor),(R=a(Qe))!=null&&R.wineaterColor&&document.documentElement.style.setProperty("--wr-wineater-color",a(Qe).wineaterColor)}),Kr(()=>(document.addEventListener("click",di),(async()=>{const x=ce.initializeStore();if(C(x),await x,!a(Zt)){y(w,!0);return}a(Qe).customCss&&Tc(a(Qe).customCss),y(u,!0),ze(Be.WIDGET_INITIALIZED,a(pe))})(),()=>{document.removeEventListener("click",di)}));var pi=Ze(),Fo=de(pi);{var Ho=x=>{var R=Ic(),K=D(R);{var ue=ge=>{var xt=Dc(),Sn=D(xt);L(()=>A(Sn,"src",a(Qe).logoUrl)),_(ge,xt)};H(K,ge=>{a(Qe).logoUrl&&ge(ue)})}var oe=M(K,2);Cl(oe,{});var _e=M(oe,2);Bl(_e,{onSubmit:Q,get initialized(){return a(u)},get searchQuery(){return a(v)},set searchQuery(ge){y(v,ge,!0)}});var Se=M(_e,2),_n=D(Se);{var Qt=ge=>{var xt=Ec(),Sn=D(xt),xr=D(Sn);L(()=>$(xr,a(k))),_(ge,xt)},ct=ge=>{var xt=Ze(),Sn=de(xt);{var xr=Xt=>{var Cn=Ac(),Yn=de(Cn);Tt(Yn,21,()=>a(b),un,(Wn,Zn,Jn)=>{kc(Wn,{get wine(){return a(Zn)},index:Jn,get hoveredWineId(){return a(P)},get selectedWineId(){return a(N)},get isAnimating(){return a(E)},get translatedPopup(){return a(T)[Jn]},onBuyClick:ie,onBuyLinkClick:lt,onPopupClose:Ee,onSimilarClick:xe,onTileEnter:Jt,onTileLeave:Rt,onTileClick:kr})});var _r=M(Yn,2);{var Pn=Wn=>{var Zn=Mc(),Jn=D(Zn);Yt(Jn,{handleClick:te,variant:"outlined",children:(Ko,Nc)=>{var hi=At();L(Yo=>$(hi,Yo),[()=>ae({key:"tryAgain",lang:a(ee)})]),_(Ko,hi)},$$slots:{default:!0}}),_(Wn,Zn)};H(_r,Wn=>{a(U)&&Wn(Pn)})}_(Xt,Cn)},Vo=Xt=>{var Cn=Ze(),Yn=de(Cn);{var _r=Pn=>{$o(Pn)};H(Yn,Pn=>{a(S)&&Pn(_r)},!0)}_(Xt,Cn)};H(Sn,Xt=>{a(b)&&a(b).length>0?Xt(xr):Xt(Vo,!1)},!0)}_(ge,xt)};H(_n,ge=>{a(k)?ge(Qt):ge(ct,!1)})}var re=M(Se,2);{var he=ge=>{Cc(ge,{get lang(){return a(ee)}})};H(re,ge=>{Ls()&&ge(he)})}var Le=M(re,2);El(Le,{get countryCode(){return p}}),_(x,R)},Go=x=>{var R=Ze(),K=de(R);{var ue=oe=>{var _e=Rc(),Se=M(D(_e),2);$o(Se),_(oe,_e)};H(K,oe=>{a(w)||oe(ue)},!0)}_(x,R)};H(Fo,x=>{a(Zt)?x(Ho):x(Go,!1)})}_(e,pi),et()}const Lc=ys(Bc,{target:document.getElementById("wineater-widget-conteiner")});export{Lc as default};