showai-reader 0.10.0-reader.ap4b4oap → 0.10.0-reader.bewbunls
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/README.md +1 -1
- package/chunks/CardGrid-XIOKVIEI.js +2 -0
- package/chunks/CommandReference-7FQV6W44.js +3 -0
- package/chunks/ComparisonMatrix-LFBHHO3A.js +1 -0
- package/chunks/{EventTimeline-JOTYNIMI.js → EventTimeline-TS5HI5GA.js} +1 -1
- package/chunks/{ExperimentTracker-CWZCU2QO.js → ExperimentTracker-MSRAHV5J.js} +1 -1
- package/chunks/{ExternalDiagram-WFWITA4Q.js → ExternalDiagram-HKK3NBZH.js} +3 -3
- package/chunks/{Flowchart-DJGFXDXU.js → Flowchart-VG42T332.js} +1 -1
- package/chunks/{G2Chart-YVTXVVRZ.js → G2Chart-QP5UF6HK.js} +2 -2
- package/chunks/LayerDiagram-FHPQBNNP.js +2 -0
- package/chunks/{Mindmap-SB34H5SG.js → Mindmap-E5X5CQBX.js} +1 -1
- package/chunks/RichTextEditor-BA5YF46E.js +156 -0
- package/chunks/{Roadmap-BSPT5PBK.js → Roadmap-QWD7IZHX.js} +1 -1
- package/chunks/{Scene3D-VILMVRHH.js → Scene3D-Q5MGPU3X.js} +2 -2
- package/chunks/SequenceDiagram-AG2F4GAU.js +2 -0
- package/chunks/StatusTree-EHNSDOVH.js +1 -0
- package/chunks/StepGuide-GUW3ELME.js +1 -0
- package/chunks/StructureBrowser-VZYKCSL6.js +3 -0
- package/chunks/{Waterfall-FIQDQSMD.js → Waterfall-A5MPISUU.js} +1 -1
- package/chunks/chunk-5CTTY5BQ.js +2 -0
- package/chunks/chunk-5X5EO4YB.js +9 -0
- package/chunks/chunk-7K7GQKOA.js +1 -0
- package/chunks/{chunk-DTW4F4AN.js → chunk-BZT4BVM4.js} +1 -1
- package/chunks/chunk-GLP5VV7P.js +1 -0
- package/chunks/{chunk-VUDDBRCY.js → chunk-JAQUAFGK.js} +2 -2
- package/chunks/{chunk-5HKZMSJF.js → chunk-KQR52I3G.js} +8 -8
- package/chunks/chunk-L2ZHJIET.js +4 -0
- package/chunks/chunk-M5RCHTSV.js +1 -0
- package/chunks/{chunk-7FHZWI2R.js → chunk-PTZCSSDG.js} +1 -1
- package/chunks/{chunk-5SAGHDIJ.js → chunk-R2RMNI2B.js} +1 -1
- package/chunks/{chunk-X6OHYKIW.js → chunk-RHJ236MQ.js} +1 -1
- package/chunks/{chunk-ISEW5ABW.js → chunk-RLCYUTAH.js} +1 -1
- package/chunks/chunk-UNH6G7NO.js +1 -0
- package/chunks/chunk-VSZNYGH7.js +1 -0
- package/chunks/chunk-WRXJZR6G.js +349 -0
- package/chunks/{chunk-6WTBCWHP.js.LEGAL.txt → chunk-WRXJZR6G.js.LEGAL.txt} +3 -0
- package/index.js +1 -1
- package/manifest.json +5 -5
- package/package.json +1 -1
- package/reader-BEWBUNLS.js +51 -0
- package/chunks/CardGrid-CXO2U3K5.js +0 -2
- package/chunks/CommandReference-E5Y6VMXC.js +0 -3
- package/chunks/ComparisonMatrix-TXTUZF55.js +0 -1
- package/chunks/LayerDiagram-KDSBIPHG.js +0 -2
- package/chunks/RichTextEditor-UH6DBWWT.js +0 -156
- package/chunks/SequenceDiagram-W2YQCHNV.js +0 -2
- package/chunks/StatusTree-57AOX2U2.js +0 -1
- package/chunks/StepGuide-VQRICGFO.js +0 -1
- package/chunks/StructureBrowser-PVPAFYTN.js +0 -3
- package/chunks/chunk-55FJSXTX.js +0 -1
- package/chunks/chunk-6WTBCWHP.js +0 -23
- package/chunks/chunk-7TNODUAV.js +0 -4
- package/chunks/chunk-GREB3PFJ.js +0 -329
- package/chunks/chunk-KYWOOES7.js +0 -2
- package/chunks/chunk-TFZIEWR5.js +0 -1
- package/chunks/chunk-UWAAPX6Y.js +0 -1
- package/reader-AP4B4OAP.js +0 -51
- /package/chunks/{G2Chart-YVTXVVRZ.js.LEGAL.txt → G2Chart-QP5UF6HK.js.LEGAL.txt} +0 -0
- /package/chunks/{Scene3D-VILMVRHH.js.LEGAL.txt → Scene3D-Q5MGPU3X.js.LEGAL.txt} +0 -0
- /package/chunks/{chunk-KYWOOES7.js.LEGAL.txt → chunk-5CTTY5BQ.js.LEGAL.txt} +0 -0
- /package/chunks/{chunk-VUDDBRCY.js.LEGAL.txt → chunk-JAQUAFGK.js.LEGAL.txt} +0 -0
- /package/{reader-AP4B4OAP.js.LEGAL.txt → reader-BEWBUNLS.js.LEGAL.txt} +0 -0
|
@@ -0,0 +1 @@
|
|
|
1
|
+
import{Ab as h,Bb as y,Cb as T,Eb as w,Na as x,c as $,lb as v,mb as u,qb as k,rb as S}from"./chunk-WRXJZR6G.js";import{a as B}from"./chunk-J6IRWTF7.js";import{c as p}from"./chunk-DCANE7XH.js";var n=p(u(),1),A=(e,o=!0)=>(w(),{className:"showai-note","data-showai-note":e,...o?{tabIndex:0}:{}});function g({text:e,focusable:o=!0}){return(0,n.jsx)(n.Fragment,{children:k(e).map((s,i)=>s.type==="note"?(0,n.jsx)("span",{...A(s.note,o),children:s.text},i):s.text)})}function K({text:e}){return(0,n.jsx)(n.Fragment,{children:k(e).map((o,s)=>o.type==="note"?(0,n.jsx)("tspan",{...A(o.note,!1),children:o.text},s):o.text)})}var b=p($(),1);var R=B("blocks",{"zh-CN":{blockActions:"\u7EC4\u4EF6\u64CD\u4F5C",closeSettings:"\u5173\u95ED\u8BBE\u7F6E",editBlock:"\u7F16\u8F91\u533A\u5757"},en:{blockActions:"Block actions",closeSettings:"Close settings",editBlock:"Edit block"}});var t=p(u(),1),C=new Set(["\u6570\u636E\u56FE\u8868|\u6570\u636E\u5E93|\u5173\u952E\u6307\u6807|\u4EA4\u4E92\u8BA1\u7B97|\u56FE\u7247\u753B\u5ECA|\u4EA4\u4E92\u6D41\u7A0B\u56FE|\u601D\u7EF4\u5BFC\u56FE|G2 \u56FE\u8868|\u56FE\u8868","\u67F1\u72B6\u56FE|\u6298\u7EBF\u56FE|\u9762\u79EF\u56FE|\u6563\u70B9\u56FE|\u6C14\u6CE1\u56FE|\u5206\u7EC4\u67F1\u72B6\u56FE|\u53CC\u5411\u6761\u5F62\u56FE|\u96F7\u8FBE\u56FE|\u5F84\u5411\u6761\u5F62\u56FE|\u5E73\u884C\u5750\u6807|\u56DE\u5F52\u66F2\u7EBF","\u997C\u56FE|\u73AF\u56FE|\u5806\u53E0\u67F1\u72B6\u56FE|\u5806\u53E0\u9762\u79EF\u56FE|\u73AB\u7470\u56FE|\u9A6C\u8D5B\u514B\u56FE|\u77E9\u5F62\u6811\u56FE|\u65ED\u65E5\u56FE|\u6F0F\u6597\u56FE","\u76F4\u65B9\u56FE|\u7BB1\u7EBF\u56FE|\u5C0F\u63D0\u7434\u56FE|\u5206\u5E03\u66F2\u7EBF|\u5BC6\u5EA6\u70ED\u529B\u56FE|\u8272\u5757\u56FE|\u7B49\u9AD8\u7EBF\u56FE|\u830E\u53F6\u56FE","\u6851\u57FA\u56FE|\u5F26\u56FE|\u5F27\u56FE|\u5706\u5F62\u6253\u5305\u56FE|\u97E6\u6069\u56FE|\u7518\u7279\u56FE|K \u7EBF\u56FE|Kagi \u8F6C\u5411\u56FE|\u87BA\u65CB\u56FE","\u5206\u7EA7\u8BBE\u8272\u5730\u56FE|\u70B9\u5730\u56FE|\u6C14\u6CE1\u5730\u56FE|\u4EEA\u8868\u76D8|\u5B50\u5F39\u56FE|\u8BCD\u4E91"].join("|").split("|"));function E(e,o){return typeof e=="string"&&e.trim()&&!C.has(e.trim())?S(e):o}function J({title:e,defaultTitle:o,description:s,editable:i,editing:a,onEdit:r,children:f}){let l=h(R),c=(0,b.useContext)(y);(0,b.useLayoutEffect)(()=>{if(!(!c||!a||!r))return c.closeSettings=r,()=>{c.closeSettings===r&&delete c.closeSettings}},[c,a,r]);let m=e?.trim(),d=m&&m!==o&&!C.has(m)?m:"",N=!!(d||s?.trim());return!N&&!f&&!i?null:(0,t.jsxs)("div",{className:`sb-header${N?" has-caption":""}${a?" is-editing":""}`,children:[N&&(0,t.jsxs)("div",{className:"sb-heading",children:[d&&(0,t.jsx)("div",{className:"sb-title",children:(0,t.jsx)(g,{text:d})}),s?.trim()&&(0,t.jsx)("p",{className:"sb-description",children:(0,t.jsx)(g,{text:s})})]}),(f||i)&&(0,t.jsx)(T,{children:(0,t.jsxs)("div",{className:"sb-actions",role:"group","aria-label":l("blockActions"),children:[f,i&&(0,t.jsx)("button",{type:"button",className:`sb-icon-button ${a?"is-active":""}`,onClick:r,"aria-label":l(a?"closeSettings":"editBlock"),title:l(a?"closeSettings":"editBlock"),children:a?(0,t.jsx)(v,{size:16}):(0,t.jsx)(x,{size:16})})]})})]})}function O({icon:e,title:o,description:s,action:i}){return(0,t.jsxs)("div",{className:"sb-empty",children:[e,(0,t.jsx)("strong",{children:o}),s&&(0,t.jsx)("p",{children:s}),i]})}function Q({label:e,children:o,className:s=""}){return(0,t.jsxs)("label",{className:`sb-field ${s}`,children:[(0,t.jsx)("span",{children:e}),o]})}export{A as a,g as b,K as c,E as d,J as e,O as f,Q as g};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import{d as p}from"./chunk-
|
|
1
|
+
import{d as p}from"./chunk-UNH6G7NO.js";var r=t=>{throw new Error(t)},h=t=>!!t&&typeof t=="object"&&!Array.isArray(t);function l(t,i,o){(typeof t!="string"||!t.trim())&&r(`${i} must be non-empty text.`),t.length>o&&r(`${i} must be at most ${o} characters.`)}function a(t,i,o){t!==void 0&&l(t,i,o)}function g(t,i){(typeof t!="string"||!t.trim())&&r(`${i} must be non-empty code.`),t.length>8e3&&r(`${i} must be at most 8000 characters.`)}function b(t,i,o,e,f=!1){(typeof t!="number"||!Number.isFinite(t)||(f?t<=o:t<o)||t>e)&&r(`${i} must be a number ${f?"above":"of at least"} ${o} and at most ${e}.`)}function y(t,i,o,e){(!Number.isInteger(t)||t<o||t>e)&&r(`${i} must be an integer from ${o} to ${e}.`)}function m(t,i,o,e=0){return(!Array.isArray(t)||t.length<e||t.length>o)&&r(`${i} must be an array of ${e} to ${o} items.`),t.forEach((f,n)=>{h(f)||r(`${i}[${n}] must be an object.`)}),t}function u(t,i,o){for(let e of Object.keys(t))i.includes(e)||r(`${o}.${e} is not a known field.`)}var w=["list","focus"],S=["active","wait"],x=["id","title","short","badge","body","code","lang","variants","note","result","cue","wait","timer","segments"];function E(t){a(t.description,"description",600),t.layout!==void 0&&!w.includes(t.layout)&&r(`layout must be one of ${w.join(", ")}.`),t.start!==void 0&&y(t.start,"start",0,999);let i=m(t.steps,"steps",40,1);t.initialStep!==void 0&&y(t.initialStep,"initialStep",0,i.length-1);let o=new Set;i.forEach((e,f)=>{let n=`steps[${f}]`;u(e,x,n),e.id!==void 0&&(l(e.id,`${n}.id`,64),o.has(e.id)&&r(`${n}.id duplicates ${e.id}.`),o.add(e.id)),l(e.title,`${n}.title`,160),a(e.short,`${n}.short`,24),a(e.badge,`${n}.badge`,24),a(e.body,`${n}.body`,3e3);for(let s of["note","result","cue","wait"])a(e[s],`${n}.${s}`,600);if(a(e.lang,`${n}.lang`,24),e.code!==void 0&&g(e.code,`${n}.code`),e.variants!==void 0){e.code!==void 0&&r(`${n} uses either code or variants, not both.`);let s=new Set;m(e.variants,`${n}.variants`,6,1).forEach((c,d)=>{let $=`${n}.variants[${d}]`;u(c,["label","code","lang"],$),l(c.label,`${$}.label`,32),s.has(c.label)&&r(`${$}.label duplicates ${c.label}.`),s.add(c.label),g(c.code,`${$}.code`),a(c.lang,`${$}.lang`,24)})}e.timer!==void 0&&(h(e.timer)||r(`${n}.timer must be an object.`),u(e.timer,["minutes","label"],`${n}.timer`),b(e.timer.minutes,`${n}.timer.minutes`,0,1440,!0),a(e.timer.label,`${n}.timer.label`,40)),e.segments!==void 0&&m(e.segments,`${n}.segments`,8,1).forEach((s,c)=>{let d=`${n}.segments[${c}]`;u(s,["start","minutes","kind"],d),b(s.start,`${d}.start`,0,1e4),b(s.minutes,`${d}.minutes`,0,1e4,!0),S.includes(s.kind)||r(`${d}.kind must be one of ${S.join(", ")}.`)})})}function k(t){a(t.description,"description",600),a(t.placeholder,"placeholder",60),a(t.program,"program",40),t.program!==void 0&&/\s/.test(t.program)&&r("program must be a single word.");let i=new Set;m(t.groups,"groups",16,1).forEach((e,f)=>{let n=`groups[${f}]`;u(e,["id","label"],n),l(e.id,`${n}.id`,64),i.has(e.id)&&r(`${n}.id duplicates ${e.id}.`),i.add(e.id),l(e.label,`${n}.label`,24)});let o=new Set;m(t.commands,"commands",300,1).forEach((e,f)=>{let n=`commands[${f}]`;if(u(e,["id","group","command","summary","detail","params","examples"],n),e.id!==void 0&&(l(e.id,`${n}.id`,64),o.has(e.id)&&r(`${n}.id duplicates ${e.id}.`),o.add(e.id)),l(e.group,`${n}.group`,64),i.has(e.group)||r(`${n}.group ${e.group} does not match a group id.`),l(e.command,`${n}.command`,240),l(e.summary,`${n}.summary`,240),a(e.detail,`${n}.detail`,3e3),e.params!==void 0){let s=new Set;m(e.params,`${n}.params`,40,1).forEach((c,d)=>{let $=`${n}.params[${d}]`;u(c,["name","meaning"],$),l(c.name,`${$}.name`,80),s.has(c.name)&&r(`${$}.name duplicates ${c.name}.`),s.add(c.name),l(c.meaning,`${$}.meaning`,400)})}e.examples!==void 0&&m(e.examples,`${n}.examples`,6,1).forEach((s,c)=>{let d=`${n}.examples[${c}]`;u(s,["label","code"],d),a(s.label,`${d}.label`,40),g(s.code,`${d}.code`)})})}function T(t,i){return h(i)||r("Component data must be an object."),a(i.title,"title",120),t==="step-guide"?E(i):t==="command-reference"?k(i):r(`Unknown doc reference component ${t}.`),i}function A(t){let i=0,o=0,e=0;for(let f of t)for(let n of f.segments??[])n.kind==="active"?i+=n.minutes:o+=n.minutes,e=Math.max(e,n.start+n.minutes);return{active:i,wait:o,total:e}}function C(t){if(!(t>0))return[];let i=[5,10,15,30,60,120,240,480].find(e=>t/e<=8)??Math.ceil(t/8/60)*60,o=[];for(let e=0;e<=t;e+=i)o.push(e);return o}function O(t){return[...new Set(t.toLowerCase().split(/\s+/).filter(Boolean))]}function L(t,i){let o=[t.command,p(t.summary),...(t.params??[]).map(e=>`${e.name} ${e.meaning}`)].map(e=>e.toLowerCase());return i.every(e=>o.some(f=>f.includes(e)))}function M(t,i){let o=t.toLowerCase(),e=[];for(let n of i)for(let s=o.indexOf(n);s>=0;s=o.indexOf(n,s+n.length))e.push([s,s+n.length]);e.sort((n,s)=>n[0]-s[0]);let f=[];for(let n of e){let s=f[f.length-1];s&&n[0]<=s[1]?s[1]=Math.max(s[1],n[1]):f.push([n[0],n[1]])}return f}export{T as a,A as b,C as c,O as d,L as e,M as f};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
var b=new Set(["request","skill","decision","reference","query","result"]),E=new Set(["__proto__","prototype","constructor"]),y=["ok","warn","bad","idle","active"],p=new Set(y);function s(e,n,o=!1,t=1e4){if(!(e===void 0&&!o)&&(typeof e!="string"||e.length>t||o&&!e.trim()))throw new Error(`${n} must be ${o?"non-empty ":""}text.`)}function l(e,n,o){if(!Array.isArray(e)||e.length>o)throw new Error(`${n} must contain at most ${o} items.`);let t=new Set;for(let r of e){if(!r||typeof r!="object"||Array.isArray(r))throw new Error(`${n} requires objects.`);if(s(r.id,`${n}.id`,!0,200),E.has(r.id)||t.has(r.id))throw new Error(`${n} requires unique, non-reserved IDs.`);t.add(r.id)}return t}function A(e){if(s(e.title,"flowchart.title"),s(e.description,"flowchart.description"),e.height!==void 0&&(!Number.isFinite(e.height)||e.height<360||e.height>1200))throw new Error("Flowchart height must be between 360 and 1200.");l(e.flows,"flowchart.flows",20);for(let n of e.flows){if(s(n.label,"flow.label",!0,200),s(n.description,"flow.description"),n.direction!==void 0&&!["TB","LR"].includes(n.direction))throw new Error("Flow direction must be TB or LR.");let o=l(n.nodes,"flow.nodes",200);l(n.edges,"flow.edges",400);for(let t of n.nodes){s(t.label,"node.label",!0,200),s(t.subtitle,"node.subtitle",!1,300),s(t.detail,"node.detail");for(let r of["sourceSide","targetSide"])if(t[r]!==void 0&&!["top","bottom","left","right"].includes(t[r]))throw new Error(`${r} must be a valid connection side.`);if(t.kind!==void 0&&!b.has(t.kind))throw new Error("Unsupported flow node kind.");for(let r of["commands","references"])if(t[r]!==void 0){if(!Array.isArray(t[r])||t[r].length>30)throw new Error(`${r} must have at most 30 entries.`);t[r].forEach(d=>s(d,r,!0,3e3))}if(t.position&&(!Number.isFinite(t.position.x)||!Number.isFinite(t.position.y)))throw new Error("Node positions must be finite.")}for(let t of n.edges){if(!o.has(t.source)||!o.has(t.target))throw new Error(`Flow edge ${t.id} references a missing node.`);s(t.label,"edge.label",!1,300)}S(n,`flowchart.flows[${e.flows.indexOf(n)}]`)}return e}function $(e,n){if(!e||typeof e!="object"||Array.isArray(e))throw new Error(`${n} must be an object.`)}function S(e,n){let o=new Set(e.nodes.map(r=>r.id)),t=new Map(e.edges.map(r=>[r.id,r]));if(e.journeys!==void 0){let r=l(e.journeys,`${n}.journeys`,12);if(e.journeys.forEach((d,a)=>{let f=`${n}.journeys[${a}]`;if(s(d.label,`${f}.label`,!0,200),s(d.summary,`${f}.summary`,!1,1e3),!Array.isArray(d.steps)||!d.steps.length||d.steps.length>60)throw new Error(`${f}.steps must contain 1 to 60 steps.`);d.steps.forEach((i,h)=>{let c=`${f}.steps[${h}]`;if($(i,c),!o.has(i.node))throw new Error(`${c}.node references a missing node.`);if(s(i.title,`${c}.title`,!0,200),s(i.text,`${c}.text`,!0,3e3),i.edge===void 0)return;let u=t.get(i.edge);if(!u)throw new Error(`${c}.edge references a missing edge.`);if(u.source!==i.node&&u.target!==i.node)throw new Error(`${c}.edge must connect to node ${i.node}.`)})}),e.initialJourney!==void 0&&!r.has(e.initialJourney))throw new Error(`${n}.initialJourney references a missing journey.`)}else if(e.initialJourney!==void 0)throw new Error(`${n}.initialJourney requires journeys.`);if(e.stages!==void 0){let r=l(e.stages,`${n}.stages`,30);if(e.stages.forEach((d,a)=>{let f=`${n}.stages[${a}]`;s(d.label,`${f}.label`,!0,200),s(d.summary,`${f}.summary`,!1,3e3);for(let[i,h,c]of[["nodes",o,"note"],["edges",t,"label"]]){if(d[i]===void 0)continue;$(d[i],`${f}.${i}`);let u=Object.entries(d[i]);if(u.length>(i==="nodes"?200:400))throw new Error(`${f}.${i} has too many entries.`);for(let[m,g]of u){let w=`${f}.${i}.${m}`;if(!h.has(m))throw new Error(`${w} references a missing ${i==="nodes"?"node":"edge"}.`);if($(g,w),!p.has(g.state))throw new Error(`${w}.state must be one of ${y.join(", ")}.`);s(g[c],`${w}.${c}`,!1,300)}}}),e.initialStage!==void 0&&!r.has(e.initialStage))throw new Error(`${n}.initialStage references a missing stage.`)}else if(e.initialStage!==void 0)throw new Error(`${n}.initialStage requires stages.`)}function j(e,n){return n.steps.map((o,t)=>{if(o.edge!==void 0)return o.edge;let r=n.steps[t-1]?.node;return r===void 0||r===o.node?void 0:(e.edges.find(a=>a.source===r&&a.target===o.node)??e.edges.find(a=>a.source===o.node&&a.target===r))?.id})}export{A as a,j as b};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import{c as p}from"./chunk-
|
|
2
|
-
/*! For license information please see chunk-
|
|
1
|
+
import{c as p}from"./chunk-WRXJZR6G.js";import{a as d}from"./chunk-DCANE7XH.js";var w=d(V=>{"use strict";var f=p();function q(e,u){return e===u&&(e!==0||1/e===1/u)||e!==e&&u!==u}var z=typeof Object.is=="function"?Object.is:q,I=f.useState,M=f.useEffect,_=f.useLayoutEffect,g=f.useDebugValue;function G(e,u){var t=u(),s=I({inst:{value:t,getSnapshot:u}}),r=s[0].inst,n=s[1];return _(function(){r.value=t,r.getSnapshot=u,E(r)&&n({inst:r})},[e,t,u]),M(function(){return E(r)&&n({inst:r}),e(function(){E(r)&&n({inst:r})})},[e]),g(t),t}function E(e){var u=e.getSnapshot;e=e.value;try{var t=u();return!z(e,t)}catch{return!0}}function L(e,u){return u()}var $=typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"?L:G;V.useSyncExternalStore=f.useSyncExternalStore!==void 0?f.useSyncExternalStore:$});var D=d((P,h)=>{"use strict";h.exports=w()});var R=d(O=>{"use strict";var m=p(),k=D();function C(e,u){return e===u&&(e!==0||1/e===1/u)||e!==e&&u!==u}var U=typeof Object.is=="function"?Object.is:C,W=k.useSyncExternalStore,A=m.useRef,B=m.useEffect,F=m.useMemo,H=m.useDebugValue;O.useSyncExternalStoreWithSelector=function(e,u,t,s,r){var n=A(null);if(n.current===null){var i={hasValue:!1,value:null};n.current=i}else i=n.current;n=F(function(){function y(o){if(!j){if(j=!0,l=o,o=s(o),r!==void 0&&i.hasValue){var c=i.value;if(r(c,o))return v=c}return v=o}if(c=v,U(l,o))return c;var b=s(o);return r!==void 0&&r(c,b)?(l=o,c):(l=o,v=b)}var j=!1,l,v,S=t===void 0?null:t;return[function(){return y(u())},S===null?void 0:function(){return y(S())}]},[u,t,s,r]);var a=W(e,n[0],n[1]);return B(function(){i.hasValue=!0,i.value=a},[a]),H(a),a}});var J=d((T,N)=>{"use strict";N.exports=R()});export{D as a,J as b};
|
|
2
|
+
/*! For license information please see chunk-JAQUAFGK.js.LEGAL.txt */
|