@liip/liipgpt 3.4.0 → 3.4.1
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.
- package/chat/liipgpt-chat.iife.js +11 -11
- package/configurator/_app/env.js +1 -1
- package/configurator/_app/immutable/chunks/3EFJgnry.js +1 -0
- package/configurator/_app/immutable/chunks/{BB-Kufbf.js → B_3wCAsM.js} +1 -1
- package/configurator/_app/immutable/chunks/{hMUFqo62.js → C7VUtzlA.js} +1 -1
- package/configurator/_app/immutable/chunks/{CZYj352c.js → CJpr6qk2.js} +1 -1
- package/configurator/_app/immutable/chunks/{DD0FEaHW.js → CRJbnnWi.js} +1 -1
- package/configurator/_app/immutable/chunks/{7rClRQom.js → D-P6dqQf.js} +1 -1
- package/configurator/_app/immutable/chunks/{BVNSySP_.js → DPeXO3aA.js} +1 -1
- package/configurator/_app/immutable/chunks/{B_s1y-uB.js → DorsiQA9.js} +10 -10
- package/configurator/_app/immutable/chunks/{D9XVZ84R.js → DvaUWHif.js} +1 -1
- package/configurator/_app/immutable/entry/{app.BbbnkAQt.js → app.B_XWKku_.js} +2 -2
- package/configurator/_app/immutable/entry/start.Cu60dKF7.js +1 -0
- package/configurator/_app/immutable/nodes/{0.Dw_qwOKi.js → 0.B_XTb0XA.js} +1 -1
- package/configurator/_app/immutable/nodes/{1.C3OuXBnY.js → 1.DrYuOv_f.js} +1 -1
- package/configurator/_app/immutable/nodes/{2.BbDw7GOs.js → 2.KIpK6Gup.js} +3 -3
- package/configurator/_app/immutable/nodes/{3.B6eXMvOe.js → 3.DLNSyQFh.js} +1 -1
- package/configurator/_app/version.json +1 -1
- package/configurator/index.html +6 -6
- package/configurator/sidebar.html +6 -6
- package/package.json +1 -1
- package/configurator/_app/immutable/chunks/CtL9aWNb.js +0 -1
- package/configurator/_app/immutable/entry/start.DAHFfzFY.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"./DsnmJJEf.js";import{o as Ue}from"./6gGOJNBB.js";import{O as tn,a9 as en,p as Nt,e as c,a as n,r as l,t as J,b as Ft,m as u,d as I,c as wt,az as an,aA as je,aB as nn,aC as ua,aD as on,C as Y,$ as xa,u as _t,D as p,k as t,j as Be,s as T,F as de,at as ge,o as x,n as re,z,f as L,B as We,a5 as fa,g as kt,aE as Me,aF as rn,ax as sn,au as na,T as ln,ag as dn}from"./CfJtR48A.js";import{i as P,b as Wt,c as Ut}from"./Bg7q39r6.js";import{e as ce,G as ne,E as Et,s as X,Q as Kt,T as xe,m as Ee,a as wa,U as cn,V as Pe,W as un,X as fn,Y as Ke,Z as va,_ as vn,$ as gn,k as r,a0 as Ca,a1 as mn,a2 as pn,a3 as hn,a4 as bn,a5 as yn,t as $t,a6 as sa,a7 as _n,S as Qe,a8 as xn,o as we,a9 as Le,aa as wn,n as qt,b as Ce,x as Cn,ab as ga,H as In,r as Ia,M as kn,y as Se,ac as Tn,ad as Sn,ae as Bn,af as ka,z as Ta,i as Te,q as ia,ag as En,ah as Ln,ai as Pn,aj as On,R as ma,P as An,I as Ae,p as Sa,ak as Re,al as Dn,am as Mn,an as Nn,ao as Fn,ap as zn,aq as Hn,h as Rn,N as Yn,ar as qn,v as Vn,C as jn,w as Kn,c as Un}from"./B_s1y-uB.js";import{p as f,s as De,r as Ne}from"./hrZ0qwUL.js";import"./CtL9aWNb.js";import{i as Ba}from"./CR5-hwU3.js";import{s as Mt,t as Wn}from"./CZYj352c.js";import{O as Qn}from"./BVNSySP_.js";function Xn(_,e,s,a,g){tn&&en();var i=e.$$slots?.[s],m=!1;i===!0&&(i=e[s],m=!0),i===void 0?g!==null&&g(_):i(_,m?()=>a:a)}const Gn=Array(12).fill(0);var Zn=I('<div class="sonner-loading-bar"></div>'),Jn=I('<div><div class="sonner-spinner"></div></div>');function Ea(_,e){Nt(e,!0);let s=f(e,"visible",7),a=f(e,"class",7);var g={get visible(){return s()},set visible(v){s(v),u()},get class(){return a()},set class(v){a(v),u()}},i=Jn(),m=c(i);return ce(m,23,()=>Gn,(v,h)=>`spinner-bar-${h}`,(v,h)=>{var y=Zn();n(v,y)}),l(m),l(i),J(v=>{Et(i,1,v),X(i,"data-visible",s())},[()=>ne(["sonner-loading-wrapper",a()].filter(Boolean).join(" "))]),n(_,i),Ft(g)}wt(Ea,{visible:{},class:{}},[],[],{mode:"open"});const $n=typeof window<"u"?window:void 0;function to(_){let e=_.activeElement;for(;e?.shadowRoot;){const s=e.shadowRoot.activeElement;if(s===e)break;e=s}return e}class eo{#e;#t;constructor(e={}){const{window:s=$n,document:a=s?.document}=e;s!==void 0&&(this.#e=a,this.#t=an(g=>{const i=je(s,"focusin",g),m=je(s,"focusout",g);return()=>{i(),m()}}))}get current(){return this.#t?.(),this.#e?to(this.#e):null}}new eo;class ao{#e;#t;constructor(e){this.#e=e,this.#t=Symbol(e)}get key(){return this.#t}exists(){return nn(this.#t)}get(){const e=ua(this.#t);if(e===void 0)throw new Error(`Context "${this.#e}" not found`);return e}getOr(e){const s=ua(this.#t);return s===void 0?e:s}set(e){return on(this.#t,e)}}const no=new ao("<Toaster/>");function Ye(_){return _.label!==void 0}function oo(){let _=Y(xa(typeof document<"u"?document.hidden:!1));return _t(()=>je(document,"visibilitychange",()=>{p(_,document.hidden,!0)})),{get current(){return t(_)}}}const pa=4e3,ro=14,so=45,io=200,lo=.05,co={toast:"",title:"",description:"",loader:"",closeButton:"",cancelButton:"",actionButton:"",action:"",warning:"",error:"",success:"",default:"",info:"",loading:""};function uo(_){const[e,s]=_.split("-"),a=[];return e&&a.push(e),s&&a.push(s),a}function ha(_){return 1/(1.5+Math.abs(_)/20)}var fo=I("<div><!></div>"),vo=I('<button data-close-button=""><!></button>'),go=I('<div data-icon=""><!> <!></div>'),mo=I('<div data-description=""><!></div>'),po=I('<button data-button="" data-cancel=""> </button>'),ho=I('<button data-button=""> </button>'),bo=I('<!> <div data-content=""><div data-title=""><!></div> <!></div> <!> <!>',1),yo=I('<li data-sonner-toast=""><!> <!></li>');function La(_,e){Nt(e,!0);const s=d=>{var ft=z(),ht=L(ft);{var It=nt=>{var bt=fo(),ee=c(bt);Mt(ee,et),l(bt),J(se=>{Et(bt,1,se),X(bt,"data-visible",t(E)==="loading")},[()=>ne(xe(t(Xt)?.loader,a()?.classes?.loader,"sonner-loader"))]),n(nt,bt)},St=nt=>{{let bt=x(()=>xe(t(Xt)?.loader,a().classes?.loader)),ee=x(()=>t(E)==="loading");Ea(nt,{get class(){return t(bt)},get visible(){return t(ee)}})}};P(ht,nt=>{et()?nt(It):nt(St,!1)})}n(d,ft)};let a=f(e,"toast",7),g=f(e,"index",7),i=f(e,"expanded",7),m=f(e,"invert",7),v=f(e,"position",7),h=f(e,"visibleToasts",7),y=f(e,"expandByDefault",7),S=f(e,"closeButton",7),D=f(e,"interacting",7),C=f(e,"cancelButtonStyle",7,""),N=f(e,"actionButtonStyle",7,""),B=f(e,"duration",7),b=f(e,"descriptionClass",7,""),A=f(e,"classes",7),$=f(e,"unstyled",7,!1),et=f(e,"loadingIcon",7),it=f(e,"successIcon",7),vt=f(e,"errorIcon",7),G=f(e,"warningIcon",7),j=f(e,"closeIcon",7),at=f(e,"infoIcon",7),xt=f(e,"defaultRichColors",7,!1),tt=f(e,"swipeDirections",7),Z=f(e,"closeButtonAriaLabel",7);const w={...co};let H=Y(!1),dt=Y(!1),ct=Y(!1),rt=Y(!1),K=Y(!1),F=Y(0),R=Y(0),U=a().duration||B()||pa,lt=Y(null),V=Y(void 0),O=Y(null),W=Y(null);const st=x(()=>g()===0),q=x(()=>g()+1<=h()),E=x(()=>a().type),k=x(()=>a().dismissable!==!1),ut=x(()=>a().class||""),yt=x(()=>a().descriptionClass||""),Ot=x(()=>Kt.heights.findIndex(d=>d.toastId===a().id)||0),ie=x(()=>a().closeButton??S()),Bt=x(()=>a().duration??B()??pa);let Ct=null;const Ht=x(()=>v().split("-")),me=x(()=>Kt.heights.reduce((d,ft,ht)=>ht>=t(Ot)?d:d+ft.height,0)),Qt=oo(),Rt=x(()=>a().invert||m()),le=x(()=>t(E)==="loading"),Xt=x(()=>({...w,...A()})),o=x(()=>a().title),At=x(()=>a().description);let oe=Y(0),M=Y(0);const Q=x(()=>Math.round(t(Ot)*ro+t(me)));_t(()=>{t(o),t(At);let d;i()||y()?d=1:d=1-g()*lo;const ft=Be(()=>t(V));if(ft===void 0)return;ft.style.setProperty("height","auto");const ht=ft.offsetHeight,It=ft.getBoundingClientRect().height,St=Math.round(It/d+Number.EPSILON&100)/100;ft.style.removeProperty("height");let nt;Math.abs(St-ht)<1?nt=St:nt=ht,p(R,nt,!0),Kt.setHeight({toastId:a().id,height:nt})});function zt(){p(dt,!0),p(F,t(Q),!0),Kt.removeHeight(a().id),setTimeout(()=>{Kt.remove(a().id)},io)}let Ie;const he=x(()=>a().promise&&t(E)==="loading"||a().duration===Number.POSITIVE_INFINITY);function te(){p(oe,new Date().getTime(),!0),Ie=setTimeout(()=>{a().onAutoClose?.(a()),zt()},U)}function Tt(){if(t(M)<t(oe)){const d=new Date().getTime()-t(oe);U=U-d}p(M,new Date().getTime(),!0)}_t(()=>{a().updated&&(clearTimeout(Ie),U=t(Bt),te())}),_t(()=>(t(he)||(i()||D()||Qt.current?Tt():te()),()=>clearTimeout(Ie))),Ue(()=>{p(H,!0);const d=t(V)?.getBoundingClientRect().height;return p(R,d,!0),Kt.setHeight({toastId:a().id,height:d}),()=>{Kt.removeHeight(a().id)}}),_t(()=>{a().delete&&Be(()=>{zt(),a().onDismiss?.(a())})});const Gt=d=>{if(t(le))return;p(F,t(Q),!0);const ft=d.target;ft.setPointerCapture(d.pointerId),ft.tagName!=="BUTTON"&&(p(ct,!0),Ct={x:d.clientX,y:d.clientY})},Vt=()=>{if(t(rt)||!t(k))return;Ct=null;const d=Number(t(V)?.style.getPropertyValue("--swipe-amount-x").replace("px","")||0),ft=Number(t(V)?.style.getPropertyValue("--swipe-amount-y").replace("px","")||0),ht=new Date().getTime()-(t(lt)?.getTime()??0),It=t(O)==="x"?d:ft,St=Math.abs(It)/ht;if(Math.abs(It)>=so||St>.11){p(F,t(Q),!0),a().onDismiss?.(a()),t(O)==="x"?p(W,d>0?"right":"left",!0):p(W,ft>0?"down":"up",!0),zt(),p(rt,!0);return}else t(V)?.style.setProperty("--swipe-amount-x","0px"),t(V)?.style.setProperty("--swipe-amount-y","0px");p(K,!1),p(ct,!1),p(O,null)},Oe=d=>{if(!Ct||!t(k)||(window.getSelection()?.toString().length??-1)>0)return;const ht=d.clientY-Ct.y,It=d.clientX-Ct.x,St=tt()??uo(v());!t(O)&&(Math.abs(It)>1||Math.abs(ht)>1)&&p(O,Math.abs(It)>Math.abs(ht)?"x":"y",!0);let nt={x:0,y:0};if(t(O)==="y"){if(St.includes("top")||St.includes("bottom"))if(St.includes("top")&&ht<0||St.includes("bottom")&&ht>0)nt.y=ht;else{const bt=ht*ha(ht);nt.y=Math.abs(bt)<Math.abs(ht)?bt:ht}}else if(t(O)==="x"&&(St.includes("left")||St.includes("right")))if(St.includes("left")&&It<0||St.includes("right")&&It>0)nt.x=It;else{const bt=It*ha(It);nt.x=Math.abs(bt)<Math.abs(It)?bt:It}(Math.abs(nt.x)>0||Math.abs(nt.y)>0)&&p(K,!0),t(V)?.style.setProperty("--swipe-amount-x",`${nt.x}px`),t(V)?.style.setProperty("--swipe-amount-y",`${nt.y}px`)},ca=()=>{p(ct,!1),p(O,null),Ct=null},Xe=x(()=>a().icon?a().icon:t(E)==="success"?it():t(E)==="error"?vt():t(E)==="warning"?G():t(E)==="info"?at():t(E)==="loading"?et():null);var Ge={get toast(){return a()},set toast(d){a(d),u()},get index(){return g()},set index(d){g(d),u()},get expanded(){return i()},set expanded(d){i(d),u()},get invert(){return m()},set invert(d){m(d),u()},get position(){return v()},set position(d){v(d),u()},get visibleToasts(){return h()},set visibleToasts(d){h(d),u()},get expandByDefault(){return y()},set expandByDefault(d){y(d),u()},get closeButton(){return S()},set closeButton(d){S(d),u()},get interacting(){return D()},set interacting(d){D(d),u()},get cancelButtonStyle(){return C()},set cancelButtonStyle(d=""){C(d),u()},get actionButtonStyle(){return N()},set actionButtonStyle(d=""){N(d),u()},get duration(){return B()},set duration(d){B(d),u()},get descriptionClass(){return b()},set descriptionClass(d=""){b(d),u()},get classes(){return A()},set classes(d){A(d),u()},get unstyled(){return $()},set unstyled(d=!1){$(d),u()},get loadingIcon(){return et()},set loadingIcon(d){et(d),u()},get successIcon(){return it()},set successIcon(d){it(d),u()},get errorIcon(){return vt()},set errorIcon(d){vt(d),u()},get warningIcon(){return G()},set warningIcon(d){G(d),u()},get closeIcon(){return j()},set closeIcon(d){j(d),u()},get infoIcon(){return at()},set infoIcon(d){at(d),u()},get defaultRichColors(){return xt()},set defaultRichColors(d=!1){xt(d),u()},get swipeDirections(){return tt()},set swipeDirections(d){tt(d),u()},get closeButtonAriaLabel(){return Z()},set closeButtonAriaLabel(d){Z(d),u()}},mt=yo();X(mt,"tabindex",0);let Fe;var ze=c(mt);{var Ze=d=>{var ft=vo(),ht=c(ft);Mt(ht,()=>j()??re),l(ft),J(It=>{X(ft,"aria-label",Z()),X(ft,"data-disabled",t(le)),Et(ft,1,It)},[()=>ne(xe(t(Xt)?.closeButton,a()?.classes?.closeButton))]),de("click",ft,()=>{t(le)||!t(k)||(zt(),a().onDismiss?.(a()))}),n(d,ft)};P(ze,d=>{t(ie)&&!a().component&&t(E)!=="loading"&&j()!==null&&d(Ze)})}var Je=T(ze,2);{var $e=d=>{const ft=x(()=>a().component);var ht=z(),It=L(ht);Ut(It,()=>t(ft),(St,nt)=>{nt(St,De(()=>a().componentProps,{closeToast:zt}))}),n(d,ht)},ta=d=>{var ft=bo(),ht=L(ft);{var It=Lt=>{var Yt=go(),pe=c(Yt);{var be=gt=>{var pt=z(),ae=L(pt);{var Dt=ke=>{var He=z(),ea=L(He);Ut(ea,()=>a().icon,(jt,Jt)=>{Jt(jt,{})}),n(ke,He)},ve=ke=>{s(ke)};P(ae,ke=>{a().icon?ke(Dt):ke(ve,!1)})}n(gt,pt)};P(pe,gt=>{(a().promise||t(E)==="loading")&>(be)})}var ye=T(pe,2);{var Pt=gt=>{var pt=z(),ae=L(pt);{var Dt=jt=>{var Jt=z(),_e=L(Jt);Ut(_e,()=>a().icon,(Ja,$a)=>{$a(Ja,{})}),n(jt,Jt)},ve=jt=>{var Jt=z(),_e=L(Jt);Mt(_e,()=>it()??re),n(jt,Jt)},ke=jt=>{var Jt=z(),_e=L(Jt);Mt(_e,()=>vt()??re),n(jt,Jt)},He=jt=>{var Jt=z(),_e=L(Jt);Mt(_e,()=>G()??re),n(jt,Jt)},ea=jt=>{var Jt=z(),_e=L(Jt);Mt(_e,()=>at()??re),n(jt,Jt)};P(ae,jt=>{a().icon?jt(Dt):t(E)==="success"?jt(ve,1):t(E)==="error"?jt(ke,2):t(E)==="warning"?jt(He,3):t(E)==="info"&&jt(ea,4)})}n(gt,pt)};P(ye,gt=>{a().type!=="loading"&>(Pt)})}l(Yt),J(gt=>Et(Yt,1,gt),[()=>ne(xe(t(Xt)?.icon,a()?.classes?.icon))]),n(Lt,Yt)};P(ht,Lt=>{(t(E)||a().icon||a().promise)&&a().icon!==null&&(t(Xe)!==null||a().icon)&&Lt(It)})}var St=T(ht,2),nt=c(St),bt=c(nt);{var ee=Lt=>{var Yt=z(),pe=L(Yt);{var be=Pt=>{const gt=x(()=>a().title);var pt=z(),ae=L(pt);Ut(ae,()=>t(gt),(Dt,ve)=>{ve(Dt,De(()=>a().componentProps))}),n(Pt,pt)},ye=Pt=>{var gt=fa();J(()=>kt(gt,a().title)),n(Pt,gt)};P(pe,Pt=>{typeof a().title!="string"?Pt(be):Pt(ye,!1)})}n(Lt,Yt)};P(bt,Lt=>{a().title&&Lt(ee)})}l(nt);var se=T(nt,2);{var ue=Lt=>{var Yt=mo(),pe=c(Yt);{var be=Pt=>{const gt=x(()=>a().description);var pt=z(),ae=L(pt);Ut(ae,()=>t(gt),(Dt,ve)=>{ve(Dt,De(()=>a().componentProps))}),n(Pt,pt)},ye=Pt=>{var gt=fa();J(()=>kt(gt,a().description)),n(Pt,gt)};P(pe,Pt=>{typeof a().description!="string"?Pt(be):Pt(ye,!1)})}l(Yt),J(Pt=>Et(Yt,1,Pt),[()=>ne(xe(b(),t(yt),t(Xt)?.description,a().classes?.description))]),n(Lt,Yt)};P(se,Lt=>{a().description&&Lt(ue)})}l(St);var ot=T(St,2);{var Zt=Lt=>{var Yt=z(),pe=L(Yt);{var be=gt=>{var pt=z(),ae=L(pt);Ut(ae,()=>a().cancel,(Dt,ve)=>{ve(Dt,{})}),n(gt,pt)},ye=gt=>{var pt=po(),ae=c(pt,!0);l(pt),J(Dt=>{Ee(pt,a().cancelButtonStyle??C()),Et(pt,1,Dt),kt(ae,a().cancel.label)},[()=>ne(xe(t(Xt)?.cancelButton,a()?.classes?.cancelButton))]),de("click",pt,Dt=>{Ye(a().cancel)&&t(k)&&(a().cancel?.onClick?.(Dt),zt())}),n(gt,pt)},Pt=x(()=>Ye(a().cancel));P(pe,gt=>{typeof a().cancel=="function"?gt(be):t(Pt)&>(ye,1)})}n(Lt,Yt)};P(ot,Lt=>{a().cancel&&Lt(Zt)})}var fe=T(ot,2);{var Za=Lt=>{var Yt=z(),pe=L(Yt);{var be=gt=>{var pt=z(),ae=L(pt);Ut(ae,()=>a().action,(Dt,ve)=>{ve(Dt,{})}),n(gt,pt)},ye=gt=>{var pt=ho(),ae=c(pt,!0);l(pt),J(Dt=>{Ee(pt,a().actionButtonStyle??N()),Et(pt,1,Dt),kt(ae,a().action.label)},[()=>ne(xe(t(Xt)?.actionButton,a()?.classes?.actionButton))]),de("click",pt,Dt=>{Ye(a().action)&&(a().action?.onClick(Dt),!Dt.defaultPrevented&&zt())}),n(gt,pt)},Pt=x(()=>Ye(a().action));P(pe,gt=>{typeof a().action=="function"?gt(be):t(Pt)&>(ye,1)})}n(Lt,Yt)};P(fe,Lt=>{a().action&&Lt(Za)})}J(Lt=>Et(nt,1,Lt),[()=>ne(xe(t(Xt)?.title,a()?.classes?.title))]),n(d,ft)};P(Je,d=>{a().component?d($e):d(ta,!1)})}return l(mt),Wt(mt,d=>p(V,d),()=>t(V)),J((d,ft,ht)=>{Et(mt,1,d),X(mt,"data-rich-colors",a().richColors??xt()),X(mt,"data-styled",!(a().component||a().unstyled||$())),X(mt,"data-mounted",t(H)),X(mt,"data-promise",ft),X(mt,"data-swiped",t(K)),X(mt,"data-removed",t(dt)),X(mt,"data-visible",t(q)),X(mt,"data-y-position",t(Ht)[0]),X(mt,"data-x-position",t(Ht)[1]),X(mt,"data-index",g()),X(mt,"data-front",t(st)),X(mt,"data-swiping",t(ct)),X(mt,"data-dismissable",t(k)),X(mt,"data-type",t(E)),X(mt,"data-invert",t(Rt)),X(mt,"data-swipe-out",t(rt)),X(mt,"data-swipe-direction",t(W)),X(mt,"data-expanded",ht),Fe=Ee(mt,`${e.style} ${a().style}`,Fe,{"--index":g(),"--toasts-before":g(),"--z-index":Kt.toasts.length-g(),"--offset":`${t(dt)?t(F):t(Q)}px`,"--initial-height":y()?"auto":`${t(R)}px`})},[()=>ne(xe(e.class,t(ut),t(Xt)?.toast,a()?.classes?.toast,t(Xt)?.[t(E)],a()?.classes?.[t(E)])),()=>!!a().promise,()=>!!(i()||y()&&t(H))]),de("pointermove",mt,Oe),de("pointerup",mt,Vt),de("pointerdown",mt,Gt),ge("dragend",mt,ca),n(_,mt),Ft(Ge)}We(["pointermove","pointerup","pointerdown","click"]);wt(La,{toast:{},index:{},expanded:{},invert:{},position:{},visibleToasts:{},expandByDefault:{},closeButton:{},interacting:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},descriptionClass:{},classes:{},unstyled:{},loadingIcon:{},successIcon:{},errorIcon:{},warningIcon:{},closeIcon:{},infoIcon:{},defaultRichColors:{},swipeDirections:{},closeButtonAriaLabel:{}},[],[],{mode:"open"});var _o=Me('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-success-icon=""><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z" clip-rule="evenodd"></path></svg>');function Pa(_){var e=_o();n(_,e)}wt(Pa,{},[],[],{mode:"open"});var xo=Me('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-error-icon=""><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"></path></svg>');function Oa(_){var e=xo();n(_,e)}wt(Oa,{},[],[],{mode:"open"});var wo=Me('<svg viewBox="0 0 64 64" fill="currentColor" height="20" width="20" data-sonner-warning-icon="" xmlns="http://www.w3.org/2000/svg"><path d="M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z"></path><path d="M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z"></path></svg>');function Aa(_){var e=wo();n(_,e)}wt(Aa,{},[],[],{mode:"open"});var Co=Me('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-info-icon=""><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z" clip-rule="evenodd"></path></svg>');function Da(_){var e=Co();n(_,e)}wt(Da,{},[],[],{mode:"open"});var Io=Me('<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" data-sonner-close-icon=""><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>');function Ma(_){var e=Io();n(_,e)}wt(Ma,{},[],[],{mode:"open"});const ba=3,oa="24px",ra="16px",ya=4e3,ko=356,_a=14,aa="dark",qe="light";function To(_,e){const s={};return[_,e].forEach((a,g)=>{const i=g===1,m=i?"--mobile-offset":"--offset",v=i?ra:oa;function h(y){["top","right","bottom","left"].forEach(S=>{s[`${m}-${S}`]=typeof y=="number"?`${y}px`:y})}typeof a=="number"||typeof a=="string"?h(a):typeof a=="object"?["top","right","bottom","left"].forEach(y=>{const S=a[y];S===void 0?s[`${m}-${y}`]=v:s[`${m}-${y}`]=typeof S=="number"?`${S}px`:S}):h(v)}),s}var So=I("<ol></ol>"),Bo=I('<section aria-live="polite" aria-relevant="additions text" aria-atomic="false" class="svelte-o2bcrz"><!></section>');const Eo={hash:"svelte-o2bcrz",code:`html[dir='ltr'],
|
|
1
|
+
import"./DsnmJJEf.js";import{o as Ue}from"./6gGOJNBB.js";import{O as tn,a9 as en,p as Nt,e as c,a as n,r as l,t as J,b as Ft,m as u,d as I,c as wt,az as an,aA as je,aB as nn,aC as ua,aD as on,C as Y,$ as xa,u as _t,D as p,k as t,j as Be,s as T,F as de,at as ge,o as x,n as re,z,f as L,B as We,a5 as fa,g as kt,aE as Me,aF as rn,ax as sn,au as na,T as ln,ag as dn}from"./CfJtR48A.js";import{i as P,b as Wt,c as Ut}from"./Bg7q39r6.js";import{e as ce,G as ne,E as Et,s as X,Q as Kt,T as xe,m as Ee,a as wa,U as cn,V as Pe,W as un,X as fn,Y as Ke,Z as va,_ as vn,$ as gn,k as r,a0 as Ca,a1 as mn,a2 as pn,a3 as hn,a4 as bn,a5 as yn,t as $t,a6 as sa,a7 as _n,S as Qe,a8 as xn,o as we,a9 as Le,aa as wn,n as qt,b as Ce,x as Cn,ab as ga,H as In,r as Ia,M as kn,y as Se,ac as Tn,ad as Sn,ae as Bn,af as ka,z as Ta,i as Te,q as ia,ag as En,ah as Ln,ai as Pn,aj as On,R as ma,P as An,I as Ae,p as Sa,ak as Re,al as Dn,am as Mn,an as Nn,ao as Fn,ap as zn,aq as Hn,h as Rn,N as Yn,ar as qn,v as Vn,C as jn,w as Kn,c as Un}from"./DorsiQA9.js";import{p as f,s as De,r as Ne}from"./hrZ0qwUL.js";import"./3EFJgnry.js";import{i as Ba}from"./CR5-hwU3.js";import{s as Mt,t as Wn}from"./CJpr6qk2.js";import{O as Qn}from"./DPeXO3aA.js";function Xn(_,e,s,a,g){tn&&en();var i=e.$$slots?.[s],m=!1;i===!0&&(i=e[s],m=!0),i===void 0?g!==null&&g(_):i(_,m?()=>a:a)}const Gn=Array(12).fill(0);var Zn=I('<div class="sonner-loading-bar"></div>'),Jn=I('<div><div class="sonner-spinner"></div></div>');function Ea(_,e){Nt(e,!0);let s=f(e,"visible",7),a=f(e,"class",7);var g={get visible(){return s()},set visible(v){s(v),u()},get class(){return a()},set class(v){a(v),u()}},i=Jn(),m=c(i);return ce(m,23,()=>Gn,(v,h)=>`spinner-bar-${h}`,(v,h)=>{var y=Zn();n(v,y)}),l(m),l(i),J(v=>{Et(i,1,v),X(i,"data-visible",s())},[()=>ne(["sonner-loading-wrapper",a()].filter(Boolean).join(" "))]),n(_,i),Ft(g)}wt(Ea,{visible:{},class:{}},[],[],{mode:"open"});const $n=typeof window<"u"?window:void 0;function to(_){let e=_.activeElement;for(;e?.shadowRoot;){const s=e.shadowRoot.activeElement;if(s===e)break;e=s}return e}class eo{#e;#t;constructor(e={}){const{window:s=$n,document:a=s?.document}=e;s!==void 0&&(this.#e=a,this.#t=an(g=>{const i=je(s,"focusin",g),m=je(s,"focusout",g);return()=>{i(),m()}}))}get current(){return this.#t?.(),this.#e?to(this.#e):null}}new eo;class ao{#e;#t;constructor(e){this.#e=e,this.#t=Symbol(e)}get key(){return this.#t}exists(){return nn(this.#t)}get(){const e=ua(this.#t);if(e===void 0)throw new Error(`Context "${this.#e}" not found`);return e}getOr(e){const s=ua(this.#t);return s===void 0?e:s}set(e){return on(this.#t,e)}}const no=new ao("<Toaster/>");function Ye(_){return _.label!==void 0}function oo(){let _=Y(xa(typeof document<"u"?document.hidden:!1));return _t(()=>je(document,"visibilitychange",()=>{p(_,document.hidden,!0)})),{get current(){return t(_)}}}const pa=4e3,ro=14,so=45,io=200,lo=.05,co={toast:"",title:"",description:"",loader:"",closeButton:"",cancelButton:"",actionButton:"",action:"",warning:"",error:"",success:"",default:"",info:"",loading:""};function uo(_){const[e,s]=_.split("-"),a=[];return e&&a.push(e),s&&a.push(s),a}function ha(_){return 1/(1.5+Math.abs(_)/20)}var fo=I("<div><!></div>"),vo=I('<button data-close-button=""><!></button>'),go=I('<div data-icon=""><!> <!></div>'),mo=I('<div data-description=""><!></div>'),po=I('<button data-button="" data-cancel=""> </button>'),ho=I('<button data-button=""> </button>'),bo=I('<!> <div data-content=""><div data-title=""><!></div> <!></div> <!> <!>',1),yo=I('<li data-sonner-toast=""><!> <!></li>');function La(_,e){Nt(e,!0);const s=d=>{var ft=z(),ht=L(ft);{var It=nt=>{var bt=fo(),ee=c(bt);Mt(ee,et),l(bt),J(se=>{Et(bt,1,se),X(bt,"data-visible",t(E)==="loading")},[()=>ne(xe(t(Xt)?.loader,a()?.classes?.loader,"sonner-loader"))]),n(nt,bt)},St=nt=>{{let bt=x(()=>xe(t(Xt)?.loader,a().classes?.loader)),ee=x(()=>t(E)==="loading");Ea(nt,{get class(){return t(bt)},get visible(){return t(ee)}})}};P(ht,nt=>{et()?nt(It):nt(St,!1)})}n(d,ft)};let a=f(e,"toast",7),g=f(e,"index",7),i=f(e,"expanded",7),m=f(e,"invert",7),v=f(e,"position",7),h=f(e,"visibleToasts",7),y=f(e,"expandByDefault",7),S=f(e,"closeButton",7),D=f(e,"interacting",7),C=f(e,"cancelButtonStyle",7,""),N=f(e,"actionButtonStyle",7,""),B=f(e,"duration",7),b=f(e,"descriptionClass",7,""),A=f(e,"classes",7),$=f(e,"unstyled",7,!1),et=f(e,"loadingIcon",7),it=f(e,"successIcon",7),vt=f(e,"errorIcon",7),G=f(e,"warningIcon",7),j=f(e,"closeIcon",7),at=f(e,"infoIcon",7),xt=f(e,"defaultRichColors",7,!1),tt=f(e,"swipeDirections",7),Z=f(e,"closeButtonAriaLabel",7);const w={...co};let H=Y(!1),dt=Y(!1),ct=Y(!1),rt=Y(!1),K=Y(!1),F=Y(0),R=Y(0),U=a().duration||B()||pa,lt=Y(null),V=Y(void 0),O=Y(null),W=Y(null);const st=x(()=>g()===0),q=x(()=>g()+1<=h()),E=x(()=>a().type),k=x(()=>a().dismissable!==!1),ut=x(()=>a().class||""),yt=x(()=>a().descriptionClass||""),Ot=x(()=>Kt.heights.findIndex(d=>d.toastId===a().id)||0),ie=x(()=>a().closeButton??S()),Bt=x(()=>a().duration??B()??pa);let Ct=null;const Ht=x(()=>v().split("-")),me=x(()=>Kt.heights.reduce((d,ft,ht)=>ht>=t(Ot)?d:d+ft.height,0)),Qt=oo(),Rt=x(()=>a().invert||m()),le=x(()=>t(E)==="loading"),Xt=x(()=>({...w,...A()})),o=x(()=>a().title),At=x(()=>a().description);let oe=Y(0),M=Y(0);const Q=x(()=>Math.round(t(Ot)*ro+t(me)));_t(()=>{t(o),t(At);let d;i()||y()?d=1:d=1-g()*lo;const ft=Be(()=>t(V));if(ft===void 0)return;ft.style.setProperty("height","auto");const ht=ft.offsetHeight,It=ft.getBoundingClientRect().height,St=Math.round(It/d+Number.EPSILON&100)/100;ft.style.removeProperty("height");let nt;Math.abs(St-ht)<1?nt=St:nt=ht,p(R,nt,!0),Kt.setHeight({toastId:a().id,height:nt})});function zt(){p(dt,!0),p(F,t(Q),!0),Kt.removeHeight(a().id),setTimeout(()=>{Kt.remove(a().id)},io)}let Ie;const he=x(()=>a().promise&&t(E)==="loading"||a().duration===Number.POSITIVE_INFINITY);function te(){p(oe,new Date().getTime(),!0),Ie=setTimeout(()=>{a().onAutoClose?.(a()),zt()},U)}function Tt(){if(t(M)<t(oe)){const d=new Date().getTime()-t(oe);U=U-d}p(M,new Date().getTime(),!0)}_t(()=>{a().updated&&(clearTimeout(Ie),U=t(Bt),te())}),_t(()=>(t(he)||(i()||D()||Qt.current?Tt():te()),()=>clearTimeout(Ie))),Ue(()=>{p(H,!0);const d=t(V)?.getBoundingClientRect().height;return p(R,d,!0),Kt.setHeight({toastId:a().id,height:d}),()=>{Kt.removeHeight(a().id)}}),_t(()=>{a().delete&&Be(()=>{zt(),a().onDismiss?.(a())})});const Gt=d=>{if(t(le))return;p(F,t(Q),!0);const ft=d.target;ft.setPointerCapture(d.pointerId),ft.tagName!=="BUTTON"&&(p(ct,!0),Ct={x:d.clientX,y:d.clientY})},Vt=()=>{if(t(rt)||!t(k))return;Ct=null;const d=Number(t(V)?.style.getPropertyValue("--swipe-amount-x").replace("px","")||0),ft=Number(t(V)?.style.getPropertyValue("--swipe-amount-y").replace("px","")||0),ht=new Date().getTime()-(t(lt)?.getTime()??0),It=t(O)==="x"?d:ft,St=Math.abs(It)/ht;if(Math.abs(It)>=so||St>.11){p(F,t(Q),!0),a().onDismiss?.(a()),t(O)==="x"?p(W,d>0?"right":"left",!0):p(W,ft>0?"down":"up",!0),zt(),p(rt,!0);return}else t(V)?.style.setProperty("--swipe-amount-x","0px"),t(V)?.style.setProperty("--swipe-amount-y","0px");p(K,!1),p(ct,!1),p(O,null)},Oe=d=>{if(!Ct||!t(k)||(window.getSelection()?.toString().length??-1)>0)return;const ht=d.clientY-Ct.y,It=d.clientX-Ct.x,St=tt()??uo(v());!t(O)&&(Math.abs(It)>1||Math.abs(ht)>1)&&p(O,Math.abs(It)>Math.abs(ht)?"x":"y",!0);let nt={x:0,y:0};if(t(O)==="y"){if(St.includes("top")||St.includes("bottom"))if(St.includes("top")&&ht<0||St.includes("bottom")&&ht>0)nt.y=ht;else{const bt=ht*ha(ht);nt.y=Math.abs(bt)<Math.abs(ht)?bt:ht}}else if(t(O)==="x"&&(St.includes("left")||St.includes("right")))if(St.includes("left")&&It<0||St.includes("right")&&It>0)nt.x=It;else{const bt=It*ha(It);nt.x=Math.abs(bt)<Math.abs(It)?bt:It}(Math.abs(nt.x)>0||Math.abs(nt.y)>0)&&p(K,!0),t(V)?.style.setProperty("--swipe-amount-x",`${nt.x}px`),t(V)?.style.setProperty("--swipe-amount-y",`${nt.y}px`)},ca=()=>{p(ct,!1),p(O,null),Ct=null},Xe=x(()=>a().icon?a().icon:t(E)==="success"?it():t(E)==="error"?vt():t(E)==="warning"?G():t(E)==="info"?at():t(E)==="loading"?et():null);var Ge={get toast(){return a()},set toast(d){a(d),u()},get index(){return g()},set index(d){g(d),u()},get expanded(){return i()},set expanded(d){i(d),u()},get invert(){return m()},set invert(d){m(d),u()},get position(){return v()},set position(d){v(d),u()},get visibleToasts(){return h()},set visibleToasts(d){h(d),u()},get expandByDefault(){return y()},set expandByDefault(d){y(d),u()},get closeButton(){return S()},set closeButton(d){S(d),u()},get interacting(){return D()},set interacting(d){D(d),u()},get cancelButtonStyle(){return C()},set cancelButtonStyle(d=""){C(d),u()},get actionButtonStyle(){return N()},set actionButtonStyle(d=""){N(d),u()},get duration(){return B()},set duration(d){B(d),u()},get descriptionClass(){return b()},set descriptionClass(d=""){b(d),u()},get classes(){return A()},set classes(d){A(d),u()},get unstyled(){return $()},set unstyled(d=!1){$(d),u()},get loadingIcon(){return et()},set loadingIcon(d){et(d),u()},get successIcon(){return it()},set successIcon(d){it(d),u()},get errorIcon(){return vt()},set errorIcon(d){vt(d),u()},get warningIcon(){return G()},set warningIcon(d){G(d),u()},get closeIcon(){return j()},set closeIcon(d){j(d),u()},get infoIcon(){return at()},set infoIcon(d){at(d),u()},get defaultRichColors(){return xt()},set defaultRichColors(d=!1){xt(d),u()},get swipeDirections(){return tt()},set swipeDirections(d){tt(d),u()},get closeButtonAriaLabel(){return Z()},set closeButtonAriaLabel(d){Z(d),u()}},mt=yo();X(mt,"tabindex",0);let Fe;var ze=c(mt);{var Ze=d=>{var ft=vo(),ht=c(ft);Mt(ht,()=>j()??re),l(ft),J(It=>{X(ft,"aria-label",Z()),X(ft,"data-disabled",t(le)),Et(ft,1,It)},[()=>ne(xe(t(Xt)?.closeButton,a()?.classes?.closeButton))]),de("click",ft,()=>{t(le)||!t(k)||(zt(),a().onDismiss?.(a()))}),n(d,ft)};P(ze,d=>{t(ie)&&!a().component&&t(E)!=="loading"&&j()!==null&&d(Ze)})}var Je=T(ze,2);{var $e=d=>{const ft=x(()=>a().component);var ht=z(),It=L(ht);Ut(It,()=>t(ft),(St,nt)=>{nt(St,De(()=>a().componentProps,{closeToast:zt}))}),n(d,ht)},ta=d=>{var ft=bo(),ht=L(ft);{var It=Lt=>{var Yt=go(),pe=c(Yt);{var be=gt=>{var pt=z(),ae=L(pt);{var Dt=ke=>{var He=z(),ea=L(He);Ut(ea,()=>a().icon,(jt,Jt)=>{Jt(jt,{})}),n(ke,He)},ve=ke=>{s(ke)};P(ae,ke=>{a().icon?ke(Dt):ke(ve,!1)})}n(gt,pt)};P(pe,gt=>{(a().promise||t(E)==="loading")&>(be)})}var ye=T(pe,2);{var Pt=gt=>{var pt=z(),ae=L(pt);{var Dt=jt=>{var Jt=z(),_e=L(Jt);Ut(_e,()=>a().icon,(Ja,$a)=>{$a(Ja,{})}),n(jt,Jt)},ve=jt=>{var Jt=z(),_e=L(Jt);Mt(_e,()=>it()??re),n(jt,Jt)},ke=jt=>{var Jt=z(),_e=L(Jt);Mt(_e,()=>vt()??re),n(jt,Jt)},He=jt=>{var Jt=z(),_e=L(Jt);Mt(_e,()=>G()??re),n(jt,Jt)},ea=jt=>{var Jt=z(),_e=L(Jt);Mt(_e,()=>at()??re),n(jt,Jt)};P(ae,jt=>{a().icon?jt(Dt):t(E)==="success"?jt(ve,1):t(E)==="error"?jt(ke,2):t(E)==="warning"?jt(He,3):t(E)==="info"&&jt(ea,4)})}n(gt,pt)};P(ye,gt=>{a().type!=="loading"&>(Pt)})}l(Yt),J(gt=>Et(Yt,1,gt),[()=>ne(xe(t(Xt)?.icon,a()?.classes?.icon))]),n(Lt,Yt)};P(ht,Lt=>{(t(E)||a().icon||a().promise)&&a().icon!==null&&(t(Xe)!==null||a().icon)&&Lt(It)})}var St=T(ht,2),nt=c(St),bt=c(nt);{var ee=Lt=>{var Yt=z(),pe=L(Yt);{var be=Pt=>{const gt=x(()=>a().title);var pt=z(),ae=L(pt);Ut(ae,()=>t(gt),(Dt,ve)=>{ve(Dt,De(()=>a().componentProps))}),n(Pt,pt)},ye=Pt=>{var gt=fa();J(()=>kt(gt,a().title)),n(Pt,gt)};P(pe,Pt=>{typeof a().title!="string"?Pt(be):Pt(ye,!1)})}n(Lt,Yt)};P(bt,Lt=>{a().title&&Lt(ee)})}l(nt);var se=T(nt,2);{var ue=Lt=>{var Yt=mo(),pe=c(Yt);{var be=Pt=>{const gt=x(()=>a().description);var pt=z(),ae=L(pt);Ut(ae,()=>t(gt),(Dt,ve)=>{ve(Dt,De(()=>a().componentProps))}),n(Pt,pt)},ye=Pt=>{var gt=fa();J(()=>kt(gt,a().description)),n(Pt,gt)};P(pe,Pt=>{typeof a().description!="string"?Pt(be):Pt(ye,!1)})}l(Yt),J(Pt=>Et(Yt,1,Pt),[()=>ne(xe(b(),t(yt),t(Xt)?.description,a().classes?.description))]),n(Lt,Yt)};P(se,Lt=>{a().description&&Lt(ue)})}l(St);var ot=T(St,2);{var Zt=Lt=>{var Yt=z(),pe=L(Yt);{var be=gt=>{var pt=z(),ae=L(pt);Ut(ae,()=>a().cancel,(Dt,ve)=>{ve(Dt,{})}),n(gt,pt)},ye=gt=>{var pt=po(),ae=c(pt,!0);l(pt),J(Dt=>{Ee(pt,a().cancelButtonStyle??C()),Et(pt,1,Dt),kt(ae,a().cancel.label)},[()=>ne(xe(t(Xt)?.cancelButton,a()?.classes?.cancelButton))]),de("click",pt,Dt=>{Ye(a().cancel)&&t(k)&&(a().cancel?.onClick?.(Dt),zt())}),n(gt,pt)},Pt=x(()=>Ye(a().cancel));P(pe,gt=>{typeof a().cancel=="function"?gt(be):t(Pt)&>(ye,1)})}n(Lt,Yt)};P(ot,Lt=>{a().cancel&&Lt(Zt)})}var fe=T(ot,2);{var Za=Lt=>{var Yt=z(),pe=L(Yt);{var be=gt=>{var pt=z(),ae=L(pt);Ut(ae,()=>a().action,(Dt,ve)=>{ve(Dt,{})}),n(gt,pt)},ye=gt=>{var pt=ho(),ae=c(pt,!0);l(pt),J(Dt=>{Ee(pt,a().actionButtonStyle??N()),Et(pt,1,Dt),kt(ae,a().action.label)},[()=>ne(xe(t(Xt)?.actionButton,a()?.classes?.actionButton))]),de("click",pt,Dt=>{Ye(a().action)&&(a().action?.onClick(Dt),!Dt.defaultPrevented&&zt())}),n(gt,pt)},Pt=x(()=>Ye(a().action));P(pe,gt=>{typeof a().action=="function"?gt(be):t(Pt)&>(ye,1)})}n(Lt,Yt)};P(fe,Lt=>{a().action&&Lt(Za)})}J(Lt=>Et(nt,1,Lt),[()=>ne(xe(t(Xt)?.title,a()?.classes?.title))]),n(d,ft)};P(Je,d=>{a().component?d($e):d(ta,!1)})}return l(mt),Wt(mt,d=>p(V,d),()=>t(V)),J((d,ft,ht)=>{Et(mt,1,d),X(mt,"data-rich-colors",a().richColors??xt()),X(mt,"data-styled",!(a().component||a().unstyled||$())),X(mt,"data-mounted",t(H)),X(mt,"data-promise",ft),X(mt,"data-swiped",t(K)),X(mt,"data-removed",t(dt)),X(mt,"data-visible",t(q)),X(mt,"data-y-position",t(Ht)[0]),X(mt,"data-x-position",t(Ht)[1]),X(mt,"data-index",g()),X(mt,"data-front",t(st)),X(mt,"data-swiping",t(ct)),X(mt,"data-dismissable",t(k)),X(mt,"data-type",t(E)),X(mt,"data-invert",t(Rt)),X(mt,"data-swipe-out",t(rt)),X(mt,"data-swipe-direction",t(W)),X(mt,"data-expanded",ht),Fe=Ee(mt,`${e.style} ${a().style}`,Fe,{"--index":g(),"--toasts-before":g(),"--z-index":Kt.toasts.length-g(),"--offset":`${t(dt)?t(F):t(Q)}px`,"--initial-height":y()?"auto":`${t(R)}px`})},[()=>ne(xe(e.class,t(ut),t(Xt)?.toast,a()?.classes?.toast,t(Xt)?.[t(E)],a()?.classes?.[t(E)])),()=>!!a().promise,()=>!!(i()||y()&&t(H))]),de("pointermove",mt,Oe),de("pointerup",mt,Vt),de("pointerdown",mt,Gt),ge("dragend",mt,ca),n(_,mt),Ft(Ge)}We(["pointermove","pointerup","pointerdown","click"]);wt(La,{toast:{},index:{},expanded:{},invert:{},position:{},visibleToasts:{},expandByDefault:{},closeButton:{},interacting:{},cancelButtonStyle:{},actionButtonStyle:{},duration:{},descriptionClass:{},classes:{},unstyled:{},loadingIcon:{},successIcon:{},errorIcon:{},warningIcon:{},closeIcon:{},infoIcon:{},defaultRichColors:{},swipeDirections:{},closeButtonAriaLabel:{}},[],[],{mode:"open"});var _o=Me('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-success-icon=""><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z" clip-rule="evenodd"></path></svg>');function Pa(_){var e=_o();n(_,e)}wt(Pa,{},[],[],{mode:"open"});var xo=Me('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-error-icon=""><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"></path></svg>');function Oa(_){var e=xo();n(_,e)}wt(Oa,{},[],[],{mode:"open"});var wo=Me('<svg viewBox="0 0 64 64" fill="currentColor" height="20" width="20" data-sonner-warning-icon="" xmlns="http://www.w3.org/2000/svg"><path d="M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z"></path><path d="M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z"></path></svg>');function Aa(_){var e=wo();n(_,e)}wt(Aa,{},[],[],{mode:"open"});var Co=Me('<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-info-icon=""><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z" clip-rule="evenodd"></path></svg>');function Da(_){var e=Co();n(_,e)}wt(Da,{},[],[],{mode:"open"});var Io=Me('<svg xmlns="http://www.w3.org/2000/svg" width="12" height="12" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="1.5" stroke-linecap="round" stroke-linejoin="round" data-sonner-close-icon=""><line x1="18" y1="6" x2="6" y2="18"></line><line x1="6" y1="6" x2="18" y2="18"></line></svg>');function Ma(_){var e=Io();n(_,e)}wt(Ma,{},[],[],{mode:"open"});const ba=3,oa="24px",ra="16px",ya=4e3,ko=356,_a=14,aa="dark",qe="light";function To(_,e){const s={};return[_,e].forEach((a,g)=>{const i=g===1,m=i?"--mobile-offset":"--offset",v=i?ra:oa;function h(y){["top","right","bottom","left"].forEach(S=>{s[`${m}-${S}`]=typeof y=="number"?`${y}px`:y})}typeof a=="number"||typeof a=="string"?h(a):typeof a=="object"?["top","right","bottom","left"].forEach(y=>{const S=a[y];S===void 0?s[`${m}-${y}`]=v:s[`${m}-${y}`]=typeof S=="number"?`${S}px`:S}):h(v)}),s}var So=I("<ol></ol>"),Bo=I('<section aria-live="polite" aria-relevant="additions text" aria-atomic="false" class="svelte-o2bcrz"><!></section>');const Eo={hash:"svelte-o2bcrz",code:`html[dir='ltr'],
|
|
2
2
|
[data-sonner-toaster][dir='ltr'] {--toast-icon-margin-start: -3px;--toast-icon-margin-end: 4px;--toast-svg-margin-start: -1px;--toast-svg-margin-end: 0px;--toast-button-margin-start: auto;--toast-button-margin-end: 0;--toast-close-button-start: 0;--toast-close-button-end: unset;--toast-close-button-transform: translate(-35%, -35%);}html[dir='rtl'],
|
|
3
3
|
[data-sonner-toaster][dir='rtl'] {--toast-icon-margin-start: 4px;--toast-icon-margin-end: -3px;--toast-svg-margin-start: 0px;--toast-svg-margin-end: -1px;--toast-button-margin-start: 0;--toast-button-margin-end: auto;--toast-close-button-start: unset;--toast-close-button-end: 0;--toast-close-button-transform: translate(35%, -35%);}[data-sonner-toaster] {position:fixed;width:var(--width);font-family:ui-sans-serif,
|
|
4
4
|
system-ui,
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.
|
|
2
|
-
import{i as x,c as y,b as D,_ as E}from"../chunks/Bg7q39r6.js";import{c as U,p as W,q as X,u as Y,k as m,D as R,a4 as Z,f as P,s as $,a as f,b as tt,C as j,d as C,m as u,z as k,e as et,r as rt,o as w,a5 as at,t as ot,g as st,a6 as nt}from"../chunks/CfJtR48A.js";import"../chunks/DsnmJJEf.js";import{o as it}from"../chunks/6gGOJNBB.js";import{p as d}from"../chunks/hrZ0qwUL.js";const vt={};var ct=C('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),mt=C("<!> <!>",1);function q(r,e){W(e,!0);let _=d(e,"stores",7),o=d(e,"page",7),s=d(e,"constructors",7),a=d(e,"components",23,()=>[]),l=d(e,"form",7),g=d(e,"data_0",7,null),b=d(e,"data_1",7,null);X(()=>_().page.set(o())),Y(()=>{_(),o(),s(),a(),l(),g(),b(),_().page.notify()});let O=j(!1),A=j(!1),I=j(null);it(()=>{const t=_().page.subscribe(()=>{m(O)&&(R(A,!0),Z().then(()=>{R(I,document.title||"untitled page",!0)}))});return R(O,!0),t});const M=w(()=>s()[1]);var S={get stores(){return _()},set stores(t){_(t),u()},get page(){return o()},set page(t){o(t),u()},get constructors(){return s()},set constructors(t){s(t),u()},get components(){return a()},set components(t=[]){a(t),u()},get form(){return l()},set form(t){l(t),u()},get data_0(){return g()},set data_0(t=null){g(t),u()},get data_1(){return b()},set data_1(t=null){b(t),u()}},L=mt(),T=P(L);{var B=t=>{const n=w(()=>s()[0]);var i=k(),v=P(i);y(v,()=>m(n),(c,p)=>{D(p(c,{get data(){return g()},get form(){return l()},get params(){return o().params},children:(h,dt)=>{var V=k(),J=P(V);y(J,()=>m(M),(K,N)=>{D(N(K,{get data(){return b()},get form(){return l()},get params(){return o().params}}),Q=>a()[1]=Q,()=>a()?.[1])}),f(h,V)},$$slots:{default:!0}}),h=>a()[0]=h,()=>a()?.[0])}),f(t,i)},F=t=>{const n=w(()=>s()[0]);var i=k(),v=P(i);y(v,()=>m(n),(c,p)=>{D(p(c,{get data(){return g()},get form(){return l()},get params(){return o().params}}),h=>a()[0]=h,()=>a()?.[0])}),f(t,i)};x(T,t=>{s()[1]?t(B):t(F,!1)})}var G=$(T,2);{var H=t=>{var n=ct(),i=et(n);{var v=c=>{var p=at();ot(()=>st(p,m(I))),f(c,p)};x(i,c=>{m(A)&&c(v)})}rt(n),f(t,n)};x(G,t=>{m(O)&&t(H)})}return f(r,L),tt(S)}U(q,{stores:{},page:{},constructors:{},components:{},form:{},data_0:{},data_1:{}},[],[],{mode:"open"});const ht=nt(q),bt=[()=>E(()=>import("../nodes/0.
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../nodes/0.B_XTb0XA.js","../chunks/CJpr6qk2.js","../chunks/CfJtR48A.js","../chunks/hrZ0qwUL.js","../chunks/DsnmJJEf.js","../nodes/1.DrYuOv_f.js","../chunks/3EFJgnry.js","../chunks/C7VUtzlA.js","../chunks/6gGOJNBB.js","../chunks/CR5-hwU3.js","../nodes/2.KIpK6Gup.js","../chunks/Bg7q39r6.js","../chunks/DorsiQA9.js","../nodes/3.DLNSyQFh.js","../chunks/DvaUWHif.js","../chunks/DPeXO3aA.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{i as x,c as y,b as D,_ as E}from"../chunks/Bg7q39r6.js";import{c as U,p as W,q as X,u as Y,k as m,D as R,a4 as Z,f as P,s as $,a as f,b as tt,C as j,d as C,m as u,z as k,e as et,r as rt,o as w,a5 as at,t as ot,g as st,a6 as nt}from"../chunks/CfJtR48A.js";import"../chunks/DsnmJJEf.js";import{o as it}from"../chunks/6gGOJNBB.js";import{p as d}from"../chunks/hrZ0qwUL.js";const vt={};var ct=C('<div id="svelte-announcer" aria-live="assertive" aria-atomic="true" style="position: absolute; left: 0; top: 0; clip: rect(0 0 0 0); clip-path: inset(50%); overflow: hidden; white-space: nowrap; width: 1px; height: 1px"><!></div>'),mt=C("<!> <!>",1);function q(r,e){W(e,!0);let _=d(e,"stores",7),o=d(e,"page",7),s=d(e,"constructors",7),a=d(e,"components",23,()=>[]),l=d(e,"form",7),g=d(e,"data_0",7,null),b=d(e,"data_1",7,null);X(()=>_().page.set(o())),Y(()=>{_(),o(),s(),a(),l(),g(),b(),_().page.notify()});let O=j(!1),A=j(!1),I=j(null);it(()=>{const t=_().page.subscribe(()=>{m(O)&&(R(A,!0),Z().then(()=>{R(I,document.title||"untitled page",!0)}))});return R(O,!0),t});const M=w(()=>s()[1]);var S={get stores(){return _()},set stores(t){_(t),u()},get page(){return o()},set page(t){o(t),u()},get constructors(){return s()},set constructors(t){s(t),u()},get components(){return a()},set components(t=[]){a(t),u()},get form(){return l()},set form(t){l(t),u()},get data_0(){return g()},set data_0(t=null){g(t),u()},get data_1(){return b()},set data_1(t=null){b(t),u()}},L=mt(),T=P(L);{var B=t=>{const n=w(()=>s()[0]);var i=k(),v=P(i);y(v,()=>m(n),(c,p)=>{D(p(c,{get data(){return g()},get form(){return l()},get params(){return o().params},children:(h,dt)=>{var V=k(),J=P(V);y(J,()=>m(M),(K,N)=>{D(N(K,{get data(){return b()},get form(){return l()},get params(){return o().params}}),Q=>a()[1]=Q,()=>a()?.[1])}),f(h,V)},$$slots:{default:!0}}),h=>a()[0]=h,()=>a()?.[0])}),f(t,i)},F=t=>{const n=w(()=>s()[0]);var i=k(),v=P(i);y(v,()=>m(n),(c,p)=>{D(p(c,{get data(){return g()},get form(){return l()},get params(){return o().params}}),h=>a()[0]=h,()=>a()?.[0])}),f(t,i)};x(T,t=>{s()[1]?t(B):t(F,!1)})}var G=$(T,2);{var H=t=>{var n=ct(),i=et(n);{var v=c=>{var p=at();ot(()=>st(p,m(I))),f(c,p)};x(i,c=>{m(A)&&c(v)})}rt(n),f(t,n)};x(G,t=>{m(O)&&t(H)})}return f(r,L),tt(S)}U(q,{stores:{},page:{},constructors:{},components:{},form:{},data_0:{},data_1:{}},[],[],{mode:"open"});const ht=nt(q),bt=[()=>E(()=>import("../nodes/0.B_XTb0XA.js"),__vite__mapDeps([0,1,2,3,4]),import.meta.url),()=>E(()=>import("../nodes/1.DrYuOv_f.js"),__vite__mapDeps([5,4,6,2,7,8,9]),import.meta.url),()=>E(()=>import("../nodes/2.KIpK6Gup.js"),__vite__mapDeps([10,11,2,3,4,12,1,8,7,6]),import.meta.url),()=>E(()=>import("../nodes/3.DLNSyQFh.js"),__vite__mapDeps([13,4,3,2,12,1,11,8,7,14,6,9,15]),import.meta.url)],Et=[],Pt={"/":[2],"/sidebar":[3]},z={handleError:(({error:r})=>{console.error(r)}),reroute:(()=>{}),transport:{}},ut=Object.fromEntries(Object.entries(z.transport).map(([r,e])=>[r,e.decode])),Ot=Object.fromEntries(Object.entries(z.transport).map(([r,e])=>[r,e.encode])),xt=!1,yt=(r,e)=>ut[r](e);export{yt as decode,ut as decoders,Pt as dictionary,Ot as encoders,xt as hash,z as hooks,vt as matchers,bt as nodes,ht as root,Et as server_loads};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{l as o,a as r}from"../chunks/C7VUtzlA.js";export{o as load_css,r as start};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{P as l,s as c}from"../chunks/
|
|
1
|
+
import{P as l,s as c}from"../chunks/CJpr6qk2.js";import"../chunks/DsnmJJEf.js";import{c as p,p as u,z as d,f as h,a as f,b as g,m as v}from"../chunks/CfJtR48A.js";import{p as m}from"../chunks/hrZ0qwUL.js";const y=async()=>await(await fetch("https://liipgpt.api.dev.genai.liip.ch/configurator/api/all-org-names")).json(),b=["baselcitygpt"],w=async()=>{const t=await y().catch(e=>(console.error("Error fetching org names:",e),[]));t.push("liipgpt");const i=t.map(e=>b.includes(e)?[e,{dev:`https://${e}-dev-api.gpt.liip.ch/${e}`,prod:`https://${e}-api.gpt.liip.ch/${e}`}]:[e,{dev:`https://${e}.api.dev.genai.liip.ch/${e}`,prod:`https://${e}.api.prod.genai.liip.ch/${e}`}]);return Object.fromEntries(i)},C=`/**
|
|
2
2
|
* @type {import('@liip/liipgpt/config').ChatConfig} ChatConfig
|
|
3
3
|
*/
|
|
4
4
|
const CHAT_CONFIG_OVERRIDE = {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{p as r}from"../chunks/
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{p as r}from"../chunks/3EFJgnry.js";import{c,p as h,f as l,t as _,a as u,b as v,d,s as g,e as s,r as o,g as p}from"../chunks/CfJtR48A.js";import{i as x}from"../chunks/CR5-hwU3.js";var b=d("<h1> </h1> <p> </p>",1);function E(m,i){h(i,!1),x();var a=b(),t=l(a),f=s(t,!0);o(t);var e=g(t,2),n=s(e,!0);o(e),_(()=>{p(f,r.status),p(n,r.error?.message)}),u(m,a),v()}c(E,{},[],[],{mode:"open"});export{E as component};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/
|
|
2
|
-
import{i as f,_ as Dt,b as Ft}from"../chunks/Bg7q39r6.js";import"../chunks/DsnmJJEf.js";import{c as ie,p as Re,s as e,t as H,a as r,b as Je,d as p,e as a,m as ue,r as t,g as Ge,E as z,u as ae,j as ha,z as G,f as T,k as i,at as ba,o as C,av as Fe,ag as Mt,aw as At,C as Ht,A as wa,D as Gt}from"../chunks/CfJtR48A.js";import{a as me,s as A,m as $t,n as fa,h as Ut,k as m,o as _a,e as ee,i as te,I as ve,p as ya,C as Ot,t as xa,q as ka,S as o,r as qa,P as Me,R as Ae,u as He,N as Sa,v as Ia,w as La,x as za,c as Ta,y as Ca,M as ja,A as Ba,b as Oe,z as Pa,D as Rt,E as Jt,F as Ea,G as Da}from"../chunks/
|
|
1
|
+
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../chunks/B_3wCAsM.js","../chunks/DsnmJJEf.js","../chunks/CfJtR48A.js","../chunks/hrZ0qwUL.js","../chunks/DvaUWHif.js","../chunks/6gGOJNBB.js","../chunks/Bg7q39r6.js","../chunks/DorsiQA9.js","../chunks/CJpr6qk2.js","../chunks/C7VUtzlA.js","../chunks/3EFJgnry.js","../chunks/CR5-hwU3.js","../chunks/DPeXO3aA.js","../chunks/CRJbnnWi.js","../chunks/D-P6dqQf.js"])))=>i.map(i=>d[i]);
|
|
2
|
+
import{i as f,_ as Dt,b as Ft}from"../chunks/Bg7q39r6.js";import"../chunks/DsnmJJEf.js";import{c as ie,p as Re,s as e,t as H,a as r,b as Je,d as p,e as a,m as ue,r as t,g as Ge,E as z,u as ae,j as ha,z as G,f as T,k as i,at as ba,o as C,av as Fe,ag as Mt,aw as At,C as Ht,A as wa,D as Gt}from"../chunks/CfJtR48A.js";import{a as me,s as A,m as $t,n as fa,h as Ut,k as m,o as _a,e as ee,i as te,I as ve,p as ya,C as Ot,t as xa,q as ka,S as o,r as qa,P as Me,R as Ae,u as He,N as Sa,v as Ia,w as La,x as za,c as Ta,y as Ca,M as ja,A as Ba,b as Oe,z as Pa,D as Rt,E as Jt,F as Ea,G as Da}from"../chunks/DorsiQA9.js";import{p as pe,s as Fa,r as Ma}from"../chunks/hrZ0qwUL.js";import{g as Aa}from"../chunks/C7VUtzlA.js";import{p as Ha}from"../chunks/3EFJgnry.js";var Ga=p('<div class="swatch svelte-1inuijp"><div class="swatch__color svelte-1inuijp"></div> <div class="swatch__label svelte-1inuijp"> </div></div>');const Oa={hash:"svelte-1inuijp",code:`.swatch {display:flex;flex-direction:column;align-items:flex-start;justify-content:flex-start;width:100%;overflow:hidden;border:1px solid var(--base-line-color);border-radius:var(--card-border-radius);&:hover .swatch__label.svelte-1inuijp {opacity:1;}}.swatch__color.svelte-1inuijp {aspect-ratio:1;width:100%;}.swatch__label.svelte-1inuijp {display:none;width:100%;padding:6px;background:white;color:black;font-size:10px;transition:opacity 0.2s ease;
|
|
3
3
|
|
|
4
4
|
@media (min-width: 768px) {display:block;
|
|
5
5
|
}}`};function ge(w,v){Re(v,!1),me(w,Oa);let q=pe(v,"name",12),s=pe(v,"key",12),P=pe(v,"value",12);var Z={get name(){return q()},set name(h){q(h),ue()},get key(){return s()},set key(h){s(h),ue()},get value(){return P()},set value(h){P(h),ue()}},S=Ga(),O=a(S),R=e(O,2),V=a(R,!0);return t(R),t(S),H(()=>{A(S,"title",`Color ${s()}: ${P()}`),$t(O,`background-color: var(--color-${q()??""}-${s()??""});`),Ge(V,s())}),r(w,S),Je(Z)}ie(ge,{name:{},key:{},value:{}},[],[],{mode:"open"});var Ra=p('<ol><li class="toast" data-type="error"><div data-icon=""><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" aria-hidden="true"><path fill-rule="evenodd" d="M10 18a8 8 0 100-16 8 8 0 000 16zm3.857-9.809a.75.75 0 00-1.214-.882l-3.483 4.79-1.88-1.88a.75.75 0 10-1.06 1.061l2.5 2.5a.75.75 0 001.137-.089l4-5.5z" clip-rule="evenodd"></path></svg></div> <div data-content=""><div data-title="">Error notification</div></div></li> <li class="toast" data-type="warning"><div data-icon=""><svg viewBox="0 0 64 64" fill="currentColor" height="20" width="20" xmlns="http://www.w3.org/2000/svg" aria-hidden="true"><path d="M32.427,7.987c2.183,0.124 4,1.165 5.096,3.281l17.936,36.208c1.739,3.66 -0.954,8.585 -5.373,8.656l-36.119,0c-4.022,-0.064 -7.322,-4.631 -5.352,-8.696l18.271,-36.207c0.342,-0.65 0.498,-0.838 0.793,-1.179c1.186,-1.375 2.483,-2.111 4.748,-2.063Zm-0.295,3.997c-0.687,0.034 -1.316,0.419 -1.659,1.017c-6.312,11.979 -12.397,24.081 -18.301,36.267c-0.546,1.225 0.391,2.797 1.762,2.863c12.06,0.195 24.125,0.195 36.185,0c1.325,-0.064 2.321,-1.584 1.769,-2.85c-5.793,-12.184 -11.765,-24.286 -17.966,-36.267c-0.366,-0.651 -0.903,-1.042 -1.79,-1.03Z"></path><path d="M33.631,40.581l-3.348,0l-0.368,-16.449l4.1,0l-0.384,16.449Zm-3.828,5.03c0,-0.609 0.197,-1.113 0.592,-1.514c0.396,-0.4 0.935,-0.601 1.618,-0.601c0.684,0 1.223,0.201 1.618,0.601c0.395,0.401 0.593,0.905 0.593,1.514c0,0.587 -0.193,1.078 -0.577,1.473c-0.385,0.395 -0.929,0.593 -1.634,0.593c-0.705,0 -1.249,-0.198 -1.634,-0.593c-0.384,-0.395 -0.576,-0.886 -0.576,-1.473Z"></path></svg></div> <div data-content=""><div data-title="">Warning notification</div></div></li> <li class="toast" data-type="success"><div data-icon=""><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" data-sonner-error-icon="" aria-hidden="true"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-8-5a.75.75 0 01.75.75v4.5a.75.75 0 01-1.5 0v-4.5A.75.75 0 0110 5zm0 10a1 1 0 100-2 1 1 0 000 2z" clip-rule="evenodd"></path></svg></div> <div data-content=""><div data-title="">Success notification</div></div></li> <li class="toast" data-type="info"><div data-icon=""><svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20" fill="currentColor" height="20" width="20" aria-hidden="true"><path fill-rule="evenodd" d="M18 10a8 8 0 11-16 0 8 8 0 0116 0zm-7-4a1 1 0 11-2 0 1 1 0 012 0zM9 9a.75.75 0 000 1.5h.253a.25.25 0 01.244.304l-.459 2.066A1.75 1.75 0 0010.747 15H11a.75.75 0 000-1.5h-.253a.25.25 0 01-.244-.304l.459-2.066A1.75 1.75 0 009.253 9H9z" clip-rule="evenodd"></path></svg></div> <div data-content=""><div data-title="">Info notification</div></div></li></ol>');function Nt(w){var v=Ra();r(w,v)}ie(Nt,{},[],[],{mode:"open"});var Ja=p(`<h1>Title h1</h1> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. <em>Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus.</em> <strong>Sed sed enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis.</strong></p> <p>Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque lacus. <a href="https://www.google.com">Check it on google</a> . Sed sed enim in elit vulputate finibus ac in arcu. Donec venenatis tempus facilisis.</p> <p class="text-sm svelte-4x0tmq">Text-sm: Lorem ipsum dolor sit amet, consectetur adipiscing elit. Morbi sagittis suscipit nisl at varius. Fusce vitae pellentesque
|
|
@@ -28,4 +28,4 @@ Bitte lassen Sie mich wissen, ob Sie weitere Informationen zu einem bestimmten T
|
|
|
28
28
|
body {width:100%;height:100%;margin:0;padding:0;}#sidebar.svelte-1uha8ag {flex-shrink:0;width:378px;height:100%;border:none;}#preview.svelte-1uha8ag {display:flex;align-items:flex-start;justify-content:flex-start;width:100%;height:100%;&.components-preview,
|
|
29
29
|
&:has(.has-bg-image:where(.svelte-1uha8ag)) {height:auto;& #sidebar:where(.svelte-1uha8ag) {position:sticky;top:0;height:100vh;}}}#chat-wrapper.svelte-1uha8ag {container-name:preview-container;
|
|
30
30
|
/* stylelint-disable-next-line property-disallowed-list */container-type:size;width:100%;height:100%;}#chat-wrapper.svelte-1uha8ag liipgpt-chat {display:block;width:100%;height:100%;}#chat-wrapper.has-bg-image.svelte-1uha8ag {
|
|
31
|
-
/* stylelint-disable-next-line property-disallowed-list */container-type:inline-size;height:auto;min-height:100%;}.preview-bg-image.svelte-1uha8ag {display:block;width:100%;height:auto;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;}`};function ri(w,v){Re(v,!0),me(w,oi);let q=Ma(v,["$$slots","$$events","$$legacy","$$host"]),s=C(()=>v.data);ae(()=>{window.onmessage=function(n){if(typeof n.data=="string"&&n.data.startsWith("liipgpt-url:")){const l=new URLSearchParams(n.data.replace("liipgpt-url:",""));Aa("?"+l.toString(),{replaceState:!0})}}});const P=n=>`/build/${n}/liipgpt-${n}.iife.js`,Z=n=>/\.(png|jpe?g|gif|webp|svg|bmp|ico)(\?.*)?$/i.test(n),S=async n=>{n==="build"&&(await import(P("chat")),await import(P("button"))),n==="dev"&&(await Dt(()=>import("../chunks/
|
|
31
|
+
/* stylelint-disable-next-line property-disallowed-list */container-type:inline-size;height:auto;min-height:100%;}.preview-bg-image.svelte-1uha8ag {display:block;width:100%;height:auto;pointer-events:none;-webkit-user-select:none;-moz-user-select:none;user-select:none;}`};function ri(w,v){Re(v,!0),me(w,oi);let q=Ma(v,["$$slots","$$events","$$legacy","$$host"]),s=C(()=>v.data);ae(()=>{window.onmessage=function(n){if(typeof n.data=="string"&&n.data.startsWith("liipgpt-url:")){const l=new URLSearchParams(n.data.replace("liipgpt-url:",""));Aa("?"+l.toString(),{replaceState:!0})}}});const P=n=>`/build/${n}/liipgpt-${n}.iife.js`,Z=n=>/\.(png|jpe?g|gif|webp|svg|bmp|ico)(\?.*)?$/i.test(n),S=async n=>{n==="build"&&(await import(P("chat")),await import(P("button"))),n==="dev"&&(await Dt(()=>import("../chunks/B_3wCAsM.js"),__vite__mapDeps([0,1,2,3,4,5,6,7,8,9,10,11,12,13]),import.meta.url),await Dt(()=>import("../chunks/D-P6dqQf.js"),__vite__mapDeps([14,1,2,3,13,8,6,7,5,9,12]),import.meta.url)),n==="server"&&(import(Rt(v.data.options,"chat")),import(Rt(v.data.options,"button")))};let O="server",R=C(()=>v.data.options?.["preview-mode"]?.value??O);ae(()=>{S(i(R))});const V=`./sidebar${Ha.url.search}`;let h=Ht(void 0),J=Ht(void 0);const Y=(n,l)=>{const _=document.createElement("script"),I=document.createTextNode(`{${l}}`);_.appendChild(I),n.replaceChildren(_)};ae(()=>{i(h)&&Y(i(h),i(s).options.CHAT_CONFIG_OVERRIDE.value||"")}),ae(()=>{i(J)&&Y(i(J),i(s).options.onclosechat.value||"")});const ne=C(()=>i(s)&&i(s).options["show-components"].value);var Q=si();Ut("1uha8ag",n=>{var l=G(),_=T(l);{var I=u=>{Mt(()=>{At.title="LiipGPT Configurator | Components"})},E=u=>{Mt(()=>{At.title="LiipGPT Configurator"})};f(_,u=>{i(s).options["show-components"].value?u(I,1):u(E,!1)})}r(n,l)});var se=a(Q);{var he=n=>{var l=ai();H(()=>A(l,"src",V)),r(n,l)};f(se,n=>{i(s).options["hide-sidebar"].value||n(he)})}var d=e(se,2);Pa(d,()=>i(s),n=>{var l=G(),_=T(l);{var I=u=>{var y=G(),j=T(y);wa(j,{onerror:x=>console.error("Rendering error of components",x)},x=>{Qt(x,Fa(()=>q))}),r(u,y)},E=u=>{var y=ni();let j;var x=a(y);{var K=k=>{var oe=G(),re=T(oe);{var X=W=>{var de=ii();H(()=>A(de,"src",i(s).options["preview-background"].value)),r(W,de)},le=C(()=>Z(i(s).options["preview-background"].value));f(re,W=>{i(le)&&W(X)})}r(k,oe)};f(x,k=>{i(s).options.flyout.value&&i(s).options["preview-background"].value&&k(K)})}var D=e(x,2);Ft(D,k=>Gt(h,k),()=>i(h));var F=e(D,2);Oe(F,()=>Ea(i(s).options));var M=e(F,2);Ft(M,k=>Gt(J,k),()=>i(J)),t(y),H(k=>j=Jt(y,1,"svelte-1uha8ag",null,j,k),[()=>({"has-bg-image":i(s).options.flyout.value&&i(s).options["preview-background"].value&&Z(i(s).options["preview-background"].value)})]),r(u,y)};f(_,u=>{i(ne)?u(I):u(E,!1)})}r(n,l)}),t(Q),H(()=>Jt(Q,1,Da([{"components-preview":i(ne)}]),"svelte-1uha8ag")),r(w,Q),Je()}ie(ri,{},[],[],{mode:"open"});export{ri as component};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import"../chunks/DsnmJJEf.js";import{p as ut,s as hn,r as mn}from"../chunks/hrZ0qwUL.js";import{B as jo,c as Kt,p as ar,s as Pe,e as be,t as Ie,F as lt,a as je,b as ir,d as Ke,m as dt,r as ge,E as Vo,g as st,k as We,C as gn,D as yo,f as xo,z as vn,ax as kn,ay as wn,o as $o,av as bn}from"../chunks/CfJtR48A.js";import{E as zo,H as Ao,s as Xe,J as Co,e as Ko,i as yn,K as xn,L as $n,o as zn,O as An,a as Cn,h as Sn,F as Tn}from"../chunks/
|
|
1
|
+
import"../chunks/DsnmJJEf.js";import{p as ut,s as hn,r as mn}from"../chunks/hrZ0qwUL.js";import{B as jo,c as Kt,p as ar,s as Pe,e as be,t as Ie,F as lt,a as je,b as ir,d as Ke,m as dt,r as ge,E as Vo,g as st,k as We,C as gn,D as yo,f as xo,z as vn,ax as kn,ay as wn,o as $o,av as bn}from"../chunks/CfJtR48A.js";import{E as zo,H as Ao,s as Xe,J as Co,e as Ko,i as yn,K as xn,L as $n,o as zn,O as An,a as Cn,h as Sn,F as Tn}from"../chunks/DorsiQA9.js";import"../chunks/DvaUWHif.js";import{b as jn,i as Tt}from"../chunks/Bg7q39r6.js";import{g as Vn}from"../chunks/C7VUtzlA.js";import{p as Kn}from"../chunks/3EFJgnry.js";var So={},To;function En(){return To||(To=1,(()=>{var L="4.2.1";function Y(e){let r=[0];for(let n=0;n<e.length;n++)e.charCodeAt(n)===10&&r.push(n+1);function o(n){let s=0,l=r.length;for(;l>0;){let c=(l|0)>>1,f=s+c;r[f]<=n?(s=f+1,l=l-c-1):l=c}s-=1;let d=n-r[s];return{line:s+1,column:d}}function t({line:n,column:s}){n-=1,n=Math.min(Math.max(n,0),r.length-1);let l=r[n],d=r[n+1]??l;return Math.min(Math.max(l+s,0),d)}return{find:o,findOffset:t}}var B=92,F=47,G=42,ye=34,q=39,re=58,le=59,Z=10,J=13,ce=32,P=9,ae=123,ie=125,ue=40,$e=41,ve=91,ze=93,Ee=45,ke=64,we=33,oe=class Eo extends Error{loc;constructor(r,o){if(o){let t=o[0],n=Y(t.code).find(o[1]);r=`${t.file}:${n.line}:${n.column+1}: ${r}`}super(r),this.name="CssSyntaxError",this.loc=o,Error.captureStackTrace&&Error.captureStackTrace(this,Eo)}};function Ae(e,r){let o=r?.from?{file:r.from,code:e}:null;e[0]==="\uFEFF"&&(e=" "+e.slice(1));let t=[],n=[],s=[],l=null,d=null,c="",f="",g=0,p;for(let v=0;v<e.length;v++){let k=e.charCodeAt(v);if(!(k===J&&(p=e.charCodeAt(v+1),p===Z)))if(k===B)c===""&&(g=v),c+=e.slice(v,v+2),v+=1;else if(k===F&&e.charCodeAt(v+1)===G){let m=v;for(let y=v+2;y<e.length;y++)if(p=e.charCodeAt(y),p===B)y+=1;else if(p===G&&e.charCodeAt(y+1)===F){v=y+1;break}let $=e.slice(m,v+1);if($.charCodeAt(2)===we){let y=kr($.slice(2,-2));n.push(y),o&&(y.src=[o,m,v+1],y.dst=[o,m,v+1])}}else if(k===q||k===ye){let m=Fe(e,v,k,o);c+=e.slice(v,m+1),v=m}else{if((k===ce||k===Z||k===P)&&(p=e.charCodeAt(v+1))&&(p===ce||p===Z||p===P||p===J&&(p=e.charCodeAt(v+2))&&p==Z))continue;if(k===Z){if(c.length===0)continue;p=c.charCodeAt(c.length-1),p!==ce&&p!==Z&&p!==P&&(c+=" ")}else if(k===Ee&&e.charCodeAt(v+1)===Ee&&c.length===0){let m="",$=v,y=-1;for(let C=v+2;C<e.length;C++)if(p=e.charCodeAt(C),p===B)C+=1;else if(p===q||p===ye)C=Fe(e,C,p,o);else if(p===F&&e.charCodeAt(C+1)===G){for(let x=C+2;x<e.length;x++)if(p=e.charCodeAt(x),p===B)x+=1;else if(p===G&&e.charCodeAt(x+1)===F){C=x+1;break}}else if(y===-1&&p===re)y=c.length+C-$;else if(p===le&&m.length===0){c+=e.slice($,C),v=C;break}else if(p===ue)m+=")";else if(p===ve)m+="]";else if(p===ae)m+="}";else if((p===ie||e.length-1===C)&&m.length===0){v=C-1,c+=e.slice($,C);break}else(p===$e||p===ze||p===ie)&&m.length>0&&e[C]===m[m.length-1]&&(m=m.slice(0,-1));let V=rt(c,y);if(!V)throw new oe("Invalid custom property, expected a value",o?[o,$,v]:null);o&&(V.src=[o,$,v],V.dst=[o,$,v]),l?l.nodes.push(V):t.push(V),c=""}else if(k===le&&c.charCodeAt(0)===ke)d=Ue(c),o&&(d.src=[o,g,v],d.dst=[o,g,v]),l?l.nodes.push(d):t.push(d),c="",d=null;else if(k===le&&f[f.length-1]!==")"){let m=rt(c);if(!m){if(c.length===0)continue;throw new oe(`Invalid declaration: \`${c.trim()}\``,o?[o,g,v]:null)}o&&(m.src=[o,g,v],m.dst=[o,g,v]),l?l.nodes.push(m):t.push(m),c=""}else if(k===ae&&f[f.length-1]!==")")f+="}",d=se(c.trim()),o&&(d.src=[o,g,v],d.dst=[o,g,v]),l&&l.nodes.push(d),s.push(l),l=d,c="",d=null;else if(k===ie&&f[f.length-1]!==")"){if(f==="")throw new oe("Missing opening {",o?[o,v,v]:null);if(f=f.slice(0,-1),c.length>0)if(c.charCodeAt(0)===ke)d=Ue(c),o&&(d.src=[o,g,v],d.dst=[o,g,v]),l?l.nodes.push(d):t.push(d),c="",d=null;else{let $=c.indexOf(":");if(l){let y=rt(c,$);if(!y)throw new oe(`Invalid declaration: \`${c.trim()}\``,o?[o,g,v]:null);o&&(y.src=[o,g,v],y.dst=[o,g,v]),l.nodes.push(y)}}let m=s.pop()??null;m===null&&l&&t.push(l),l=m,c="",d=null}else if(k===ue)f+=")",c+="(";else if(k===$e){if(f[f.length-1]!==")")throw new oe("Missing opening (",o?[o,v,v]:null);f=f.slice(0,-1),c+=")"}else{if(c.length===0&&(k===ce||k===Z||k===P))continue;c===""&&(g=v),c+=String.fromCharCode(k)}}}if(c.charCodeAt(0)===ke){let v=Ue(c);o&&(v.src=[o,g,e.length],v.dst=[o,g,e.length]),t.push(v)}if(f.length>0&&l){if(l.kind==="rule")throw new oe(`Missing closing } at ${l.selector}`,l.src?[l.src[0],l.src[1],l.src[1]]:null);if(l.kind==="at-rule")throw new oe(`Missing closing } at ${l.name} ${l.params}`,l.src?[l.src[0],l.src[1],l.src[1]]:null)}return n.length>0?n.concat(t):t}function Ue(e,r=[]){let o=e,t="";for(let n=5;n<e.length;n++){let s=e.charCodeAt(n);if(s===ce||s===P||s===ue){o=e.slice(0,n),t=e.slice(n);break}}return I(o.trim(),t.trim(),r)}function rt(e,r=e.indexOf(":")){if(r===-1)return null;let o=e.indexOf("!important",r+1);return i(e.slice(0,r).trim(),e.slice(r+1,o===-1?e.length:o).trim(),o!==-1)}function Fe(e,r,o,t=null){let n;for(let s=r+1;s<e.length;s++)if(n=e.charCodeAt(s),n===B)s+=1;else{if(n===o)return s;if(n===le&&(e.charCodeAt(s+1)===Z||e.charCodeAt(s+1)===J&&e.charCodeAt(s+2)===Z))throw new oe(`Unterminated string: ${e.slice(r,s+1)+String.fromCharCode(o)}`,t?[t,r,s+1]:null);if(n===Z||n===J&&e.charCodeAt(s+1)===Z)throw new oe(`Unterminated string: ${e.slice(r,s)+String.fromCharCode(o)}`,t?[t,r,s+1]:null)}return r}function Q(e){if(arguments.length===0)throw new TypeError("`CSS.escape` requires an argument.");let r=String(e),o=r.length,t=-1,n,s="",l=r.charCodeAt(0);if(o===1&&l===45)return"\\"+r;for(;++t<o;){if(n=r.charCodeAt(t),n===0){s+="�";continue}if(n>=1&&n<=31||n===127||t===0&&n>=48&&n<=57||t===1&&n>=48&&n<=57&&l===45){s+="\\"+n.toString(16)+" ";continue}if(n>=128||n===45||n===95||n>=48&&n<=57||n>=65&&n<=90||n>=97&&n<=122){s+=r.charAt(t);continue}s+="\\"+r.charAt(t)}return s}function xe(e){return e.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g,r=>r.length>2?String.fromCodePoint(Number.parseInt(r.slice(1).trim(),16)):r[1])}var Ge=new Map([["--font",["--font-weight","--font-size"]],["--inset",["--inset-shadow","--inset-ring"]],["--text",["--text-color","--text-decoration-color","--text-decoration-thickness","--text-indent","--text-shadow","--text-underline-offset"]],["--grid-column",["--grid-column-start","--grid-column-end"]],["--grid-row",["--grid-row-start","--grid-row-end"]]]);function Je(e,r){return(Ge.get(r)??[]).some(o=>e===o||e.startsWith(`${o}-`))}var He=class{constructor(e=new Map,r=new Set([])){this.values=e,this.keyframes=r}prefix=null;get size(){return this.values.size}add(e,r,o=0,t){if(e.endsWith("-*")){if(r!=="initial")throw new Error(`Invalid theme value \`${r}\` for namespace \`${e}\``);e==="--*"?this.values.clear():this.clearNamespace(e.slice(0,-2),0)}if(o&4){let n=this.values.get(e);if(n&&!(n.options&4))return}r==="initial"?this.values.delete(e):this.values.set(e,{value:r,options:o,src:t})}keysInNamespaces(e){let r=[];for(let o of e){let t=`${o}-`;for(let n of this.values.keys())n.startsWith(t)&&n.indexOf("--",2)===-1&&(Je(n,o)||r.push(n.slice(t.length)))}return r}get(e){for(let r of e){let o=this.values.get(r);if(o)return o.value}return null}hasDefault(e){return(this.getOptions(e)&4)===4}getOptions(e){return e=xe(this.#r(e)),this.values.get(e)?.options??0}entries(){return this.prefix?Array.from(this.values,e=>(e[0]=this.prefixKey(e[0]),e)):this.values.entries()}prefixKey(e){return this.prefix?`--${this.prefix}-${e.slice(2)}`:e}#r(e){return this.prefix?`--${e.slice(3+this.prefix.length)}`:e}clearNamespace(e,r){let o=Ge.get(e)??[];e:for(let t of this.values.keys())if(t.startsWith(e)){if(r!==0&&(this.getOptions(t)&r)!==r)continue;for(let n of o)if(t.startsWith(n))continue e;this.values.delete(t)}}#e(e,r){for(let o of r){let t=e!==null?`${o}-${e}`:o;if(!this.values.has(t))if(e!==null&&e.includes(".")){if(t=`${o}-${e.replaceAll(".","_")}`,!this.values.has(t))continue}else continue;if(!Je(t,o))return t}return null}#t(e){let r=this.values.get(e);if(!r)return null;let o=null;return r.options&2&&(o=r.value),`var(${Q(this.prefixKey(e))}${o?`, ${o}`:""})`}markUsedVariable(e){let r=xe(this.#r(e)),o=this.values.get(r);if(!o)return!1;let t=o.options&16;return o.options|=16,!t}resolve(e,r,o=0){let t=this.#e(e,r);if(!t)return null;let n=this.values.get(t);return(o|n.options)&1?n.value:this.#t(t)}resolveValue(e,r){let o=this.#e(e,r);return o?this.values.get(o).value:null}resolveWith(e,r,o=[]){let t=this.#e(e,r);if(!t)return null;let n={};for(let l of o){let d=`${t}${l}`,c=this.values.get(d);c&&(c.options&1?n[l]=c.value:n[l]=this.#t(d))}let s=this.values.get(t);return s.options&1?[s.value,n]:[this.#t(t),n]}namespace(e){let r=new Map,o=`${e}-`;for(let[t,n]of this.values)t===e?r.set(null,n.value):t.startsWith(`${o}-`)?r.set(t.slice(e.length),n.value):t.startsWith(o)&&r.set(t.slice(o.length),n.value);return r}addKeyframes(e){this.keyframes.add(e)}getKeyframes(){return Array.from(this.keyframes)}},ee=class extends Map{constructor(e){super(),this.factory=e}get(e){let r=super.get(e);return r===void 0&&(r=this.factory(e,this),this.set(e,r)),r}};function Le(e){return{kind:"word",value:e}}function No(e,r){return{kind:"function",value:e,nodes:r}}function Wo(e){return{kind:"separator",value:e}}function de(e){let r="";for(let o of e)switch(o.kind){case"word":case"separator":{r+=o.value;break}case"function":r+=o.value+"("+de(o.nodes)+")"}return r}var lr=92,Uo=41,sr=58,cr=44,Lo=34,ur=61,dr=62,fr=60,pr=10,Ro=40,Do=39,Mo=47,hr=32,mr=9;function te(e){e=e.replaceAll(`\r
|
|
2
2
|
`,`
|
|
3
3
|
`);let r=[],o=[],t=null,n="",s;for(let l=0;l<e.length;l++){let d=e.charCodeAt(l);switch(d){case lr:{n+=e[l]+e[l+1],l++;break}case Mo:{if(n.length>0){let f=Le(n);t?t.nodes.push(f):r.push(f),n=""}let c=Le(e[l]);t?t.nodes.push(c):r.push(c);break}case sr:case cr:case ur:case dr:case fr:case pr:case hr:case mr:{if(n.length>0){let p=Le(n);t?t.nodes.push(p):r.push(p),n=""}let c=l,f=l+1;for(;f<e.length&&(s=e.charCodeAt(f),!(s!==sr&&s!==cr&&s!==ur&&s!==dr&&s!==fr&&s!==pr&&s!==hr&&s!==mr));f++);l=f-1;let g=Wo(e.slice(c,f));t?t.nodes.push(g):r.push(g);break}case Do:case Lo:{let c=l;for(let f=l+1;f<e.length;f++)if(s=e.charCodeAt(f),s===lr)f+=1;else if(s===d){l=f;break}n+=e.slice(c,l+1);break}case Ro:{let c=No(n,[]);n="",t?t.nodes.push(c):r.push(c),o.push(c),t=c;break}case Uo:{let c=o.pop();if(n.length>0){let f=Le(n);c?.nodes.push(f),n=""}o.length>0?t=o[o.length-1]:t=null;break}default:n+=String.fromCharCode(d)}}return n.length>0&&r.push(Le(n)),r}var Et=(e=>(e[e.Continue=0]="Continue",e[e.Skip=1]="Skip",e[e.Stop=2]="Stop",e[e.Replace=3]="Replace",e[e.ReplaceSkip=4]="ReplaceSkip",e[e.ReplaceStop=5]="ReplaceStop",e))(Et||{}),_={Continue:{kind:0},Skip:{kind:1},Stop:{kind:2},Replace:e=>({kind:3,nodes:Array.isArray(e)?e:[e]}),ReplaceSkip:e=>({kind:4,nodes:Array.isArray(e)?e:[e]}),ReplaceStop:e=>({kind:5,nodes:Array.isArray(e)?e:[e]})};function W(e,r){typeof r=="function"?gr(e,r):gr(e,r.enter,r.exit)}function gr(e,r=()=>_.Continue,o=()=>_.Continue){let t={value:[e,0,null],prev:null},n={parent:null,depth:0,path(){let s=[],l=t;for(;l;){let d=l.value[2];d&&s.push(d),l=l.prev}return s.reverse(),s}};for(;t!==null;){let s=t.value,l=s[0],d=s[1],c=s[2];if(d>=l.length){t=t.prev,n.depth-=1;continue}if(n.parent=c,d>=0){let v=l[d],k=r(v,n)??_.Continue;switch(k.kind){case 0:{v.nodes&&v.nodes.length>0&&(n.depth+=1,t={value:[v.nodes,0,v],prev:t}),s[1]=~d;continue}case 2:return;case 1:{s[1]=~d;continue}case 3:{l.splice(d,1,...k.nodes);continue}case 5:{l.splice(d,1,...k.nodes);return}case 4:{l.splice(d,1,...k.nodes),s[1]+=k.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${Et[k.kind]??`Unknown(${k.kind})`}\` in enter.`)}}let f=~d,g=l[f],p=o(g,n)??_.Continue;switch(p.kind){case 0:s[1]=f+1;continue;case 2:return;case 3:{l.splice(f,1,...p.nodes),s[1]=f+p.nodes.length;continue}case 5:{l.splice(f,1,...p.nodes);return}case 4:{l.splice(f,1,...p.nodes),s[1]=f+p.nodes.length;continue}default:throw new Error(`Invalid \`WalkAction.${Et[p.kind]??`Unknown(${p.kind})`}\` in exit.`)}}}function vr(e){let r=[];return W(te(e),o=>{if(!(o.kind!=="function"||o.value!=="var"))return W(o.nodes,t=>{t.kind!=="word"||t.value[0]!=="-"||t.value[1]!=="-"||r.push(t.value)}),_.Skip}),r}var Bo=64;function H(e,r=[]){return{kind:"rule",selector:e,nodes:r}}function I(e,r="",o=[]){return{kind:"at-rule",name:e,params:r,nodes:o}}function se(e,r=[]){return e.charCodeAt(0)===Bo?Ue(e,r):H(e,r)}function i(e,r,o=!1){return{kind:"declaration",property:e,value:r,important:o}}function kr(e){return{kind:"comment",value:e}}function qe(e,r){return{kind:"context",context:e,nodes:r}}function M(e){return{kind:"at-root",nodes:e}}function Ce(e){switch(e.kind){case"rule":return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(Ce),src:e.src,dst:e.dst};case"at-rule":return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(Ce),src:e.src,dst:e.dst};case"at-root":return{kind:e.kind,nodes:e.nodes.map(Ce),src:e.src,dst:e.dst};case"context":return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(Ce),src:e.src,dst:e.dst};case"declaration":return{kind:e.kind,property:e.property,value:e.value,important:e.important,src:e.src,dst:e.dst};case"comment":return{kind:e.kind,value:e.value,src:e.src,dst:e.dst};default:throw new Error(`Unknown node kind: ${e.kind}`)}}function Ft(e){return{depth:e.depth,get context(){let r={};for(let o of e.path())o.kind==="context"&&Object.assign(r,o.context);return Object.defineProperty(this,"context",{value:r}),r},get parent(){let r=this.path().pop()??null;return Object.defineProperty(this,"parent",{value:r}),r},path(){return e.path().filter(r=>r.kind!=="context")}}}function ot(e,r,o=3){let t=[],n=new Set,s=new ee(()=>new Set),l=new ee(()=>new Set),d=new Set,c=new Set,f=[],g=[],p=new ee(()=>new Set);function v(m,$,y={},V=0){if(m.kind==="declaration"){if(m.property==="--tw-sort"||m.value===void 0||m.value===null)return;if(y.theme&&m.property[0]==="-"&&m.property[1]==="-"){if(m.value==="initial"){m.value=void 0;return}y.keyframes||s.get($).add(m)}if(m.value.includes("var("))if(y.theme&&m.property[0]==="-"&&m.property[1]==="-")for(let C of vr(m.value))p.get(C).add(m.property);else r.trackUsedVariables(m.value);if(m.property==="animation")for(let C of br(m.value))c.add(C);o&2&&m.value.includes("color-mix(")&&!y.supportsColorMix&&!y.keyframes&&l.get($).add(m),$.push(m)}else if(m.kind==="rule"){let C=[];for(let O of m.nodes)v(O,C,y,V+1);let x={},N=new Set;for(let O of C){if(O.kind!=="declaration")continue;let E=`${O.property}:${O.value}:${O.important}`;x[E]??=[],x[E].push(O)}for(let O in x)for(let E=0;E<x[O].length-1;++E)N.add(x[O][E]);if(N.size>0&&(C=C.filter(O=>!N.has(O))),C.length===0)return;m.selector==="&"?$.push(...C):$.push({...m,nodes:C})}else if(m.kind==="at-rule"&&m.name==="@property"&&V===0){if(n.has(m.params))return;if(o&1){let x=m.params,N=null,O=!1;for(let U of m.nodes)U.kind==="declaration"&&(U.property==="initial-value"?N=U.value:U.property==="inherits"&&(O=U.value==="true"));let E=i(x,N??"initial");E.src=m.src,O?f.push(E):g.push(E)}n.add(m.params);let C={...m,nodes:[]};for(let x of m.nodes)v(x,C.nodes,y,V+1);$.push(C)}else if(m.kind==="at-rule"){m.name==="@keyframes"?y={...y,keyframes:!0}:m.name==="@supports"&&m.params.includes("color-mix(")&&(y={...y,supportsColorMix:!0});let C={...m,nodes:[]};for(let x of m.nodes)v(x,C.nodes,y,V+1);m.name==="@keyframes"&&y.theme&&d.add(C),(C.nodes.length>0||C.name==="@layer"||C.name==="@charset"||C.name==="@custom-media"||C.name==="@namespace"||C.name==="@import")&&$.push(C)}else if(m.kind==="at-root")for(let C of m.nodes){let x=[];v(C,x,y,0);for(let N of x)t.push(N)}else if(m.kind==="context"){if(m.context.reference)return;for(let C of m.nodes)v(C,$,{...y,...m.context},V)}else m.kind==="comment"&&$.push(m)}let k=[];for(let m of e)v(m,k,{},0);e:for(let[m,$]of s)for(let y of $){if(wr(y.property,r.theme,p)){if(y.property.startsWith(r.theme.prefixKey("--animate-")))for(let C of br(y.value))c.add(C);continue}let V=m.indexOf(y);if(m.splice(V,1),m.length===0){let C=Io(k,x=>x.kind==="rule"&&x.nodes===m);if(!C||C.length===0)continue e;C.unshift({kind:"at-root",nodes:k});do{let x=C.pop();if(!x)break;let N=C[C.length-1];if(!N||N.kind!=="at-root"&&N.kind!=="at-rule")break;let O=N.nodes.indexOf(x);if(O===-1)break;N.nodes.splice(O,1)}while(!0);continue e}}for(let m of d)if(!c.has(m.params)){let $=t.indexOf(m);t.splice($,1)}if(k=k.concat(t),o&2)for(let[m,$]of l)for(let y of $){let V=m.indexOf(y);if(V===-1||y.value==null)continue;let C=te(y.value),x=!1;if(W(C,E=>{if(E.kind!=="function"||E.value!=="color-mix")return;let U=!1,a=!1;if(W(E.nodes,u=>{if(u.kind=="word"&&u.value.toLowerCase()==="currentcolor"){a=!0,x=!0;return}let h=u,b=null,w=new Set;do{if(h.kind!=="function"||h.value!=="var")return;let z=h.nodes[0];if(!z||z.kind!=="word")return;let K=z.value;if(w.has(K)){U=!0;return}if(w.add(K),x=!0,b=r.theme.resolveValue(null,[z.value]),!b){U=!0;return}if(b.toLowerCase()==="currentcolor"){a=!0;return}b.startsWith("var(")?h=te(b)[0]:h=null}while(h);return _.Replace({kind:"word",value:b})}),U||a){let u=E.nodes.findIndex(b=>b.kind==="separator"&&b.value.trim().includes(","));if(u===-1)return;let h=E.nodes.length>u?E.nodes[u+1]:null;return h?_.Replace(h):void 0}else if(x){let u=E.nodes[2];u.kind==="word"&&(u.value==="oklab"||u.value==="oklch"||u.value==="lab"||u.value==="lch")&&(u.value="srgb")}}),!x)continue;let N={...y,value:de(C)},O=se("@supports (color: color-mix(in lab, red, red))",[y]);O.src=y.src,m.splice(V,1,N,O)}if(o&1){let m=[];if(f.length>0){let $=se(":root, :host",f);$.src=f[0].src,m.push($)}if(g.length>0){let $=se("*, ::before, ::after, ::backdrop",g);$.src=g[0].src,m.push($)}if(m.length>0){let $=k.findIndex(C=>!(C.kind==="comment"||C.kind==="at-rule"&&(C.name==="@charset"||C.name==="@import"))),y=I("@layer","properties",[]);y.src=m[0].src,k.splice($<0?k.length:$,0,y);let V=se("@layer properties",[I("@supports","((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))",m)]);V.src=m[0].src,V.nodes[0].src=m[0].src,k.push(V)}}return k}function Re(e,r){let o=0,t={file:null,code:""};function n(l,d=0){let c="",f=" ".repeat(d);if(l.kind==="declaration"){if(c+=`${f}${l.property}: ${l.value}${l.important?" !important":""};
|
|
4
4
|
`,r){o+=f.length;let g=o;o+=l.property.length,o+=2,o+=l.value?.length??0,l.important&&(o+=11);let p=o;o+=2,l.dst=[t,g,p]}}else if(l.kind==="rule"){if(c+=`${f}${l.selector} {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1773658448798"}
|
package/configurator/index.html
CHANGED
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<link rel="icon" href="./favicon.png" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
-
<link href="./_app/immutable/entry/start.
|
|
8
|
-
<link href="./_app/immutable/chunks/
|
|
7
|
+
<link href="./_app/immutable/entry/start.Cu60dKF7.js" rel="modulepreload">
|
|
8
|
+
<link href="./_app/immutable/chunks/C7VUtzlA.js" rel="modulepreload">
|
|
9
9
|
<link href="./_app/immutable/chunks/CfJtR48A.js" rel="modulepreload">
|
|
10
10
|
<link href="./_app/immutable/chunks/6gGOJNBB.js" rel="modulepreload">
|
|
11
|
-
<link href="./_app/immutable/entry/app.
|
|
11
|
+
<link href="./_app/immutable/entry/app.B_XWKku_.js" rel="modulepreload">
|
|
12
12
|
<link href="./_app/immutable/chunks/Bg7q39r6.js" rel="modulepreload">
|
|
13
13
|
<link href="./_app/immutable/chunks/hrZ0qwUL.js" rel="modulepreload">
|
|
14
14
|
<link href="./_app/immutable/chunks/DsnmJJEf.js" rel="modulepreload">
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<div style="display: contents">
|
|
19
19
|
<script>
|
|
20
20
|
{
|
|
21
|
-
|
|
21
|
+
__sveltekit_1nonkia = {
|
|
22
22
|
base: new URL(".", location).pathname.slice(0, -1),
|
|
23
23
|
assets: "/configurator"
|
|
24
24
|
};
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
const element = document.currentScript.parentElement;
|
|
27
27
|
|
|
28
28
|
Promise.all([
|
|
29
|
-
import("./_app/immutable/entry/start.
|
|
30
|
-
import("./_app/immutable/entry/app.
|
|
29
|
+
import("./_app/immutable/entry/start.Cu60dKF7.js"),
|
|
30
|
+
import("./_app/immutable/entry/app.B_XWKku_.js")
|
|
31
31
|
]).then(([kit, app]) => {
|
|
32
32
|
kit.start(app, element);
|
|
33
33
|
});
|
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
<meta charset="utf-8" />
|
|
5
5
|
<link rel="icon" href="./favicon.png" />
|
|
6
6
|
<meta name="viewport" content="width=device-width, initial-scale=1" />
|
|
7
|
-
<link href="./_app/immutable/entry/start.
|
|
8
|
-
<link href="./_app/immutable/chunks/
|
|
7
|
+
<link href="./_app/immutable/entry/start.Cu60dKF7.js" rel="modulepreload">
|
|
8
|
+
<link href="./_app/immutable/chunks/C7VUtzlA.js" rel="modulepreload">
|
|
9
9
|
<link href="./_app/immutable/chunks/CfJtR48A.js" rel="modulepreload">
|
|
10
10
|
<link href="./_app/immutable/chunks/6gGOJNBB.js" rel="modulepreload">
|
|
11
|
-
<link href="./_app/immutable/entry/app.
|
|
11
|
+
<link href="./_app/immutable/entry/app.B_XWKku_.js" rel="modulepreload">
|
|
12
12
|
<link href="./_app/immutable/chunks/Bg7q39r6.js" rel="modulepreload">
|
|
13
13
|
<link href="./_app/immutable/chunks/hrZ0qwUL.js" rel="modulepreload">
|
|
14
14
|
<link href="./_app/immutable/chunks/DsnmJJEf.js" rel="modulepreload">
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<div style="display: contents">
|
|
19
19
|
<script>
|
|
20
20
|
{
|
|
21
|
-
|
|
21
|
+
__sveltekit_1nonkia = {
|
|
22
22
|
base: new URL(".", location).pathname.slice(0, -1),
|
|
23
23
|
assets: "/configurator"
|
|
24
24
|
};
|
|
@@ -26,8 +26,8 @@
|
|
|
26
26
|
const element = document.currentScript.parentElement;
|
|
27
27
|
|
|
28
28
|
Promise.all([
|
|
29
|
-
import("./_app/immutable/entry/start.
|
|
30
|
-
import("./_app/immutable/entry/app.
|
|
29
|
+
import("./_app/immutable/entry/start.Cu60dKF7.js"),
|
|
30
|
+
import("./_app/immutable/entry/app.B_XWKku_.js")
|
|
31
31
|
]).then(([kit, app]) => {
|
|
32
32
|
kit.start(app, element);
|
|
33
33
|
});
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{a3 as r}from"./CfJtR48A.js";import{s as t,p as e}from"./hMUFqo62.js";r();const a={get error(){return e.error},get status(){return e.status},get url(){return e.url}};t.updated.check;const p=a;export{p};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{l as o,a as r}from"../chunks/hMUFqo62.js";export{o as load_css,r as start};
|