@liip/liipgpt 3.4.5 → 3.4.6
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/button/liipgpt-button.iife.js +1 -1
- package/chat/liipgpt-chat.iife.js +15 -15
- package/configurator/_app/env.js +1 -1
- package/configurator/_app/immutable/chunks/{BSBRafHb.js → BCYB8ETl.js} +1 -1
- package/configurator/_app/immutable/chunks/{C9h8nQnw.js → CMr4CaU4.js} +1 -1
- package/configurator/_app/immutable/chunks/{DFy-DHbb.js → CNNc8pdr.js} +1 -1
- package/configurator/_app/immutable/chunks/{IT5xfoUt.js → CaNlJ-gi.js} +2 -2
- package/configurator/_app/immutable/chunks/{CKlCoule.js → D-CSS1ZF.js} +1 -1
- package/configurator/_app/immutable/chunks/{DevUxHro.js → Do1NLQ8K.js} +1 -1
- package/configurator/_app/immutable/chunks/{DpTUJVdo.js → Dv7UbMQf.js} +1 -1
- package/configurator/_app/immutable/chunks/eaVQ1UKh.js +1 -0
- package/configurator/_app/immutable/chunks/{BUm3woLX.js → g5xYDQa8.js} +1 -1
- package/configurator/_app/immutable/chunks/ro_1FMg0.js +1 -0
- package/configurator/_app/immutable/entry/{app.Do4fjbw-.js → app.DR1Gl7kO.js} +2 -2
- package/configurator/_app/immutable/entry/start.k5uBenaj.js +1 -0
- package/configurator/_app/immutable/nodes/{0.oIOrVwBZ.js → 0.B6QVHUQr.js} +2 -2
- package/configurator/_app/immutable/nodes/{1.yPbTiS_g.js → 1.CkBIbH6d.js} +1 -1
- package/configurator/_app/immutable/nodes/{2.7uv1AOe3.js → 2.BMH0adMF.js} +3 -3
- package/configurator/_app/immutable/nodes/{3.DMRfokjC.js → 3.Cz2hj9Il.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/DpjyrDSa.js +0 -1
- package/configurator/_app/immutable/chunks/Dqpl7tve.js +0 -1
- package/configurator/_app/immutable/entry/start.BtlBa7Lv.js +0 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{$ as e,A as t,B as n,Bt as r,C as i,Ct as a,G as o,K as s,L as c,Nt as l,O as u,Ot as d,Pt as f,Q as p,R as m,S as h,T as g,Tt as _,U as v,Ut as y,Vt as b,Z as x,_ as S,_t as C,c as ee,gt as w,i as te,k as T,o as E,pt as ne,q as D,rt as O,s as k,u as A,ut as j,v as M,vt as N,x as re,xt as ie,y as ae}from"../chunks/BdP-K7KO.js";import{t as oe}from"../chunks/
|
|
1
|
+
import{$ as e,A as t,B as n,Bt as r,C as i,Ct as a,G as o,K as s,L as c,Nt as l,O as u,Ot as d,Pt as f,Q as p,R as m,S as h,T as g,Tt as _,U as v,Ut as y,Vt as b,Z as x,_ as S,_t as C,c as ee,gt as w,i as te,k as T,o as E,pt as ne,q as D,rt as O,s as k,u as A,ut as j,v as M,vt as N,x as re,xt as ie,y as ae}from"../chunks/BdP-K7KO.js";import{t as oe}from"../chunks/CNNc8pdr.js";import"../chunks/CNhGYG1q.js";import"../chunks/D1hYfEew.js";import"../chunks/DEv5Ueqk.js";import"../chunks/Do1NLQ8K.js";import"../chunks/CaZV0epm.js";import{t as se}from"../chunks/CMr4CaU4.js";import{t as ce}from"../chunks/BCYB8ETl.js";import"../chunks/CaNlJ-gi.js";import"../chunks/D-CSS1ZF.js";import"../chunks/g5xYDQa8.js";(()=>{var e=`4.2.2`;function t(e){let t=[0];for(let n=0;n<e.length;n++)e.charCodeAt(n)===10&&t.push(n+1);function n(e){let n=0,r=t.length;for(;r>0;){let i=(r|0)>>1,a=n+i;t[a]<=e?(n=a+1,r=r-i-1):r=i}--n;let i=e-t[n];return{line:n+1,column:i}}function r({line:e,column:n}){--e,e=Math.min(Math.max(e,0),t.length-1);let r=t[e],i=t[e+1]??r;return Math.min(Math.max(r+n,0),i)}return{find:n,findOffset:r}}var n=92,r=47,i=42,a=34,o=39,s=58,c=59,l=10,u=13,d=32,f=9,p=123,m=125,h=40,g=41,_=91,v=93,y=45,b=64,x=33,S=class e extends Error{loc;constructor(n,r){if(r){let e=r[0],i=t(e.code).find(r[1]);n=`${e.file}:${i.line}:${i.column+1}: ${n}`}super(n),this.name=`CssSyntaxError`,this.loc=r,Error.captureStackTrace&&Error.captureStackTrace(this,e)}};function C(e,t){let C=t?.from?{file:t.from,code:e}:null;e[0]===``&&(e=` `+e.slice(1));let T=[],E=[],ne=[],D=null,O=null,k=``,A=``,j=0,M;for(let t=0;t<e.length;t++){let N=e.charCodeAt(t);if(!(N===u&&(M=e.charCodeAt(t+1),M===l)))if(N===n)k===``&&(j=t),k+=e.slice(t,t+2),t+=1;else if(N===r&&e.charCodeAt(t+1)===i){let a=t;for(let a=t+2;a<e.length;a++)if(M=e.charCodeAt(a),M===n)a+=1;else if(M===i&&e.charCodeAt(a+1)===r){t=a+1;break}let o=e.slice(a,t+1);if(o.charCodeAt(2)===x){let e=xe(o.slice(2,-2));E.push(e),C&&(e.src=[C,a,t+1],e.dst=[C,a,t+1])}}else if(N===o||N===a){let n=te(e,t,N,C);k+=e.slice(t,n+1),t=n}else{if((N===d||N===l||N===f)&&(M=e.charCodeAt(t+1))&&(M===d||M===l||M===f||M===u&&(M=e.charCodeAt(t+2))&&M==l))continue;if(N===l){if(k.length===0)continue;M=k.charCodeAt(k.length-1),M!==d&&M!==l&&M!==f&&(k+=` `)}else if(N===y&&e.charCodeAt(t+1)===y&&k.length===0){let l=``,u=t,d=-1;for(let f=t+2;f<e.length;f++)if(M=e.charCodeAt(f),M===n)f+=1;else if(M===o||M===a)f=te(e,f,M,C);else if(M===r&&e.charCodeAt(f+1)===i){for(let t=f+2;t<e.length;t++)if(M=e.charCodeAt(t),M===n)t+=1;else if(M===i&&e.charCodeAt(t+1)===r){f=t+1;break}}else if(d===-1&&M===s)d=k.length+f-u;else if(M===c&&l.length===0){k+=e.slice(u,f),t=f;break}else if(M===h)l+=`)`;else if(M===_)l+=`]`;else if(M===p)l+=`}`;else if((M===m||e.length-1===f)&&l.length===0){t=f-1,k+=e.slice(u,f);break}else (M===g||M===v||M===m)&&l.length>0&&e[f]===l[l.length-1]&&(l=l.slice(0,-1));let f=w(k,d);if(!f)throw new S(`Invalid custom property, expected a value`,C?[C,u,t]:null);C&&(f.src=[C,u,t],f.dst=[C,u,t]),D?D.nodes.push(f):T.push(f),k=``}else if(N===c&&k.charCodeAt(0)===b)O=ee(k),C&&(O.src=[C,j,t],O.dst=[C,j,t]),D?D.nodes.push(O):T.push(O),k=``,O=null;else if(N===c&&A[A.length-1]!==`)`){let e=w(k);if(!e){if(k.length===0)continue;throw new S(`Invalid declaration: \`${k.trim()}\``,C?[C,j,t]:null)}C&&(e.src=[C,j,t],e.dst=[C,j,t]),D?D.nodes.push(e):T.push(e),k=``}else if(N===p&&A[A.length-1]!==`)`)A+=`}`,O=z(k.trim()),C&&(O.src=[C,j,t],O.dst=[C,j,t]),D&&D.nodes.push(O),ne.push(D),D=O,k=``,O=null;else if(N===m&&A[A.length-1]!==`)`){if(A===``)throw new S(`Missing opening {`,C?[C,t,t]:null);if(A=A.slice(0,-1),k.length>0)if(k.charCodeAt(0)===b)O=ee(k),C&&(O.src=[C,j,t],O.dst=[C,j,t]),D?D.nodes.push(O):T.push(O),k=``,O=null;else{let e=k.indexOf(`:`);if(D){let n=w(k,e);if(!n)throw new S(`Invalid declaration: \`${k.trim()}\``,C?[C,j,t]:null);C&&(n.src=[C,j,t],n.dst=[C,j,t]),D.nodes.push(n)}}let e=ne.pop()??null;e===null&&D&&T.push(D),D=e,k=``,O=null}else if(N===h)A+=`)`,k+=`(`;else if(N===g){if(A[A.length-1]!==`)`)throw new S(`Missing opening (`,C?[C,t,t]:null);A=A.slice(0,-1),k+=`)`}else{if(k.length===0&&(N===d||N===l||N===f))continue;k===``&&(j=t),k+=String.fromCharCode(N)}}}if(k.charCodeAt(0)===b){let t=ee(k);C&&(t.src=[C,j,e.length],t.dst=[C,j,e.length]),T.push(t)}if(A.length>0&&D){if(D.kind===`rule`)throw new S(`Missing closing } at ${D.selector}`,D.src?[D.src[0],D.src[1],D.src[1]]:null);if(D.kind===`at-rule`)throw new S(`Missing closing } at ${D.name} ${D.params}`,D.src?[D.src[0],D.src[1],D.src[1]]:null)}return E.length>0?E.concat(T):T}function ee(e,t=[]){let n=e,r=``;for(let t=5;t<e.length;t++){let i=e.charCodeAt(t);if(i===d||i===f||i===h){n=e.slice(0,t),r=e.slice(t);break}}return R(n.trim(),r.trim(),t)}function w(e,t=e.indexOf(`:`)){if(t===-1)return null;let n=e.indexOf(`!important`,t+1);return B(e.slice(0,t).trim(),e.slice(t+1,n===-1?e.length:n).trim(),n!==-1)}function te(e,t,r,i=null){let a;for(let o=t+1;o<e.length;o++)if(a=e.charCodeAt(o),a===n)o+=1;else{if(a===r)return o;if(a===c&&(e.charCodeAt(o+1)===l||e.charCodeAt(o+1)===u&&e.charCodeAt(o+2)===l))throw new S(`Unterminated string: ${e.slice(t,o+1)+String.fromCharCode(r)}`,i?[i,t,o+1]:null);if(a===l||a===u&&e.charCodeAt(o+1)===l)throw new S(`Unterminated string: ${e.slice(t,o)+String.fromCharCode(r)}`,i?[i,t,o+1]:null)}return t}function T(e){if(arguments.length===0)throw TypeError("`CSS.escape` requires an argument.");let t=String(e),n=t.length,r=-1,i,a=``,o=t.charCodeAt(0);if(n===1&&o===45)return`\\`+t;for(;++r<n;){if(i=t.charCodeAt(r),i===0){a+=`�`;continue}if(i>=1&&i<=31||i===127||r===0&&i>=48&&i<=57||r===1&&i>=48&&i<=57&&o===45){a+=`\\`+i.toString(16)+` `;continue}if(i>=128||i===45||i===95||i>=48&&i<=57||i>=65&&i<=90||i>=97&&i<=122){a+=t.charAt(r);continue}a+=`\\`+t.charAt(r)}return a}function E(e){return e.replace(/\\([\dA-Fa-f]{1,6}[\t\n\f\r ]?|[\S\s])/g,e=>e.length>2?String.fromCodePoint(Number.parseInt(e.slice(1).trim(),16)):e[1])}var ne=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 D(e,t){return(ne.get(t)??[]).some(t=>e===t||e.startsWith(`${t}-`))}var O=class{constructor(e=new Map,t=new Set([])){this.values=e,this.keyframes=t}prefix=null;get size(){return this.values.size}add(e,t,n=0,r){if(e.endsWith(`-*`)){if(t!==`initial`)throw Error(`Invalid theme value \`${t}\` for namespace \`${e}\``);e===`--*`?this.values.clear():this.clearNamespace(e.slice(0,-2),0)}if(n&4){let t=this.values.get(e);if(t&&!(t.options&4))return}t===`initial`?this.values.delete(e):this.values.set(e,{value:t,options:n,src:r})}keysInNamespaces(e){let t=[];for(let n of e){let e=`${n}-`;for(let r of this.values.keys())r.startsWith(e)&&r.indexOf(`--`,2)===-1&&(D(r,n)||t.push(r.slice(e.length)))}return t}get(e){for(let t of e){let e=this.values.get(t);if(e)return e.value}return null}hasDefault(e){return(this.getOptions(e)&4)==4}getOptions(e){return e=E(this.#e(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}#e(e){return this.prefix?`--${e.slice(3+this.prefix.length)}`:e}clearNamespace(e,t){let n=ne.get(e)??[];e:for(let r of this.values.keys())if(r.startsWith(e)){if(t!==0&&(this.getOptions(r)&t)!==t)continue;for(let e of n)if(r.startsWith(e))continue e;this.values.delete(r)}}#t(e,t){for(let n of t){let t=e===null?n:`${n}-${e}`;if(!this.values.has(t))if(e!==null&&e.includes(`.`)){if(t=`${n}-${e.replaceAll(`.`,`_`)}`,!this.values.has(t))continue}else continue;if(!D(t,n))return t}return null}#n(e){let t=this.values.get(e);if(!t)return null;let n=null;return t.options&2&&(n=t.value),`var(${T(this.prefixKey(e))}${n?`, ${n}`:``})`}markUsedVariable(e){let t=E(this.#e(e)),n=this.values.get(t);if(!n)return!1;let r=n.options&16;return n.options|=16,!r}resolve(e,t,n=0){let r=this.#t(e,t);if(!r)return null;let i=this.values.get(r);return(n|i.options)&1?i.value:this.#n(r)}resolveValue(e,t){let n=this.#t(e,t);return n?this.values.get(n).value:null}resolveWith(e,t,n=[]){let r=this.#t(e,t);if(!r)return null;let i={};for(let e of n){let t=`${r}${e}`,n=this.values.get(t);n&&(n.options&1?i[e]=n.value:i[e]=this.#n(t))}let a=this.values.get(r);return a.options&1?[a.value,i]:[this.#n(r),i]}namespace(e){let t=new Map,n=`${e}-`;for(let[r,i]of this.values)r===e?t.set(null,i.value):r.startsWith(`${n}-`)?t.set(r.slice(e.length),i.value):r.startsWith(n)&&t.set(r.slice(n.length),i.value);return t}addKeyframes(e){this.keyframes.add(e)}getKeyframes(){return Array.from(this.keyframes)}},k=class extends Map{constructor(e){super(),this.factory=e}get(e){let t=super.get(e);return t===void 0&&(t=this.factory(e,this),this.set(e,t)),t}};function A(e){return{kind:`word`,value:e}}function j(e,t){return{kind:`function`,value:e,nodes:t}}function M(e){return{kind:`separator`,value:e}}function N(e){let t=``;for(let n of e)switch(n.kind){case`word`:case`separator`:t+=n.value;break;case`function`:t+=n.value+`(`+N(n.nodes)+`)`}return t}var re=92,ie=41,ae=58,oe=44,se=34,ce=61,le=62,ue=60,de=10,fe=40,pe=39,me=47,he=32,ge=9;function P(e){e=e.replaceAll(`\r
|
|
2
2
|
`,`
|
|
3
3
|
`);let t=[],n=[],r=null,i=``,a;for(let o=0;o<e.length;o++){let s=e.charCodeAt(o);switch(s){case re:i+=e[o]+e[o+1],o++;break;case me:{if(i.length>0){let e=A(i);r?r.nodes.push(e):t.push(e),i=``}let n=A(e[o]);r?r.nodes.push(n):t.push(n);break}case ae:case oe:case ce:case le:case ue:case de:case he:case ge:{if(i.length>0){let e=A(i);r?r.nodes.push(e):t.push(e),i=``}let n=o,s=o+1;for(;s<e.length&&(a=e.charCodeAt(s),!(a!==ae&&a!==oe&&a!==ce&&a!==le&&a!==ue&&a!==de&&a!==he&&a!==ge));s++);o=s-1;let c=M(e.slice(n,s));r?r.nodes.push(c):t.push(c);break}case pe:case se:{let t=o;for(let t=o+1;t<e.length;t++)if(a=e.charCodeAt(t),a===re)t+=1;else if(a===s){o=t;break}i+=e.slice(t,o+1);break}case fe:{let e=j(i,[]);i=``,r?r.nodes.push(e):t.push(e),n.push(e),r=e;break}case ie:{let e=n.pop();if(i.length>0){let t=A(i);e?.nodes.push(t),i=``}r=n.length>0?n[n.length-1]:null;break}default:i+=String.fromCharCode(s)}}return i.length>0&&t.push(A(i)),t}var _e=(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))(_e||{}),F={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 I(e,t){typeof t==`function`?ve(e,t):ve(e,t.enter,t.exit)}function ve(e,t=()=>F.Continue,n=()=>F.Continue){let r={value:[e,0,null],prev:null},i={parent:null,depth:0,path(){let e=[],t=r;for(;t;){let n=t.value[2];n&&e.push(n),t=t.prev}return e.reverse(),e}};for(;r!==null;){let e=r.value,a=e[0],o=e[1],s=e[2];if(o>=a.length){r=r.prev,--i.depth;continue}if(i.parent=s,o>=0){let n=a[o],s=t(n,i)??F.Continue;switch(s.kind){case 0:n.nodes&&n.nodes.length>0&&(i.depth+=1,r={value:[n.nodes,0,n],prev:r}),e[1]=~o;continue;case 2:return;case 1:e[1]=~o;continue;case 3:a.splice(o,1,...s.nodes);continue;case 5:a.splice(o,1,...s.nodes);return;case 4:a.splice(o,1,...s.nodes),e[1]+=s.nodes.length;continue;default:throw Error(`Invalid \`WalkAction.${_e[s.kind]??`Unknown(${s.kind})`}\` in enter.`)}}let c=~o,l=a[c],u=n(l,i)??F.Continue;switch(u.kind){case 0:e[1]=c+1;continue;case 2:return;case 3:a.splice(c,1,...u.nodes),e[1]=c+u.nodes.length;continue;case 5:a.splice(c,1,...u.nodes);return;case 4:a.splice(c,1,...u.nodes),e[1]=c+u.nodes.length;continue;default:throw Error(`Invalid \`WalkAction.${_e[u.kind]??`Unknown(${u.kind})`}\` in exit.`)}}}function ye(e){let t=[];return I(P(e),e=>{if(!(e.kind!==`function`||e.value!==`var`))return I(e.nodes,e=>{e.kind!==`word`||e.value[0]!==`-`||e.value[1]!==`-`||t.push(e.value)}),F.Skip}),t}var be=64;function L(e,t=[]){return{kind:`rule`,selector:e,nodes:t}}function R(e,t=``,n=[]){return{kind:`at-rule`,name:e,params:t,nodes:n}}function z(e,t=[]){return e.charCodeAt(0)===be?ee(e,t):L(e,t)}function B(e,t,n=!1){return{kind:`declaration`,property:e,value:t,important:n}}function xe(e){return{kind:`comment`,value:e}}function Se(e,t){return{kind:`context`,context:e,nodes:t}}function V(e){return{kind:`at-root`,nodes:e}}function H(e){switch(e.kind){case`rule`:return{kind:e.kind,selector:e.selector,nodes:e.nodes.map(H),src:e.src,dst:e.dst};case`at-rule`:return{kind:e.kind,name:e.name,params:e.params,nodes:e.nodes.map(H),src:e.src,dst:e.dst};case`at-root`:return{kind:e.kind,nodes:e.nodes.map(H),src:e.src,dst:e.dst};case`context`:return{kind:e.kind,context:{...e.context},nodes:e.nodes.map(H),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 Error(`Unknown node kind: ${e.kind}`)}}function Ce(e){return{depth:e.depth,get context(){let t={};for(let n of e.path())n.kind===`context`&&Object.assign(t,n.context);return Object.defineProperty(this,`context`,{value:t}),t},get parent(){let e=this.path().pop()??null;return Object.defineProperty(this,`parent`,{value:e}),e},path(){return e.path().filter(e=>e.kind!==`context`)}}}function we(e,t,n=3){let r=[],i=new Set,a=new k(()=>new Set),o=new k(()=>new Set),s=new Set,c=new Set,l=[],u=[],d=new k(()=>new Set);function f(e,p,m={},h=0){if(e.kind===`declaration`){if(e.property===`--tw-sort`||e.value===void 0||e.value===null)return;if(m.theme&&e.property[0]===`-`&&e.property[1]===`-`){if(e.value===`initial`){e.value=void 0;return}m.keyframes||a.get(p).add(e)}if(e.value.includes(`var(`))if(m.theme&&e.property[0]===`-`&&e.property[1]===`-`)for(let t of ye(e.value))d.get(t).add(e.property);else t.trackUsedVariables(e.value);if(e.property===`animation`)for(let t of Oe(e.value))c.add(t);n&2&&e.value.includes(`color-mix(`)&&!m.supportsColorMix&&!m.keyframes&&o.get(p).add(e),p.push(e)}else if(e.kind===`rule`){let t=[];for(let n of e.nodes)f(n,t,m,h+1);let n={},r=new Set;for(let e of t){if(e.kind!==`declaration`)continue;let t=`${e.property}:${e.value}:${e.important}`;n[t]??=[],n[t].push(e)}for(let e in n)for(let t=0;t<n[e].length-1;++t)r.add(n[e][t]);if(r.size>0&&(t=t.filter(e=>!r.has(e))),t.length===0)return;e.selector===`&`?p.push(...t):p.push({...e,nodes:t})}else if(e.kind===`at-rule`&&e.name===`@property`&&h===0){if(i.has(e.params))return;if(n&1){let t=e.params,n=null,r=!1;for(let t of e.nodes)t.kind===`declaration`&&(t.property===`initial-value`?n=t.value:t.property===`inherits`&&(r=t.value===`true`));let i=B(t,n??`initial`);i.src=e.src,r?l.push(i):u.push(i)}i.add(e.params);let t={...e,nodes:[]};for(let n of e.nodes)f(n,t.nodes,m,h+1);p.push(t)}else if(e.kind===`at-rule`){e.name===`@keyframes`?m={...m,keyframes:!0}:e.name===`@supports`&&e.params.includes(`color-mix(`)&&(m={...m,supportsColorMix:!0});let t={...e,nodes:[]};for(let n of e.nodes)f(n,t.nodes,m,h+1);e.name===`@keyframes`&&m.theme&&s.add(t),(t.nodes.length>0||t.name===`@layer`||t.name===`@charset`||t.name===`@custom-media`||t.name===`@namespace`||t.name===`@import`)&&p.push(t)}else if(e.kind===`at-root`)for(let t of e.nodes){let e=[];f(t,e,m,0);for(let t of e)r.push(t)}else if(e.kind===`context`){if(e.context.reference)return;for(let t of e.nodes)f(t,p,{...m,...e.context},h)}else e.kind===`comment`&&p.push(e)}let p=[];for(let t of e)f(t,p,{},0);e:for(let[e,n]of a)for(let r of n){if(De(r.property,t.theme,d)){if(r.property.startsWith(t.theme.prefixKey(`--animate-`)))for(let e of Oe(r.value))c.add(e);continue}let n=e.indexOf(r);if(e.splice(n,1),e.length===0){let t=Ee(p,t=>t.kind===`rule`&&t.nodes===e);if(!t||t.length===0)continue e;t.unshift({kind:`at-root`,nodes:p});do{let e=t.pop();if(!e)break;let n=t[t.length-1];if(!n||n.kind!==`at-root`&&n.kind!==`at-rule`)break;let r=n.nodes.indexOf(e);if(r===-1)break;n.nodes.splice(r,1)}while(!0);continue e}}for(let e of s)if(!c.has(e.params)){let t=r.indexOf(e);r.splice(t,1)}if(p=p.concat(r),n&2)for(let[e,n]of o)for(let r of n){let n=e.indexOf(r);if(n===-1||r.value==null)continue;let i=P(r.value),a=!1;if(I(i,e=>{if(e.kind!==`function`||e.value!==`color-mix`)return;let n=!1,r=!1;if(I(e.nodes,e=>{if(e.kind==`word`&&e.value.toLowerCase()===`currentcolor`){r=!0,a=!0;return}let i=e,o=null,s=new Set;do{if(i.kind!==`function`||i.value!==`var`)return;let e=i.nodes[0];if(!e||e.kind!==`word`)return;let c=e.value;if(s.has(c)){n=!0;return}if(s.add(c),a=!0,o=t.theme.resolveValue(null,[e.value]),!o){n=!0;return}if(o.toLowerCase()===`currentcolor`){r=!0;return}i=o.startsWith(`var(`)?P(o)[0]:null}while(i);return F.Replace({kind:`word`,value:o})}),n||r){let t=e.nodes.findIndex(e=>e.kind===`separator`&&e.value.trim().includes(`,`));if(t===-1)return;let n=e.nodes.length>t?e.nodes[t+1]:null;return n?F.Replace(n):void 0}else if(a){let t=e.nodes[2];t.kind===`word`&&(t.value===`oklab`||t.value===`oklch`||t.value===`lab`||t.value===`lch`)&&(t.value=`srgb`)}}),!a)continue;let o={...r,value:N(i)},s=z(`@supports (color: color-mix(in lab, red, red))`,[r]);s.src=r.src,e.splice(n,1,o,s)}if(n&1){let e=[];if(l.length>0){let t=z(`:root, :host`,l);t.src=l[0].src,e.push(t)}if(u.length>0){let t=z(`*, ::before, ::after, ::backdrop`,u);t.src=u[0].src,e.push(t)}if(e.length>0){let t=p.findIndex(e=>!(e.kind===`comment`||e.kind===`at-rule`&&(e.name===`@charset`||e.name===`@import`))),n=R(`@layer`,`properties`,[]);n.src=e[0].src,p.splice(t<0?p.length:t,0,n);let r=z(`@layer properties`,[R(`@supports`,`((-webkit-hyphens: none) and (not (margin-trim: inline))) or ((-moz-orient: inline) and (not (color:rgb(from red r g b))))`,e)]);r.src=e[0].src,r.nodes[0].src=e[0].src,p.push(r)}}return p}function Te(e,t){let n=0,r={file:null,code:``};function i(e,a=0){let o=``,s=` `.repeat(a);if(e.kind===`declaration`){if(o+=`${s}${e.property}: ${e.value}${e.important?` !important`:``};
|
|
4
4
|
`,t){n+=s.length;let t=n;n+=e.property.length,n+=2,n+=e.value?.length??0,e.important&&(n+=11);let i=n;n+=2,e.dst=[r,t,i]}}else if(e.kind===`rule`){if(o+=`${s}${e.selector} {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":"
|
|
1
|
+
{"version":"1775072321529"}
|
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.
|
|
7
|
+
<link href="./_app/immutable/entry/start.k5uBenaj.js" rel="modulepreload">
|
|
8
8
|
<link href="./_app/immutable/chunks/BdP-K7KO.js" rel="modulepreload">
|
|
9
|
-
<link href="./_app/immutable/chunks/
|
|
9
|
+
<link href="./_app/immutable/chunks/CNNc8pdr.js" rel="modulepreload">
|
|
10
10
|
<link href="./_app/immutable/chunks/CNhGYG1q.js" rel="modulepreload">
|
|
11
|
-
<link href="./_app/immutable/entry/app.
|
|
11
|
+
<link href="./_app/immutable/entry/app.DR1Gl7kO.js" rel="modulepreload">
|
|
12
12
|
<link href="./_app/immutable/chunks/C8mohMXa.js" rel="modulepreload">
|
|
13
13
|
<link href="./_app/immutable/chunks/D1hYfEew.js" rel="modulepreload">
|
|
14
14
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div style="display: contents">
|
|
18
18
|
<script>
|
|
19
19
|
{
|
|
20
|
-
|
|
20
|
+
__sveltekit_146456 = {
|
|
21
21
|
base: new URL(".", location).pathname.slice(0, -1),
|
|
22
22
|
assets: "/configurator"
|
|
23
23
|
};
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
const element = document.currentScript.parentElement;
|
|
26
26
|
|
|
27
27
|
Promise.all([
|
|
28
|
-
import("./_app/immutable/entry/start.
|
|
29
|
-
import("./_app/immutable/entry/app.
|
|
28
|
+
import("./_app/immutable/entry/start.k5uBenaj.js"),
|
|
29
|
+
import("./_app/immutable/entry/app.DR1Gl7kO.js")
|
|
30
30
|
]).then(([kit, app]) => {
|
|
31
31
|
kit.start(app, element);
|
|
32
32
|
});
|
|
@@ -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.
|
|
7
|
+
<link href="./_app/immutable/entry/start.k5uBenaj.js" rel="modulepreload">
|
|
8
8
|
<link href="./_app/immutable/chunks/BdP-K7KO.js" rel="modulepreload">
|
|
9
|
-
<link href="./_app/immutable/chunks/
|
|
9
|
+
<link href="./_app/immutable/chunks/CNNc8pdr.js" rel="modulepreload">
|
|
10
10
|
<link href="./_app/immutable/chunks/CNhGYG1q.js" rel="modulepreload">
|
|
11
|
-
<link href="./_app/immutable/entry/app.
|
|
11
|
+
<link href="./_app/immutable/entry/app.DR1Gl7kO.js" rel="modulepreload">
|
|
12
12
|
<link href="./_app/immutable/chunks/C8mohMXa.js" rel="modulepreload">
|
|
13
13
|
<link href="./_app/immutable/chunks/D1hYfEew.js" rel="modulepreload">
|
|
14
14
|
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
<div style="display: contents">
|
|
18
18
|
<script>
|
|
19
19
|
{
|
|
20
|
-
|
|
20
|
+
__sveltekit_146456 = {
|
|
21
21
|
base: new URL(".", location).pathname.slice(0, -1),
|
|
22
22
|
assets: "/configurator"
|
|
23
23
|
};
|
|
@@ -25,8 +25,8 @@
|
|
|
25
25
|
const element = document.currentScript.parentElement;
|
|
26
26
|
|
|
27
27
|
Promise.all([
|
|
28
|
-
import("./_app/immutable/entry/start.
|
|
29
|
-
import("./_app/immutable/entry/app.
|
|
28
|
+
import("./_app/immutable/entry/start.k5uBenaj.js"),
|
|
29
|
+
import("./_app/immutable/entry/app.DR1Gl7kO.js")
|
|
30
30
|
]).then(([kit, app]) => {
|
|
31
31
|
kit.start(app, element);
|
|
32
32
|
});
|
package/package.json
CHANGED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
var e=`https://liipgpt.api.dev.genai.liip.ch/liipgpt`,t=`3.4.5`;export{t as n,e as t};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import{Ht as e,Nt as t,Ot as n,Pt as r,Tt as i,c as a,i as o,o as s,rt as c}from"./BdP-K7KO.js";import"./CNhGYG1q.js";import"./D1hYfEew.js";import"./DEv5Ueqk.js";import"./DevUxHro.js";import"./CaZV0epm.js";import{t as l}from"./IT5xfoUt.js";import"./CKlCoule.js";import"./BUm3woLX.js";import{t as u}from"./DUJlwB59.js";function d(o,d){r(d,!0);let f=s(d,`forceTheme`,7),p=s(d,`apiUrl`,7),m=s(d,`apiKey`,7),h=s(d,`speechRecognitionApiKey`,7),g=s(d,`lang`,7),_=s(d,`features`,7),v=s(d,`loaderBackground`,7),y=s(d,`loaderColor`,7),b=s(d,`flyout`,7),x=s(d,`flyoutStyle`,7),S=s(d,`flyoutClass`,7),C=s(d,`inlineLayout`,7),w=i(()=>({forceTheme:f(),apiUrl:p(),apiKey:m(),speechRecognitionApiKey:h(),lang:g(),features:_(),loaderBackground:v(),loaderColor:y(),flyout:b(),flyoutStyle:x(),flyoutClass:S(),inlineLayout:C()}));var T={get forceTheme(){return f()},set forceTheme(e){f(e),n()},get apiUrl(){return p()},set apiUrl(e){p(e),n()},get apiKey(){return m()},set apiKey(e){m(e),n()},get speechRecognitionApiKey(){return h()},set speechRecognitionApiKey(e){h(e),n()},get lang(){return g()},set lang(e){g(e),n()},get features(){return _()},set features(e){_(e),n()},get loaderBackground(){return v()},set loaderBackground(e){v(e),n()},get loaderColor(){return y()},set loaderColor(e){y(e),n()},get flyout(){return b()},set flyout(e){b(e),n()},get flyoutStyle(){return x()},set flyoutStyle(e){x(e),n()},get flyoutClass(){return S()},set flyoutClass(e){S(e),n()},get inlineLayout(){return C()},set inlineLayout(e){C(e),n()}};{let t=(t,n=e)=>{l(t,a({host:d.$$host,get onError(){return n()}},()=>c(w)))},n=i(()=>c(w).flyout??!1);u(o,{get silent(){return c(n)},body:t,$$slots:{body:!0}})}return t(T)}customElements.define(`liipgpt-chat`,o(d,{forceTheme:{attribute:`force-theme`,type:`String`},apiUrl:{attribute:`api-url`,type:`String`},apiKey:{attribute:`api-key`,type:`String`},speechRecognitionApiKey:{attribute:`speech-recognition-api-key`,type:`String`},lang:{attribute:`lang`,type:`String`},features:{attribute:`features`,type:`String`},loaderBackground:{attribute:`loader-background`,type:`String`},loaderColor:{attribute:`loader-color`,type:`String`},flyout:{attribute:`flyout`,type:`Boolean`},flyoutStyle:{attribute:`flyout-style`,type:`String`},flyoutClass:{attribute:`flyout-class`,type:`String`},inlineLayout:{attribute:`inline-layout`,type:`Boolean`}},[],[],{mode:`open`}));export{d as LiipGPTChat};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
import"../chunks/BdP-K7KO.js";import{n as e,s as t}from"../chunks/DFy-DHbb.js";import"../chunks/CNhGYG1q.js";export{t as load_css,e as start};
|