@shumai-one/shumai 0.3.9 → 0.3.11
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/bin/chunk-02b97gsf.js +2 -0
- package/bin/chunk-0ash207y.js +2 -0
- package/bin/{chunk-7a4347xe.js → chunk-0g0gt4bj.js} +2 -2
- package/bin/chunk-0j3yb84c.js +1 -0
- package/bin/{chunk-va9hwggw.js → chunk-0vqefpcw.js} +1 -1
- package/bin/chunk-0wgqr4jg.js +2 -0
- package/bin/{chunk-ytgtf0ak.js → chunk-0xqf53hc.js} +1 -1
- package/bin/chunk-12ps84z8.js +2 -0
- package/bin/{chunk-pfwt5734.js → chunk-12r8a5ev.js} +2 -2
- package/bin/{chunk-agvb6bpw.js → chunk-1dzby9bb.js} +1 -1
- package/bin/chunk-1tby7q3f.js +1 -0
- package/bin/{chunk-zcxajg6j.js → chunk-2s97ngr8.js} +2 -2
- package/bin/chunk-31f07jzm.js +2 -0
- package/bin/{chunk-z71h48pj.js → chunk-393g7z2g.js} +1 -1
- package/bin/{chunk-9s1fdecm.js → chunk-3j47y8ah.js} +1 -1
- package/bin/{chunk-qp1hkx9k.js → chunk-3qva5sqr.js} +2 -2
- package/bin/chunk-3ztat2q9.js +68 -0
- package/bin/chunk-48yphy68.js +73 -0
- package/bin/chunk-4pj17byj.js +2 -0
- package/bin/chunk-4t2qcxp5.js +1 -0
- package/bin/{chunk-zvq0btde.js → chunk-4yke5y3z.js} +3 -3
- package/bin/{chunk-5657zj59.js → chunk-50vzkdc8.js} +1 -1
- package/bin/{chunk-naaa5ejw.js → chunk-5dfy6173.js} +2 -2
- package/bin/{chunk-3h4t28zz.js → chunk-5nk7y4ec.js} +2 -2
- package/bin/chunk-68bfd8x7.js +3 -0
- package/bin/{chunk-j4byth37.js → chunk-69at8jm8.js} +1 -1
- package/bin/{chunk-f37ywvvp.js → chunk-6edh2e59.js} +1 -1
- package/bin/{chunk-tfwtxwth.js → chunk-6qzcnkgx.js} +2 -2
- package/bin/chunk-6ts5az6h.js +2 -0
- package/bin/chunk-72nj00dp.js +1 -0
- package/bin/{chunk-c32x8x6z.js → chunk-77c2xm0z.js} +1 -1
- package/bin/{chunk-11j7ejan.js → chunk-7888x3vz.js} +3 -3
- package/bin/chunk-7anqxpyv.js +2 -0
- package/bin/{chunk-v5c6t1w3.js → chunk-7t31qfw5.js} +3 -3
- package/bin/chunk-8b11b9cj.js +2 -0
- package/bin/{chunk-wjk0f9fq.js → chunk-8bv8qsb8.js} +2 -2
- package/bin/chunk-8ekjxb5q.js +2 -0
- package/bin/chunk-8qg6jjz4.js +2 -0
- package/bin/{chunk-vf6mpxrd.js → chunk-8r2agmv2.js} +2 -2
- package/bin/{chunk-331s5eb9.js → chunk-8zar6cc4.js} +2 -2
- package/bin/chunk-9m9bn55a.js +1 -0
- package/bin/{chunk-dt9wfyf2.js → chunk-9qytehed.js} +2 -2
- package/bin/{chunk-ej18j83b.js → chunk-a5ja6d97.js} +1 -1
- package/bin/chunk-aq7q5e36.js +2 -0
- package/bin/{chunk-rq6bvf0t.js → chunk-axnvvkdf.js} +2 -2
- package/bin/chunk-ayr3tsz3.js +2 -0
- package/bin/{chunk-p65avrcv.js → chunk-b78s1cxz.js} +2 -2
- package/bin/chunk-bthrbggg.js +2 -0
- package/bin/chunk-byjze6hm.js +2 -0
- package/bin/{chunk-79wjyt2p.js → chunk-c16vvzdj.js} +1 -1
- package/bin/{chunk-9fc118ea.js → chunk-cmd0feyq.js} +2 -2
- package/bin/chunk-csh1ggtt.js +1 -0
- package/bin/{chunk-p2wyyvfa.js → chunk-ctx1ms5t.js} +2 -2
- package/bin/{chunk-x6ta6e2v.js → chunk-cyjh5qsk.js} +1 -1
- package/bin/chunk-day0vn14.js +2 -0
- package/bin/{chunk-z7m6sa7g.js → chunk-dhhfwbns.js} +1 -1
- package/bin/{chunk-qt6j0fm6.js → chunk-dwkv3bx5.js} +2 -2
- package/bin/chunk-dyen2t1p.js +2 -0
- package/bin/chunk-e5r6rnt9.js +2 -0
- package/bin/{chunk-ptmxkptc.js → chunk-esa954t1.js} +2 -2
- package/bin/{chunk-fbqr4v70.js → chunk-f5c9g4y9.js} +1 -1
- package/bin/{chunk-wth2f791.js → chunk-f9ydhm8q.js} +2 -2
- package/bin/{chunk-nw1ch5d8.js → chunk-fsj3kxya.js} +2 -2
- package/bin/{chunk-dntwxkyf.js → chunk-fv14er33.js} +1 -1
- package/bin/chunk-ghw914d2.js +2 -0
- package/bin/{chunk-nn753fbs.js → chunk-gwzk0fvn.js} +2 -2
- package/bin/chunk-gx410cm2.js +2 -0
- package/bin/chunk-gx8sz5bw.js +2 -0
- package/bin/chunk-gydktfnx.js +2 -0
- package/bin/chunk-h5j1dqc0.js +1 -0
- package/bin/chunk-h7kyj2g2.js +2 -0
- package/bin/chunk-har4xctf.js +2 -0
- package/bin/chunk-hks5k0tm.js +7 -0
- package/bin/chunk-hpm4razn.js +2 -0
- package/bin/chunk-hv4t9h3e.js +9 -0
- package/bin/chunk-jsqsrcse.js +7 -0
- package/bin/{chunk-zq665ybs.js → chunk-k1jcdr0n.js} +1 -1
- package/bin/{chunk-vwayy6dy.js → chunk-kbw63gr4.js} +3 -3
- package/bin/{chunk-r7crhkhn.js → chunk-kcg7d7pk.js} +2 -2
- package/bin/chunk-kchbbtdm.js +2 -0
- package/bin/chunk-knh1stxe.js +4 -0
- package/bin/chunk-mkwrrdme.js +2 -0
- package/bin/{chunk-wzw7rrfy.js → chunk-mm995mvc.js} +2 -2
- package/bin/{chunk-0x6zt5yg.js → chunk-mvkqjrcd.js} +1 -1
- package/bin/chunk-mz9pthjh.js +2 -0
- package/bin/{chunk-7w01v7bw.js → chunk-n2ae527q.js} +44 -44
- package/bin/chunk-n3xn2ve1.js +1 -0
- package/bin/{chunk-yvknqnkb.js → chunk-ntqn09r0.js} +2 -2
- package/bin/{chunk-a6s80m0k.js → chunk-nw03w9pa.js} +1 -1
- package/bin/{chunk-c4yr75hy.js → chunk-nzrrvn6c.js} +2 -2
- package/bin/{chunk-6ts9djn2.js → chunk-p9w4ar11.js} +1 -1
- package/bin/chunk-ps2hw0ps.js +2 -0
- package/bin/{chunk-a2m63585.js → chunk-pz7ms4n2.js} +1 -1
- package/bin/chunk-q3fdffq5.js +1 -0
- package/bin/{chunk-03ec6p4p.js → chunk-qh3w5w8e.js} +2 -2
- package/bin/chunk-qrhf20g2.js +2 -0
- package/bin/{chunk-q3y6kdkh.js → chunk-qrnw89xg.js} +2 -2
- package/bin/{chunk-zafjhkkk.js → chunk-qz3kfrpr.js} +1 -1
- package/bin/{chunk-5efr8prc.js → chunk-r18tcdds.js} +1 -1
- package/bin/chunk-rd2n0rs6.js +1 -0
- package/bin/{chunk-6ja68bbj.js → chunk-res6r4tm.js} +1 -1
- package/bin/chunk-rr12edz4.js +2 -0
- package/bin/chunk-s04f76tb.js +2 -0
- package/bin/chunk-s0jy7grq.js +2 -0
- package/bin/{chunk-39j992fb.js → chunk-s9yzt7s3.js} +2 -2
- package/bin/{chunk-r0c9vmfm.js → chunk-sdjss6ja.js} +1 -1
- package/bin/chunk-sepsqqdf.js +2 -0
- package/bin/chunk-sqy50q9g.js +1 -0
- package/bin/chunk-sttc4axf.js +1 -0
- package/bin/chunk-szf2q87p.js +2 -0
- package/bin/{chunk-7wh2mr72.js → chunk-t2z4qys8.js} +1 -1
- package/bin/chunk-t6pmgmg2.js +1 -0
- package/bin/chunk-tdp1jjv1.js +2 -0
- package/bin/chunk-txpqhfqw.js +1 -0
- package/bin/{chunk-fhd9yadg.js → chunk-ty32j999.js} +2 -2
- package/bin/{chunk-h7jb1xb4.js → chunk-v073nwjn.js} +2 -2
- package/bin/chunk-vrdbqapq.js +2 -0
- package/bin/{chunk-s78r8f5v.js → chunk-vvx62hp4.js} +1 -1
- package/bin/chunk-vwa17b2r.js +1 -0
- package/bin/{chunk-nc9hbzad.js → chunk-wch8ygpt.js} +2 -2
- package/bin/{chunk-tx42kfdh.js → chunk-wdgwymdp.js} +1 -1
- package/bin/{chunk-vtm39m0n.js → chunk-whm06pnc.js} +1 -1
- package/bin/chunk-wqwvxskj.js +1 -0
- package/bin/chunk-wr3q8a9n.js +1 -0
- package/bin/chunk-wt01m93x.js +1 -0
- package/bin/{chunk-mv4v52ah.js → chunk-xext4yvc.js} +1 -1
- package/bin/chunk-xfzk0mrt.js +2 -0
- package/bin/chunk-xr1wr22v.css +1 -0
- package/bin/{chunk-jt7fdhke.js → chunk-xsgxk1fj.js} +1 -1
- package/bin/{chunk-mwrheqe3.js → chunk-xsqk7ek2.js} +1 -1
- package/bin/chunk-y0k1f3gk.js +2 -0
- package/bin/chunk-y1pnq12c.js +2 -0
- package/bin/{chunk-n3997tqa.js → chunk-z8crenxd.js} +1 -1
- package/bin/{chunk-jx9tqjh9.js → chunk-zvjx64p5.js} +1 -1
- package/bin/shumai-app.html +1 -1
- package/bin/shumai-app.js +513 -299
- package/package.json +7 -7
- package/prisma/migrations/20260819091331_add_kanban_schema/migration.sql +164 -0
- package/prisma/migrations/20260821102514_add_kanban_notifications/migration.sql +26 -0
- package/prisma/migrations/20260821133500_add_c_collation_to_kanban_sort_index/migration.sql +10 -0
- package/prisma/migrations/20260822020609_add_kanban_task_assets/migration.sql +17 -0
- package/prisma/migrations/20260822071734_remove_kanban_task_cancelled_status/migration.sql +28 -0
- package/prisma/migrations/20260825080704_add_recent_file_items/migration.sql +28 -0
- package/prisma/schema.prisma +207 -0
- package/bin/chunk-0h1yw3eq.js +0 -1
- package/bin/chunk-0kfcfd0x.js +0 -2
- package/bin/chunk-0rydta2q.js +0 -2
- package/bin/chunk-1eqdvehm.js +0 -2
- package/bin/chunk-2ckj039r.js +0 -2
- package/bin/chunk-2wcfw38x.js +0 -1
- package/bin/chunk-4st1t79p.js +0 -2
- package/bin/chunk-4yp5add5.js +0 -2
- package/bin/chunk-5ctpz542.js +0 -78
- package/bin/chunk-5ex69zt3.js +0 -2
- package/bin/chunk-7t9c532y.js +0 -1
- package/bin/chunk-7zvv37z0.js +0 -7
- package/bin/chunk-8hex1hjk.js +0 -2
- package/bin/chunk-8qryr65z.js +0 -2
- package/bin/chunk-9vjkb4vh.js +0 -1
- package/bin/chunk-ar79dg9g.js +0 -2
- package/bin/chunk-awaf0g5z.js +0 -2
- package/bin/chunk-b0kh9jpt.js +0 -1
- package/bin/chunk-bdwtaj3w.js +0 -2
- package/bin/chunk-d5v9nz51.js +0 -1
- package/bin/chunk-ddt5224b.js +0 -2
- package/bin/chunk-eekmnfn4.js +0 -2
- package/bin/chunk-ff8zrme6.js +0 -1
- package/bin/chunk-g2qeb32y.js +0 -2
- package/bin/chunk-gtqchcj0.js +0 -2
- package/bin/chunk-hdx9q31r.js +0 -1
- package/bin/chunk-hk5pwxhf.js +0 -2
- package/bin/chunk-hx2y4d75.js +0 -2
- package/bin/chunk-jkpxykx9.css +0 -1
- package/bin/chunk-jq28ge97.js +0 -1
- package/bin/chunk-jvn0xnj8.js +0 -2
- package/bin/chunk-mffjg6zb.js +0 -2
- package/bin/chunk-n3e4agsa.js +0 -2
- package/bin/chunk-ppwy5dja.js +0 -1
- package/bin/chunk-px660tvj.js +0 -2
- package/bin/chunk-qbs0nvbn.js +0 -3
- package/bin/chunk-t6gqzden.js +0 -1
- package/bin/chunk-tk362keq.js +0 -2
- package/bin/chunk-tn24as5d.js +0 -2
- package/bin/chunk-v2dksv7p.js +0 -2
- package/bin/chunk-v2n1hwt3.js +0 -1
- package/bin/chunk-vhcsdnzv.js +0 -2
- package/bin/chunk-w4e52ade.js +0 -2
- package/bin/chunk-wk153p7c.js +0 -1
- package/bin/chunk-wy82m4nq.js +0 -2
- package/bin/chunk-y8wj6g7y.js +0 -11
- package/bin/chunk-ympx92ct.js +0 -1
- package/bin/chunk-yx6mahz0.js +0 -1
- package/bin/chunk-z8s40zfa.js +0 -68
- package/bin/chunk-zwny8t7c.js +0 -2
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
function w(q){let k=q[q.length-1];return k&&k.role!=="user"?"agent":"user"}function x(q){return q.some((k)=>{if(k.role==="user"&&Array.isArray(k.content))return k.content.some((v)=>v.type==="image");if(k.role==="toolResult"&&Array.isArray(k.content))return k.content.some((v)=>v.type==="image");return!1})}function y(q){let k={"X-Initiator":w(q.messages),"Openai-Intent":"conversation-edits"};if(q.hasImages)k["Copilot-Vision-Request"]="true";return k}
|
|
3
|
-
export{x as
|
|
3
|
+
export{x as cm,y as dm};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{Li as k,Mi as z}from"./chunk-48yphy68.js";var A={viewBox:"0 -960 960 960",fill:"currentColor",xmlns:"http://www.w3.org/2000/svg"},E=(q)=>k("svg",{...A,...q,children:k("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm120-80v-560H200v560h120Zm80 0h360v-560H400v560Z"})}),F=(q)=>k("svg",{...A,...q,children:k("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm360-80v-560H200v560h360Zm200 0v-560H640v560h120Z"})}),H=(q)=>k("svg",{...A,...q,children:k("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm560-80v-560H400v560h360Z"})}),J=(q)=>k("svg",{...A,...q,children:k("path",{d:"M200-120q-33 0-56.5-23.5T120-200v-560q0-33 23.5-56.5T200-840h560q33 0 56.5 23.5T840-760v560q0 33-23.5 56.5T760-120H200Zm360-80v-560H200v560h360Z"})}),K=(q)=>z("svg",{xmlns:"http://www.w3.org/2000/svg",width:"24",height:"24",viewBox:"0 0 24 24",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round",strokeLinejoin:"round",...q,children:[k("path",{d:"M12 8V4H8"}),k("path",{d:"M6 7H18A3 3 0 0 1 21 10V18A3 3 0 0 1 18 21H6A3 3 0 0 1 3 18V10A3 3 0 0 1 6 7ZM8 13V15A1 1 0 0 0 10 15V13A1 1 0 0 0 8 13ZM14 13V15A1 1 0 0 0 16 15V13A1 1 0 0 0 14 13Z",fill:"currentColor",stroke:"none"}),k("path",{d:"M2 14h2"}),k("path",{d:"M20 14h2"})]}),L=(q)=>k("svg",{xmlns:"http://www.w3.org/2000/svg",width:30,height:30,viewBox:"120 -792 720 720",fill:"none","aria-hidden":"true",focusable:"false",...q,children:k("path",{fillRule:"evenodd",clipRule:"evenodd",d:"M 160 -180 v -72 h 80 v -252 q 0 -74.7 50 -132.75 T 420 -712.8 v -25.2 q 0 -22.5 17.5 -38.25 T 480 -792 q 25 0 42.5 15.75 T 540 -738 v 25.2 q 80 18 130 76.05 T 720 -504 v 252 h 80 v 72 H 160 Z M 480 -72 q -33 0 -56.5 -21.15 T 400 -144 h 160 q 0 29.7 -23.5 50.85 T 480 -72 Z",fill:"currentColor"})}),M=(q)=>z("svg",{xmlns:"http://www.w3.org/2000/svg",width:24,height:24,viewBox:"0 0 24 24",fill:"none","aria-hidden":"true",focusable:"false",...q,children:[k("path",{d:"M10.77 10.377a1 1 0 0 0-.132.437l-.105 1.665a.5.5 0 0 0 .793.436l1.32-.96a1 1 0 0 0 .278-.309l3.912-6.775a1.25 1.25 0 1 0-2.165-1.25l-3.901 6.756Z",fill:"currentColor"}),k("path",{d:"M11.016 6.75a.758.758 0 0 1-.758.748c-2.938 0-4.882 1.71-5.517 3.95-.708 2.499.245 4.459 1.979 5.851 1.767 1.42 4.31 2.203 6.547 2.203.415 0 .749.335.745.748a.758.758 0 0 1-.758.748c-2.536 0-5.421-.873-7.485-2.531-2.098-1.686-3.38-4.225-2.475-7.414.818-2.883 3.354-5.051 6.977-5.051.415 0 .749.335.745.748Z",fill:"currentColor"}),k("path",{d:"M17.147 8.315a.767.767 0 0 1 1.058-.168c1.666 1.188 2.508 2.542 2.733 3.876a4.5 4.5 0 0 1-.805 3.392c-.919 1.434-2.714 2.074-4.479 2.185-1.799.113-3.78-.302-5.292-1.216a.733.733 0 0 1-.242-1.022.768.768 0 0 1 1.042-.246c1.216.734 2.881 1.096 4.409 1 1.553-.097 2.755-.647 3.292-1.5l.015-.022.015-.021a3.025 3.025 0 0 0 .553-2.294c-.148-.876-.72-1.915-2.137-2.926a.733.733 0 0 1-.162-1.038Z",fill:"currentColor"})]}),O=(q)=>{return z("svg",{viewBox:"0 0 100 100",fill:"none",xmlns:"http://www.w3.org/2000/svg",...q,children:[k("defs",{children:k("clipPath",{id:"bg-clip",children:k("rect",{x:"5",y:"5",width:"90",height:"90",rx:"22"})})}),k("rect",{x:"5",y:"5",width:"90",height:"90",rx:"22",fill:"#D95A66"}),k("path",{d:"M 35 75 L 65 75 L 80 60 L 75 30 L 175 130 L 135 175 Z",fill:"#A8384D",clipPath:"url(#bg-clip)"}),k("path",{d:"M 25 30 Q 38 36 50 42 L 35 55 L 35 75 L 20 60 Z",fill:"#FDF0D5"}),k("path",{d:"M 50 42 Q 62 36 75 30 L 80 60 L 65 75 L 65 55 Z",fill:"#E77A65"}),k("path",{d:"M 35 75 L 65 75 L 65 55 L 50 42 L 35 55 Z",fill:"#F5B895"}),k("path",{d:"M 50 42 Q 38 36 25 30 Q 38 26 50 20 Q 62 26 75 30 Q 62 36 50 42 Z",fill:"#F4B8B8"}),k("path",{d:"M 50 25 L 42 30 L 50 35 Z",fill:"#E57A5F"}),k("path",{d:"M 50 25 L 58 30 L 50 35 Z",fill:"#C2523C"})]})},Q=(q)=>k("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"24 24 152 152",fill:"none","aria-hidden":"true",focusable:"false",...q,children:k("path",{d:"M 44 170 L 44 100 L 24 100 L 100 30 L 126 54 L 126 36 L 142 36 L 142 69 L 176 100 L 156 100 L 156 170 L 120 170 L 120 136 A 20 20 0 0 0 80 136 L 80 170 Z",fill:"currentColor"})});function T({uploading:q=!1,className:B="",...D}){return z("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"15 15 70 70",width:30,height:30,className:`${B} ${q?"animate-upload-breathing":""}`,"aria-hidden":"true",focusable:"false",style:q?{transformOrigin:"center"}:void 0,...D,children:[q&&k("defs",{children:z("linearGradient",{id:"upload-gradient",x1:"0%",y1:"0%",x2:"100%",y2:"100%",children:[k("stop",{offset:"0%",stopColor:"#3b82f6",children:k("animate",{attributeName:"stop-color",values:"#3b82f6;#ec4899;#8b5cf6;#3b82f6",dur:"3s",repeatCount:"indefinite"})}),k("stop",{offset:"50%",stopColor:"#8b5cf6",children:k("animate",{attributeName:"stop-color",values:"#8b5cf6;#3b82f6;#ec4899;#8b5cf6",dur:"3s",repeatCount:"indefinite"})}),k("stop",{offset:"100%",stopColor:"#ec4899",children:k("animate",{attributeName:"stop-color",values:"#ec4899;#8b5cf6;#3b82f6;#ec4899",dur:"3s",repeatCount:"indefinite"})})]})}),k("path",{d:"M 44.1 75 H 30 A 15 15 0 0 1 30 45 A 20 20 0 0 1 70 45 A 15 15 0 0 1 70 75 H 55.9 V 60.2 H 61.9 L 50 45.3 L 38.1 60.2 H 44.1 Z",fill:q?"url(#upload-gradient)":"currentColor"})]})}var W=({className:q,...B})=>k("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",fill:"currentColor","aria-hidden":"true",focusable:"false",className:q?`rotate-180 ${q}`:"rotate-180",...B,children:k("path",{d:"M172-84q-36.3 0-62.15-25.85T84-172v-616q0-36.3 25.85-62.15T172-876h616q36.3 0 62.15 25.85T876-788v616q0 36.3-25.85 62.15T788-84H172Zm88-176h88v-440h-88v440Zm176 0h88v-264h-88v264Zm176 0h88v-352h-88v352Z"})}),X=(q)=>k("svg",{xmlns:"http://www.w3.org/2000/svg",viewBox:"0 -960 960 960",fill:"currentColor","aria-hidden":"true",focusable:"false",...q,children:k("path",{d:"M520-600v-240h320v240H520ZM120-440v-400h320v400H120Zm400 320v-400h320v400H520Zm-400 0v-240h320v240H120Z"})});
|
|
2
|
+
export{E as Vg,F as Wg,H as Xg,J as Yg,K as Zg,L as _g,M as $g,O as ah,Q as bh,T as ch,W as dh,X as eh};
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import{li as Z}from"./chunk-jsqsrcse.js";import{Ji as W,Li as b,Mi as Y}from"./chunk-48yphy68.js";import{Zm as R}from"./chunk-69at8jm8.js";var r=Z((u)=>({uploading:0,tasks:{},fileProgress:{},increment:()=>u((d)=>({uploading:d.uploading+1})),decrement:()=>u((d)=>({uploading:d.uploading-1})),startTask:(d,k,F)=>u((o)=>{let l={},s=0;F.forEach((f)=>{l[f.fileId]={fileId:f.fileId,name:f.name,loaded:0,total:f.size,status:"uploading"},s+=f.size});let g={...o.tasks,[d]:{taskId:d,name:k,loaded:0,total:s,files:l}},P={...o.fileProgress};return F.forEach((f)=>{P[f.fileId]=l[f.fileId]}),{tasks:g,fileProgress:P}}),updateFileProgress:(d,k,F)=>u((o)=>{let l=o.tasks[d];if(!l)return{};let s=l.files[k];if(!s)return{};let g={...s,loaded:F},P={...l.files,[k]:g},f=Object.values(P).reduce((p,w)=>p+w.loaded,0);return{tasks:{...o.tasks,[d]:{...l,loaded:f,files:P}},fileProgress:{...o.fileProgress,[k]:g}}}),completeFile:(d,k)=>u((F)=>{let o=F.tasks[d];if(!o)return{};let l=o.files[k];if(!l)return{};let s={...l,status:"completed",loaded:l.total},g={...o.files,[k]:s},P=Object.values(g).reduce((f,p)=>f+p.loaded,0);return{tasks:{...F.tasks,[d]:{...o,loaded:P,files:g}},fileProgress:{...F.fileProgress,[k]:s}}}),failFile:(d,k)=>u((F)=>{let o=F.tasks[d];if(!o)return{};let l=o.files[k];if(!l)return{};let s={...l,status:"failed"},g={...o.files,[k]:s},P=Object.values(g).reduce((f,p)=>f+p.loaded,0);return{tasks:{...F.tasks,[d]:{...o,loaded:P,files:g}},fileProgress:{...F.fileProgress,[k]:s}}})}));var a=R(W(),1);var q=10,Q=10,$=q*Q,S=({spriteUrl:u,thumbnailUrl:d,videoWidth:k,videoHeight:F,className:o=""})=>{let l=a.useRef(null),[s,g]=a.useState({width:0,height:0}),[P,f]=a.useState({width:0,height:0}),[p,w]=a.useState(!1),[c,E]=a.useState(!1),[V,J]=a.useState(!1),[K,N]=a.useState(0),[j,n]=a.useState(0);a.useEffect(()=>{if(!l.current)return;let t=new ResizeObserver((m)=>{for(let B of m)g({width:B.contentRect.width,height:B.contentRect.height})});return t.observe(l.current),()=>t.disconnect()},[]);let X=a.useCallback(()=>{if(c||V)return;J(!0);let t=new Image;t.src=u,t.onload=()=>{f({width:t.naturalWidth,height:t.naturalHeight}),E(!0),J(!1)},t.onerror=()=>{console.error("Failed to load sprite image"),J(!1)}},[u,c,V]),M=()=>{w(!0),X()},A=()=>{w(!1)},D=(t)=>{if(!l.current)return;let m=l.current.getBoundingClientRect(),B=t.clientX-m.left,y=Math.max(0,Math.min(B,m.width));n(y);let T=y/m.width,U=Math.min(Math.floor(T*$),$-1);N(U)},G=a.useMemo(()=>{if(s.width===0||s.height===0)return{};let t=k/F;if(P.width>0&&P.height>0){let z=P.width/q,i=P.height/Q;t=z/i}let m=s.width/s.height,B,y;if(m>t)y=s.height,B=y*t;else B=s.width,y=B/t;let T=Math.ceil(B),U=Math.ceil(y),I=T*q,O=U*Q,v=K%q,x=Math.floor(K/q),C=-(v*T),_=-(x*U);return{backgroundImage:`url(${u})`,backgroundSize:`${I}px ${O}px`,backgroundPosition:`${C}px ${_}px`,backgroundRepeat:"no-repeat",width:`${T}px`,height:`${U}px`,imageRendering:"auto"}},[s,k,F,K,u,P]);return Y("div",{ref:l,className:`relative w-full h-full overflow-hidden cursor-crosshair group bg-black select-none ${o}`,onMouseEnter:M,onMouseLeave:A,onMouseMove:D,children:[b("img",{src:d,alt:"Thumbnail",className:`absolute inset-0 w-full h-full object-contain transition-opacity duration-200 ${p&&c?"opacity-0":"opacity-100"}`,draggable:!1}),p&&!c&&b("div",{className:"absolute inset-0 flex items-center justify-center bg-black/50 z-10",children:b("div",{className:"w-6 h-6 border-2 border-white/30 border-t-white rounded-full animate-spin"})}),c&&b("div",{className:`absolute inset-0 flex items-center justify-center transition-opacity duration-75 ${p?"opacity-100":"opacity-0"}`,children:b("div",{style:G})}),p&&b("div",{className:"absolute top-0 bottom-0 w-0.5 bg-red-500 shadow-[0_0_4px_rgba(255,0,0,0.8)] z-20 pointer-events-none",style:{transform:`translateX(${j}px)`}})]})};
|
|
2
|
+
export{S as Ze,r as _e};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// @bun
|
|
2
|
-
import{
|
|
2
|
+
import{cm as Xq,dm as Yq}from"./chunk-xsgxk1fj.js";import{hm as _q}from"./chunk-qz3kfrpr.js";import{im as a}from"./chunk-zvjx64p5.js";import{jm as c}from"./chunk-pz7ms4n2.js";import{lm as e}from"./chunk-fv14er33.js";import{mm as t}from"./chunk-fsj3kxya.js";import{om as C}from"./chunk-9qytehed.js";import{Bm as n,Cm as s}from"./chunk-wdgwymdp.js";import{Dm as o,Em as qq,Fm as Jq,Gm as Qq,Hm as u,Jm as $q,Lm as Zq}from"./chunk-r18tcdds.js";import{Mm as M}from"./chunk-393g7z2g.js";import{Nm as l}from"./chunk-xsqk7ek2.js";import{Tm as i,Um as m}from"./chunk-cmd0feyq.js";import{Vm as d}from"./chunk-a5ja6d97.js";import"./chunk-69at8jm8.js";function g(q,Q){if(!q)return!1;let J=Q.toLowerCase();for(let[X,Y]of Object.entries(q))if(X.toLowerCase()===J&&Y!==null&&Y.trim().length>0)return!0;return!1}function Kq(q,Q,J){if(Q)return Q;if(g(J,"authorization")||g(J,"cf-aig-authorization"))return"unused";throw Error(`No API key for provider: ${q}`)}function Fq(q){for(let Q of q){if(Q.role==="toolResult")return!0;if(Q.role==="assistant"){if(Q.content.some((J)=>J.type==="toolCall"))return!0}}return!1}function Nq(q){let Q=new Set;for(let J of q)if(J.role==="toolResult")for(let X of J.addedToolNames??[])Q.add(X);return Q}function Aq(q,Q){if(!q)return[];let J=new Map(q.map((X)=>[X.name,X]));return Array.from(Q).map((X)=>J.get(X)).filter((X)=>X!==void 0)}function r(q){return q.type==="text"}function Eq(q){return q.type==="thinking"}function Dq(q){return q.type==="toolCall"}function Pq(q){return q.type==="image"}function wq(q){if(typeof q!=="object"||q===null)return!1;let Q=q;return Q.type==="reasoning.encrypted"&&typeof Q.id==="string"&&Q.id.length>0&&typeof Q.data==="string"&&Q.data.length>0}function jq(q,Q){if(q)return q;if(t("PI_CACHE_RETENTION",Q)==="long")return"long";return"short"}var Uq=(q,Q,J)=>{let X=new d;return(async()=>{let Y={role:"assistant",content:[],api:q.api,provider:q.provider,model:q.id,usage:{input:0,output:0,cacheRead:0,cacheWrite:0,totalTokens:0,cost:{input:0,output:0,cacheRead:0,cacheWrite:0,total:0}},stopReason:"stop",timestamp:Date.now()};try{let V=Kq(q.provider,J?.apiKey,J?.headers),j=h(q),F=u(Q.tools,j.supportsOpenAIGrammarTools),$=jq(J?.cacheRetention,J?.env),W=$==="none"?void 0:J?.sessionId,z=Bq(q,Q,V,J?.headers,W,j),Z=yq(q,Q,J,j,$,F),S=await J?.onPayload?.(Z,q);if(S!==void 0)Z=S;let O={...J?.signal?{signal:J.signal}:{},...J?.timeoutMs!==void 0?{timeout:J.timeoutMs}:{},maxRetries:0},{data:P,response:U}=await e(()=>z.chat.completions.create(Z,O).withResponse(),{maxRetries:J?.maxRetries,maxRetryDelayMs:J?.maxRetryDelayMs,signal:J?.signal});await J?.onResponse?.({status:U.status,headers:l(U.headers)},q),X.push({type:"start",partial:Y});let B=null,G=null,N=!1,D=new Map,T=new Map,x=new Map,f=Y.content,v=(_)=>f.indexOf(_),b=(_)=>{let K=_.customInput?.property;if(K===void 0)return"";let E=_.arguments[K];return typeof E==="string"?E:""},k=(_,K,E)=>{let H=_.customInput;if(!H)return;let w=qq(H.jsonBuffer,H.property,K,E);return _.arguments={[H.property]:K},w},Lq=(_)=>{let K=v(_);if(K===-1)return;if(_.type==="text")X.push({type:"text_end",contentIndex:K,content:_.text,partial:Y});else if(_.type==="thinking")X.push({type:"thinking_end",contentIndex:K,content:_.thinking,partial:Y});else if(_.type==="toolCall"){if(_.customInput){let E=k(_,b(_),!0);if(E!==void 0)X.push({type:"toolcall_delta",contentIndex:K,delta:E,partial:Y})}else _.arguments=C(_.partialArgs);delete _.partialArgs,delete _.customInput,delete _.streamIndex,X.push({type:"toolcall_end",contentIndex:K,toolCall:_,partial:Y})}},Vq=()=>{if(!B)B={type:"text",text:""},f.push(B),X.push({type:"text_start",contentIndex:v(B),partial:Y});return B},Wq=(_)=>{if(!G)G={type:"thinking",thinking:"",thinkingSignature:_},f.push(G),X.push({type:"thinking_start",contentIndex:v(G),partial:Y});return G},Gq=(_)=>{if(!_.id)return;let K=x.get(_.id);if(K)_.thoughtSignature=K,x.delete(_.id)},Sq=(_)=>{let K=typeof _.index==="number"?_.index:void 0,E=_.function?.name??_.custom?.name??"",H=K!==void 0?D.get(K):void 0;if(!H&&_.id)H=T.get(_.id);if(!H){let w=_.custom?F.get(E)??"input":void 0,R=w!==void 0;if(H={type:"toolCall",id:_.id||"",name:E,arguments:R?{[w]:""}:{},partialArgs:R?void 0:"",customInput:R?{property:w,jsonBuffer:{input:"",started:!1,closed:!1}}:void 0,streamIndex:K},K!==void 0)D.set(K,H);if(_.id)T.set(_.id,H);f.push(H),X.push({type:"toolcall_start",contentIndex:v(H),partial:Y})}if(K!==void 0&&H.streamIndex===void 0)H.streamIndex=K,D.set(K,H);if(_.id)T.set(_.id,H);if(!H.name&&E)H.name=E;if(_.custom&&!H.customInput){let w=F.get(H.name)??"input";H.arguments={[w]:""},H.customInput={property:w,jsonBuffer:{input:"",started:!1,closed:!1}},delete H.partialArgs}return Gq(H),H};for await(let _ of P){if(!_||typeof _!=="object")continue;if(Y.responseId||=_.id,typeof _.model==="string"&&_.model.length>0&&_.model!==q.id)Y.responseModel||=_.model;if(_.usage)Y.usage=p(_.usage,q);let K=Array.isArray(_.choices)?_.choices[0]:void 0;if(!K)continue;if(!_.usage&&K.usage)Y.usage=p(K.usage,q);if(K.finish_reason){let E=bq(K.finish_reason);if(Y.stopReason=E.stopReason,E.errorMessage)Y.errorMessage=E.errorMessage;N=!0}if(K.delta){if(K.delta.content!==null&&K.delta.content!==void 0&&K.delta.content.length>0){let L=Vq();L.text+=K.delta.content,X.push({type:"text_delta",contentIndex:v(L),delta:K.delta.content,partial:Y})}let E=["reasoning_content","reasoning","reasoning_text"],H=K.delta,w=null;for(let L of E){let A=H[L];if(typeof A==="string"&&A.length>0){w=L;break}}if(w){let L=H[w];if(typeof L==="string"&&L.length>0){let A=q.provider==="opencode-go"&&w==="reasoning"?"reasoning_content":w,y=Wq(A);y.thinking+=L,X.push({type:"thinking_delta",contentIndex:v(y),delta:L,partial:Y})}}if(K?.delta?.tool_calls)for(let L of K.delta.tool_calls){let A=Sq(L);if(!A.id&&L.id)A.id=L.id,T.set(L.id,A);let y=L.function?.name??L.custom?.name;if(!A.name&&y)A.name=y;let I="";if(L.function?.arguments)I=L.function.arguments,A.partialArgs=(A.partialArgs??"")+L.function.arguments,A.arguments=C(A.partialArgs);else if(L.custom?.input){let Oq=b(A)+L.custom.input;I=k(A,Oq,!1)??""}X.push({type:"toolcall_delta",contentIndex:v(A),delta:I,partial:Y})}let R=K.delta.reasoning_details;if(Array.isArray(R)){for(let L of R)if(wq(L)){let A=JSON.stringify(L),y=T.get(L.id);if(y)y.thoughtSignature=A;else x.set(L.id,A)}}}}for(let _ of f)Lq(_);if(J?.signal?.aborted)throw Error("Request was aborted");if(Y.stopReason==="aborted")throw Error("Request was aborted");if(Y.stopReason==="error")throw Error(Y.errorMessage||"Provider returned an error stop reason");if(!N)throw Error("Stream ended without finish_reason");X.push({type:"done",reason:Y.stopReason,message:Y}),X.end()}catch(V){for(let F of Y.content)delete F.index,delete F.partialArgs,delete F.customInput,delete F.streamIndex;Y.stopReason=J?.signal?.aborted?"aborted":"error",Y.errorMessage=s(n(V));let j=V?.error?.metadata?.raw;if(j&&!Y.errorMessage.includes(String(j)))Y.errorMessage+=`
|
|
3
3
|
${j}`;X.push({type:"error",reason:Y.stopReason,error:Y}),X.end()}})(),X},JJ=(q,Q,J)=>{Kq(q.provider,J?.apiKey,J?.headers);let X=$q(q,Q,J,J?.apiKey),Y=J?.reasoning?m(q,J.reasoning):void 0,V=Y==="off"?void 0:Y,j=J?.toolChoice;return Uq(q,Q,{...X,reasoningEffort:V,toolChoice:j})};function Bq(q,Q,J,X,Y,V=h(q)){let j={...q.headers};if(q.provider==="github-copilot"){let F=Xq(Q.messages),$=Yq({messages:Q.messages,hasImages:F});Object.assign(j,$)}if(Y&&V.sendSessionAffinityHeaders)if(V.sessionAffinityFormat==="openrouter")j["x-session-id"]=Y;else{if(V.sessionAffinityFormat==="openai")j.session_id=Y;j["x-client-request-id"]=Y,j["x-session-affinity"]=Y}if(X)Object.assign(j,X);return new c({apiKey:J,baseURL:q.baseUrl,dangerouslyAllowBrowser:!0,defaultHeaders:j})}function yq(q,Q,J,X=h(q),Y=jq(J?.cacheRetention,J?.env),V=u(Q.tools,X.supportsOpenAIGrammarTools)){let j=hq(q,Q,X,{grammarToolInputProperties:V}),F=Rq(X,Y),$={model:q.id,messages:j,stream:!0,prompt_cache_key:q.baseUrl.includes("api.openai.com")&&Y!=="none"||Y==="long"&&X.supportsLongCacheRetention?_q(J?.sessionId):void 0,prompt_cache_retention:Y==="long"&&X.supportsLongCacheRetention?"24h":void 0};if(X.supportsUsageInStreaming!==!1)$.stream_options={include_usage:!0};if(X.supportsStore)$.store=!1;if(J?.maxTokens)if(X.maxTokensField==="max_tokens")$.max_tokens=J.maxTokens;else $.max_completion_tokens=J.maxTokens;if(J?.temperature!==void 0)$.temperature=J.temperature;let W=X.deferredToolsMode==="kimi"?Nq(Q.messages):new Set,z=Q.tools?.filter((Z)=>!W.has(Z.name));if(z&&z.length>0){if($.tools=Hq(z,X),X.zaiToolStream)$.tool_stream=!0}else if(Fq(Q.messages))$.tools=[];if(F)Tq(j,$.tools,F);if(J?.toolChoice)$.tool_choice=J.toolChoice;if(X.thinkingFormat==="zai"&&q.reasoning){let Z=$;if(Z.thinking=J?.reasoningEffort?{type:"enabled",clear_thinking:!1}:{type:"disabled"},J?.reasoningEffort&&X.supportsReasoningEffort){let S=q.thinkingLevelMap?.[J.reasoningEffort],O=S===void 0?J.reasoningEffort:S;if(typeof O==="string")Z.reasoning_effort=O}}else if(X.thinkingFormat==="qwen"&&q.reasoning)$.enable_thinking=!!J?.reasoningEffort;else if(X.thinkingFormat==="qwen-chat-template"&&q.reasoning)$.chat_template_kwargs={enable_thinking:!!J?.reasoningEffort,preserve_thinking:!0};else if(X.thinkingFormat==="chat-template"&&q.reasoning){let Z=Mq(q,J,X);if(Z)$.chat_template_kwargs=Z}else if(X.thinkingFormat==="deepseek"&&q.reasoning){if(J?.reasoningEffort)$.thinking={type:"enabled"};else if(q.thinkingLevelMap?.off!==null)$.thinking={type:"disabled"};if(J?.reasoningEffort&&X.supportsReasoningEffort)$.reasoning_effort=q.thinkingLevelMap?.[J.reasoningEffort]??J.reasoningEffort}else if(X.thinkingFormat==="openrouter"&&q.reasoning){let Z=$;if(J?.reasoningEffort)Z.reasoning={effort:q.thinkingLevelMap?.[J.reasoningEffort]??J.reasoningEffort};else if(q.thinkingLevelMap?.off!==null)Z.reasoning={effort:q.thinkingLevelMap?.off??"none"}}else if(X.thinkingFormat==="ant-ling"&&q.reasoning&&J?.reasoningEffort){let Z=q.thinkingLevelMap?.[J.reasoningEffort];if(typeof Z==="string")$.reasoning={effort:Z}}else if(X.thinkingFormat==="together"&&q.reasoning){let Z=$;if(Z.reasoning={enabled:!!J?.reasoningEffort},J?.reasoningEffort&&X.supportsReasoningEffort)Z.reasoning_effort=q.thinkingLevelMap?.[J.reasoningEffort]??J.reasoningEffort}else if(X.thinkingFormat==="string-thinking"&&q.reasoning){let Z=$;if(J?.reasoningEffort)Z.thinking=q.thinkingLevelMap?.[J.reasoningEffort]??J.reasoningEffort;else if(q.thinkingLevelMap?.off!==null)Z.thinking=q.thinkingLevelMap?.off??"none"}else if(J?.reasoningEffort&&q.reasoning&&X.supportsReasoningEffort)$.reasoning_effort=q.thinkingLevelMap?.[J.reasoningEffort]??J.reasoningEffort;else if(!J?.reasoningEffort&&q.reasoning&&X.supportsReasoningEffort){let Z=q.thinkingLevelMap?.off;if(typeof Z==="string")$.reasoning_effort=Z}if(q.compat?.openRouterRouting)$.provider=q.compat.openRouterRouting;if(q.compat?.vercelGatewayRouting){let Z=q.compat.vercelGatewayRouting;if(Z.only||Z.order){let S={};if(Z.only)S.only=Z.only;if(Z.order)S.order=Z.order;$.providerOptions={gateway:S}}}return $}function Mq(q,Q,J){let X={};for(let[Y,V]of Object.entries(J.chatTemplateKwargs)){let j=vq(q,Q,V);if(j!==void 0)X[Y]=j}return Object.keys(X).length>0?X:void 0}function vq(q,Q,J){if(typeof J!=="object"||J===null)return J;let X=Q?.reasoningEffort;if(!X&&J.omitWhenOff)return;if(J.$var==="thinking.enabled")return!!X;let Y=X?q.thinkingLevelMap?.[X]:q.thinkingLevelMap?.off;return Y===void 0?X:typeof Y==="string"?Y:void 0}function Rq(q,Q){if(q.cacheControlFormat!=="anthropic"||Q==="none")return;let J=Q==="long"&&q.supportsLongCacheRetention?"1h":void 0;return{type:"ephemeral",...J?{ttl:J}:{}}}function Tq(q,Q,J){fq(q,J),Iq(Q,J),xq(q,J)}function fq(q,Q){for(let J of q)if(J.role==="system"||J.role==="developer"){Cq(J,Q);return}}function xq(q,Q){for(let J=q.length-1;J>=0;J--){let X=q[J];if(X.role==="user"||X.role==="assistant"||X.role==="tool"){if(uq(X,Q))return}}}function Iq(q,Q){if(!q||q.length===0)return;let J=q[q.length-1];J.cache_control=Q}function Cq(q,Q){return zq(q,Q)}function uq(q,Q){if(q.role==="user"||q.role==="assistant"||q.role==="tool")return zq(q,Q);return!1}function zq(q,Q){let J=q.content;if(typeof J==="string"){if(J.length===0)return!1;return q.content=[{type:"text",text:J,cache_control:Q}],!0}if(!Array.isArray(J))return!1;for(let X=J.length-1;X>=0;X--){let Y=J[X];if(Y?.type==="text"){let V=Y;return V.cache_control=Q,!0}}return!1}function hq(q,Q,J,X){let Y=[],V=($)=>{if($.includes("|")){let W=$.indexOf("|"),z=$.slice(0,W).replace(/[^a-zA-Z0-9_-]/g,"_"),Z=$.slice(W+1).replace(/[^a-zA-Z0-9_-]/g,"_"),S=Z.length>0?`${z}_${Z}`:z;if(S.length<=40)return S;let O=a($).slice(0,8);return`${z.slice(0,Math.max(1,40-O.length-1))}_${O}`}if(q.provider==="openai")return $.length>40?$.slice(0,40):$;return $},j=Zq(Q.messages,q,($)=>V($));if(Q.systemPrompt){let W=q.reasoning&&J.supportsDeveloperRole?"developer":"system";Y.push({role:W,content:M(Q.systemPrompt)})}let F=null;for(let $=0;$<j.length;$++){let W=j[$];if(J.requiresAssistantAfterToolResult&&F==="toolResult"&&W.role==="user")Y.push({role:"assistant",content:"I have processed the tool results."});if(W.role==="user")if(typeof W.content==="string")Y.push({role:"user",content:M(W.content)});else{let z=W.content.map((Z)=>{if(Z.type==="text")return{type:"text",text:M(Z.text)};else return{type:"image_url",image_url:{url:`data:${Z.mimeType};base64,${Z.data}`}}});if(z.length===0)continue;Y.push({role:"user",content:z})}else if(W.role==="assistant"){let z={role:"assistant",content:J.requiresAssistantAfterToolResult?"":null},Z=W.content.filter(r).filter((G)=>G.text.trim().length>0).map((G)=>({type:"text",text:M(G.text)})),S=Z.map((G)=>G.text).join(""),O=W.content.filter(Eq).filter((G)=>G.thinking.trim().length>0);if(O.length>0)if(J.requiresThinkingAsText){let G=O.map((N)=>M(N.thinking)).join(`
|
|
4
4
|
|
|
5
5
|
`);z.content=[{type:"text",text:G},...Z]}else{if(S.length>0)z.content=S;let G=O[0].thinkingSignature;if(q.provider==="opencode-go"&&G==="reasoning")G="reasoning_content";if(G&&G.length>0)z[G]=O.map((N)=>N.thinking).join(`
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
// @bun
|
|
2
2
|
function q(k){let b=3735928559,d=1103547991;for(let f=0;f<k.length;f++){let l=k.charCodeAt(f);b=Math.imul(b^l,2654435761),d=Math.imul(d^l,1597334677)}return b=Math.imul(b^b>>>16,2246822507)^Math.imul(d^d>>>13,3266489909),d=Math.imul(d^d>>>16,2246822507)^Math.imul(b^b>>>13,3266489909),(d>>>0).toString(36)+(b>>>0).toString(36)}
|
|
3
|
-
export{q as
|
|
3
|
+
export{q as im};
|
package/bin/shumai-app.html
CHANGED
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
<meta name="theme-color" content="#ffffff" />
|
|
26
26
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
27
27
|
<title>Shumai</title>
|
|
28
|
-
<link rel="stylesheet" crossorigin href="./chunk-
|
|
28
|
+
<link rel="stylesheet" crossorigin href="./chunk-xr1wr22v.css"><script type="module" crossorigin src="./chunk-hv4t9h3e.js"></script></head>
|
|
29
29
|
<body>
|
|
30
30
|
<div id="root"></div>
|
|
31
31
|
|