showai-reader 0.10.0-reader.pmhbvync → 0.10.0-reader.rlgtl4ag

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.
Files changed (63) hide show
  1. package/README.md +1 -1
  2. package/chunks/CardGrid-2YIDC7WN.js +2 -0
  3. package/chunks/CommandReference-WFVW3NGJ.js +3 -0
  4. package/chunks/ComparisonMatrix-VLKYNZGW.js +1 -0
  5. package/chunks/{EventTimeline-JOTYNIMI.js → EventTimeline-CZ5H3KFR.js} +1 -1
  6. package/chunks/{ExperimentTracker-CWZCU2QO.js → ExperimentTracker-X54VMIP4.js} +1 -1
  7. package/chunks/{ExternalDiagram-WFWITA4Q.js → ExternalDiagram-4YPOLN5P.js} +14 -14
  8. package/chunks/{Flowchart-DJGFXDXU.js → Flowchart-NF7DISE3.js} +1 -1
  9. package/chunks/{G2Chart-YVTXVVRZ.js → G2Chart-6OYHYTZG.js} +2 -2
  10. package/chunks/LayerDiagram-UIIXNYD4.js +2 -0
  11. package/chunks/{Mindmap-SB34H5SG.js → Mindmap-4ZEIMJJR.js} +1 -1
  12. package/chunks/RichTextEditor-YUH3JEI6.js +157 -0
  13. package/chunks/{Roadmap-BSPT5PBK.js → Roadmap-SPBF7DMS.js} +1 -1
  14. package/chunks/{Scene3D-VILMVRHH.js → Scene3D-Q2SNC4ON.js} +2 -2
  15. package/chunks/SequenceDiagram-WNAPJU4P.js +2 -0
  16. package/chunks/StatusTree-FRWHUMOY.js +1 -0
  17. package/chunks/StepGuide-E73WCPQL.js +1 -0
  18. package/chunks/StructureBrowser-OXUHMI5L.js +3 -0
  19. package/chunks/{Waterfall-FIQDQSMD.js → Waterfall-XTV3FJRF.js} +1 -1
  20. package/chunks/chunk-2IQCLIMN.js +1 -0
  21. package/chunks/chunk-5CTTY5BQ.js +2 -0
  22. package/chunks/chunk-B53J3B5N.js +1 -0
  23. package/chunks/{chunk-7FHZWI2R.js → chunk-BNJW5TG7.js} +1 -1
  24. package/chunks/chunk-GLP5VV7P.js +1 -0
  25. package/chunks/chunk-J3Y3KTFE.js +1 -0
  26. package/chunks/{chunk-5HKZMSJF.js → chunk-KQR52I3G.js} +8 -8
  27. package/chunks/{chunk-VUDDBRCY.js → chunk-MHALGZNX.js} +2 -2
  28. package/chunks/chunk-MODACY2J.js +2 -0
  29. package/chunks/{chunk-5SAGHDIJ.js → chunk-MQJ2FUF2.js} +1 -1
  30. package/chunks/chunk-P7CZK7UC.js +4 -0
  31. package/chunks/chunk-QL7Q3C56.js +1 -0
  32. package/chunks/chunk-UGHMJV2J.js +354 -0
  33. package/chunks/{chunk-6WTBCWHP.js.LEGAL.txt → chunk-UGHMJV2J.js.LEGAL.txt} +6 -1
  34. package/chunks/chunk-WFTLPU4D.js +9 -0
  35. package/chunks/{chunk-ISEW5ABW.js → chunk-WYWMDWO3.js} +1 -1
  36. package/chunks/{chunk-DTW4F4AN.js → chunk-XDEJSQWY.js} +1 -1
  37. package/index.js +1 -1
  38. package/manifest.json +5 -5
  39. package/package.json +1 -1
  40. package/reader-RLGTL4AG.js +67 -0
  41. package/chunks/CardGrid-CXO2U3K5.js +0 -2
  42. package/chunks/CommandReference-E5Y6VMXC.js +0 -3
  43. package/chunks/ComparisonMatrix-TXTUZF55.js +0 -1
  44. package/chunks/LayerDiagram-KDSBIPHG.js +0 -2
  45. package/chunks/RichTextEditor-SMQMXUUN.js +0 -156
  46. package/chunks/SequenceDiagram-W2YQCHNV.js +0 -2
  47. package/chunks/StatusTree-57AOX2U2.js +0 -1
  48. package/chunks/StepGuide-VQRICGFO.js +0 -1
  49. package/chunks/StructureBrowser-PVPAFYTN.js +0 -3
  50. package/chunks/chunk-55FJSXTX.js +0 -1
  51. package/chunks/chunk-6WTBCWHP.js +0 -23
  52. package/chunks/chunk-7TNODUAV.js +0 -4
  53. package/chunks/chunk-GREB3PFJ.js +0 -329
  54. package/chunks/chunk-KYWOOES7.js +0 -2
  55. package/chunks/chunk-TFZIEWR5.js +0 -1
  56. package/chunks/chunk-UWAAPX6Y.js +0 -1
  57. package/chunks/chunk-X6OHYKIW.js +0 -2
  58. package/reader-PMHBVYNC.js +0 -51
  59. /package/chunks/{G2Chart-YVTXVVRZ.js.LEGAL.txt → G2Chart-6OYHYTZG.js.LEGAL.txt} +0 -0
  60. /package/chunks/{Scene3D-VILMVRHH.js.LEGAL.txt → Scene3D-Q2SNC4ON.js.LEGAL.txt} +0 -0
  61. /package/chunks/{chunk-KYWOOES7.js.LEGAL.txt → chunk-5CTTY5BQ.js.LEGAL.txt} +0 -0
  62. /package/chunks/{chunk-VUDDBRCY.js.LEGAL.txt → chunk-MHALGZNX.js.LEGAL.txt} +0 -0
  63. /package/{reader-PMHBVYNC.js.LEGAL.txt → reader-RLGTL4AG.js.LEGAL.txt} +0 -0
@@ -0,0 +1,67 @@
1
+ import{a as Q6,b as n7}from"./chunks/chunk-QL7Q3C56.js";import{a as Eo}from"./chunks/chunk-2IQCLIMN.js";import{$ as c6,$a as Y6,A as gu,Aa as D6,B as Q5,Ba as W1,C as e6,Ca as I6,D as xl,Da as Tu,E as $s,Ea as R6,F as O1,Fa as P6,G as t6,Ga as O6,H as a6,Ha as L6,I as Qs,Ia as B6,J as ec,Ja as H6,K as L1,Ka as K1,L as B1,La as j6,M as Zt,Ma as zu,N as bu,Na as Y1,O as H1,Oa as U6,P as j1,Pa as Cl,Q as tc,Qa as _6,R as U1,Ra as V6,S as n6,Sa as Z6,T as o6,Ta as G6,U as r6,Ua as F6,V as i6,Va as q6,W as wl,Wa as W6,X as l6,Xa as J1,Y as s6,Ya as K6,Z as Zn,Za as Eu,_ as nt,_a as Qo,a as Ys,aa as ja,ab as J6,b as G5,ba as d6,bb as X6,c as So,ca as u6,cb as $6,d as hl,da as _1,db as la,e as Pr,ea as hu,eb as Du,f as uu,fa as Ua,fb as Q1,g as yl,ga as p6,gb as Va,h as F5,ha as yu,hb as g7,i as Js,ia as V1,ib as Mu,j as pu,ja as Z1,jb as b7,k as q5,ka as m6,kb as Lr,l as Xs,la as f6,lb as t0,m as W5,ma as To,mb as a0,n as vl,na as g6,nb as h7,o as K5,oa as b6,ob as y7,p as Y5,pa as h6,pb as x7,q as Co,qa as y6,r as I1,ra as kl,rb as w7,s as Or,sa as w6,t as mu,ta as vu,u as R1,ua as Sl,v as fu,va as k6,w as J5,wa as G1,x as P1,xa as S6,y as X5,z as $5,za as F1}from"./chunks/chunk-WFTLPU4D.js";import{h as Cu}from"./chunks/chunk-3RZMLHCB.js";import{b as A6}from"./chunks/chunk-JXKAISUX.js";import{a as E6}from"./chunks/chunk-C4JCEMQN.js";import{F as e7,K as t7,L as a7,b as z6}from"./chunks/chunk-KQR52I3G.js";import{a as Nu,b as se,c as El,d as zo,e as Fn,f as qn,g as X1,h as u7,i as $1,j as Nl}from"./chunks/chunk-SNEZ3O5V.js";import{a as M6}from"./chunks/chunk-77DN5DLU.js";import{a as N6,b as xu,c as wu}from"./chunks/chunk-AIBH6MTQ.js";import{a as ku}from"./chunks/chunk-XDEJSQWY.js";import{f as Su}from"./chunks/chunk-WYWMDWO3.js";import"./chunks/chunk-J3Y3KTFE.js";import{a as Au}from"./chunks/chunk-MENLQ7WW.js";import{a as p7,b as m7}from"./chunks/chunk-5CTTY5BQ.js";import{a as i7,b as l7,c as s7,d as c7,e as d7}from"./chunks/chunk-BNJW5TG7.js";import{a as T6}from"./chunks/chunk-GLP5VV7P.js";import"./chunks/chunk-5AW2WUSZ.js";import{b as C6}from"./chunks/chunk-DG67SWQA.js";import{b as q1}from"./chunks/chunk-KF47DKNH.js";import{a as f7,b as e0,d as _a,e as o0,f as r0,g as v7,h as Za,i as ma,j as xa,k as je}from"./chunks/chunk-B53J3B5N.js";import{$ as x5,A as z1,Aa as M5,B as _n,Ba as A5,Bb as zl,C as Mr,Ca as I5,Cb as le,D as l5,Db as n0,E as s5,Ea as jt,F as c5,Fa as R5,G as tu,Ga as P5,J as d5,Ja as O5,K as fl,Ka as lu,L as u5,La as L5,M as Ar,N as p5,Na as su,O as m5,Oa as Rr,P as f5,Pa as Ks,Q as Di,Qa as B5,R as g5,S as Ir,Sa as H5,T as b5,Ta as j5,U as au,V as h5,Va as U5,W as y5,Wa as cu,X as E1,Y as nu,Z as v5,a as rt,b as Ym,c as De,d as Jm,da as w5,e as Xm,eb as ia,f as $m,fa as N1,fb as _5,g as Qm,gb as M1,h as e5,ha as k5,i as t5,ia as D1,j as Xd,ja as S5,jb as du,k as a5,ka as ou,kb as A1,l as n5,lb as V5,m as ml,ma as C5,mb as Z5,n as o5,na as T5,nb as Xa,oa as ru,ob as de,p as C1,pa as qs,pb as Vn,q as Dr,qa as z5,r as Ni,ra as gl,t as r5,tb as Gn,u as $d,ua as bl,ub as v6,v as Qd,va as E5,w as eu,wa as N5,x as i5,xa as iu,y as T1,ya as D5,z as Ha,za as Ws,zb as x6}from"./chunks/chunk-UGHMJV2J.js";import{a as ct,b as o7,c as Tl,d as r7,f as kt}from"./chunks/chunk-J6IRWTF7.js";import{a as pl,c as W}from"./chunks/chunk-DCANE7XH.js";var I7=pl(Gt=>{"use strict";function Ou(e,t){var a=e.length;e.push(t);e:for(;0<a;){var n=a-1>>>1,o=e[n];if(0<l0(o,t))e[n]=t,e[a]=o,a=n;else break e}}function Do(e){return e.length===0?null:e[0]}function c0(e){if(e.length===0)return null;var t=e[0],a=e.pop();if(a!==t){e[0]=a;e:for(var n=0,o=e.length,r=o>>>1;n<r;){var i=2*(n+1)-1,l=e[i],s=i+1,c=e[s];if(0>l0(l,a))s<o&&0>l0(c,l)?(e[n]=c,e[s]=a,n=s):(e[n]=l,e[i]=a,n=i);else if(s<o&&0>l0(c,a))e[n]=c,e[s]=a,n=s;else break e}}return t}function l0(e,t){var a=e.sortIndex-t.sortIndex;return a!==0?a:e.id-t.id}Gt.unstable_now=void 0;typeof performance=="object"&&typeof performance.now=="function"?(S7=performance,Gt.unstable_now=function(){return S7.now()}):(Iu=Date,C7=Iu.now(),Gt.unstable_now=function(){return Iu.now()-C7});var S7,Iu,C7,er=[],Br=[],Sx=1,Wn=null,Ga=3,Lu=!1,ac=!1,nc=!1,Bu=!1,E7=typeof setTimeout=="function"?setTimeout:null,N7=typeof clearTimeout=="function"?clearTimeout:null,T7=typeof setImmediate<"u"?setImmediate:null;function s0(e){for(var t=Do(Br);t!==null;){if(t.callback===null)c0(Br);else if(t.startTime<=e)c0(Br),t.sortIndex=t.expirationTime,Ou(er,t);else break;t=Do(Br)}}function Hu(e){if(nc=!1,s0(e),!ac)if(Do(er)!==null)ac=!0,Al||(Al=!0,Ml());else{var t=Do(Br);t!==null&&ju(Hu,t.startTime-e)}}var Al=!1,oc=-1,D7=5,M7=-1;function A7(){return Bu?!0:!(Gt.unstable_now()-M7<D7)}function Ru(){if(Bu=!1,Al){var e=Gt.unstable_now();M7=e;var t=!0;try{e:{ac=!1,nc&&(nc=!1,N7(oc),oc=-1),Lu=!0;var a=Ga;try{t:{for(s0(e),Wn=Do(er);Wn!==null&&!(Wn.expirationTime>e&&A7());){var n=Wn.callback;if(typeof n=="function"){Wn.callback=null,Ga=Wn.priorityLevel;var o=n(Wn.expirationTime<=e);if(e=Gt.unstable_now(),typeof o=="function"){Wn.callback=o,s0(e),t=!0;break t}Wn===Do(er)&&c0(er),s0(e)}else c0(er);Wn=Do(er)}if(Wn!==null)t=!0;else{var r=Do(Br);r!==null&&ju(Hu,r.startTime-e),t=!1}}break e}finally{Wn=null,Ga=a,Lu=!1}t=void 0}}finally{t?Ml():Al=!1}}}var Ml;typeof T7=="function"?Ml=function(){T7(Ru)}:typeof MessageChannel<"u"?(Pu=new MessageChannel,z7=Pu.port2,Pu.port1.onmessage=Ru,Ml=function(){z7.postMessage(null)}):Ml=function(){E7(Ru,0)};var Pu,z7;function ju(e,t){oc=E7(function(){e(Gt.unstable_now())},t)}Gt.unstable_IdlePriority=5;Gt.unstable_ImmediatePriority=1;Gt.unstable_LowPriority=4;Gt.unstable_NormalPriority=3;Gt.unstable_Profiling=null;Gt.unstable_UserBlockingPriority=2;Gt.unstable_cancelCallback=function(e){e.callback=null};Gt.unstable_forceFrameRate=function(e){0>e||125<e?console.error("forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported"):D7=0<e?Math.floor(1e3/e):5};Gt.unstable_getCurrentPriorityLevel=function(){return Ga};Gt.unstable_next=function(e){switch(Ga){case 1:case 2:case 3:var t=3;break;default:t=Ga}var a=Ga;Ga=t;try{return e()}finally{Ga=a}};Gt.unstable_requestPaint=function(){Bu=!0};Gt.unstable_runWithPriority=function(e,t){switch(e){case 1:case 2:case 3:case 4:case 5:break;default:e=3}var a=Ga;Ga=e;try{return t()}finally{Ga=a}};Gt.unstable_scheduleCallback=function(e,t,a){var n=Gt.unstable_now();switch(typeof a=="object"&&a!==null?(a=a.delay,a=typeof a=="number"&&0<a?n+a:n):a=n,e){case 1:var o=-1;break;case 2:o=250;break;case 5:o=1073741823;break;case 4:o=1e4;break;default:o=5e3}return o=a+o,e={id:Sx++,callback:t,priorityLevel:e,startTime:a,expirationTime:o,sortIndex:-1},a>n?(e.sortIndex=a,Ou(Br,e),Do(er)===null&&e===Do(Br)&&(nc?(N7(oc),oc=-1):nc=!0,ju(Hu,a-n))):(e.sortIndex=o,Ou(er,e),ac||Lu||(ac=!0,Al||(Al=!0,Ml()))),e};Gt.unstable_shouldYield=A7;Gt.unstable_wrapCallback=function(e){var t=Ga;return function(){var a=Ga;Ga=t;try{return e.apply(this,arguments)}finally{Ga=a}}}});var P7=pl((az,R7)=>{"use strict";R7.exports=I7()});var wb=pl(G2=>{"use strict";var ba=P7(),xf=De(),Cx=Vn();function ne(e){var t="https://react.dev/errors/"+e;if(1<arguments.length){t+="?args[]="+encodeURIComponent(arguments[1]);for(var a=2;a<arguments.length;a++)t+="&args[]="+encodeURIComponent(arguments[a])}return"Minified React error #"+e+"; visit "+t+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}function wf(e){return!(!e||e.nodeType!==1&&e.nodeType!==9&&e.nodeType!==11)}function Fc(e){for(var t=e,a=t;a&&!a.alternate;)t=a,(t.flags&4098)!==0&&(e=t.return),a=t.return;for(;t.return;)t=t.return;return t.tag===3?e:null}function kf(e){if(e.tag===13){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function Sf(e){if(e.tag===31){var t=e.memoizedState;if(t===null&&(e=e.alternate,e!==null&&(t=e.memoizedState)),t!==null)return t.dehydrated}return null}function O7(e){if(Fc(e)!==e)throw Error(ne(188))}function Tx(e){var t=e.alternate;if(!t){if(t=Fc(e),t===null)throw Error(ne(188));return t!==e?null:e}for(var a=e,n=t;;){var o=a.return;if(o===null)break;var r=o.alternate;if(r===null){if(n=o.return,n!==null){a=n;continue}break}if(o.child===r.child){for(r=o.child;r;){if(r===a)return O7(o),e;if(r===n)return O7(o),t;r=r.sibling}throw Error(ne(188))}if(a.return!==n.return)a=o,n=r;else{for(var i=!1,l=o.child;l;){if(l===a){i=!0,a=o,n=r;break}if(l===n){i=!0,n=o,a=r;break}l=l.sibling}if(!i){for(l=r.child;l;){if(l===a){i=!0,a=r,n=o;break}if(l===n){i=!0,n=r,a=o;break}l=l.sibling}if(!i)throw Error(ne(189))}}if(a.alternate!==n)throw Error(ne(190))}if(a.tag!==3)throw Error(ne(188));return a.stateNode.current===a?e:t}function Cf(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e;for(e=e.child;e!==null;){if(t=Cf(e),t!==null)return t;e=e.sibling}return null}function pn(e,t,a,n,o,r){for(;e!==null;){if((e.tag===5||e.tag===27||e.tag===6)&&a(e,n,o,r)||(e.tag!==22||e.memoizedState===null)&&(t||e.tag!==5&&e.tag!==27)&&pn(e.child,t,a,n,o,r))return!0;e=e.sibling}return!1}function Ji(e){for(e=e.return;e!==null;){if(e.tag===3||e.tag===5||e.tag===27)return e;e=e.return}return null}function L7(e){var t=!1;for(e=e.return;e!==null&&(e.tag===4&&(t=!0),!(e.tag===3||e.tag===5||e.tag===27));)e=e.return;return t}function Tf(e){var t=[null,null],a=Ji(e);return a===null||zf(t,e,a.child,{foundSelf:!1}),t}function zf(e,t,a,n){for(;a!==null;){if(a===t)n.foundSelf=!0;else if(a.tag===5||a.tag===27||a.tag===6){if(n.foundSelf)return e[1]=a,!0;e[0]=a}else if((a.tag!==22||a.memoizedState===null)&&zf(e,t,a.child,n))return!0;a=a.sibling}return!1}function ga(e){switch(e.tag){case 5:case 27:case 6:return e.stateNode;case 3:return e.stateNode.containerInfo;default:throw Error(ne(559))}}var Hl=null,hp=null;function zx(e,t,a){return e===a?!0:e===t?(Hl=e,!0):!1}function Ex(e,t,a){return e===a?(hp=e,!1):e===t?(hp!==null&&(Hl=e),!0):!1}function B7(e){if(e===null)return null;do e=e===null?null:e.return;while(e&&e.tag!==5&&e.tag!==27&&e.tag!==3);return e||null}function yp(e,t,a){for(var n=0,o=e;o;o=a(o))n++;o=0;for(var r=t;r;r=a(r))o++;for(;0<n-o;)e=a(e),n--;for(;0<o-n;)t=a(t),o--;for(;n--;){if(e===t||t!==null&&e===t.alternate)return e;e=a(e),t=a(t)}return null}var Rt=Object.assign,Nx=Symbol.for("react.element"),d0=Symbol.for("react.transitional.element"),uc=Symbol.for("react.portal"),jl=Symbol.for("react.fragment"),Ef=Symbol.for("react.strict_mode"),vp=Symbol.for("react.profiler"),Nf=Symbol.for("react.consumer"),Oo=Symbol.for("react.context"),N3=Symbol.for("react.forward_ref"),xp=Symbol.for("react.suspense"),wp=Symbol.for("react.suspense_list"),D3=Symbol.for("react.memo"),_r=Symbol.for("react.lazy"),kp=Symbol.for("react.activity"),Dx=Symbol.for("react.legacy_hidden"),Mx=Symbol.for("react.memo_cache_sentinel"),Sp=Symbol.for("react.view_transition"),Ax=Symbol.for("react.recoverable"),H7=Symbol.iterator;function rc(e){return e===null||typeof e!="object"?null:(e=H7&&e[H7]||e["@@iterator"],typeof e=="function"?e:null)}var Ix=Symbol.for("react.client.reference");function Cp(e){if(e==null)return null;if(typeof e=="function")return e.$$typeof===Ix?null:e.displayName||e.name||null;if(typeof e=="string")return e;switch(e){case jl:return"Fragment";case vp:return"Profiler";case Ef:return"StrictMode";case xp:return"Suspense";case wp:return"SuspenseList";case kp:return"Activity";case Sp:return"ViewTransition"}if(typeof e=="object")switch(e.$$typeof){case uc:return"Portal";case Oo:return e.displayName||"Context";case Nf:return(e._context.displayName||"Context")+".Consumer";case N3:var t=e.render;return e=e.displayName,e||(e=t.displayName||t.name||"",e=e!==""?"ForwardRef("+e+")":"ForwardRef"),e;case D3:return t=e.displayName||null,t!==null?t:Cp(e.type)||"Memo";case _r:t=e._payload,e=e._init;try{return Cp(e(t))}catch{}}return null}var pc=Array.isArray,_e=xf.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,yt=Cx.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,Bi={pending:!1,data:null,method:null,action:null},Tp=[],Ul=-1;function Vo(e){return{current:e}}function Da(e){0>Ul||(e.current=Tp[Ul],Tp[Ul]=null,Ul--)}function Vt(e,t){Ul++,Tp[Ul]=e.current,e.current=t}var jo=Vo(null),Dc=Vo(null),Jr=Vo(null),J0=Vo(null);function X0(e,t){switch(Vt(Jr,t),Vt(Dc,e),Vt(jo,null),t.nodeType){case 9:case 11:e=(e=t.documentElement)&&(e=e.namespaceURI)?$8(e):0;break;default:if(e=t.tagName,t=t.namespaceURI)t=$8(t),e=J9(t,e);else switch(e){case"svg":e=1;break;case"math":e=2;break;default:e=0}}Da(jo),Vt(jo,e)}function is(){Da(jo),Da(Dc),Da(Jr)}function zp(e){var t=e.memoizedState;t!==null&&(bs._currentValue=t.memoizedState,Vt(J0,e)),t=jo.current;var a=J9(t,e.type);t!==a&&(Vt(Dc,e),Vt(jo,a))}function $0(e){Dc.current===e&&(Da(jo),Da(Dc)),J0.current===e&&(Da(J0),bs._currentValue=Bi)}var Uu,j7;function jr(e){if(Uu===void 0)try{throw Error()}catch(a){var t=a.stack.trim().match(/\n( *(at )?)/);Uu=t&&t[1]||"",j7=-1<a.stack.indexOf(`
2
+ at`)?" (<anonymous>)":-1<a.stack.indexOf("@")?"@unknown:0:0":""}return`
3
+ `+Uu+e+j7}var _u=!1;function Vu(e,t){if(!e||_u)return"";_u=!0;var a=Error.prepareStackTrace;Error.prepareStackTrace=void 0;try{var n={DetermineComponentFrameRoot:function(){try{if(t){var f=function(){throw Error()};if(Object.defineProperty(f.prototype,"props",{set:function(){throw Error()}}),typeof Reflect=="object"&&Reflect.construct){try{Reflect.construct(f,[])}catch(b){var u=b}Reflect.construct(e,[],f)}else{try{f.call()}catch(b){u=b}f=!1;try{var g=Object.getOwnPropertyDescriptor(e.prototype,"props");Object.defineProperty(e.prototype,"props",{configurable:!0,set:function(){throw Error()}}),f=!0,new e}finally{f&&(g!==void 0?Object.defineProperty(e.prototype,"props",g):delete e.prototype.props)}}}else{try{throw Error()}catch(b){u=b}(f=e())&&typeof f.catch=="function"&&f.catch(function(){})}}catch(b){if(b&&u&&typeof b.stack=="string")return[b.stack,u.stack]}return[null,null]}};n.DetermineComponentFrameRoot.displayName="DetermineComponentFrameRoot";var o=Object.getOwnPropertyDescriptor(n.DetermineComponentFrameRoot,"name");o&&o.configurable&&Object.defineProperty(n.DetermineComponentFrameRoot,"name",{value:"DetermineComponentFrameRoot"});var r=n.DetermineComponentFrameRoot(),i=r[0],l=r[1];if(i&&l){var s=i.split(`
4
+ `),c=l.split(`
5
+ `);for(o=n=0;n<s.length&&!s[n].includes("DetermineComponentFrameRoot");)n++;for(;o<c.length&&!c[o].includes("DetermineComponentFrameRoot");)o++;if(n===s.length||o===c.length)for(n=s.length-1,o=c.length-1;1<=n&&0<=o&&s[n]!==c[o];)o--;for(;1<=n&&0<=o;n--,o--)if(s[n]!==c[o]){if(n!==1||o!==1)do if(n--,o--,0>o||s[n]!==c[o]){var d=`
6
+ `+s[n].replace(" at new "," at ");return e.displayName&&d.includes("<anonymous>")&&(d=d.replace("<anonymous>",e.displayName)),d}while(1<=n&&0<=o);break}}}finally{_u=!1,Error.prepareStackTrace=a}return(a=e?e.displayName||e.name:"")?jr(a):""}function Rx(e,t){switch(e.tag){case 26:case 27:case 5:return jr(e.type);case 16:return jr("Lazy");case 13:return e.child!==t&&t!==null?jr("Suspense Fallback"):jr("Suspense");case 19:return jr("SuspenseList");case 0:case 15:return Vu(e.type,!1);case 11:return Vu(e.type.render,!1);case 1:return Vu(e.type,!0);case 31:return jr("Activity");case 30:return jr("ViewTransition");default:return""}}function U7(e){try{var t="",a=null;do t+=Rx(e,a),a=e,e=e.return;while(e);return t}catch(n){return`
7
+ Error generating stack: `+n.message+`
8
+ `+n.stack}}var Ep=Object.prototype.hasOwnProperty,M3=ba.unstable_scheduleCallback,Zu=ba.unstable_cancelCallback,Px=ba.unstable_shouldYield,Ox=ba.unstable_requestPaint,En=ba.unstable_now,Lx=ba.unstable_getCurrentPriorityLevel,Df=ba.unstable_ImmediatePriority,Mf=ba.unstable_UserBlockingPriority,Q0=ba.unstable_NormalPriority,Bx=ba.unstable_LowPriority,Af=ba.unstable_IdlePriority,Hx=ba.log,jx=ba.unstable_setDisableYieldValue,qc=null,Nn=null;function Gr(e){if(typeof Hx=="function"&&jx(e),Nn&&typeof Nn.setStrictMode=="function")try{Nn.setStrictMode(qc,e)}catch{}}var Dn=Math.clz32?Math.clz32:Vx,Ux=Math.log,_x=Math.LN2;function Vx(e){return e>>>=0,e===0?32:31-(Ux(e)/_x|0)|0}var u0=256,p0=262144,m0=4194304;function Ii(e){var t=e&42;if(t!==0)return t;switch(e&-e){case 1:return 1;case 2:return 2;case 4:return 4;case 8:return 8;case 16:return 16;case 32:return 32;case 64:return 64;case 128:return 128;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:return e&-e;case 262144:case 524288:case 1048576:case 2097152:return e&3932160;case 4194304:case 8388608:case 16777216:case 33554432:return e&62914560;case 67108864:return 67108864;case 134217728:return 134217728;case 268435456:return 268435456;case 536870912:return 536870912;case 1073741824:return 0;default:return e}}function T2(e,t,a){var n=e.pendingLanes;if(n===0)return 0;var o=0,r=e.suspendedLanes,i=e.pingedLanes;e=e.warmLanes;var l=n&134217727;return l!==0?(n=l&~r,n!==0?o=Ii(n):(i&=l,i!==0?o=Ii(i):a||(a=l&~e,a!==0&&(o=Ii(a))))):(l=n&~r,l!==0?o=Ii(l):i!==0?o=Ii(i):a||(a=n&~e,a!==0&&(o=Ii(a)))),o===0?0:t!==0&&t!==o&&(t&r)===0&&(r=o&-o,a=t&-t,r>=a||r===32&&(a&4194048)!==0)?t:o}function Wc(e,t){return(e.pendingLanes&~(e.suspendedLanes&~e.pingedLanes)&t)===0}function If(e,t){(t&8)!==0&&(t|=t&32);var a=e.entangledLanes;if(a!==0)for(e=e.entanglements,a&=t;0<a;){var n=31-Dn(a),o=1<<n;t|=e[n],a&=~o}return t}function Zx(e,t){switch(e){case 1:case 2:case 4:case 8:case 64:return t+250;case 16:case 32:case 128:case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:return t+5e3;case 4194304:case 8388608:case 16777216:case 33554432:return-1;case 67108864:case 134217728:case 268435456:case 536870912:case 1073741824:return-1;default:return-1}}function Rf(){var e=m0;return m0<<=1,(m0&62914560)===0&&(m0=4194304),e}function Gu(e){for(var t=[],a=0;31>a;a++)t.push(e);return t}function Kc(e,t){e.pendingLanes|=t,t!==268435456&&(e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0)}function Gx(e,t,a,n,o,r){var i=e.pendingLanes;e.pendingLanes=a,e.suspendedLanes=0,e.pingedLanes=0,e.warmLanes=0,e.expiredLanes&=a,e.entangledLanes&=a,e.errorRecoveryDisabledLanes&=a,e.shellSuspendCounter=0;var l=e.entanglements,s=e.expirationTimes,c=e.hiddenUpdates;for(a=i&~a;0<a;){var d=31-Dn(a),f=1<<d;l[d]=0,s[d]=-1;var u=c[d];if(u!==null)for(c[d]=null,d=0;d<u.length;d++){var g=u[d];g!==null&&(g.lane&=-536870913)}a&=~f}n!==0&&Pf(e,n,0),r!==0&&o===0&&e.tag!==0&&(e.suspendedLanes|=r&~(i&~t))}function Pf(e,t,a){e.pendingLanes|=t,e.suspendedLanes&=~t;var n=31-Dn(t);e.entangledLanes|=t,e.entanglements[n]=e.entanglements[n]|1073741824|a&261930}function Of(e,t){var a=e.entangledLanes|=t;for(e=e.entanglements;a;){var n=31-Dn(a),o=1<<n;o&t|e[n]&t&&(e[n]|=t),a&=~o}}function Lf(e,t){var a=t&-t;return a=(a&42)!==0?1:A3(a),(a&(e.suspendedLanes|t))!==0?0:a}function A3(e){switch(e){case 2:e=1;break;case 8:e=4;break;case 32:e=16;break;case 256:case 512:case 1024:case 2048:case 4096:case 8192:case 16384:case 32768:case 65536:case 131072:case 262144:case 524288:case 1048576:case 2097152:case 4194304:case 8388608:case 16777216:case 33554432:e=128;break;case 268435456:e=134217728;break;default:e=0}return e}function I3(e){return e&=-e,2<e?8<e?(e&134217727)!==0?32:268435456:8:2}function Bf(){var e=yt.p;return e!==0?e:(e=window.event,e===void 0?32:yb(e.type))}function _7(e,t){var a=yt.p;try{return yt.p=e,t()}finally{yt.p=a}}var mr=Math.random().toString(36).slice(2),Ea="__reactFiber$"+mr,mn="__reactProps$"+mr,vs="__reactContainer$"+mr,V7="__reactEvents$"+mr,Fx="__reactListeners$"+mr,qx="__reactHandles$"+mr,Z7="__reactResources$"+mr,Yc="__reactMarker$"+mr,e2="__reactLoad$"+mr;function z2(e){delete e[Ea],delete e[mn],delete e[Fx],delete e[qx]}function Oi(e){var t;if(t=e[Ea])return t;for(var a=e.parentNode;a;){if(t=a[vs]||a[Ea]){if(a=t.alternate,t.child!==null||a!==null&&a.child!==null)for(e=lf(e);e!==null;){if(a=e[Ea])return a;e=lf(e)}return t}e=a,a=e.parentNode}return null}function xs(e){if(e=e[Ea]||e[vs]){var t=e.tag;if(t===5||t===6||t===13||t===31||t===26||t===27||t===3)return e}return null}function mc(e){var t=e.tag;if(t===5||t===26||t===27||t===6)return e.stateNode;throw Error(ne(33))}function Jl(e){var t=e[Z7];return t||(t=e[Z7]={hoistableStyles:new Map,hoistableScripts:new Map}),t}function Sa(e){e[Yc]=!0}function Hf(e){e[e2]=void 0}var jf=new Set,Uf={};function Xi(e,t){ls(e,t),ls(e+"Capture",t)}function ls(e,t){for(Uf[e]=t,e=0;e<t.length;e++)jf.add(t[e])}var Wx=RegExp("^[:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD][:A-Z_a-z\\u00C0-\\u00D6\\u00D8-\\u00F6\\u00F8-\\u02FF\\u0370-\\u037D\\u037F-\\u1FFF\\u200C-\\u200D\\u2070-\\u218F\\u2C00-\\u2FEF\\u3001-\\uD7FF\\uF900-\\uFDCF\\uFDF0-\\uFFFD\\-.0-9\\u00B7\\u0300-\\u036F\\u203F-\\u2040]*$"),G7={},F7={};function Kx(e){return Ep.call(F7,e)?!0:Ep.call(G7,e)?!1:Wx.test(e)?F7[e]=!0:(G7[e]=!0,!1)}var gt=!1;function q7(){var e=gt;return gt=!1,e}function A0(e,t,a){if(Kx(t))if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":e.removeAttribute(t);return;case"boolean":var n=t.toLowerCase().slice(0,5);if(n!=="data-"&&n!=="aria-"){e.removeAttribute(t);return}}e.setAttribute(t,a)}}function f0(e,t,a){if(a===null)e.removeAttribute(t);else{switch(typeof a){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(t);return}e.setAttribute(t,a)}}function tr(e,t,a,n){if(n===null)e.removeAttribute(a);else{switch(typeof n){case"undefined":case"function":case"symbol":case"boolean":e.removeAttribute(a);return}e.setAttributeNS(t,a,n)}}function Sn(e){switch(typeof e){case"bigint":case"boolean":case"number":case"string":case"undefined":return e;case"object":return e;default:return""}}function _f(e){var t=e.type;return(e=e.nodeName)&&e.toLowerCase()==="input"&&(t==="checkbox"||t==="radio")}function Yx(e,t,a){var n=Object.getOwnPropertyDescriptor(e.constructor.prototype,t);if(!e.hasOwnProperty(t)&&typeof n<"u"&&typeof n.get=="function"&&typeof n.set=="function"){var o=n.get,r=n.set;return Object.defineProperty(e,t,{configurable:!0,get:function(){return o.call(this)},set:function(i){a=""+i,r.call(this,i)}}),Object.defineProperty(e,t,{enumerable:n.enumerable}),{getValue:function(){return a},setValue:function(i){a=""+i},stopTracking:function(){e._valueTracker=null,delete e[t]}}}}function Np(e){if(!e._valueTracker){var t=_f(e)?"checked":"value";e._valueTracker=Yx(e,t,""+e[t])}}function Vf(e){if(!e)return!1;var t=e._valueTracker;if(!t)return!0;var a=t.getValue(),n="";return e&&(n=_f(e)?e.checked?"true":"false":e.value),e=n,e!==a?(t.setValue(e),!0):!1}var Jx=/[\n"\\]/g;function $n(e){return e.replace(Jx,function(t){return"\\"+t.charCodeAt(0).toString(16)+" "})}function Dp(e,t,a,n,o,r,i,l){e.name="",i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"?e.type=i:e.removeAttribute("type"),t!=null?i==="number"?(t===0&&e.value===""||e.value!=t)&&(e.value=""+Sn(t)):e.value!==""+Sn(t)&&(e.value=""+Sn(t)):i!=="submit"&&i!=="reset"||e.removeAttribute("value"),t!=null?i==="number"&&e.value==t?Fu(e,Sn(e.value)):Fu(e,Sn(t)):a!=null?Fu(e,Sn(a)):n!=null&&e.removeAttribute("value"),o==null&&r!=null&&(e.defaultChecked=!!r),o!=null&&(e.checked=o&&typeof o!="function"&&typeof o!="symbol"),l!=null&&typeof l!="function"&&typeof l!="symbol"&&typeof l!="boolean"?e.name=""+Sn(l):e.removeAttribute("name")}function Zf(e,t,a,n,o,r,i,l){if(r!=null&&typeof r!="function"&&typeof r!="symbol"&&typeof r!="boolean"&&(e.type=r),t!=null||a!=null){if(!(r!=="submit"&&r!=="reset"||t!=null)){Np(e);return}a=a!=null?""+Sn(a):"",t=t!=null?""+Sn(t):a,l||t===e.value||(e.value=t),e.defaultValue=t}n=n??o,n=typeof n!="function"&&typeof n!="symbol"&&!!n,e.checked=l?e.checked:!!n,e.defaultChecked=!!n,i!=null&&typeof i!="function"&&typeof i!="symbol"&&typeof i!="boolean"&&(e.name=i),Np(e)}function Fu(e,t){e.defaultValue!==""+t&&(e.defaultValue=""+t)}function Xl(e,t,a,n){if(e=e.options,t){t={};for(var o=0;o<a.length;o++)t["$"+a[o]]=!0;for(a=0;a<e.length;a++)o=t.hasOwnProperty("$"+e[a].value),e[a].selected!==o&&(e[a].selected=o),o&&n&&(e[a].defaultSelected=!0)}else{for(a=""+Sn(a),t=null,o=0;o<e.length;o++){if(e[o].value===a){e[o].selected=!0,n&&(e[o].defaultSelected=!0);return}t!==null||e[o].disabled||(t=e[o])}t!==null&&(t.selected=!0)}}function Gf(e,t,a){if(t!=null&&(t=""+Sn(t),t!==e.value&&(e.value=t),a==null)){e.defaultValue!==t&&(e.defaultValue=t);return}e.defaultValue=a!=null?""+Sn(a):""}function Ff(e,t,a,n){if(t==null){if(n!=null){if(a!=null)throw Error(ne(92));if(pc(n)){if(1<n.length)throw Error(ne(93));n=n[0]}a=n}a==null&&(a=""),t=a}a=Sn(t),e.defaultValue=a,n=e.textContent,n===a&&n!==""&&n!==null&&(e.value=n),Np(e)}function ss(e,t){if(t){var a=e.firstChild;if(a&&a===e.lastChild&&a.nodeType===3){a.nodeValue=t;return}}e.textContent=t}var Xx=new Set("animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp".split(" "));function W7(e,t,a){var n=t.indexOf("--")===0;a==null||typeof a=="boolean"||a===""?n?e.setProperty(t,""):t==="float"?e.cssFloat="":e[t]="":n?e.setProperty(t,a):typeof a!="number"||a===0||Xx.has(t)?t==="float"?e.cssFloat=a:e[t]=(""+a).trim():e[t]=a+"px"}function qf(e,t,a){if(t!=null&&typeof t!="object")throw Error(ne(62));if(e=e.style,a!=null){for(var n in a)!a.hasOwnProperty(n)||t!=null&&t.hasOwnProperty(n)||(n.indexOf("--")===0?e.setProperty(n,""):n==="float"?e.cssFloat="":e[n]="",gt=!0);for(var o in t)n=t[o],t.hasOwnProperty(o)&&a[o]!==n&&(W7(e,o,n),gt=!0)}else for(var r in t)t.hasOwnProperty(r)&&W7(e,r,t[r])}function R3(e){if(e.indexOf("-")===-1)return!1;switch(e){case"annotation-xml":case"color-profile":case"font-face":case"font-face-src":case"font-face-uri":case"font-face-format":case"font-face-name":case"missing-glyph":return!1;default:return!0}}var $x=new Map([["acceptCharset","accept-charset"],["htmlFor","for"],["httpEquiv","http-equiv"],["crossOrigin","crossorigin"],["accentHeight","accent-height"],["alignmentBaseline","alignment-baseline"],["arabicForm","arabic-form"],["baselineShift","baseline-shift"],["capHeight","cap-height"],["clipPath","clip-path"],["clipRule","clip-rule"],["colorInterpolation","color-interpolation"],["colorInterpolationFilters","color-interpolation-filters"],["colorProfile","color-profile"],["colorRendering","color-rendering"],["dominantBaseline","dominant-baseline"],["enableBackground","enable-background"],["fillOpacity","fill-opacity"],["fillRule","fill-rule"],["floodColor","flood-color"],["floodOpacity","flood-opacity"],["fontFamily","font-family"],["fontSize","font-size"],["fontSizeAdjust","font-size-adjust"],["fontStretch","font-stretch"],["fontStyle","font-style"],["fontVariant","font-variant"],["fontWeight","font-weight"],["glyphName","glyph-name"],["glyphOrientationHorizontal","glyph-orientation-horizontal"],["glyphOrientationVertical","glyph-orientation-vertical"],["horizAdvX","horiz-adv-x"],["horizOriginX","horiz-origin-x"],["imageRendering","image-rendering"],["letterSpacing","letter-spacing"],["lightingColor","lighting-color"],["markerEnd","marker-end"],["markerMid","marker-mid"],["markerStart","marker-start"],["maskType","mask-type"],["overlinePosition","overline-position"],["overlineThickness","overline-thickness"],["paintOrder","paint-order"],["panose-1","panose-1"],["pointerEvents","pointer-events"],["renderingIntent","rendering-intent"],["shapeRendering","shape-rendering"],["stopColor","stop-color"],["stopOpacity","stop-opacity"],["strikethroughPosition","strikethrough-position"],["strikethroughThickness","strikethrough-thickness"],["strokeDasharray","stroke-dasharray"],["strokeDashoffset","stroke-dashoffset"],["strokeLinecap","stroke-linecap"],["strokeLinejoin","stroke-linejoin"],["strokeMiterlimit","stroke-miterlimit"],["strokeOpacity","stroke-opacity"],["strokeWidth","stroke-width"],["textAnchor","text-anchor"],["textDecoration","text-decoration"],["textRendering","text-rendering"],["transformOrigin","transform-origin"],["underlinePosition","underline-position"],["underlineThickness","underline-thickness"],["unicodeBidi","unicode-bidi"],["unicodeRange","unicode-range"],["unitsPerEm","units-per-em"],["vAlphabetic","v-alphabetic"],["vHanging","v-hanging"],["vIdeographic","v-ideographic"],["vMathematical","v-mathematical"],["vectorEffect","vector-effect"],["vertAdvY","vert-adv-y"],["vertOriginX","vert-origin-x"],["vertOriginY","vert-origin-y"],["wordSpacing","word-spacing"],["writingMode","writing-mode"],["xmlnsXlink","xmlns:xlink"],["xHeight","x-height"]]),Qx=/^[\u0000-\u001F ]*j[\r\n\t]*a[\r\n\t]*v[\r\n\t]*a[\r\n\t]*s[\r\n\t]*c[\r\n\t]*r[\r\n\t]*i[\r\n\t]*p[\r\n\t]*t[\r\n\t]*:/i;function I0(e){return Qx.test(""+e)?"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')":e}function Lo(){}var Mp=null;function P3(e){return e=e.target||e.srcElement||window,e.correspondingUseElement&&(e=e.correspondingUseElement),e.nodeType===3?e.parentNode:e}var _l=null,$l=null;function K7(e){var t=xs(e);if(t&&(e=t.stateNode)){var a=e[mn]||null;e:switch(e=t.stateNode,t.type){case"input":if(Dp(e,a.value,a.defaultValue,a.defaultValue,a.checked,a.defaultChecked,a.type,a.name),t=a.name,a.type==="radio"&&t!=null){for(a=e;a.parentNode;)a=a.parentNode;for(a=a.querySelectorAll('input[name="'+$n(""+t)+'"][type="radio"]'),t=0;t<a.length;t++){var n=a[t];if(n!==e&&n.form===e.form){var o=n[mn]||null;if(!o)throw Error(ne(90));Dp(n,o.value,o.defaultValue,o.defaultValue,o.checked,o.defaultChecked,o.type,o.name)}}for(t=0;t<a.length;t++)n=a[t],n.form===e.form&&Vf(n)}break e;case"textarea":Gf(e,a.value,a.defaultValue);break e;case"select":t=a.value,t!=null&&Xl(e,!!a.multiple,t,!1)}}}var qu=!1;function Wf(e,t,a){if(qu)return e(t,a);qu=!0;try{var n=e(t);return n}finally{if(qu=!1,(_l!==null||$l!==null)&&(U2(),_l&&(t=_l,e=$l,$l=_l=null,K7(t),e)))for(t=0;t<e.length;t++)K7(e[t])}}function Mc(e,t){var a=e.stateNode;if(a===null)return null;var n=a[mn]||null;if(n===null)return null;a=n[t];e:switch(t){case"onClick":case"onClickCapture":case"onDoubleClick":case"onDoubleClickCapture":case"onMouseDown":case"onMouseDownCapture":case"onMouseMove":case"onMouseMoveCapture":case"onMouseUp":case"onMouseUpCapture":case"onMouseEnter":(n=!n.disabled)||(e=e.type,n=!(e==="button"||e==="input"||e==="select"||e==="textarea")),e=!n;break e;default:e=!1}if(e)return null;if(a&&typeof a!="function")throw Error(ne(231,t,typeof a));return a}var lr=!(typeof window>"u"||typeof window.document>"u"||typeof window.document.createElement>"u"),Ap=!1;if(lr)try{Il={},Object.defineProperty(Il,"passive",{get:function(){Ap=!0}}),window.addEventListener("test",Il,Il),window.removeEventListener("test",Il,Il)}catch{Ap=!1}var Il,Fr=null,O3=null,R0=null;function Kf(){if(R0)return R0;var e,t=O3,a=t.length,n,o="value"in Fr?Fr.value:Fr.textContent,r=o.length;for(e=0;e<a&&t[e]===o[e];e++);var i=a-e;for(n=1;n<=i&&t[a-n]===o[r-n];n++);return R0=o.slice(e,1<n?1-n:void 0)}function P0(e){var t=e.keyCode;return"charCode"in e?(e=e.charCode,e===0&&t===13&&(e=13)):e=t,e===10&&(e=13),32<=e||e===13?e:0}function g0(){return!0}function Y7(){return!1}function tn(e){function t(a,n,o,r,i){this._reactName=a,this._targetInst=o,this.type=n,this.nativeEvent=r,this.target=i,this.currentTarget=null;for(var l in e)e.hasOwnProperty(l)&&(a=e[l],this[l]=a?a(r):r[l]);return this.isDefaultPrevented=(r.defaultPrevented!=null?r.defaultPrevented:r.returnValue===!1)?g0:Y7,this.isPropagationStopped=Y7,this}return Rt(t.prototype,{preventDefault:function(){this.defaultPrevented=!0;var a=this.nativeEvent;a&&(a.preventDefault?a.preventDefault():typeof a.returnValue!="unknown"&&(a.returnValue=!1),this.isDefaultPrevented=g0)},stopPropagation:function(){var a=this.nativeEvent;a&&(a.stopPropagation?a.stopPropagation():typeof a.cancelBubble!="unknown"&&(a.cancelBubble=!0),this.isPropagationStopped=g0)},persist:function(){},isPersistent:g0}),t}var ui={eventPhase:0,bubbles:0,cancelable:0,timeStamp:function(e){return e.timeStamp||Date.now()},defaultPrevented:0,isTrusted:0},E2=tn(ui),Jc=Rt({},ui,{view:0,detail:0}),ew=tn(Jc),Wu,Ku,ic,N2=Rt({},Jc,{screenX:0,screenY:0,clientX:0,clientY:0,pageX:0,pageY:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,getModifierState:L3,button:0,buttons:0,relatedTarget:function(e){return e.relatedTarget===void 0?e.fromElement===e.srcElement?e.toElement:e.fromElement:e.relatedTarget},movementX:function(e){return"movementX"in e?e.movementX:(e!==ic&&(ic&&e.type==="mousemove"?(Wu=e.screenX-ic.screenX,Ku=e.screenY-ic.screenY):Ku=Wu=0,ic=e),Wu)},movementY:function(e){return"movementY"in e?e.movementY:Ku}}),J7=tn(N2),tw=Rt({},N2,{dataTransfer:0}),aw=tn(tw),nw=Rt({},Jc,{relatedTarget:0}),Yu=tn(nw),ow=Rt({},ui,{animationName:0,elapsedTime:0,pseudoElement:0}),rw=tn(ow),iw=Rt({},ui,{clipboardData:function(e){return"clipboardData"in e?e.clipboardData:window.clipboardData}}),lw=tn(iw),sw=Rt({},ui,{data:0}),X7=tn(sw),cw={Esc:"Escape",Spacebar:" ",Left:"ArrowLeft",Up:"ArrowUp",Right:"ArrowRight",Down:"ArrowDown",Del:"Delete",Win:"OS",Menu:"ContextMenu",Apps:"ContextMenu",Scroll:"ScrollLock",MozPrintableKey:"Unidentified"},dw={8:"Backspace",9:"Tab",12:"Clear",13:"Enter",16:"Shift",17:"Control",18:"Alt",19:"Pause",20:"CapsLock",27:"Escape",32:" ",33:"PageUp",34:"PageDown",35:"End",36:"Home",37:"ArrowLeft",38:"ArrowUp",39:"ArrowRight",40:"ArrowDown",45:"Insert",46:"Delete",112:"F1",113:"F2",114:"F3",115:"F4",116:"F5",117:"F6",118:"F7",119:"F8",120:"F9",121:"F10",122:"F11",123:"F12",144:"NumLock",145:"ScrollLock",224:"Meta"},uw={Alt:"altKey",Control:"ctrlKey",Meta:"metaKey",Shift:"shiftKey"};function pw(e){var t=this.nativeEvent;return t.getModifierState?t.getModifierState(e):(e=uw[e])?!!t[e]:!1}function L3(){return pw}var mw=Rt({},Jc,{key:function(e){if(e.key){var t=cw[e.key]||e.key;if(t!=="Unidentified")return t}return e.type==="keypress"?(e=P0(e),e===13?"Enter":String.fromCharCode(e)):e.type==="keydown"||e.type==="keyup"?dw[e.keyCode]||"Unidentified":""},code:0,location:0,ctrlKey:0,shiftKey:0,altKey:0,metaKey:0,repeat:0,locale:0,getModifierState:L3,charCode:function(e){return e.type==="keypress"?P0(e):0},keyCode:function(e){return e.type==="keydown"||e.type==="keyup"?e.keyCode:0},which:function(e){return e.type==="keypress"?P0(e):e.type==="keydown"||e.type==="keyup"?e.keyCode:0}}),fw=tn(mw),gw=Rt({},N2,{pointerId:0,width:0,height:0,pressure:0,tangentialPressure:0,tiltX:0,tiltY:0,twist:0,pointerType:0,isPrimary:0}),$7=tn(gw),bw=Rt({},ui,{submitter:0}),hw=tn(bw),yw=Rt({},Jc,{touches:0,targetTouches:0,changedTouches:0,altKey:0,metaKey:0,ctrlKey:0,shiftKey:0,getModifierState:L3}),vw=tn(yw),xw=Rt({},ui,{propertyName:0,elapsedTime:0,pseudoElement:0}),ww=tn(xw),kw=Rt({},N2,{deltaX:function(e){return"deltaX"in e?e.deltaX:"wheelDeltaX"in e?-e.wheelDeltaX:0},deltaY:function(e){return"deltaY"in e?e.deltaY:"wheelDeltaY"in e?-e.wheelDeltaY:"wheelDelta"in e?-e.wheelDelta:0},deltaZ:0,deltaMode:0}),Sw=tn(kw),Cw=Rt({},ui,{newState:0,oldState:0,source:0}),Tw=tn(Cw),zw=[9,13,27,32],B3=lr&&"CompositionEvent"in window,bc=null;lr&&"documentMode"in document&&(bc=document.documentMode);var Ew=lr&&"TextEvent"in window&&!bc,Yf=lr&&(!B3||bc&&8<bc&&11>=bc),Q7=" ",e8=!1;function Jf(e,t){switch(e){case"keyup":return zw.indexOf(t.keyCode)!==-1;case"keydown":return t.keyCode!==229;case"keypress":case"mousedown":case"focusout":return!0;default:return!1}}function Xf(e){return e=e.detail,typeof e=="object"&&"data"in e?e.data:null}var Vl=!1;function Nw(e,t){switch(e){case"compositionend":return Xf(t);case"keypress":return t.which!==32?null:(e8=!0,Q7);case"textInput":return e=t.data,e===Q7&&e8?null:e;default:return null}}function Dw(e,t){if(Vl)return e==="compositionend"||!B3&&Jf(e,t)?(e=Kf(),R0=O3=Fr=null,Vl=!1,e):null;switch(e){case"paste":return null;case"keypress":if(!(t.ctrlKey||t.altKey||t.metaKey)||t.ctrlKey&&t.altKey){if(t.char&&1<t.char.length)return t.char;if(t.which)return String.fromCharCode(t.which)}return null;case"compositionend":return Yf&&t.locale!=="ko"?null:t.data;default:return null}}var Mw={color:!0,date:!0,datetime:!0,"datetime-local":!0,email:!0,month:!0,number:!0,password:!0,range:!0,search:!0,tel:!0,text:!0,time:!0,url:!0,week:!0};function t8(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t==="input"?!!Mw[e.type]:t==="textarea"}function $f(e,t,a,n){_l?$l?$l.push(n):$l=[n]:_l=n,t=k2(t,"onChange"),0<t.length&&(a=new E2("onChange","change",null,a,n),e.push({event:a,listeners:t}))}var hc=null,Ac=null;function Aw(e){W9(e,0)}function D2(e){var t=mc(e);if(Vf(t))return e}function a8(e,t){if(e==="change")return t}var Qf=!1;lr&&(lr?(h0="oninput"in document,h0||(Ju=document.createElement("div"),Ju.setAttribute("oninput","return;"),h0=typeof Ju.oninput=="function"),b0=h0):b0=!1,Qf=b0&&(!document.documentMode||9<document.documentMode));var b0,h0,Ju;function n8(){hc&&(hc.detachEvent("onpropertychange",eg),Ac=hc=null)}function eg(e){if(e.propertyName==="value"&&D2(Ac)){var t=[];$f(t,Ac,e,P3(e)),Wf(Aw,t)}}function Iw(e,t,a){e==="focusin"?(n8(),hc=t,Ac=a,hc.attachEvent("onpropertychange",eg)):e==="focusout"&&n8()}function Rw(e){if(e==="selectionchange"||e==="keyup"||e==="keydown")return D2(Ac)}function Pw(e,t){if(e==="click")return D2(t)}function Ow(e,t){if(e==="input"||e==="change")return D2(t)}function Lw(e,t){return e===t&&(e!==0||1/e===1/t)||e!==e&&t!==t}var An=typeof Object.is=="function"?Object.is:Lw;function Ic(e,t){if(An(e,t))return!0;if(typeof e!="object"||e===null||typeof t!="object"||t===null)return!1;var a=Object.keys(e),n=Object.keys(t);if(a.length!==n.length)return!1;for(n=0;n<a.length;n++){var o=a[n];if(!Ep.call(t,o)||!An(e[o],t[o]))return!1}return!0}function Ip(e){if(e=e||(typeof document<"u"?document:void 0),typeof e>"u")return null;try{return e.activeElement||e.body}catch{return e.body}}function o8(e){for(;e&&e.firstChild;)e=e.firstChild;return e}function r8(e,t){var a=o8(e);e=0;for(var n;a;){if(a.nodeType===3){if(n=e+a.textContent.length,e<=t&&n>=t)return{node:a,offset:t-e};e=n}e:{for(;a;){if(a.nextSibling){a=a.nextSibling;break e}a=a.parentNode}a=void 0}a=o8(a)}}function tg(e,t){return e&&t?e===t?!0:e&&e.nodeType===3?!1:t&&t.nodeType===3?tg(e,t.parentNode):"contains"in e?e.contains(t):e.compareDocumentPosition?!!(e.compareDocumentPosition(t)&16):!1:!1}function ag(e){e=e!=null&&e.ownerDocument!=null&&e.ownerDocument.defaultView!=null?e.ownerDocument.defaultView:window;for(var t=Ip(e.document);t instanceof e.HTMLIFrameElement;){try{var a=typeof t.contentWindow.location.href=="string"}catch{a=!1}if(a)e=t.contentWindow;else break;t=Ip(e.document)}return t}function H3(e){var t=e&&e.nodeName&&e.nodeName.toLowerCase();return t&&(t==="input"&&(e.type==="text"||e.type==="search"||e.type==="tel"||e.type==="url"||e.type==="password")||t==="textarea"||e.contentEditable==="true")}var Bw=lr&&"documentMode"in document&&11>=document.documentMode,Zl=null,Rp=null,yc=null,Pp=!1;function i8(e,t,a){var n=a.window===a?a.document:a.nodeType===9?a:a.ownerDocument;Pp||Zl==null||Zl!==Ip(n)||(n=Zl,"selectionStart"in n&&H3(n)?n={start:n.selectionStart,end:n.selectionEnd}:(n=(n.ownerDocument&&n.ownerDocument.defaultView||window).getSelection(),n={anchorNode:n.anchorNode,anchorOffset:n.anchorOffset,focusNode:n.focusNode,focusOffset:n.focusOffset}),yc&&Ic(yc,n)||(yc=n,n=k2(Rp,"onSelect"),0<n.length&&(t=new E2("onSelect","select",null,t,a),e.push({event:t,listeners:n}),t.target=Zl)))}function Mi(e,t){var a={};return a[e.toLowerCase()]=t.toLowerCase(),a["Webkit"+e]="webkit"+t,a["Moz"+e]="moz"+t,a}var Gl={animationend:Mi("Animation","AnimationEnd"),animationiteration:Mi("Animation","AnimationIteration"),animationstart:Mi("Animation","AnimationStart"),transitionrun:Mi("Transition","TransitionRun"),transitionstart:Mi("Transition","TransitionStart"),transitioncancel:Mi("Transition","TransitionCancel"),transitionend:Mi("Transition","TransitionEnd")},Xu={},ng={};lr&&(ng=document.createElement("div").style,"AnimationEvent"in window||(delete Gl.animationend.animation,delete Gl.animationiteration.animation,delete Gl.animationstart.animation),"TransitionEvent"in window||delete Gl.transitionend.transition);function $i(e){if(Xu[e])return Xu[e];if(!Gl[e])return e;var t=Gl[e],a;for(a in t)if(t.hasOwnProperty(a)&&a in ng)return Xu[e]=t[a];return e}var og=$i("animationend"),rg=$i("animationiteration"),ig=$i("animationstart"),Hw=$i("transitionrun"),jw=$i("transitionstart"),Uw=$i("transitioncancel"),lg=$i("transitionend"),sg=new Map,Op="abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel".split(" ");Op.push("scrollEnd");function go(e,t){sg.set(e,t),Xi(t,[e])}var _w=0;function sr(e,t){if(e.name!=null&&e.name!=="auto")return e.name;if(t.autoName!==null)return t.autoName;e=fo.identifierPrefix;var a=_w++;return e="_"+e+"t_"+a.toString(32)+"_",t.autoName=e}function l8(e){if(e==null||typeof e=="string")return e;var t=null,a=rs;if(a!==null)for(var n=0;n<a.length;n++){var o=e[a[n]];if(o!=null){if(o==="none")return"none";t=t==null?o:t+(" "+o)}}return t??e.default}function fr(e,t){return e=l8(e),t=l8(t),t==null?e==="auto"?null:e:t==="auto"?null:t}var t2=typeof reportError=="function"?reportError:function(e){if(typeof window=="object"&&typeof window.ErrorEvent=="function"){var t=new window.ErrorEvent("error",{bubbles:!0,cancelable:!0,message:typeof e=="object"&&e!==null&&typeof e.message=="string"?String(e.message):String(e),error:e});if(!window.dispatchEvent(t))return}else if(typeof process=="object"&&typeof process.emit=="function"){process.emit("uncaughtException",e);return}console.error(e)},Yn=[],Fl=0,j3=0;function M2(){for(var e=Fl,t=j3=Fl=0;t<e;){var a=Yn[t];Yn[t++]=null;var n=Yn[t];Yn[t++]=null;var o=Yn[t];Yn[t++]=null;var r=Yn[t];if(Yn[t++]=null,n!==null&&o!==null){var i=n.pending;i===null?o.next=o:(o.next=i.next,i.next=o),n.pending=o}r!==0&&cg(a,o,r)}}function A2(e,t,a,n){Yn[Fl++]=e,Yn[Fl++]=t,Yn[Fl++]=a,Yn[Fl++]=n,j3|=n,e.lanes|=n,e=e.alternate,e!==null&&(e.lanes|=n)}function U3(e,t,a,n){return A2(e,t,a,n),a2(e)}function Qi(e,t){return A2(e,null,null,t),a2(e)}function cg(e,t,a){e.lanes|=a;var n=e.alternate;n!==null&&(n.lanes|=a);for(var o=!1,r=e.return;r!==null;)r.childLanes|=a,n=r.alternate,n!==null&&(n.childLanes|=a),r.tag===22&&(e=r.stateNode,e===null||e._visibility&1||(o=!0)),e=r,r=r.return;return e.tag===3?(r=e.stateNode,o&&t!==null&&(o=31-Dn(a),e=r.hiddenUpdates,n=e[o],n===null?e[o]=[t]:n.push(t),t.lane=a|536870912),r):null}function a2(e){if(50<Nc)throw Nc=0,G0=null,Error(ne(185));for(var t=e.return;t!==null;)e=t,t=e.return;return e.tag===3?e.stateNode:null}var ql={};function Vw(e,t,a,n){this.tag=e,this.key=a,this.sibling=this.child=this.return=this.stateNode=this.type=this.elementType=null,this.index=0,this.refCleanup=this.ref=null,this.pendingProps=t,this.dependencies=this.memoizedState=this.updateQueue=this.memoizedProps=null,this.mode=n,this.subtreeFlags=this.flags=0,this.deletions=null,this.childLanes=this.lanes=0,this.alternate=null}function dn(e,t,a,n){return new Vw(e,t,a,n)}function _3(e){return e=e.prototype,!(!e||!e.isReactComponent)}function rr(e,t){var a=e.alternate;return a===null?(a=dn(e.tag,t,e.key,e.mode),a.elementType=e.elementType,a.type=e.type,a.stateNode=e.stateNode,a.alternate=e,e.alternate=a):(a.pendingProps=t,a.type=e.type,a.flags=0,a.subtreeFlags=0,a.deletions=null),a.flags=e.flags&1206910976,a.childLanes=e.childLanes,a.lanes=e.lanes,a.child=e.child,a.memoizedProps=e.memoizedProps,a.memoizedState=e.memoizedState,a.updateQueue=e.updateQueue,t=e.dependencies,a.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext},a.sibling=e.sibling,a.index=e.index,a.ref=e.ref,a.refCleanup=e.refCleanup,a}function dg(e,t){e.flags&=1206910978;var a=e.alternate;return a===null?(e.childLanes=0,e.lanes=t,e.child=null,e.subtreeFlags=0,e.memoizedProps=null,e.memoizedState=null,e.updateQueue=null,e.dependencies=null,e.stateNode=null):(e.childLanes=a.childLanes,e.lanes=a.lanes,e.child=a.child,e.subtreeFlags=0,e.deletions=null,e.memoizedProps=a.memoizedProps,e.memoizedState=a.memoizedState,e.updateQueue=a.updateQueue,e.type=a.type,t=a.dependencies,e.dependencies=t===null?null:{lanes:t.lanes,firstContext:t.firstContext}),e}function O0(e,t,a,n,o,r){var i=0;if(n=e,typeof n=="function")_3(n)&&(i=1);else if(typeof n=="string")i=fS(e,a,jo.current)?26:e==="html"||e==="head"||e==="body"?27:5;else e:switch(n){case kp:return e=dn(31,a,t,o),e.elementType=kp,e.lanes=r,e;case jl:return Hi(a.children,o,r,t);case Ef:i=8,o|=24;break;case vp:return e=dn(12,a,t,o|2),e.elementType=vp,e.lanes=r,e;case xp:return e=dn(13,a,t,o),e.elementType=xp,e.lanes=r,e;case wp:return e=dn(19,a,t,o),e.elementType=wp,e.lanes=r,e;case Dx:case Sp:return e=o|32,e=dn(30,a,t,e),e.elementType=Sp,e.lanes=r,e.stateNode={autoName:null,paired:null,clones:null,ref:null},e;default:if(typeof n=="object"&&n!==null)switch(n.$$typeof){case Oo:i=10;break e;case Nf:i=9;break e;case N3:i=11;break e;case D3:i=14;break e;case _r:i=16,n=null;break e}i=29,a=Error(ne(130,e===null?"null":typeof e,"")),n=null}return t=dn(i,a,t,o),t.elementType=e,t.type=n,t.lanes=r,t}function Hi(e,t,a,n){return e=dn(7,e,n,t),e.lanes=a,e}function $u(e,t,a){return e=dn(6,e,null,t),e.lanes=a,e}function ug(e){var t=dn(18,null,null,0);return t.stateNode=e,t}function Qu(e,t,a){return t=dn(4,e.children!==null?e.children:[],e.key,t),t.lanes=a,t.stateNode={containerInfo:e.containerInfo,pendingChildren:null,implementation:e.implementation},t}var s8=new WeakMap;function Qn(e,t){if(typeof e=="object"&&e!==null){var a=s8.get(e);return a!==void 0?a:(t={value:e,source:t,stack:U7(t)},s8.set(e,t),t)}return{value:e,source:t,stack:U7(t)}}var Wl=[],Kl=0,n2=null,Rc=0,Jn=[],Xn=0,ii=null,Bo=1,Ho="";function nr(e,t){Wl[Kl++]=Rc,Wl[Kl++]=n2,n2=e,Rc=t}function pg(e,t,a){Jn[Xn++]=Bo,Jn[Xn++]=Ho,Jn[Xn++]=ii,ii=e;var n=Bo;e=Ho;var o=32-Dn(n)-1;n&=~(1<<o),a+=1;var r=32-Dn(t)+o;if(30<r){var i=o-o%5;r=(n&(1<<i)-1).toString(32),n>>=i,o-=i,Bo=1<<32-Dn(t)+o|a<<o|n,Ho=r+e}else Bo=1<<r|a<<o|n,Ho=e}function I2(e){e.return!==null&&(nr(e,1),pg(e,1,0))}function V3(e){for(;e===n2;)n2=Wl[--Kl],Wl[Kl]=null,Rc=Wl[--Kl],Wl[Kl]=null;for(;e===ii;)ii=Jn[--Xn],Jn[Xn]=null,Ho=Jn[--Xn],Jn[Xn]=null,Bo=Jn[--Xn],Jn[Xn]=null}function mg(e,t){Jn[Xn++]=Bo,Jn[Xn++]=Ho,Jn[Xn++]=ii,Bo=t.id,Ho=t.overflow,ii=e}var Ca=null,_t=null,ot=!1,Xr=null,eo=!1,Lp=Error(ne(519));function li(e){var t=Error(ne(418,1<arguments.length&&arguments[1]!==void 0&&arguments[1]?"text":"HTML",""));throw Pc(Qn(t,e)),Lp}function c8(e){var t=e.stateNode,a=e.type,n=e.memoizedProps;switch(t[Ea]=e,t[mn]=n,a){case"dialog":lt("cancel",t),lt("close",t);break;case"iframe":case"object":case"embed":lt("load",t);break;case"video":case"audio":for(a=0;a<Hc.length;a++)lt(Hc[a],t);break;case"source":lt("error",t);break;case"img":case"image":case"link":lt("error",t),lt("load",t);break;case"details":lt("toggle",t);break;case"input":lt("invalid",t),Zf(t,n.value,n.defaultValue,n.checked,n.defaultChecked,n.type,n.name,!0);break;case"select":lt("invalid",t);break;case"textarea":lt("invalid",t),Ff(t,n.value,n.defaultValue,n.children)}a=n.children,typeof a!="string"&&typeof a!="number"&&typeof a!="bigint"||t.textContent===""+a||n.suppressHydrationWarning===!0||Y9(t.textContent,a)?(n.popover!=null&&(lt("beforetoggle",t),lt("toggle",t)),n.onScroll!=null&&lt("scroll",t),n.onScrollEnd!=null&&lt("scrollend",t),n.onClick!=null&&(t.onclick=Lo),t=!0):t=!1,t||li(e,!0)}function o2(e){for(Ca=e.return;Ca;)switch(Ca.tag){case 5:case 31:case 13:eo=!1;return;case 27:case 3:eo=!0;return;default:Ca=Ca.return}}function Rl(e){if(e!==Ca)return!1;if(!ot)return o2(e),ot=!0,!1;var t=e.tag,a;if((a=t!==3&&t!==27)&&((a=t===5)&&(a=e.type,a=!(a!=="form"&&a!=="button")||x3(e.type,e.memoizedProps)),a=!a),a&&_t&&li(e),o2(e),t===13){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ne(317));_t=rf(e)}else if(t===31){if(e=e.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ne(317));_t=rf(e)}else t===27?(t=_t,pi(e.type)?(e=C3,C3=null,_t=e):_t=t):_t=Ca?to(e.stateNode.nextSibling):null;return!0}function Vi(){_t=Ca=null,ot=!1}function ep(){var e=Xr;return e!==null&&(sn===null?sn=e:sn.push.apply(sn,e),Xr=null),e}function Pc(e){Xr===null?Xr=[e]:Xr.push(e)}var Bp=Vo(null),el=null,or=null;function qr(e,t,a){Vt(Bp,t._currentValue),t._currentValue=a}function ir(e){e._currentValue=Bp.current,Da(Bp)}function L0(e,t,a){for(;e!==null;){var n=e.alternate;if((e.childLanes&t)!==t?(e.childLanes|=t,n!==null&&(n.childLanes|=t)):n!==null&&(n.childLanes&t)!==t&&(n.childLanes|=t),e===a)break;e=e.return}}function Hp(e,t,a,n){var o=e.child;for(o!==null&&(o.return=e);o!==null;){var r=o.dependencies;if(r!==null){var i=o.child;r=r.firstContext;e:for(;r!==null;){var l=r;r=o;for(var s=0;s<t.length;s++)if(l.context===t[s]){r.lanes|=a,l=r.alternate,l!==null&&(l.lanes|=a),L0(r.return,a,e),n||(i=null);break e}r=l.next}}else if(o.tag===18){if(i=o.return,i===null)throw Error(ne(341));i.lanes|=a,r=i.alternate,r!==null&&(r.lanes|=a),L0(i,a,e),i=null}else o.tag===13&&o.memoizedState!==null&&o.memoizedState.dehydrated===null?(o.lanes|=a,i=o.alternate,i!==null&&(i.lanes|=a),L0(o.return,a,e),i=o.child,i=i!==null?i.sibling:null):i=o.child;if(i!==null)i.return=o;else for(i=o;i!==null;){if(i===e){i=null;break}if(o=i.sibling,o!==null){o.return=i.return,i=o;break}i=i.return}o=i}}function Zi(e,t,a,n){e=null;for(var o=t,r=!1;o!==null;){if(!r){if((o.flags&524288)!==0)r=!0;else if((o.flags&262144)!==0)break}if(o.tag===10){var i=o.alternate;if(i===null)throw Error(ne(387));if(i=i.memoizedProps,i!==null){var l=o.type;An(o.pendingProps.value,i.value)||(e!==null?e.push(l):e=[l])}}else if(o===J0.current){if(i=o.alternate,i===null)throw Error(ne(387));i.memoizedState.memoizedState!==o.memoizedState.memoizedState&&(e!==null?e.push(bs):e=[bs])}o=o.return}return e!==null&&Hp(t,e,a,n),t.flags|=262144,e!==null}function r2(e){for(e=e.firstContext;e!==null;){if(!An(e.context._currentValue,e.memoizedValue))return!0;e=e.next}return!1}function Gi(e){el=e,or=null,e=e.dependencies,e!==null&&(e.firstContext=null)}function Na(e){return fg(el,e)}function y0(e,t){return el===null&&Gi(e),fg(e,t)}function fg(e,t){var a=t._currentValue;if(t={context:t,memoizedValue:a,next:null},or===null){if(e===null)throw Error(ne(308));or=t,e.dependencies={lanes:0,firstContext:t},e.flags|=524288}else or=or.next=t;return a}var Zw=typeof AbortController<"u"?AbortController:function(){var e=[],t=this.signal={aborted:!1,addEventListener:function(a,n){e.push(n)}};this.abort=function(){t.aborted=!0,e.forEach(function(a){return a()})}},Gw=ba.unstable_scheduleCallback,Fw=ba.unstable_NormalPriority,ca={$$typeof:Oo,Consumer:null,Provider:null,_currentValue:null,_currentValue2:null,_threadCount:0};function Z3(){return{controller:new Zw,data:new Map,refCount:0}}function Xc(e){e.refCount--,e.refCount===0&&Gw(Fw,function(){e.controller.abort()})}function d8(e,t){if((e.pendingLanes&4194048)!==0){var a=e.transitionTypes;for(a===null&&(a=e.transitionTypes=[]),e=0;e<t.length;e++){var n=t[e];a.indexOf(n)===-1&&a.push(n)}}}var fc=null;function qw(e){var t=e.transitionTypes;return e.transitionTypes=null,t}var vc=null,jp=0,Fi=0,Ql=null;function Ww(e,t){if(vc===null){var a=vc=[];jp=0,Fi=h4(),Ql={status:"pending",value:void 0,then:function(n){a.push(n)}}}return jp++,t.then(u8,u8),t}function u8(){if(--jp===0&&(fc=null,vc!==null)){Ql!==null&&(Ql.status="fulfilled");var e=vc;vc=null,Fi=0,Ql=null;for(var t=0;t<e.length;t++)(0,e[t])()}}function Kw(e,t){var a=[],n={status:"pending",value:null,reason:null,then:function(o){a.push(o)}};return e.then(function(){n.status="fulfilled",n.value=t;for(var o=0;o<a.length;o++)(0,a[o])(t)},function(o){for(n.status="rejected",n.reason=o,o=0;o<a.length;o++)(0,a[o])(void 0)}),n}var p8=_e.S;_e.S=function(e,t){if(I9=En(),typeof t=="object"&&t!==null&&typeof t.then=="function"&&Ww(e,t),fc!==null)for(var a=ms;a!==null;)d8(a,fc),a=a.next;if(a=e.types,a!==null){for(var n=ms;n!==null;)d8(n,a),n=n.next;if(Fi!==0){n=fc,n===null&&(n=fc=[]);for(var o=0;o<a.length;o++){var r=a[o];n.indexOf(r)===-1&&n.push(r)}}}p8!==null&&p8(e,t)};var ji=Vo(null);function G3(){var e=ji.current;return e!==null?e:It.pooledCache}function B0(e,t){t===null?Vt(ji,ji.current):Vt(ji,t.pool)}function gg(){var e=G3();return e===null?null:{parent:ca._currentValue,pool:e}}var ws=Error(ne(460)),F3=Error(ne(474)),R2=Error(ne(542)),i2={then:function(){}};function m8(e){return e=e.status,e==="fulfilled"||e==="rejected"}function bg(e,t,a){switch(a=e[a],a===void 0?e.push(t):a!==t&&(t.then(Lo,Lo),t=a),t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,g8(e),e===void 0&&!("reason"in t)?Error(ne(600)):e;default:if(typeof t.status=="string")t.then(Lo,Lo);else{if(e=It,e!==null&&100<e.shellSuspendCounter)throw Error(ne(482));e=t,e.status="pending",e.then(function(n){if(t.status==="pending"){var o=t;o.status="fulfilled",o.value=n}},function(n){if(t.status==="pending"){var o=t;o.status="rejected",o.reason=n}})}switch(t.status){case"fulfilled":return t.value;case"rejected":throw e=t.reason,g8(e),e}throw Ui=t,ws}}function Ri(e){try{var t=e._init;return t(e._payload)}catch(a){throw a!==null&&typeof a=="object"&&typeof a.then=="function"?(Ui=a,ws):a}}var Ui=null;function f8(){if(Ui===null)throw Error(ne(459));var e=Ui;return Ui=null,e}function g8(e){if(e===ws||e===R2)throw Error(ne(483))}var es=null,Oc=0;function v0(e){var t=Oc;return Oc+=1,es===null&&(es=[]),bg(es,e,t)}function Hr(e,t){t=t.props.ref,e.ref=t!==void 0?t:null}function x0(e,t){throw t.$$typeof===Nx?Error(ne(525)):(e=Object.prototype.toString.call(t),Error(ne(31,e==="[object Object]"?"object with keys {"+Object.keys(t).join(", ")+"}":e)))}function hg(e){function t(h,m){if(e){var v=h.deletions;v===null?(h.deletions=[m],h.flags|=16):v.push(m)}}function a(h,m){if(!e)return null;for(;m!==null;)t(h,m),m=m.sibling;return null}function n(h){for(var m=new Map;h!==null;)h.key===null?m.set(h.index,h):m.set(h.key,h),h=h.sibling;return m}function o(h,m){return h=rr(h,m),h.index=0,h.sibling=null,h}function r(h,m,v){return h.index=v,e?(v=h.alternate,v!==null?(v=v.index,v<m?(h.flags|=2,m):v):(h.flags|=134217730,m)):(h.flags|=1048576,m)}function i(h){return e&&h.alternate===null&&(h.flags|=134217730),h}function l(h,m,v,k){return m===null||m.tag!==6?(m=$u(v,h.mode,k),m.return=h,m):(m=o(m,v),m.return=h,m)}function s(h,m,v,k){var w=v.type;return w===jl?(h=d(h,m,v.props.children,k,v.key),Hr(h,v),h):m!==null&&(m.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===_r&&Ri(w)===m.type)?(m=o(m,v.props),Hr(m,v),m.return=h,m):(m=O0(v.type,v.key,v.props,null,h.mode,k),Hr(m,v),m.return=h,m)}function c(h,m,v,k){return m===null||m.tag!==4||m.stateNode.containerInfo!==v.containerInfo||m.stateNode.implementation!==v.implementation?(m=Qu(v,h.mode,k),m.return=h,m):(m=o(m,v.children||[]),m.return=h,m)}function d(h,m,v,k,w){return m===null||m.tag!==7?(m=Hi(v,h.mode,k,w),m.return=h,m):(m=o(m,v),m.return=h,m)}function f(h,m,v){if(typeof m=="string"&&m!==""||typeof m=="number"||typeof m=="bigint")return m=$u(""+m,h.mode,v),m.return=h,m;if(typeof m=="object"&&m!==null){switch(m.$$typeof){case d0:return v=O0(m.type,m.key,m.props,null,h.mode,v),Hr(v,m),v.return=h,v;case uc:return m=Qu(m,h.mode,v),m.return=h,m;case _r:return m=Ri(m),f(h,m,v)}if(pc(m)||rc(m))return m=Hi(m,h.mode,v,null),m.return=h,m;if(typeof m.then=="function")return f(h,v0(m),v);if(m.$$typeof===Oo)return f(h,y0(h,m),v);x0(h,m)}return null}function u(h,m,v,k){var w=m!==null?m.key:null;if(typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint")return w!==null?null:l(h,m,""+v,k);if(typeof v=="object"&&v!==null){switch(v.$$typeof){case d0:return v.key===w?s(h,m,v,k):null;case uc:return v.key===w?c(h,m,v,k):null;case _r:return v=Ri(v),u(h,m,v,k)}if(pc(v)||rc(v))return w!==null?null:d(h,m,v,k,null);if(typeof v.then=="function")return u(h,m,v0(v),k);if(v.$$typeof===Oo)return u(h,m,y0(h,v),k);x0(h,v)}return null}function g(h,m,v,k,w){if(typeof k=="string"&&k!==""||typeof k=="number"||typeof k=="bigint")return h=h.get(v)||null,l(m,h,""+k,w);if(typeof k=="object"&&k!==null){switch(k.$$typeof){case d0:return h=h.get(k.key===null?v:k.key)||null,s(m,h,k,w);case uc:return h=h.get(k.key===null?v:k.key)||null,c(m,h,k,w);case _r:return k=Ri(k),g(h,m,v,k,w)}if(pc(k)||rc(k))return h=h.get(v)||null,d(m,h,k,w,null);if(typeof k.then=="function")return g(h,m,v,v0(k),w);if(k.$$typeof===Oo)return g(h,m,v,y0(m,k),w);x0(m,k)}return null}function b(h,m,v,k){for(var w=null,z=null,P=m,j=m=0,T=null;P!==null&&j<v.length;j++){P.index>j?(T=P,P=null):T=P.sibling;var S=u(h,P,v[j],k);if(S===null){P===null&&(P=T);break}e&&P&&S.alternate===null&&t(h,P),m=r(S,m,j),z===null?w=S:z.sibling=S,z=S,P=T}if(j===v.length)return a(h,P),ot&&nr(h,j),w;if(P===null){for(;j<v.length;j++)P=f(h,v[j],k),P!==null&&(m=r(P,m,j),z===null?w=P:z.sibling=P,z=P);return ot&&nr(h,j),w}for(P=n(P);j<v.length;j++)T=g(P,h,j,v[j],k),T!==null&&(e&&(S=T.alternate,S!==null&&P.delete(S.key===null?j:S.key)),m=r(T,m,j),z===null?w=T:z.sibling=T,z=T);return e&&P.forEach(function(B){return t(h,B)}),ot&&nr(h,j),w}function p(h,m,v,k){if(v==null)throw Error(ne(151));for(var w=null,z=null,P=m,j=m=0,T=null,S=v.next();P!==null&&!S.done;j++,S=v.next()){P.index>j?(T=P,P=null):T=P.sibling;var B=u(h,P,S.value,k);if(B===null){P===null&&(P=T);break}e&&P&&B.alternate===null&&t(h,P),m=r(B,m,j),z===null?w=B:z.sibling=B,z=B,P=T}if(S.done)return a(h,P),ot&&nr(h,j),w;if(P===null){for(;!S.done;j++,S=v.next())S=f(h,S.value,k),S!==null&&(m=r(S,m,j),z===null?w=S:z.sibling=S,z=S);return ot&&nr(h,j),w}for(P=n(P);!S.done;j++,S=v.next())S=g(P,h,j,S.value,k),S!==null&&(e&&(T=S.alternate,T!==null&&P.delete(T.key===null?j:T.key)),m=r(S,m,j),z===null?w=S:z.sibling=S,z=S);return e&&P.forEach(function(O){return t(h,O)}),ot&&nr(h,j),w}function x(h,m,v,k){if(typeof v=="object"&&v!==null&&v.type===jl&&v.key===null&&v.props.ref===void 0&&(v=v.props.children),typeof v=="object"&&v!==null){switch(v.$$typeof){case d0:e:{for(var w=v.key;m!==null;){if(m.key===w){if(w=v.type,w===jl){if(m.tag===7){a(h,m.sibling),k=o(m,v.props.children),Hr(k,v),k.return=h,h=k;break e}}else if(m.elementType===w||typeof w=="object"&&w!==null&&w.$$typeof===_r&&Ri(w)===m.type){a(h,m.sibling),k=o(m,v.props),Hr(k,v),k.return=h,h=k;break e}a(h,m);break}else t(h,m);m=m.sibling}v.type===jl?(k=Hi(v.props.children,h.mode,k,v.key),Hr(k,v),k.return=h,h=k):(k=O0(v.type,v.key,v.props,null,h.mode,k),Hr(k,v),k.return=h,h=k)}return i(h);case uc:e:{for(w=v.key;m!==null;){if(m.key===w)if(m.tag===4&&m.stateNode.containerInfo===v.containerInfo&&m.stateNode.implementation===v.implementation){a(h,m.sibling),k=o(m,v.children||[]),k.return=h,h=k;break e}else{a(h,m);break}else t(h,m);m=m.sibling}k=Qu(v,h.mode,k),k.return=h,h=k}return i(h);case _r:return v=Ri(v),x(h,m,v,k)}if(pc(v))return b(h,m,v,k);if(rc(v)){if(w=rc(v),typeof w!="function")throw Error(ne(150));return v=w.call(v),p(h,m,v,k)}if(typeof v.then=="function")return x(h,m,v0(v),k);if(v.$$typeof===Oo)return x(h,m,y0(h,v),k);x0(h,v)}return typeof v=="string"&&v!==""||typeof v=="number"||typeof v=="bigint"?(v=""+v,m!==null&&m.tag===6?(a(h,m.sibling),k=o(m,v),k.return=h,h=k):(a(h,m),k=$u(v,h.mode,k),k.return=h,h=k),i(h)):a(h,m)}return function(h,m,v,k){try{Oc=0;var w=x(h,m,v,k);return es=null,w}catch(P){if(P===ws||P===R2)throw P;var z=dn(29,P,null,h.mode);return z.lanes=k,z.return=h,z}}}var qi=hg(!0),yg=hg(!1),Vr=!1;function q3(e){e.updateQueue={baseState:e.memoizedState,firstBaseUpdate:null,lastBaseUpdate:null,shared:{pending:null,lanes:0,hiddenCallbacks:null},callbacks:null}}function Up(e,t){e=e.updateQueue,t.updateQueue===e&&(t.updateQueue={baseState:e.baseState,firstBaseUpdate:e.firstBaseUpdate,lastBaseUpdate:e.lastBaseUpdate,shared:e.shared,callbacks:null})}function $r(e){return{lane:e,tag:0,payload:null,callback:null,next:null}}function Qr(e,t,a){var n=e.updateQueue;if(n===null)return null;if(n=n.shared,(ht&2)!==0){var o=n.pending;return o===null?t.next=t:(t.next=o.next,o.next=t),n.pending=t,t=a2(e),cg(e,null,a),t}return A2(e,n,t,a),a2(e)}function xc(e,t,a){if(t=t.updateQueue,t!==null&&(t=t.shared,(a&4194048)!==0)){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,Of(e,a)}}function tp(e,t){var a=e.updateQueue,n=e.alternate;if(n!==null&&(n=n.updateQueue,a===n)){var o=null,r=null;if(a=a.firstBaseUpdate,a!==null){do{var i={lane:a.lane,tag:a.tag,payload:a.payload,callback:null,next:null};r===null?o=r=i:r=r.next=i,a=a.next}while(a!==null);r===null?o=r=t:r=r.next=t}else o=r=t;a={baseState:n.baseState,firstBaseUpdate:o,lastBaseUpdate:r,shared:n.shared,callbacks:n.callbacks},e.updateQueue=a;return}e=a.lastBaseUpdate,e===null?a.firstBaseUpdate=t:e.next=t,a.lastBaseUpdate=t}var _p=!1;function wc(){if(_p){var e=Ql;if(e!==null)throw e}}function kc(e,t,a,n){_p=!1;var o=e.updateQueue;Vr=!1;var r=o.firstBaseUpdate,i=o.lastBaseUpdate,l=o.shared.pending;if(l!==null){o.shared.pending=null;var s=l,c=s.next;s.next=null,i===null?r=c:i.next=c,i=s;var d=e.alternate;d!==null&&(d=d.updateQueue,l=d.lastBaseUpdate,l!==i&&(l===null?d.firstBaseUpdate=c:l.next=c,d.lastBaseUpdate=s))}if(r!==null){var f=o.baseState;i=0,d=c=s=null,l=r;do{var u=l.lane&-536870913,g=u!==l.lane;if(g?(dt&u)===u:(n&u)===u){u!==0&&u===Fi&&(_p=!0),d!==null&&(d=d.next={lane:0,tag:l.tag,payload:l.payload,callback:null,next:null});e:{var b=e,p=l;u=t;var x=a;switch(p.tag){case 1:if(b=p.payload,typeof b=="function"){f=b.call(x,f,u);break e}f=b;break e;case 3:b.flags=b.flags&-65537|128;case 0:if(b=p.payload,u=typeof b=="function"?b.call(x,f,u):b,u==null)break e;f=Rt({},f,u);break e;case 2:Vr=!0}}u=l.callback,u!==null&&(e.flags|=64,g&&(e.flags|=8192),g=o.callbacks,g===null?o.callbacks=[u]:g.push(u))}else g={lane:u,tag:l.tag,payload:l.payload,callback:l.callback,next:null},d===null?(c=d=g,s=f):d=d.next=g,i|=u;if(l=l.next,l===null){if(l=o.shared.pending,l===null)break;g=l,l=g.next,g.next=null,o.lastBaseUpdate=g,o.shared.pending=null}}while(!0);d===null&&(s=f),o.baseState=s,o.firstBaseUpdate=c,o.lastBaseUpdate=d,r===null&&(o.shared.lanes=0),di|=i,e.lanes=i,e.memoizedState=f}}function vg(e,t){if(typeof e!="function")throw Error(ne(191,e));e.call(t)}function xg(e,t){var a=e.callbacks;if(a!==null)for(e.callbacks=null,e=0;e<a.length;e++)vg(a[e],t)}var si=Vo(null),l2=Vo(0);function b8(e,t){e=pr,Vt(l2,e),Vt(si,t),pr=e|t.baseLanes}function Vp(){Vt(l2,pr),Vt(si,si.current)}function W3(){pr=l2.current,Da(si),Da(l2)}var Ia=Vo(null),Fa=null;function ei(e){var t=e.alternate;Vt(Ma,Ma.current&1),Vt(Ia,e),Fa===null&&(t===null||si.current!==null||t.memoizedState!==null)&&(Fa=e)}function Zp(e){Vt(Ma,Ma.current),Vt(Ia,e),Fa===null&&(Fa=e)}function wg(e){e.tag===22?(Vt(Ma,Ma.current),Vt(Ia,e),Fa===null&&(Fa=e)):ti()}function ti(){Vt(Ma,Ma.current),Vt(Ia,Ia.current)}function Cn(e){Da(Ia),Fa===e&&(Fa=null),Da(Ma)}var Ma=Vo(0);function Lc(e,t){Vt(Ia,Ia.current),Vt(Ma,t)}function K3(e){Da(Ma),Da(Ia),Fa===e&&(Fa=null)}function s2(e){for(var t=e;t!==null;){if(t.tag===13){var a=t.memoizedState;if(a!==null&&(a=a.dehydrated,a===null||S3(a)||w4(a)))return t}else if(t.tag===19&&t.memoizedProps.revealOrder!=="independent"){if((t.flags&128)!==0)return t}else if(t.child!==null){t.child.return=t,t=t.child;continue}if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return null;t=t.return}t.sibling.return=t.return,t=t.sibling}return null}var cr=0,Ke=null,At=null,sa=null,c2=!1,ts=!1,Wi=!1,d2=0,Bc=0,as=null,Yw=0;function Xt(){throw Error(ne(321))}function Y3(e,t){if(t===null)return!1;for(var a=0;a<t.length&&a<e.length;a++)if(!An(e[a],t[a]))return!1;return!0}function J3(e,t,a,n,o,r){return cr=r,Ke=t,t.memoizedState=null,t.updateQueue=null,t.lanes=0,_e.H=e===null||e.memoizedState===null?$g:Qg,Wi=!1,r=a(n,o),Wi=!1,ts&&(r=Sg(t,a,n,o)),kg(e),r}function kg(e){_e.H=u2;var t=At!==null&&At.next!==null;if(cr=0,sa=At=Ke=null,c2=!1,Bc=0,as=null,t)throw Error(ne(300));e===null||da||(e=e.dependencies,e!==null&&r2(e)&&(da=!0))}function Sg(e,t,a,n){Ke=e;var o=0;do{if(ts&&(as=null),Bc=0,ts=!1,25<=o)throw Error(ne(301));if(o+=1,sa=At=null,e.updateQueue!=null){var r=e.updateQueue;r.lastEffect=null,r.events=null,r.stores=null,r.memoCache!=null&&(r.memoCache.index=0)}_e.H=nk,r=t(a,n)}while(ts);return r}function Jw(){var e=_e.H,t=e.useState()[0];return t=typeof t.then=="function"?$c(t):t,e=e.useState()[0],(At!==null?At.memoizedState:null)!==e&&(Ke.flags|=1024),t}function X3(){var e=d2!==0;return d2=0,e}function $3(e,t,a){t.updateQueue=e.updateQueue,t.flags&=-2053,e.lanes&=~a}function Q3(e){if(c2){for(e=e.memoizedState;e!==null;){var t=e.queue;t!==null&&(t.pending=null),e=e.next}c2=!1}cr=0,sa=At=Ke=null,ts=!1,Bc=d2=0,as=null}function en(){var e={memoizedState:null,baseState:null,baseQueue:null,queue:null,next:null};return sa===null?Ke.memoizedState=sa=e:sa=sa.next=e,sa}function aa(){if(At===null){var e=Ke.alternate;e=e!==null?e.memoizedState:null}else e=At.next;var t=sa===null?Ke.memoizedState:sa.next;if(t!==null)sa=t,At=e;else{if(e===null)throw Ke.alternate===null?Error(ne(467)):Error(ne(310));At=e,e={memoizedState:At.memoizedState,baseState:At.baseState,baseQueue:At.baseQueue,queue:At.queue,next:null},sa===null?Ke.memoizedState=sa=e:sa=sa.next=e}return sa}function P2(){return{lastEffect:null,events:null,stores:null,memoCache:null}}function $c(e){var t=Bc;return Bc+=1,as===null&&(as=[]),e=bg(as,e,t),t=Ke,(sa===null?t.memoizedState:sa.next)===null&&(t=t.alternate,_e.H=t===null||t.memoizedState===null?$g:Qg),e}function O2(e){if(e!==null&&typeof e=="object"){if(typeof e.then=="function")return $c(e);if(e.$$typeof===Ax)return;if(e.$$typeof===Oo)return Na(e)}throw Error(ne(438,String(e)))}function e4(e){var t=null,a=Ke.updateQueue;if(a!==null&&(t=a.memoCache),t==null){var n=Ke.alternate;n!==null&&(n=n.updateQueue,n!==null&&(n=n.memoCache,n!=null&&(t={data:n.data.map(function(o){return o.slice()}),index:0})))}if(t==null&&(t={data:[],index:0}),a===null&&(a=P2(),Ke.updateQueue=a),a.memoCache=t,a=t.data[t.index],a===void 0)for(a=t.data[t.index]=Array(e),n=0;n<e;n++)a[n]=Mx;return t.index++,a}function dr(e,t){return typeof t=="function"?t(e):t}function H0(e){var t=aa();return t4(t,At,e)}function t4(e,t,a){var n=e.queue;if(n===null)throw Error(ne(311));n.lastRenderedReducer=a;var o=e.baseQueue,r=n.pending;if(r!==null){if(o!==null){var i=o.next;o.next=r.next,r.next=i}t.baseQueue=o=r,n.pending=null}if(r=e.baseState,o===null)e.memoizedState=r;else{t=o.next;var l=i=null,s=null,c=t,d=!1;do{var f=c.lane&-536870913;if(f!==c.lane?(dt&f)===f:(cr&f)===f){var u=c.revertLane;if(u===0)s!==null&&(s=s.next={lane:0,revertLane:0,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null}),f===Fi&&(d=!0);else if((cr&u)===u){c=c.next,u===Fi&&(d=!0);continue}else f={lane:0,revertLane:c.revertLane,gesture:null,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},s===null?(l=s=f,i=r):s=s.next=f,Ke.lanes|=u,di|=u;f=c.action,Wi&&a(r,f),r=c.hasEagerState?c.eagerState:a(r,f)}else u={lane:f,revertLane:c.revertLane,gesture:c.gesture,action:c.action,hasEagerState:c.hasEagerState,eagerState:c.eagerState,next:null},s===null?(l=s=u,i=r):s=s.next=u,Ke.lanes|=f,di|=f;c=c.next}while(c!==null&&c!==t);if(s===null?i=r:s.next=l,!An(r,e.memoizedState)&&(da=!0,d&&(a=Ql,a!==null)))throw a;e.memoizedState=r,e.baseState=i,e.baseQueue=s,n.lastRenderedState=r}return o===null&&(n.lanes=0),[e.memoizedState,n.dispatch]}function ap(e){var t=aa(),a=t.queue;if(a===null)throw Error(ne(311));a.lastRenderedReducer=e;var n=a.dispatch,o=a.pending,r=t.memoizedState;if(o!==null){a.pending=null;var i=o=o.next;do r=e(r,i.action),i=i.next;while(i!==o);An(r,t.memoizedState)||(da=!0),t.memoizedState=r,t.baseQueue===null&&(t.baseState=r),a.lastRenderedState=r}return[r,n]}function Cg(e,t,a){var n=Ke,o=aa(),r=ot;if(r){if(a===void 0)throw Error(ne(407));a=a()}else a=t();var i=!An((At||o).memoizedState,a);if(i&&(o.memoizedState=a,da=!0),o=o.queue,a4(Eg.bind(null,n,o,e),[e]),e=o.getSnapshot!==t||i||sa!==null&&(sa.memoizedState.tag&1)!==0,cs(e?9:8,{destroy:void 0},zg.bind(null,n,o,a,t),null),e){if(n.flags|=2048,It===null)throw Error(ne(349));r||(cr&127)!==0||Tg(n,t,a)}return a}function Tg(e,t,a){e.flags|=16384,e={getSnapshot:t,value:a},t=Ke.updateQueue,t===null?(t=P2(),Ke.updateQueue=t,t.stores=[e]):(a=t.stores,a===null?t.stores=[e]:a.push(e))}function zg(e,t,a,n){t.value=a,t.getSnapshot=n,Ng(t)&&Dg(e)}function Eg(e,t,a){return a(function(){Ng(t)&&Dg(e)})}function Ng(e){var t=e.getSnapshot;e=e.value;try{var a=t();return!An(e,a)}catch{return!0}}function Dg(e){var t=Qi(e,2);t!==null&&un(t,e,2)}function Gp(e){var t=en();if(typeof e=="function"){var a=e;if(e=a(),Wi){Gr(!0);try{a()}finally{Gr(!1)}}}return t.memoizedState=t.baseState=e,t.queue={pending:null,lanes:0,dispatch:null,lastRenderedReducer:dr,lastRenderedState:e},t}function Mg(e,t,a,n){return e.baseState=a,t4(e,At,typeof n=="function"?n:dr)}function Xw(e,t,a,n,o){if(B2(e))throw Error(ne(485));if(e=t.action,e!==null){var r={payload:o,action:e,next:null,isTransition:!0,status:"pending",value:null,reason:null,listeners:[],then:function(i){r.listeners.push(i)}};_e.T!==null?a(!0):r.isTransition=!1,n(r),a=t.pending,a===null?(r.next=t.pending=r,Ag(t,r)):(r.next=a.next,t.pending=a.next=r)}}function Ag(e,t){var a=t.action,n=t.payload,o=e.state;if(t.isTransition){var r=_e.T,i={};i.types=r!==null?r.types:null,_e.T=i;try{var l=a(o,n),s=_e.S;s!==null&&s(i,l),h8(e,t,l)}catch(c){Fp(e,t,c)}finally{r!==null&&i.types!==null&&(r.types=i.types),_e.T=r}}else try{r=a(o,n),h8(e,t,r)}catch(c){Fp(e,t,c)}}function h8(e,t,a){a!==null&&typeof a=="object"&&typeof a.then=="function"?a.then(function(n){y8(e,t,n)},function(n){return Fp(e,t,n)}):y8(e,t,a)}function y8(e,t,a){t.status="fulfilled",t.value=a,Ig(t),e.state=a,t=e.pending,t!==null&&(a=t.next,a===t?e.pending=null:(a=a.next,t.next=a,Ag(e,a)))}function Fp(e,t,a){var n=e.pending;if(e.pending=null,n!==null){n=n.next;do t.status="rejected",t.reason=a,Ig(t),t=t.next;while(t!==n)}e.action=null}function Ig(e){e=e.listeners;for(var t=0;t<e.length;t++)(0,e[t])()}function Rg(e,t){return t}function v8(e,t){if(ot){var a=It.formState;if(a!==null){e:{var n=Ke;if(ot){if(_t){t:{for(var o=_t,r=eo;o.nodeType!==8;){if(!r){o=null;break t}if(o=to(o.nextSibling),o===null){o=null;break t}}r=o.data,o=r==="F!"||r==="F"?o:null}if(o){_t=to(o.nextSibling),n=o.data==="F!";break e}}li(n)}n=!1}n&&(t=a[0])}}return a=en(),a.memoizedState=a.baseState=t,n={pending:null,lanes:0,dispatch:null,lastRenderedReducer:Rg,lastRenderedState:t},a.queue=n,a=Yg.bind(null,Ke,n),n.dispatch=a,n=Gp(!1),r=i4.bind(null,Ke,!1,n.queue),n=en(),o={state:t,dispatch:null,action:e,pending:null},n.queue=o,a=Xw.bind(null,Ke,o,r,a),o.dispatch=a,n.memoizedState=e,[t,a,!1]}function x8(e){var t=aa();return Pg(t,At,e)}function Pg(e,t,a){if(t=t4(e,t,Rg)[0],e=H0(dr)[0],typeof t=="object"&&t!==null&&typeof t.then=="function")try{var n=$c(t)}catch(i){throw i===ws?R2:i}else n=t;t=aa();var o=t.queue,r=o.dispatch;return a!==t.memoizedState&&(Ke.flags|=2048,cs(9,{destroy:void 0},$w.bind(null,o,a),null)),[n,r,e]}function $w(e,t){e.action=t}function w8(e){var t=aa(),a=At;if(a!==null)return Pg(t,a,e);aa(),t=t.memoizedState,a=aa();var n=a.queue.dispatch;return a.memoizedState=e,[t,n,!1]}function cs(e,t,a,n){return e={tag:e,create:a,deps:n,inst:t,next:null},t=Ke.updateQueue,t===null&&(t=P2(),Ke.updateQueue=t),a=t.lastEffect,a===null?t.lastEffect=e.next=e:(n=a.next,a.next=e,e.next=n,t.lastEffect=e),e}function Og(){return aa().memoizedState}function j0(e,t,a,n){var o=en();Ke.flags|=e,o.memoizedState=cs(1|t,{destroy:void 0},a,n===void 0?null:n)}function L2(e,t,a,n){var o=aa();n=n===void 0?null:n;var r=o.memoizedState.inst;At!==null&&n!==null&&Y3(n,At.memoizedState.deps)?o.memoizedState=cs(t,r,a,n):(Ke.flags|=e,o.memoizedState=cs(1|t,r,a,n))}function k8(e,t){j0(8390656,8,e,t)}function a4(e,t){L2(2048,8,e,t)}function Qw(e){Ke.flags|=4;var t=Ke.updateQueue;if(t===null)t=P2(),Ke.updateQueue=t,t.events=[e];else{var a=t.events;a===null?t.events=[e]:a.push(e)}}function Lg(e){var t=aa().memoizedState;return Qw({ref:t,nextImpl:e}),function(){if((ht&2)!==0)throw Error(ne(440));return t.impl.apply(void 0,arguments)}}function Bg(e,t){return L2(4,2,e,t)}function Hg(e,t){return L2(4,4,e,t)}function jg(e,t){if(typeof t=="function"){e=e();var a=t(e);return function(){typeof a=="function"?a():t(null)}}if(t!=null)return e=e(),t.current=e,function(){t.current=null}}function Ug(e,t,a){a=a!=null?a.concat([e]):null,L2(4,4,jg.bind(null,t,e),a)}function n4(){}function _g(e,t){var a=aa();t=t===void 0?null:t;var n=a.memoizedState;return t!==null&&Y3(t,n[1])?n[0]:(a.memoizedState=[e,t],e)}function Vg(e,t){var a=aa();t=t===void 0?null:t;var n=a.memoizedState;if(t!==null&&Y3(t,n[1]))return n[0];if(n=e(),Wi){Gr(!0);try{e()}finally{Gr(!1)}}return a.memoizedState=[n,t],n}function o4(e,t,a){return a===void 0||(cr&1073741824)!==0&&(dt&261930)===0?e.memoizedState=t:(e.memoizedState=a,e=P9(),Ke.lanes|=e,di|=e,a)}function Zg(e,t,a,n){return An(a,t)?a:si.current!==null?(e=o4(e,a,n),An(e,t)||(da=!0),e):(cr&106)===0||(cr&1073741824)!==0&&(dt&261930)===0?(da=!0,e.memoizedState=a):(e=P9(),Ke.lanes|=e,di|=e,t)}function Gg(e,t,a,n,o){var r=yt.p;yt.p=r!==0&&8>r?r:8;var i=_e.T,l={};l.types=i!==null?i.types:null,_e.T=l,i4(e,!1,t,a);try{var s=o(),c=_e.S;if(c!==null&&c(l,s),s!==null&&typeof s=="object"&&typeof s.then=="function"){var d=Kw(s,n);Sc(e,t,d,Mn(e))}else Sc(e,t,n,Mn(e))}catch(f){Sc(e,t,{then:function(){},status:"rejected",reason:f},Mn())}finally{yt.p=r,i!==null&&l.types!==null&&(i.types=l.types),_e.T=i}}function ek(){}function qp(e,t,a,n){if(e.tag!==5)throw Error(ne(476));var o=Fg(e).queue;Gg(e,o,t,Bi,a===null?ek:function(){return qg(e),a(n)})}function Fg(e){var t=e.memoizedState;if(t!==null)return t;t={memoizedState:Bi,baseState:Bi,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:dr,lastRenderedState:Bi},next:null};var a={};return t.next={memoizedState:a,baseState:a,baseQueue:null,queue:{pending:null,lanes:0,dispatch:null,lastRenderedReducer:dr,lastRenderedState:a},next:null},e.memoizedState=t,e=e.alternate,e!==null&&(e.memoizedState=t),t}function qg(e){var t=Fg(e);t.next===null&&(t=e.alternate.memoizedState),Sc(e,t.next.queue,{},Mn())}function r4(){return Na(bs)}function Wg(){return aa().memoizedState}function Kg(){return aa().memoizedState}function tk(e){for(var t=e.return;t!==null;){switch(t.tag){case 24:case 3:var a=Mn();e=$r(a);var n=Qr(t,e,a);n!==null&&(un(n,t,a),xc(n,t,a)),t={cache:Z3()},e.payload=t;return}t=t.return}}function ak(e,t,a){var n=Mn();a={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null},B2(e)?Jg(t,a):(a=U3(e,t,a,n),a!==null&&(un(a,e,n),Xg(a,t,n)))}function Yg(e,t,a){var n=Mn();Sc(e,t,a,n)}function Sc(e,t,a,n){var o={lane:n,revertLane:0,gesture:null,action:a,hasEagerState:!1,eagerState:null,next:null};if(B2(e))Jg(t,o);else{var r=e.alternate;if(e.lanes===0&&(r===null||r.lanes===0)&&(r=t.lastRenderedReducer,r!==null))try{var i=t.lastRenderedState,l=r(i,a);if(o.hasEagerState=!0,o.eagerState=l,An(l,i))return A2(e,t,o,0),It===null&&M2(),!1}catch{}if(a=U3(e,t,o,n),a!==null)return un(a,e,n),Xg(a,t,n),!0}return!1}function i4(e,t,a,n){if(n={lane:2,revertLane:h4(),gesture:null,action:n,hasEagerState:!1,eagerState:null,next:null},B2(e)){if(t)throw Error(ne(479))}else t=U3(e,a,n,2),t!==null&&un(t,e,2)}function B2(e){var t=e.alternate;return e===Ke||t!==null&&t===Ke}function Jg(e,t){ts=c2=!0;var a=e.pending;a===null?t.next=t:(t.next=a.next,a.next=t),e.pending=t}function Xg(e,t,a){if((a&4194048)!==0){var n=t.lanes;n&=e.pendingLanes,a|=n,t.lanes=a,Of(e,a)}}var u2={readContext:Na,use:O2,useCallback:Xt,useContext:Xt,useEffect:Xt,useImperativeHandle:Xt,useLayoutEffect:Xt,useInsertionEffect:Xt,useMemo:Xt,useReducer:Xt,useRef:Xt,useState:Xt,useDebugValue:Xt,useDeferredValue:Xt,useTransition:Xt,useSyncExternalStore:Xt,useId:Xt,useHostTransitionStatus:Xt,useFormState:Xt,useActionState:Xt,useOptimistic:Xt,useMemoCache:Xt,useCacheRefresh:Xt,useEffectEvent:Xt},$g={readContext:Na,use:O2,useCallback:function(e,t){return en().memoizedState=[e,t===void 0?null:t],e},useContext:Na,useEffect:k8,useImperativeHandle:function(e,t,a){a=a!=null?a.concat([e]):null,j0(4194308,4,jg.bind(null,t,e),a)},useLayoutEffect:function(e,t){return j0(4194308,4,e,t)},useInsertionEffect:function(e,t){j0(4,2,e,t)},useMemo:function(e,t){var a=en();t=t===void 0?null:t;var n=e();if(Wi){Gr(!0);try{e()}finally{Gr(!1)}}return a.memoizedState=[n,t],n},useReducer:function(e,t,a){var n=en();if(a!==void 0){var o=a(t);if(Wi){Gr(!0);try{a(t)}finally{Gr(!1)}}}else o=t;return n.memoizedState=n.baseState=o,e={pending:null,lanes:0,dispatch:null,lastRenderedReducer:e,lastRenderedState:o},n.queue=e,e=e.dispatch=ak.bind(null,Ke,e),[n.memoizedState,e]},useRef:function(e){var t=en();return e={current:e},t.memoizedState=e},useState:function(e){e=Gp(e);var t=e.queue,a=Yg.bind(null,Ke,t);return t.dispatch=a,[e.memoizedState,a]},useDebugValue:n4,useDeferredValue:function(e,t){var a=en();return o4(a,e,t)},useTransition:function(){var e=Gp(!1);return e=Gg.bind(null,Ke,e.queue,!0,!1),en().memoizedState=e,[!1,e]},useSyncExternalStore:function(e,t,a){var n=Ke,o=en();if(ot){if(a===void 0)throw Error(ne(407));a=a()}else{if(a=t(),It===null)throw Error(ne(349));(dt&127)!==0||Tg(n,t,a)}o.memoizedState=a;var r={value:a,getSnapshot:t};return o.queue=r,k8(Eg.bind(null,n,r,e),[e]),n.flags|=2048,cs(9,{destroy:void 0},zg.bind(null,n,r,a,t),null),a},useId:function(){var e=en(),t=It.identifierPrefix;if(ot){var a=Ho,n=Bo;a=(n&~(1<<32-Dn(n)-1)).toString(32)+a,t="_"+t+"R_"+a,a=d2++,0<a&&(t+="H"+a.toString(32)),t+="_"}else a=Yw++,t="_"+t+"r_"+a.toString(32)+"_";return e.memoizedState=t},useHostTransitionStatus:r4,useFormState:v8,useActionState:v8,useOptimistic:function(e){var t=en();t.memoizedState=t.baseState=e;var a={pending:null,lanes:0,dispatch:null,lastRenderedReducer:null,lastRenderedState:null};return t.queue=a,t=i4.bind(null,Ke,!0,a),a.dispatch=t,[e,t]},useMemoCache:e4,useCacheRefresh:function(){return en().memoizedState=tk.bind(null,Ke)},useEffectEvent:function(e){var t=en(),a={impl:e};return t.memoizedState=a,function(){if((ht&2)!==0)throw Error(ne(440));return a.impl.apply(void 0,arguments)}}},Qg={readContext:Na,use:O2,useCallback:_g,useContext:Na,useEffect:a4,useImperativeHandle:Ug,useInsertionEffect:Bg,useLayoutEffect:Hg,useMemo:Vg,useReducer:H0,useRef:Og,useState:function(){return H0(dr)},useDebugValue:n4,useDeferredValue:function(e,t){var a=aa();return Zg(a,At.memoizedState,e,t)},useTransition:function(){var e=H0(dr)[0],t=aa().memoizedState;return[typeof e=="boolean"?e:$c(e),t]},useSyncExternalStore:Cg,useId:Wg,useHostTransitionStatus:r4,useFormState:x8,useActionState:x8,useOptimistic:function(e,t){var a=aa();return Mg(a,At,e,t)},useMemoCache:e4,useCacheRefresh:Kg,useEffectEvent:Lg},nk={readContext:Na,use:O2,useCallback:_g,useContext:Na,useEffect:a4,useImperativeHandle:Ug,useInsertionEffect:Bg,useLayoutEffect:Hg,useMemo:Vg,useReducer:ap,useRef:Og,useState:function(){return ap(dr)},useDebugValue:n4,useDeferredValue:function(e,t){var a=aa();return At===null?o4(a,e,t):Zg(a,At.memoizedState,e,t)},useTransition:function(){var e=ap(dr)[0],t=aa().memoizedState;return[typeof e=="boolean"?e:$c(e),t]},useSyncExternalStore:Cg,useId:Wg,useHostTransitionStatus:r4,useFormState:w8,useActionState:w8,useOptimistic:function(e,t){var a=aa();return At!==null?Mg(a,At,e,t):(a.baseState=e,[e,a.queue.dispatch])},useMemoCache:e4,useCacheRefresh:Kg,useEffectEvent:Lg};function np(e,t,a,n){t=e.memoizedState,a=a(n,t),a=a==null?t:Rt({},t,a),e.memoizedState=a,e.lanes===0&&(e.updateQueue.baseState=a)}var Wp={enqueueSetState:function(e,t,a){e=e._reactInternals;var n=Mn(),o=$r(n);o.payload=t,a!=null&&(o.callback=a),t=Qr(e,o,n),t!==null&&(un(t,e,n),xc(t,e,n))},enqueueReplaceState:function(e,t,a){e=e._reactInternals;var n=Mn(),o=$r(n);o.tag=1,o.payload=t,a!=null&&(o.callback=a),t=Qr(e,o,n),t!==null&&(un(t,e,n),xc(t,e,n))},enqueueForceUpdate:function(e,t){e=e._reactInternals;var a=Mn(),n=$r(a);n.tag=2,t!=null&&(n.callback=t),t=Qr(e,n,a),t!==null&&(un(t,e,a),xc(t,e,a))}};function S8(e,t,a,n,o,r,i){return e=e.stateNode,typeof e.shouldComponentUpdate=="function"?e.shouldComponentUpdate(n,r,i):t.prototype&&t.prototype.isPureReactComponent?!Ic(a,n)||!Ic(o,r):!0}function C8(e,t,a,n){e=t.state,typeof t.componentWillReceiveProps=="function"&&t.componentWillReceiveProps(a,n),typeof t.UNSAFE_componentWillReceiveProps=="function"&&t.UNSAFE_componentWillReceiveProps(a,n),t.state!==e&&Wp.enqueueReplaceState(t,t.state,null)}function Ki(e,t){var a=t;if("ref"in t){a={};for(var n in t)n!=="ref"&&(a[n]=t[n])}if(e=e.defaultProps){a===t&&(a=Rt({},a));for(var o in e)a[o]===void 0&&(a[o]=e[o])}return a}function e9(e){t2(e)}function t9(e){console.error(e)}function a9(e){t2(e)}function p2(e,t){try{var a=e.onUncaughtError;a(t.value,{componentStack:t.stack})}catch(n){setTimeout(function(){throw n})}}function T8(e,t,a){try{var n=e.onCaughtError;n(a.value,{componentStack:a.stack,errorBoundary:t.tag===1?t.stateNode:null})}catch(o){setTimeout(function(){throw o})}}function Kp(e,t,a){return a=$r(a),a.tag=3,a.payload={element:null},a.callback=function(){p2(e,t)},a}function n9(e){return e=$r(e),e.tag=3,e}function o9(e,t,a,n){var o=a.type.getDerivedStateFromError;if(typeof o=="function"){var r=n.value;e.payload=function(){return o(r)},e.callback=function(){T8(t,a,n)}}var i=a.stateNode;i!==null&&typeof i.componentDidCatch=="function"&&(e.callback=function(){T8(t,a,n),typeof o!="function"&&(ai===null?ai=new Set([this]):ai.add(this));var l=n.stack;this.componentDidCatch(n.value,{componentStack:l!==null?l:""})})}function ok(e,t,a,n,o){if(a.flags|=32768,n!==null&&typeof n=="object"&&typeof n.then=="function"){if(t=a.alternate,t!==null&&Zi(t,a,o,!0),a=Ia.current,a!==null){switch(a.tag){case 31:case 13:case 19:return Fa===null?x2():a.alternate===null&&$t===0&&($t=3),a.flags&=-257,a.flags|=65536,a.lanes=o,n===i2?a.flags|=16384:(t=a.updateQueue,t===null?a.updateQueue=new Set([n]):t.add(n),dp(e,n,o)),!1;case 22:return a.flags|=65536,n===i2?a.flags|=16384:(t=a.updateQueue,t===null?(t={transitions:null,markerInstances:null,retryQueue:new Set([n])},a.updateQueue=t):(a=t.retryQueue,a===null?t.retryQueue=new Set([n]):a.add(n)),dp(e,n,o)),!1}throw Error(ne(435,a.tag))}return dp(e,n,o),x2(),!1}if(ot)return t=Ia.current,t!==null?((t.flags&65536)===0&&(t.flags|=256),t.flags|=65536,t.lanes=o,n!==Lp&&(e=Error(ne(422),{cause:n}),Pc(Qn(e,a)))):(n!==Lp&&(t=Error(ne(423),{cause:n}),Pc(Qn(t,a))),e=e.current.alternate,e.flags|=65536,o&=-o,e.lanes|=o,n=Qn(n,a),o=Kp(e.stateNode,n,o),tp(e,o),$t!==4&&($t=2)),!1;var r=Error(ne(520),{cause:n});if(r=Qn(r,a),Ec===null?Ec=[r]:Ec.push(r),$t!==4&&($t=2),t===null)return!0;n=Qn(n,a),a=t;do{switch(a.tag){case 3:return a.flags|=65536,e=o&-o,a.lanes|=e,e=Kp(a.stateNode,n,e),tp(a,e),!1;case 1:if(t=a.type,r=a.stateNode,(a.flags&128)===0&&(typeof t.getDerivedStateFromError=="function"||r!==null&&typeof r.componentDidCatch=="function"&&(ai===null||!ai.has(r))))return a.flags|=65536,o&=-o,a.lanes|=o,o=n9(o),o9(o,e,a,n),tp(a,o),!1;break;case 22:if(a.memoizedState!==null)return a.flags|=65536,!1}a=a.return}while(a!==null);return!1}var l4=Error(ne(461)),da=!1;function fa(e,t,a,n){t.child=e===null?yg(t,null,a,n):qi(t,e.child,a,n)}function z8(e,t,a,n,o){a=a.render;var r=t.ref;if("ref"in n){var i={};for(var l in n)l!=="ref"&&(i[l]=n[l])}else i=n;return Gi(t),n=J3(e,t,a,i,r,o),l=X3(),e!==null&&!da?($3(e,t,o),ur(e,t,o)):(ot&&l&&I2(t),t.flags|=1,fa(e,t,n,o),t.child)}function E8(e,t,a,n,o){if(e===null){var r=a.type;return typeof r=="function"&&!_3(r)&&r.defaultProps===void 0&&a.compare===null?(t.tag=15,t.type=r,r9(e,t,r,n,o)):(e=O0(a.type,null,n,t,t.mode,o),e.ref=t.ref,e.return=t,t.child=e)}if(r=e.child,!c4(e,o)){var i=r.memoizedProps;if(a=a.compare,a=a!==null?a:Ic,a(i,n)&&e.ref===t.ref)return ur(e,t,o)}return t.flags|=1,e=rr(r,n),e.ref=t.ref,e.return=t,t.child=e}function r9(e,t,a,n,o){if(e!==null){var r=e.memoizedProps;if(Ic(r,n)&&e.ref===t.ref)if(da=!1,t.pendingProps=n=r,c4(e,o))(e.flags&131072)!==0&&(da=!0);else return t.lanes=e.lanes,ur(e,t,o)}return Yp(e,t,a,n,o)}function i9(e,t,a,n){var o=n.children,r=e!==null?e.memoizedState:null;if(e===null&&t.stateNode===null&&(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),n.mode==="hidden"){if((t.flags&128)!==0){if(r=r!==null?r.baseLanes|a:a,e!==null){for(n=t.child=e.child,o=0;n!==null;)o=o|n.lanes|n.childLanes,n=n.sibling;n=o&~r}else n=0,t.child=null;return N8(e,t,r,a,n)}if((a&536870912)!==0)t.memoizedState={baseLanes:0,cachePool:null},e!==null&&B0(t,r!==null?r.cachePool:null),r!==null?b8(t,r):Vp(),wg(t);else return n=t.lanes=536870912,N8(e,t,r!==null?r.baseLanes|a:a,a,n)}else r!==null?(B0(t,r.cachePool),b8(t,r),ti(),t.memoizedState=null):(e!==null&&B0(t,null),Vp(),ti());return fa(e,t,o,a),t.child}function Cc(e,t){return e!==null&&e.tag===22||t.stateNode!==null||(t.stateNode={_visibility:1,_pendingMarkers:null,_retryCache:null,_transitions:null}),t.sibling}function N8(e,t,a,n,o){var r=G3();return r=r===null?null:{parent:ca._currentValue,pool:r},t.memoizedState={baseLanes:a,cachePool:r},e!==null&&B0(t,null),Vp(),wg(t),e!==null&&Zi(e,t,n,!0),t.childLanes=o,null}function U0(e,t){return t=H2({mode:t.mode,children:t.children},e.mode),t.ref=e.ref,e.child=t,t.return=e,t}function D8(e,t,a){return qi(t,e.child,null,a),e=U0(t,t.pendingProps),e.flags|=2,Cn(t),t.memoizedState=null,e}function rk(e,t,a){var n=t.pendingProps,o=(t.flags&128)!==0;if(t.flags&=-129,e===null){if(ot){if(n.mode==="hidden")return e=U0(t,n),t.lanes=536870912,e.memoizedState={baseLanes:0,cachePool:null},Cc(null,e);if(Zp(t),(e=_t)?(e=ib(e,eo),e=e!==null&&e.data==="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ii!==null?{id:Bo,overflow:Ho}:null,retryLane:536870912,hydrationErrors:null},a=ug(e),a.return=t,t.child=a,Ca=t,_t=null)):e=null,e===null)throw li(t);return t.lanes=536870912,null}return U0(t,n)}var r=e.memoizedState;if(r!==null){var i=r.dehydrated;if(Zp(t),o)if(t.flags&256)t.flags&=-257,t=D8(e,t,a);else if(t.memoizedState!==null)t.child=e.child,t.flags|=128,t=null;else throw Error(ne(558));else if(da||Zi(e,t,a,!1),o=(a&e.childLanes)!==0,da||o){if(si.current===null){if(n=It,n!==null&&(i=Lf(n,a),i!==0&&i!==r.retryLane))throw r.retryLane=i,Qi(e,i),un(n,e,i),l4;x2()}t=D8(e,t,a)}else e=r.treeContext,_t=to(i.nextSibling),Ca=t,ot=!0,Xr=null,eo=!1,e!==null&&mg(t,e),t=U0(t,n),t.flags|=134221824;return t}return e=rr(e.child,{mode:n.mode,children:n.children}),e.ref=t.ref,t.child=e,e.return=t,e}function Ol(e,t){var a=t.ref;if(a===null)e!==null&&e.ref!==null&&(t.flags|=4194816);else{if(typeof a!="function"&&typeof a!="object")throw Error(ne(284));(e===null||e.ref!==a)&&(t.flags|=4194816)}}function Yp(e,t,a,n,o){return Gi(t),a=J3(e,t,a,n,void 0,o),n=X3(),e!==null&&!da?($3(e,t,o),ur(e,t,o)):(ot&&n&&I2(t),t.flags|=1,fa(e,t,a,o),t.child)}function M8(e,t,a,n,o,r){return Gi(t),t.updateQueue=null,a=Sg(t,n,a,o),kg(e),n=X3(),e!==null&&!da?($3(e,t,r),ur(e,t,r)):(ot&&n&&I2(t),t.flags|=1,fa(e,t,a,r),t.child)}function A8(e,t,a,n,o){if(Gi(t),t.stateNode===null){var r=ql,i=a.contextType;typeof i=="object"&&i!==null&&(r=Na(i)),r=new a(n,r),t.memoizedState=r.state!==null&&r.state!==void 0?r.state:null,r.updater=Wp,t.stateNode=r,r._reactInternals=t,r=t.stateNode,r.props=n,r.state=t.memoizedState,r.refs={},q3(t),i=a.contextType,r.context=typeof i=="object"&&i!==null?Na(i):ql,r.state=t.memoizedState,i=a.getDerivedStateFromProps,typeof i=="function"&&(np(t,a,i,n),r.state=t.memoizedState),typeof a.getDerivedStateFromProps=="function"||typeof r.getSnapshotBeforeUpdate=="function"||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(i=r.state,typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount(),i!==r.state&&Wp.enqueueReplaceState(r,r.state,null),kc(t,n,r,o),wc(),r.state=t.memoizedState),typeof r.componentDidMount=="function"&&(t.flags|=4194308),n=!0}else if(e===null){r=t.stateNode;var l=t.memoizedProps,s=Ki(a,l);r.props=s;var c=r.context,d=a.contextType;i=ql,typeof d=="object"&&d!==null&&(i=Na(d));var f=a.getDerivedStateFromProps;d=typeof f=="function"||typeof r.getSnapshotBeforeUpdate=="function",l=t.pendingProps!==l,d||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(l||c!==i)&&C8(t,r,n,i),Vr=!1;var u=t.memoizedState;r.state=u,kc(t,n,r,o),wc(),c=t.memoizedState,l||u!==c||Vr?(typeof f=="function"&&(np(t,a,f,n),c=t.memoizedState),(s=Vr||S8(t,a,s,n,u,c,i))?(d||typeof r.UNSAFE_componentWillMount!="function"&&typeof r.componentWillMount!="function"||(typeof r.componentWillMount=="function"&&r.componentWillMount(),typeof r.UNSAFE_componentWillMount=="function"&&r.UNSAFE_componentWillMount()),typeof r.componentDidMount=="function"&&(t.flags|=4194308)):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),t.memoizedProps=n,t.memoizedState=c),r.props=n,r.state=c,r.context=i,n=s):(typeof r.componentDidMount=="function"&&(t.flags|=4194308),n=!1)}else{r=t.stateNode,Up(e,t),i=t.memoizedProps,d=Ki(a,i),r.props=d,f=t.pendingProps,u=r.context,c=a.contextType,s=ql,typeof c=="object"&&c!==null&&(s=Na(c)),l=a.getDerivedStateFromProps,(c=typeof l=="function"||typeof r.getSnapshotBeforeUpdate=="function")||typeof r.UNSAFE_componentWillReceiveProps!="function"&&typeof r.componentWillReceiveProps!="function"||(i!==f||u!==s)&&C8(t,r,n,s),Vr=!1,u=t.memoizedState,r.state=u,kc(t,n,r,o),wc();var g=t.memoizedState;i!==f||u!==g||Vr||e!==null&&e.dependencies!==null&&r2(e.dependencies)?(typeof l=="function"&&(np(t,a,l,n),g=t.memoizedState),(d=Vr||S8(t,a,d,n,u,g,s)||e!==null&&e.dependencies!==null&&r2(e.dependencies))?(c||typeof r.UNSAFE_componentWillUpdate!="function"&&typeof r.componentWillUpdate!="function"||(typeof r.componentWillUpdate=="function"&&r.componentWillUpdate(n,g,s),typeof r.UNSAFE_componentWillUpdate=="function"&&r.UNSAFE_componentWillUpdate(n,g,s)),typeof r.componentDidUpdate=="function"&&(t.flags|=4),typeof r.getSnapshotBeforeUpdate=="function"&&(t.flags|=1024)):(typeof r.componentDidUpdate!="function"||i===e.memoizedProps&&u===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&u===e.memoizedState||(t.flags|=1024),t.memoizedProps=n,t.memoizedState=g),r.props=n,r.state=g,r.context=s,n=d):(typeof r.componentDidUpdate!="function"||i===e.memoizedProps&&u===e.memoizedState||(t.flags|=4),typeof r.getSnapshotBeforeUpdate!="function"||i===e.memoizedProps&&u===e.memoizedState||(t.flags|=1024),n=!1)}return r=n,Ol(e,t),n=(t.flags&128)!==0,r||n?(r=t.stateNode,a=n&&typeof a.getDerivedStateFromError!="function"?null:r.render(),t.flags|=1,e!==null&&n?(t.child=qi(t,e.child,null,o),t.child=qi(t,null,a,o)):fa(e,t,a,o),t.memoizedState=r.state,e=t.child):e=ur(e,t,o),e}function I8(e,t,a,n){return Vi(),t.flags|=256,fa(e,t,a,n),t.child}var Jp={dehydrated:null,treeContext:null,retryLane:0,hydrationErrors:null};function Xp(e){return{baseLanes:e,cachePool:gg()}}function $p(e,t,a){return e=e!==null?e.childLanes&~a:0,t&&(e|=zn),e}function l9(e,t,a){var n=t.pendingProps,o=!1,r=(t.flags&128)!==0,i;if((i=r)||(i=e!==null&&e.memoizedState===null?!1:(Ma.current&2)!==0),i&&(o=!0,t.flags&=-129),i=(t.flags&32)!==0,t.flags&=-33,e===null){if(ot){if(o?ei(t):ti(),(e=_t)?(e=ib(e,eo),e=e!==null&&e.data!=="&"?e:null,e!==null&&(t.memoizedState={dehydrated:e,treeContext:ii!==null?{id:Bo,overflow:Ho}:null,retryLane:536870912,hydrationErrors:null},a=ug(e),a.return=t,t.child=a,Ca=t,_t=null)):e=null,e===null)throw li(t);return w4(e)?t.lanes=32:t.lanes=536870912,null}return r=n.children,n=n.fallback,o?(ti(),o=t.mode,r=H2({mode:"hidden",children:r},o),n=Hi(n,o,a,null),r.return=t,n.return=t,r.sibling=n,t.child=r,n=t.child,n.memoizedState=Xp(a),n.childLanes=$p(e,i,a),t.memoizedState=Jp,Cc(null,n)):(ei(t),s4(t,r))}var l=e.memoizedState;if(l!==null){var s=l.dehydrated;if(s!==null)return ik(e,t,r,i,n,s,l,a)}return o?(ti(),o=n.fallback,r=t.mode,l=e.child,s=l.sibling,n=rr(l,{mode:"hidden",children:n.children}),n.subtreeFlags=l.subtreeFlags&1206910976,s!==null?o=rr(s,o):(o=Hi(o,r,a,null),o.flags|=2),o.return=t,n.return=t,n.sibling=o,t.child=n,Cc(null,n),n=t.child,o=e.child.memoizedState,o===null?o=Xp(a):(r=o.cachePool,r!==null?(l=ca._currentValue,r=r.parent!==l?{parent:l,pool:l}:r):r=gg(),o={baseLanes:o.baseLanes|a,cachePool:r}),n.memoizedState=o,n.childLanes=$p(e,i,a),t.memoizedState=Jp,Cc(e.child,n)):(ei(t),a=e.child,e=a.sibling,a=rr(a,{mode:"visible",children:n.children}),a.return=t,a.sibling=null,e!==null&&(i=t.deletions,i===null?(t.deletions=[e],t.flags|=16):i.push(e)),t.child=a,t.memoizedState=null,a)}function s4(e,t){return t=H2({mode:"visible",children:t},e.mode),t.return=e,e.child=t}function H2(e,t){return e=dn(22,e,null,t),e.lanes=0,e}function w0(e,t,a){return qi(t,e.child,null,a),e=s4(t,t.pendingProps.children),e.flags|=2,t.memoizedState=null,e}function ik(e,t,a,n,o,r,i,l){if(a)return t.flags&256?(ei(t),t.flags&=-257,w0(e,t,l)):t.memoizedState!==null?(ti(),t.child=e.child,t.flags|=128,null):(ti(),r=o.fallback,i=t.mode,o=H2({mode:"visible",children:o.children},i),r=Hi(r,i,l,null),r.flags|=2,o.return=t,r.return=t,o.sibling=r,t.child=o,qi(t,e.child,null,l),o=t.child,o.memoizedState=Xp(l),o.childLanes=$p(e,n,l),t.memoizedState=Jp,Cc(null,o));if(ei(t),w4(r)){if(n=r.nextSibling&&r.nextSibling.dataset,n)var s=n.dgst;return n=s,n!==""&&(o=Error(ne(419)),o.stack="",o.digest=n,Pc({value:o,source:null,stack:null})),w0(e,t,l)}if(da||Zi(e,t,l,!1),n=(l&e.childLanes)!==0,da||n){if(si.current!==null)return w0(e,t,l);if(n=It,n!==null&&(o=Lf(n,l),o!==0&&o!==i.retryLane))throw i.retryLane=o,Qi(e,o),un(n,e,o),l4;return S3(r)||x2(),w0(e,t,l)}return S3(r)?(t.flags|=192,t.child=e.child,null):(e=i.treeContext,_t=to(r.nextSibling),Ca=t,ot=!0,Xr=null,eo=!1,e!==null&&mg(t,e),t=s4(t,o.children),t.flags|=134221824,t)}function R8(e,t,a){e.lanes|=t;var n=e.alternate;n!==null&&(n.lanes|=t),L0(e.return,t,a)}function P8(e){for(var t=null;e!==null;){var a=e.alternate;a!==null&&s2(a)===null&&(t=e),e=e.sibling}return t}function k0(e,t,a,n,o,r){var i=e.memoizedState;i===null?e.memoizedState={isBackwards:t,rendering:null,renderingStartTime:0,last:n,tail:a,tailMode:o,treeForkCount:r}:(i.isBackwards=t,i.rendering=null,i.renderingStartTime=0,i.last=n,i.tail=a,i.tailMode=o,i.treeForkCount=r)}function op(e){var t=e.child;for(e.child=null;t!==null;){var a=t.sibling;t.sibling=e.child,e.child=t,t=a}}function Qp(e,t,a){var n=t.pendingProps,o=n.revealOrder,r=n.tail;n=n.children;var i=Ma.current;if(t.flags&128)return Lc(t,i),null;var l=(i&2)!==0;if(l?(i=i&1|2,t.flags|=128):i&=1,Lc(t,i),o==="backwards"&&e!==null?(op(e),fa(e,t,n,a),op(e)):fa(e,t,n,a),n=ot?Rc:0,!l&&e!==null&&(e.flags&128)!==0)e:for(e=t.child;e!==null;){if(e.tag===13)e.memoizedState!==null&&R8(e,a,t);else if(e.tag===19)R8(e,a,t);else if(e.child!==null){e.child.return=e,e=e.child;continue}if(e===t)break e;for(;e.sibling===null;){if(e.return===null||e.return===t)break e;e=e.return}e.sibling.return=e.return,e=e.sibling}switch(o){case"backwards":a=P8(t.child),a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null,op(t)),k0(t,!0,o,null,r,n);break;case"unstable_legacy-backwards":for(a=null,o=t.child,t.child=null;o!==null;){if(e=o.alternate,e!==null&&s2(e)===null){t.child=o;break}e=o.sibling,o.sibling=a,a=o,o=e}k0(t,!0,a,null,r,n);break;case"together":k0(t,!1,null,null,void 0,n);break;case"independent":t.memoizedState=null;break;default:a=P8(t.child),a===null?(o=t.child,t.child=null):(o=a.sibling,a.sibling=null),k0(t,!1,o,a,r,n)}return t.child}function O8(e,t,a){var n=t.pendingProps;return qr(t,t.type,n.value),fa(e,t,n.children,a),t.child}function ur(e,t,a){if(e!==null&&(t.dependencies=e.dependencies),di|=t.lanes,(a&t.childLanes)===0)if(e!==null){if(Zi(e,t,a,!1),(a&t.childLanes)===0)return null}else return null;if(e!==null&&t.child!==e.child)throw Error(ne(153));if(t.child!==null){for(e=t.child,a=rr(e,e.pendingProps),t.child=a,a.return=t;e.sibling!==null;)e=e.sibling,a=a.sibling=rr(e,e.pendingProps),a.return=t;a.sibling=null}return t.child}function c4(e,t){return(e.lanes&t)!==0?!0:(e=e.dependencies,!!(e!==null&&r2(e)))}function lk(e,t,a){switch(t.tag){case 3:X0(t,t.stateNode.containerInfo),qr(t,ca,e.memoizedState.cache),Vi();break;case 27:case 5:zp(t);break;case 4:X0(t,t.stateNode.containerInfo);break;case 10:qr(t,t.type,t.memoizedProps.value);break;case 31:if(t.memoizedState!==null)return t.flags|=128,Zp(t),null;break;case 13:var n=t.memoizedState;if(n!==null){if(n.dehydrated!==null)return ei(t),t.flags|=128,null;n=Zi(e,t,a,!1);var o=t.child.childLanes;return n||(a&o)!==0?l9(e,t,a):(ei(t),e=ur(e,t,a),e!==null?e.sibling:null)}ei(t);break;case 19:if(t.flags&128)return Qp(e,t,a);if(o=(e.flags&128)!==0,n=(a&t.childLanes)!==0,n||(Zi(e,t,a,!1),n=(a&t.childLanes)!==0),o){if(n)return Qp(e,t,a);t.flags|=128}if(o=t.memoizedState,o!==null&&(o.rendering=null,o.tail=null,o.lastEffect=null),Lc(t,Ma.current),n)break;return null;case 22:return t.lanes=0,i9(e,t,a,t.pendingProps);case 24:qr(t,ca,e.memoizedState.cache)}return ur(e,t,a)}function s9(e,t,a){if(e!==null)if(e.memoizedProps!==t.pendingProps)da=!0;else{if(!c4(e,a)&&(t.flags&128)===0)return da=!1,lk(e,t,a);da=(e.flags&131072)!==0}else da=!1,ot&&(t.flags&1048576)!==0&&pg(t,Rc,t.index);switch(t.lanes=0,t.tag){case 16:e:{var n=t.pendingProps;if(e=Ri(t.elementType),t.type=e,typeof e=="function")_3(e)?(n=Ki(e,n),t.tag=1,t=A8(null,t,e,n,a)):(t.tag=0,t=Yp(null,t,e,n,a));else{if(e!=null){var o=e.$$typeof;if(o===N3){t.tag=11,t=z8(null,t,e,n,a);break e}else if(o===D3){t.tag=14,t=E8(null,t,e,n,a);break e}else if(o===Oo){t.tag=10,t.type=e,t=O8(null,t,a);break e}}throw t=Cp(e)||e,Error(ne(306,t,""))}}return t;case 0:return Yp(e,t,t.type,t.pendingProps,a);case 1:return n=t.type,o=Ki(n,t.pendingProps),A8(e,t,n,o,a);case 3:e:{if(X0(t,t.stateNode.containerInfo),e===null)throw Error(ne(387));n=t.pendingProps;var r=t.memoizedState;o=r.element,Up(e,t),kc(t,n,null,a);var i=t.memoizedState;if(n=i.cache,qr(t,ca,n),n!==r.cache&&Hp(t,[ca],a,!0),wc(),n=i.element,r.isDehydrated)if(r={element:n,isDehydrated:!1,cache:i.cache},t.updateQueue.baseState=r,t.memoizedState=r,t.flags&256){t=I8(e,t,n,a);break e}else if(n!==o){o=Qn(Error(ne(424)),t),Pc(o),t=I8(e,t,n,a);break e}else for(e=t.stateNode.containerInfo,e.nodeType===9?e=e.body:e=e.nodeName==="HTML"?e.ownerDocument.body:e,_t=to(e.firstChild),Ca=t,ot=!0,Xr=null,eo=!0,a=yg(t,null,n,a),t.child=a;a;)a.flags=a.flags&-3|134221824,a=a.sibling;else{if(Vi(),n===o){t=ur(e,t,a);break e}fa(e,t,n,a)}t=t.child}return t;case 26:return Ol(e,t),e===null?(a=cf(t.type,null,t.pendingProps,null))?t.memoizedState=a:ot||(t.stateNode=X9(t.type,t.pendingProps,Jr.current,t)):t.memoizedState=cf(t.type,e.memoizedProps,t.pendingProps,e.memoizedState),null;case 27:return zp(t),e===null&&ot&&(n=t.stateNode=lb(t.type,t.pendingProps,Jr.current),Ca=t,eo=!0,o=_t,pi(t.type)?(C3=o,_t=to(n.firstChild)):_t=o),fa(e,t,t.pendingProps.children,a),Ol(e,t),e===null&&(t.flags|=4194304),t.child;case 5:return e===null&&ot&&((o=n=_t)&&(n=Qk(n,t.type,t.pendingProps,eo),n!==null?(t.stateNode=n,Ca=t,_t=to(n.firstChild),eo=!1,o=!0):o=!1),o||li(t)),zp(t),o=t.type,r=t.pendingProps,i=e!==null?e.memoizedProps:null,n=r.children,x3(o,r)?n=null:i!==null&&x3(o,i)&&(t.flags|=32),t.memoizedState!==null&&(o=J3(e,t,Jw,null,null,a),bs._currentValue=o),Ol(e,t),fa(e,t,n,a),t.child;case 6:return e===null&&ot&&((e=a=_t)&&(a=eS(a,t.pendingProps,eo),a!==null?(t.stateNode=a,Ca=t,_t=null,e=!0):e=!1),e||li(t)),null;case 13:return l9(e,t,a);case 4:return X0(t,t.stateNode.containerInfo),n=t.pendingProps,e===null?t.child=qi(t,null,n,a):fa(e,t,n,a),t.child;case 11:return z8(e,t,t.type,t.pendingProps,a);case 7:return n=t.pendingProps,Ol(e,t),fa(e,t,n,a),t.child;case 8:return fa(e,t,t.pendingProps.children,a),t.child;case 12:return fa(e,t,t.pendingProps.children,a),t.child;case 10:return O8(e,t,a);case 9:return o=t.type._context,n=t.pendingProps.children,Gi(t),o=Na(o),n=n(o),t.flags|=1,fa(e,t,n,a),t.child;case 14:return E8(e,t,t.type,t.pendingProps,a);case 15:return r9(e,t,t.type,t.pendingProps,a);case 19:return Qp(e,t,a);case 31:return rk(e,t,a);case 22:return i9(e,t,a,t.pendingProps);case 24:return Gi(t),n=Na(ca),e===null?(o=G3(),o===null&&(o=It,r=Z3(),o.pooledCache=r,r.refCount++,r!==null&&(o.pooledCacheLanes|=a),o=r),t.memoizedState={parent:n,cache:o},q3(t),qr(t,ca,o)):((e.lanes&a)!==0&&(Up(e,t),kc(t,null,null,a),wc()),o=e.memoizedState,r=t.memoizedState,o.parent!==n?(o={parent:n,cache:n},t.memoizedState=o,t.lanes===0&&(t.memoizedState=t.updateQueue.baseState=o),qr(t,ca,n)):(n=r.cache,qr(t,ca,n),n!==o.cache&&Hp(t,[ca],a,!0))),fa(e,t,t.pendingProps.children,a),t.child;case 30:return t.stateNode===null&&(t.stateNode={autoName:null,paired:null,clones:null,ref:null}),n=t.pendingProps,n.name!=null&&n.name!=="auto"?t.flags|=e===null?18882560:18874368:ot&&I2(t),e!==null&&e.memoizedProps.name!==n.name?t.flags|=4194816:Ol(e,t),fa(e,t,n.children,a),t.child;case 29:throw t.pendingProps}throw Error(ne(156,t.tag))}function ar(e){e.flags|=4}function rp(e,t,a,n,o){var r;if((r=(e.mode&32)!==0)&&(r=a===null?pf(t,n):pf(t,n)&&(n.src!==a.src||n.srcSet!==a.srcSet)),r){if(e.flags|=16777216,(o&335544128)===o)if(e.stateNode.complete)e.flags|=8192;else if(B9())e.flags|=8192;else throw Ui=i2,F3}else e.flags&=-16777217}function L8(e,t){if(t.type!=="stylesheet"||(t.state.loading&4)!==0)e.flags&=-16777217;else if(e.flags|=16777216,!ub(t))if(B9())e.flags|=8192;else throw Ui=i2,F3}function S0(e,t){t!==null&&(e.flags|=4),e.flags&16384&&(t=e.tag!==22?Rf():536870912,e.lanes|=t,ds|=t)}function lc(e,t){if(!ot)switch(e.tailMode){case"visible":break;case"collapsed":for(var a=e.tail,n=null;a!==null;)a.alternate!==null&&(n=a),a=a.sibling;n===null?t||e.tail===null?e.tail=null:e.tail.sibling=null:n.sibling=null;break;default:for(t=e.tail,a=null;t!==null;)t.alternate!==null&&(a=t),t=t.sibling;a===null?e.tail=null:a.sibling=null}}function Ut(e){var t=e.alternate!==null&&e.alternate.child===e.child,a=0,n=0;if(t)for(var o=e.child;o!==null;)a|=o.lanes|o.childLanes,n|=o.subtreeFlags&1206910976,n|=o.flags&1206910976,o.return=e,o=o.sibling;else for(o=e.child;o!==null;)a|=o.lanes|o.childLanes,n|=o.subtreeFlags,n|=o.flags,o.return=e,o=o.sibling;return e.subtreeFlags|=n,e.childLanes=a,t}function sk(e,t,a){var n=t.pendingProps;switch(V3(t),t.tag){case 16:case 15:case 0:case 11:case 7:case 8:case 12:case 9:case 14:return Ut(t),null;case 1:return Ut(t),null;case 3:return a=t.stateNode,n=null,e!==null&&(n=e.memoizedState.cache),t.memoizedState.cache!==n&&(t.flags|=2048),ir(ca),is(),a.pendingContext&&(a.context=a.pendingContext,a.pendingContext=null),(e===null||e.child===null)&&(Rl(t)?ar(t):e===null||e.memoizedState.isDehydrated&&(t.flags&256)===0||(t.flags|=1024,ep())),Ut(t),null;case 26:var o=t.type,r=t.memoizedState;return e===null?(ar(t),r!==null?(Ut(t),L8(t,r)):(Ut(t),rp(t,o,null,n,a))):r?r!==e.memoizedState?(ar(t),Ut(t),L8(t,r)):(Ut(t),t.flags&=-16777217):(e=e.memoizedProps,e!==n&&ar(t),Ut(t),rp(t,o,e,n,a)),null;case 27:if($0(t),a=Jr.current,o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&ar(t);else{if(!n){if(t.stateNode===null)throw Error(ne(166));return Ut(t),t.subtreeFlags&=-33554433,null}e=jo.current,Rl(t)?c8(t,e):(e=lb(o,n,a),t.stateNode=e,ar(t))}return Ut(t),t.subtreeFlags&=-33554433,null;case 5:if($0(t),o=t.type,e!==null&&t.stateNode!=null)e.memoizedProps!==n&&ar(t);else{if(!n){if(t.stateNode===null)throw Error(ne(166));return Ut(t),t.subtreeFlags&=-33554433,null}if(r=jo.current,Rl(t))c8(t,r);else{var i=Uc(Jr.current);switch(r){case 1:r=i.createElementNS("http://www.w3.org/2000/svg",o);break;case 2:r=i.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;default:switch(o){case"svg":r=i.createElementNS("http://www.w3.org/2000/svg",o);break;case"math":r=i.createElementNS("http://www.w3.org/1998/Math/MathML",o);break;case"script":r=i.createElement("div"),r.innerHTML="<script><\/script>",r=r.removeChild(r.firstChild);break;case"select":r=typeof n.is=="string"?i.createElement("select",{is:n.is}):i.createElement("select"),n.multiple?r.multiple=!0:n.size&&(r.size=n.size);break;default:r=typeof n.is=="string"?i.createElement(o,{is:n.is}):i.createElement(o)}}r[Ea]=t,r[mn]=n;e:for(i=t.child;i!==null;){if(i.tag===5||i.tag===6)r.appendChild(i.stateNode);else if(i.tag!==4&&i.tag!==27&&i.child!==null){i.child.return=i,i=i.child;continue}if(i===t)break e;for(;i.sibling===null;){if(i.return===null||i.return===t)break e;i=i.return}i.sibling.return=i.return,i=i.sibling}t.stateNode=r;e:switch(Aa(r,o,n),o){case"button":case"input":case"select":case"textarea":n=!!n.autoFocus;break e;case"img":n=!0;break e;default:n=!1}n&&ar(t)}}return Ut(t),t.subtreeFlags&=-33554433,rp(t,t.type,e===null?null:e.memoizedProps,t.pendingProps,a),null;case 6:if(e&&t.stateNode!=null)e.memoizedProps!==n&&ar(t);else{if(typeof n!="string"&&t.stateNode===null)throw Error(ne(166));if(e=Jr.current,Rl(t)){if(e=t.stateNode,a=t.memoizedProps,n=null,o=Ca,o!==null)switch(o.tag){case 27:case 5:n=o.memoizedProps}e[Ea]=t,e=!!(e.nodeValue===a||n!==null&&n.suppressHydrationWarning===!0||Y9(e.nodeValue,a)),e||li(t,!0)}else e=Uc(e).createTextNode(n),e[Ea]=t,t.stateNode=e}return Ut(t),null;case 31:if(a=t.memoizedState,e===null||e.memoizedState!==null){if(n=Rl(t),a!==null){if(e===null){if(!n)throw Error(ne(318));if(e=t.memoizedState,e=e!==null?e.dehydrated:null,!e)throw Error(ne(557));e[Ea]=t}else Vi(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ut(t),e=!1}else a=ep(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=a),e=!0;if(!e)return t.flags&256?(Cn(t),t):(Cn(t),null);if((t.flags&128)!==0)throw Error(ne(558))}return Ut(t),null;case 13:if(n=t.memoizedState,e===null||e.memoizedState!==null&&e.memoizedState.dehydrated!==null){if(o=Rl(t),n!==null&&n.dehydrated!==null){if(e===null){if(!o)throw Error(ne(318));if(o=t.memoizedState,o=o!==null?o.dehydrated:null,!o)throw Error(ne(317));o[Ea]=t}else Vi(),(t.flags&128)===0&&(t.memoizedState=null),t.flags|=4;Ut(t),o=!1}else o=ep(),e!==null&&e.memoizedState!==null&&(e.memoizedState.hydrationErrors=o),o=!0;if(!o)return t.flags&256?(Cn(t),t):(Cn(t),null)}return Cn(t),(t.flags&128)!==0?(t.lanes=a,t):(a=n!==null,e=e!==null&&e.memoizedState!==null,a&&(n=t.child,o=null,n.alternate!==null&&n.alternate.memoizedState!==null&&n.alternate.memoizedState.cachePool!==null&&(o=n.alternate.memoizedState.cachePool.pool),r=null,n.memoizedState!==null&&n.memoizedState.cachePool!==null&&(r=n.memoizedState.cachePool.pool),r!==o&&(n.flags|=2048)),a!==e&&a&&(t.child.flags|=8192),S0(t,t.updateQueue),Ut(t),null);case 4:return is(),e===null&&y4(t.stateNode.containerInfo),t.flags|=67108864,Ut(t),null;case 10:return ir(t.type),Ut(t),null;case 19:if(K3(t),n=t.memoizedState,n===null)return Ut(t),null;if(o=(t.flags&128)!==0,r=n.rendering,r===null)if(o)lc(n,!1);else{if($t!==0||e!==null&&(e.flags&128)!==0)for(e=t.child;e!==null;){if(r=s2(e),r!==null){for(t.flags|=128,lc(n,!1),e=r.updateQueue,t.updateQueue=e,S0(t,e),t.subtreeFlags=0,e=a,a=t.child;a!==null;)dg(a,e),a=a.sibling;return Lc(t,Ma.current&1|2),ot&&nr(t,n.treeForkCount),t.child}e=e.sibling}n.tail!==null&&En()>y2&&(t.flags|=128,o=!0,lc(n,!1),t.lanes=4194304)}else{if(!o)if(e=s2(r),e!==null){if(t.flags|=128,o=!0,e=e.updateQueue,t.updateQueue=e,S0(t,e),lc(n,!0),n.tail===null&&n.tailMode!=="collapsed"&&n.tailMode!=="visible"&&!r.alternate&&!ot)return Ut(t),null}else 2*En()-n.renderingStartTime>y2&&a!==536870912&&(t.flags|=128,o=!0,lc(n,!1),t.lanes=4194304);n.isBackwards?(r.sibling=t.child,t.child=r):(e=n.last,e!==null?e.sibling=r:t.child=r,n.last=r)}if(n.tail!==null){e=n.tail;e:{for(a=e;a!==null;){if(a.alternate!==null){a=!1;break e}a=a.sibling}a=!0}return n.rendering=e,n.tail=e.sibling,n.renderingStartTime=En(),e.sibling=null,r=Ma.current,r=o?r&1|2:r&1,n.tailMode==="visible"||n.tailMode==="collapsed"||!a||ot?Lc(t,r):(a=r,Vt(Ia,t),Vt(Ma,a),Fa===null&&(Fa=t)),ot&&nr(t,n.treeForkCount),e}return Ut(t),null;case 22:case 23:return Cn(t),W3(),n=t.memoizedState!==null,e!==null?e.memoizedState!==null!==n&&(t.flags|=8192):n&&(t.flags|=8192),n?(a&536870912)!==0&&(t.flags&128)===0&&(Ut(t),t.subtreeFlags&6&&(t.flags|=8192)):Ut(t),a=t.updateQueue,a!==null&&S0(t,a.retryQueue),a=null,e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),n=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(n=t.memoizedState.cachePool.pool),n!==a&&(t.flags|=2048),e!==null&&Da(ji),null;case 24:return a=null,e!==null&&(a=e.memoizedState.cache),t.memoizedState.cache!==a&&(t.flags|=2048),ir(ca),Ut(t),null;case 25:return null;case 30:return t.flags|=33554432,Ut(t),null}throw Error(ne(156,t.tag))}function ck(e,t){switch(V3(t),t.tag){case 1:return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 3:return ir(ca),is(),e=t.flags,(e&65536)!==0&&(e&128)===0?(t.flags=e&-65537|128,t):null;case 26:case 27:case 5:return $0(t),null;case 31:if(t.memoizedState!==null){if(Cn(t),t.alternate===null)throw Error(ne(340));Vi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 13:if(Cn(t),e=t.memoizedState,e!==null&&e.dehydrated!==null){if(t.alternate===null)throw Error(ne(340));Vi()}return e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 19:return K3(t),e=t.flags,e&65536?(t.flags=e&-65537|128,e=t.memoizedState,e!==null&&(e.rendering=null,e.tail=null),t.flags|=4,t):null;case 4:return is(),null;case 10:return ir(t.type),null;case 22:case 23:return Cn(t),W3(),e!==null&&Da(ji),e=t.flags,e&65536?(t.flags=e&-65537|128,t):null;case 24:return ir(ca),null;case 25:return null;default:return null}}function c9(e,t){switch(V3(t),t.tag){case 3:ir(ca),is();break;case 26:case 27:case 5:$0(t);break;case 4:is();break;case 31:t.memoizedState!==null&&Cn(t);break;case 13:Cn(t);break;case 19:K3(t);break;case 10:ir(t.type);break;case 22:case 23:Cn(t),W3(),e!==null&&Da(ji);break;case 24:ir(ca)}}function Qc(e,t){try{var a=t.updateQueue,n=a!==null?a.lastEffect:null;if(n!==null){var o=n.next;a=o;do{if((a.tag&e)===e){n=void 0;var r=a.create,i=a.inst;n=r(),i.destroy=n}a=a.next}while(a!==o)}}catch(l){Mt(t,t.return,l)}}function ci(e,t,a){try{var n=t.updateQueue,o=n!==null?n.lastEffect:null;if(o!==null){var r=o.next;n=r;do{if((n.tag&e)===e){var i=n.inst,l=i.destroy;if(l!==void 0){i.destroy=void 0,o=t;var s=a,c=l;try{c()}catch(d){Mt(o,s,d)}}}n=n.next}while(n!==r)}}catch(d){Mt(t,t.return,d)}}function d9(e){var t=e.updateQueue;if(t!==null){var a=e.stateNode;try{xg(t,a)}catch(n){Mt(e,e.return,n)}}}function u9(e,t,a){a.props=Ki(e.type,e.memoizedProps),a.state=e.memoizedState;try{a.componentWillUnmount()}catch(n){Mt(e,t,n)}}function Ro(e,t){try{var a=e.ref;if(a!==null){switch(e.tag){case 26:case 27:case 5:var n=e.stateNode;break;case 30:var o=e.stateNode,r=sr(e.memoizedProps,o);(o.ref===null||o.ref.name!==r)&&(o.ref=tb(r)),n=o.ref;break;case 7:if(e.stateNode===null){var i=new In(e);pn(e.child,!1,Xk,i,void 0,void 0),e.stateNode=i}n=e.stateNode;break;default:n=e.stateNode}typeof a=="function"?e.refCleanup=a(n):a.current=n}}catch(l){Mt(e,t,l)}}function za(e,t){var a=e.ref,n=e.refCleanup;if(a!==null)if(typeof n=="function")try{n()}catch(o){Mt(e,t,o)}finally{e.refCleanup=null,e=e.alternate,e!=null&&(e.refCleanup=null)}else if(typeof a=="function")try{a(null)}catch(o){Mt(e,t,o)}else a.current=null}function m2(e,t){if((e.tag===5||e.tag===27||e.tag===6)&&e.alternate===null&&t!==null)for(var a=0;a<t.length;a++)rb(e.stateNode,t[a])}function B8(e){for(var t=e.return;t!==null&&(u4(t)&&rb(e.stateNode,t.stateNode),!d4(t));)t=t.return}function Tc(e){for(var t=e.return;t!==null&&(u4(t)&&$k(e.stateNode,t.stateNode),!d4(t));)t=t.return}function d4(e){return e.tag===5||e.tag===3||e.tag===27}function u4(e){return e&&e.tag===7&&e.stateNode!==null}function e3(e){var t=e.type,a=e.memoizedProps,n=e.stateNode;try{e:switch(t){case"button":case"input":case"select":case"textarea":a.autoFocus&&n.focus();break e;case"img":a.src?n.src=a.src:a.srcSet&&(n.srcset=a.srcSet)}}catch(o){Mt(e,e.return,o)}}function ip(e,t,a){try{var n=e.stateNode;Rk(n,e.type,a,t),n[mn]=t}catch(o){Mt(e,e.return,o)}}function p9(e){return e.tag===5||e.tag===3||e.tag===26||e.tag===27&&pi(e.type)||e.tag===4}function lp(e){e:for(;;){for(;e.sibling===null;){if(e.return===null||p9(e.return))return null;e=e.return}for(e.sibling.return=e.return,e=e.sibling;e.tag!==5&&e.tag!==6&&e.tag!==18;){if(e.tag===27&&pi(e.type)||e.flags&2||e.child===null||e.tag===4)continue e;e.child.return=e,e=e.child}if(!(e.flags&2))return e.stateNode}}function t3(e,t,a,n){var o=e.tag;if(o===5||o===6)o=e.stateNode,t?(a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a).insertBefore(o,t):(t=a.nodeType===9?a.body:a.nodeName==="HTML"?a.ownerDocument.body:a,t.appendChild(o),a=a._reactRootContainer,a!=null||t.onclick!==null||(t.onclick=Lo)),m2(e,n),gt=!0;else if(o!==4&&(o===27&&(m2(e,n),n=null,pi(e.type)&&(a=e.stateNode,t=null)),e=e.child,e!==null))for(t3(e,t,a,n),e=e.sibling;e!==null;)t3(e,t,a,n),e=e.sibling}function f2(e,t,a,n){var o=e.tag;if(o===5||o===6)o=e.stateNode,t?a.insertBefore(o,t):a.appendChild(o),m2(e,n),gt=!0;else if(o!==4&&(o===27&&(m2(e,n),n=null,pi(e.type)&&(a=e.stateNode)),e=e.child,e!==null))for(f2(e,t,a,n),e=e.sibling;e!==null;)f2(e,t,a,n),e=e.sibling}function m9(e){var t=e.stateNode,a=e.memoizedProps;try{for(var n=e.type,o=t.attributes;o.length;)t.removeAttributeNode(o[0]);Aa(t,n,a),t[Ea]=e,t[mn]=a}catch(r){Mt(e,e.return,r)}}var g2=!1,Tn=null;function H8(e){(e.tag===30||(e.subtreeFlags&33554432)!==0)&&(g2=!0)}var Po=null;function j8(){var e=Po;return Po=null,e}var cn=0;function ks(e,t,a,n,o){return cn=0,f9(e.child,t,a,n,o)}function f9(e,t,a,n,o){for(var r=!1;e!==null;){if(e.tag===5){var i=e.stateNode;if(n!==null){var l=w3(i);n.push(l),l.view&&(r=!0)}else r||w3(i).view&&(r=!0);g2=!0,$9(i,cn===0?t:t+"_"+cn,a),cn++}else(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&o||f9(e.child,t,a,n,o)&&(r=!0));e=e.sibling}return r}function _o(e,t){for(;e!==null;)e.tag===5?Q9(e.stateNode,e.memoizedProps):(e.tag!==22||e.memoizedState===null)&&(e.tag===30&&t||_o(e.child,t)),e=e.sibling}function _0(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if((e.tag!==22||e.memoizedState===null)&&(_0(e),e.tag===30&&(e.flags&18874368)!==0&&e.stateNode.paired)){var t=e.memoizedProps;if(t.name==null||t.name==="auto")throw Error(ne(544));var a=t.name;t=fr(t.default,t.share),t!=="none"&&(ks(e,a,t,null,!1)||_o(e.child,!1))}e=e.sibling}}function a3(e,t){if(e.tag===30){var a=e.stateNode,n=e.memoizedProps,o=sr(n,a),r=fr(n.default,a.paired?n.share:n.enter);r!=="none"?ks(e,o,r,null,!1)?(_0(e),a.paired||t||us(e,n.onEnter)):_o(e.child,!1):_0(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)a3(e,t),e=e.sibling;else _0(e)}function n3(e){if(Tn!==null&&Tn.size!==0){var t=Tn;if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var a=e.memoizedProps,n=a.name;if(n!=null&&n!=="auto"){var o=t.get(n);if(o!==void 0){var r=fr(a.default,a.share);if(r!=="none"&&(ks(e,n,r,null,!1)?(r=e.stateNode,o.paired=r,r.paired=o,us(e,a.onShare)):_o(e.child,!1)),t.delete(n),t.size===0)break}}}n3(e)}e=e.sibling}}}function o3(e){if(e.tag===30){var t=e.memoizedProps,a=sr(t,e.stateNode),n=Tn!==null?Tn.get(a):void 0,o=fr(t.default,n!==void 0?t.share:t.exit);o!=="none"&&(ks(e,a,o,null,!1)?n!==void 0?(o=e.stateNode,n.paired=o,o.paired=n,Tn.delete(a),us(e,t.onShare)):us(e,t.onExit):_o(e.child,!1)),Tn!==null&&n3(e)}else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)o3(e),e=e.sibling;else Tn!==null&&n3(e)}function g9(e){for(e=e.child;e!==null;){if(e.tag===30){var t=e.memoizedProps,a=sr(t,e.stateNode);t=fr(t.default,t.update),e.flags&=-5,t!=="none"&&ks(e,a,t,e.memoizedState=[],!1)}else(e.subtreeFlags&33554432)!==0&&g9(e);e=e.sibling}}function r3(e){if((e.subtreeFlags&18874368)!==0)for(e=e.child;e!==null;){if(e.tag!==22||e.memoizedState===null){if(e.tag===30&&(e.flags&18874368)!==0){var t=e.stateNode;t.paired!==null&&(t.paired=null,_o(e.child,!1))}r3(e)}e=e.sibling}}function V0(e){if(e.tag===30)e.stateNode.paired=null,_o(e.child,!1),r3(e);else if((e.subtreeFlags&33554432)!==0)for(e=e.child;e!==null;)V0(e),e=e.sibling;else r3(e)}function b9(e){for(e=e.child;e!==null;)e.tag===30?_o(e.child,!1):(e.subtreeFlags&33554432)!==0&&b9(e),e=e.sibling}function p4(e,t,a,n,o,r,i){for(var l=!1;t!==null;){if(t.tag===5){var s=t.stateNode;if(r!==null&&cn<r.length){var c=r[cn],d=w3(s);(c.view||d.view)&&(l=!0);var f;if(f=(e.flags&4)===0)if(d.clip)f=!0;else{f=c.rect;var u=d.rect;f=f.y!==u.y||f.x!==u.x||f.height!==u.height||f.width!==u.width}f&&(e.flags|=4),d.abs?d=!c.abs:(c=c.rect,d=d.rect,d=c.height!==d.height||c.width!==d.width),d&&(e.flags|=32)}else e.flags|=32;(e.flags&4)!==0&&$9(s,cn===0?a:a+"_"+cn,o),l&&(e.flags&4)!==0||(Po===null&&(Po=[]),Po.push(s,cn===0?n:n+"_"+cn,t.memoizedProps)),cn++}else(t.tag!==22||t.memoizedState===null)&&(t.tag===30&&i?e.flags|=t.flags&32:p4(e,t.child,a,n,o,r,i)&&(l=!0));t=t.sibling}return l}function h9(e,t){for(e=e.child;e!==null;){if(e.tag===30){var a=e.memoizedProps,n=e.stateNode,o=sr(a,n),r=fr(a.default,a.update);if(t){n=n.clones;var i=n===null?null:n.map(jk)}else i=e.memoizedState,e.memoizedState=null;n=e;var l=e.child;cn=0,o=p4(n,l,o,o,r,i,!1),(e.flags&4)!==0&&o&&(t||us(e,a.onUpdate))}else(e.subtreeFlags&33554432)!==0&&h9(e,t);e=e.sibling}}var wa=!1,St=!1,Mo=!1,sp=!1,U8=typeof WeakSet=="function"?WeakSet:Set,ka=null,Ao=!1,gc=!1,b2=!1,i3=!1;function dk(e,t,a){if(e=e.containerInfo,y3=hs,e=ag(e),H3(e)){if("selectionStart"in e)var n={start:e.selectionStart,end:e.selectionEnd};else e:{n=(n=e.ownerDocument)&&n.defaultView||window;var o=n.getSelection&&n.getSelection();if(o&&o.rangeCount!==0){n=o.anchorNode;var r=o.anchorOffset,i=o.focusNode;o=o.focusOffset;try{n.nodeType,i.nodeType}catch{n=null;break e}var l=0,s=-1,c=-1,d=0,f=0,u=e,g=null;t:for(;;){for(var b;u!==n||r!==0&&u.nodeType!==3||(s=l+r),u!==i||o!==0&&u.nodeType!==3||(c=l+o),u.nodeType===3&&(l+=u.nodeValue.length),(b=u.firstChild)!==null;)g=u,u=b;for(;;){if(u===e)break t;if(g===n&&++d===r&&(s=l),g===i&&++f===o&&(c=l),(b=u.nextSibling)!==null)break;u=g,g=u.parentNode}u=b}n=s===-1||c===-1?null:{start:s,end:c}}else n=null}n=n||{start:0,end:0}}else n=null;for(v3={focusedElem:e,selectionRange:n},hs=!1,a=(a&335544064)===a,ka=t,t=a?9270:1024;ka!==null;){if(e=ka,a&&(n=e.deletions,n!==null))for(r=0;r<n.length;r++)a&&o3(n[r]);if(e.alternate===null&&(e.flags&2)!==0)a&&H8(e),C0(a);else{if(e.tag===22){if(n=e.alternate,e.memoizedState!==null){n!==null&&n.memoizedState===null&&a&&o3(n),C0(a);continue}else if(n!==null&&n.memoizedState!==null){a&&H8(e),C0(a);continue}}n=e.child,(e.subtreeFlags&t)!==0&&n!==null?(n.return=e,ka=n):(a&&g9(e),C0(a))}}Tn=null}function C0(e){for(;ka!==null;){var t=ka,a=e,n=t.alternate,o=t.flags;switch(t.tag){case 0:case 11:case 15:break;case 1:if((o&1024)!==0&&n!==null){a=void 0,o=n.memoizedProps,n=n.memoizedState;var r=t.stateNode;try{var i=Ki(t.type,o);a=r.getSnapshotBeforeUpdate(i,n),r.__reactInternalSnapshotBeforeUpdate=a}catch(l){Mt(t,t.return,l)}}break;case 3:if((o&1024)!==0){if(n=t.stateNode.containerInfo,a=n.nodeType,a===9)k3(n);else if(a===1)switch(n.nodeName){case"HEAD":case"HTML":case"BODY":k3(n);break;default:n.textContent=""}}break;case 5:case 26:case 27:case 6:case 4:case 17:break;case 30:a&&n!==null&&(a=sr(n.memoizedProps,n.stateNode),o=t.memoizedProps,o=fr(o.default,o.update),o!=="none"&&ks(n,a,o,n.memoizedState=[],!0));break;default:if((o&1024)!==0)throw Error(ne(163))}if(n=t.sibling,n!==null){n.return=t.return,ka=n;break}ka=t.return}}function y9(e,t,a){var n=a.flags;switch(a.tag){case 0:case 11:case 15:Io(e,a),n&4&&Qc(5,a);break;case 1:if(Io(e,a),n&4)if(e=a.stateNode,t===null)try{e.componentDidMount()}catch(i){Mt(a,a.return,i)}else{var o=Ki(a.type,t.memoizedProps);t=t.memoizedState;try{e.componentDidUpdate(o,t,e.__reactInternalSnapshotBeforeUpdate)}catch(i){Mt(a,a.return,i)}}n&64&&d9(a),n&512&&Ro(a,a.return);break;case 3:if(Io(e,a),n&64&&(e=a.updateQueue,e!==null)){if(t=null,a.child!==null)switch(a.child.tag){case 27:case 5:t=a.child.stateNode;break;case 1:t=a.child.stateNode}try{xg(e,t)}catch(i){Mt(a,a.return,i)}}break;case 27:t===null&&n&4&&m9(a);case 26:case 5:Io(e,a),t===null&&n&4&&e3(a),n&512&&Ro(a,a.return);break;case 12:Io(e,a);break;case 31:Io(e,a),n&4&&k9(e,a);break;case 13:Io(e,a),n&4&&S9(e,a),n&64&&(e=a.memoizedState,e!==null&&(e=e.dehydrated,e!==null&&(a=kk.bind(null,a),tS(e,a))));break;case 22:if(n=a.memoizedState!==null||wa,!n){var r=t!==null&&t.memoizedState!==null||St;t=wa,o=St,wa=n,(St=r)&&!o?(n=2,(a.subtreeFlags&8772)!==0&&(n|=1),uo(e,a,n)):Io(e,a),wa=t,St=o}break;case 30:Io(e,a),n&512&&Ro(a,a.return);break;case 7:n&512&&Ro(a,a.return);default:Io(e,a)}}function l3(e,t){for(e=e.child;e!==null;)v9(e,t),e=e.sibling}function v9(e,t){switch(e.tag){case 5:case 26:try{var a=e.stateNode;if(t){var n=a.style;typeof n.setProperty=="function"?n.setProperty("display","none","important"):n.display="none"}else{var o=e.stateNode,r=e.memoizedProps.style,i=r!=null&&r.hasOwnProperty("display")?r.display:null;o.style.display=i==null||typeof i=="boolean"?"":(""+i).trim()}}catch(s){Mt(e,e.return,s)}s3(e,t);break;case 6:try{e.stateNode.nodeValue=t?"":e.memoizedProps,gt=!0}catch(s){Mt(e,e.return,s)}break;case 18:try{var l=e.stateNode;t?af(l,!0):af(e.stateNode,!1)}catch(s){Mt(e,e.return,s)}break;case 22:case 23:e.memoizedState===null&&l3(e,t);break;default:l3(e,t)}}function s3(e,t){if(e.subtreeFlags&67108864)for(e=e.child;e!==null;){e:{var a=e,n=t;switch(a.tag){case 4:v9(a,n);break e;case 22:a.memoizedState===null&&s3(a,n);break e;default:s3(a,n)}}e=e.sibling}}function x9(e){var t=e.alternate;t!==null&&(e.alternate=null,x9(t)),e.child=null,e.deletions=null,e.sibling=null,e.tag===5&&(t=e.stateNode,t!==null&&z2(t)),e.stateNode=null,e.return=null,e.dependencies=null,e.memoizedProps=null,e.memoizedState=null,e.pendingProps=null,e.stateNode=null,e.updateQueue=null}var Ft=null,ln=!1;function co(e,t,a){for(a=a.child;a!==null;)w9(e,t,a),a=a.sibling}function w9(e,t,a){if(Nn&&typeof Nn.onCommitFiberUnmount=="function")try{Nn.onCommitFiberUnmount(qc,a)}catch{}switch(a.tag){case 26:St||za(a,t),co(e,t,a),a.memoizedState?a.memoizedState.count--:a.stateNode&&!St&&(a=a.stateNode,a.parentNode.removeChild(a));break;case 27:St||za(a,t),Tc(a);var n=Ft,o=ln;pi(a.type)&&(Ft=a.stateNode,ln=!1),co(e,t,a),sb(a.stateNode,a.type,a.memoizedProps),Ft=n,ln=o;break;case 5:St||za(a,t),Tc(a);case 6:if(a.tag===6&&Tc(a),n=Ft,o=ln,Ft=null,co(e,t,a),Ft=n,ln=o,Ft!==null)if(ln)try{(Ft.nodeType===9?Ft.body:Ft.nodeName==="HTML"?Ft.ownerDocument.body:Ft).removeChild(a.stateNode),gt=!0}catch(r){Mt(a,t,r)}else try{Ft.removeChild(a.stateNode),gt=!0}catch(r){Mt(a,t,r)}break;case 18:Ft!==null&&(ln?(e=Ft,tf(e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,a.stateNode),ys(e)):tf(Ft,a.stateNode));break;case 4:n=Ft,o=ln,Ft=a.stateNode.containerInfo,ln=!0,co(e,t,a),Ft=n,ln=o;break;case 0:case 11:case 14:case 15:ci(2,a,t),St||ci(4,a,t),co(e,t,a);break;case 1:St||(za(a,t),n=a.stateNode,typeof n.componentWillUnmount=="function"&&u9(a,t,n)),co(e,t,a);break;case 21:co(e,t,a);break;case 22:St=(n=St)||a.memoizedState!==null,co(e,t,a),St=n;break;case 30:za(a,t),co(e,t,a);break;case 7:St||za(a,t),co(e,t,a);break;default:co(e,t,a)}}function k9(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null))){e=e.dehydrated;try{ys(e)}catch(a){Mt(t,t.return,a)}}}function S9(e,t){if(t.memoizedState===null&&(e=t.alternate,e!==null&&(e=e.memoizedState,e!==null&&(e=e.dehydrated,e!==null))))try{ys(e)}catch(a){Mt(t,t.return,a)}}function uk(e){switch(e.tag){case 31:case 13:case 19:var t=e.stateNode;return t===null&&(t=e.stateNode=new U8),t;case 22:return e=e.stateNode,t=e._retryCache,t===null&&(t=e._retryCache=new U8),t;default:throw Error(ne(435,e.tag))}}function T0(e,t){var a=uk(e);t.forEach(function(n){if(!a.has(n)){a.add(n);var o=Sk.bind(null,e,n);n.then(o,o)}})}function $a(e,t,a){var n=t.deletions;if(n!==null)for(var o=0;o<n.length;o++){var r=n[o],i=e,l=t,s=l;e:for(;s!==null;){switch(s.tag){case 27:if(pi(s.type)){Ft=s.stateNode,ln=!1;break e}break;case 5:Ft=s.stateNode,ln=!1;break e;case 3:case 4:Ft=s.stateNode.containerInfo,ln=!0;break e}s=s.return}if(Ft===null)throw Error(ne(160));w9(i,l,r),Ft=null,ln=!1,i=r.alternate,i!==null&&(i.return=null),r.return=null}if(t.subtreeFlags&13886)for(t=t.child;t!==null;)C9(t,e,a),t=t.sibling}var po=null;function C9(e,t,a){var n=e.alternate,o=e.flags;switch(e.tag){case 0:case 11:case 14:case 15:if(o&4&&(n=e.updateQueue,n=n!==null?n.events:null,n!==null))for(var r=0;r<n.length;r++){var i=n[r];i.ref.impl=i.nextImpl}$a(t,e,a),Qa(e),o&4&&(ci(3,e,e.return),Qc(3,e),ci(5,e,e.return));break;case 1:$a(t,e,a),Qa(e),o&512&&(St||n===null||za(n,n.return)),o&64&&wa&&(e=e.updateQueue,e!==null&&(t=e.callbacks,t!==null&&(a=e.shared.hiddenCallbacks,e.shared.hiddenCallbacks=a===null?t:a.concat(t))));break;case 26:if(r=po,$a(t,e,a),Qa(e),o&512&&(St||n===null||za(n,n.return)),o&4)if(o=n!==null?n.memoizedState:null,a=e.memoizedState,n===null)if(a===null)if(e.stateNode===null)if(wa)e.stateNode=X9(e.type,e.memoizedProps,t.containerInfo,e);else{e:{t=e.type,a=e.memoizedProps,o=r.ownerDocument||r;t:switch(t){case"title":n=o.getElementsByTagName("title")[0],(!n||n[Yc]||n[Ea]||n.namespaceURI==="http://www.w3.org/2000/svg"||n.hasAttribute("itemprop"))&&(n=o.createElement(t),o.head.insertBefore(n,o.querySelector("head > title"))),Aa(n,t,a),n[Ea]=e,Sa(n),t=n;break e;case"link":if(r=uf("link","href",o).get(t+(a.href||""))){for(i=0;i<r.length;i++)if(n=r[i],n.getAttribute("href")===(a.href==null||a.href===""?null:a.href)&&n.getAttribute("rel")===(a.rel==null?null:a.rel)&&n.getAttribute("title")===(a.title==null?null:a.title)&&n.getAttribute("crossorigin")===(a.crossOrigin==null?null:a.crossOrigin)){r.splice(i,1);break t}}n=o.createElement(t),Aa(n,t,a),o.head.appendChild(n);break;case"meta":if(r=uf("meta","content",o).get(t+(a.content||""))){for(i=0;i<r.length;i++)if(n=r[i],n.getAttribute("content")===(a.content==null?null:""+a.content)&&n.getAttribute("name")===(a.name==null?null:a.name)&&n.getAttribute("property")===(a.property==null?null:a.property)&&n.getAttribute("http-equiv")===(a.httpEquiv==null?null:a.httpEquiv)&&n.getAttribute("charset")===(a.charSet==null?null:a.charSet)){r.splice(i,1);break t}}n=o.createElement(t),Aa(n,t,a),o.head.appendChild(n);break;default:throw Error(ne(468,t))}n[Ea]=e,Sa(n),t=n}e.stateNode=t}else wa||T3(r,e.type,e.stateNode);else e.stateNode=df(r,a,e.memoizedProps);else o!==a?(o===null?(t=n.stateNode,t===null||St||t.parentNode.removeChild(t)):o.count--,a===null?wa||T3(r,e.type,e.stateNode):df(r,a,e.memoizedProps)):a===null&&e.stateNode!==null&&ip(e,e.memoizedProps,n.memoizedProps);break;case 27:$a(t,e,a),Qa(e),o&512&&(St||n===null||za(n,n.return)),n!==null&&o&4&&ip(e,e.memoizedProps,n.memoizedProps);break;case 5:if(r=Mo,Mo=!1,$a(t,e,a),Mo=r,Qa(e),o&512&&(St||n===null||za(n,n.return)),e.flags&32){t=e.stateNode;try{ss(t,""),gt=!0}catch(d){Mt(e,e.return,d)}}o&4&&e.stateNode!=null&&(t=e.memoizedProps,ip(e,t,n!==null?n.memoizedProps:t)),o&1024&&(sp=!0);break;case 6:if($a(t,e,a),Qa(e),o&4){if(e.stateNode===null)throw Error(ne(162));t=e.memoizedProps,a=e.stateNode;try{a.nodeValue=t,gt=!0}catch(d){Mt(e,e.return,d)}}break;case 3:if(gt=!1,q0=null,r=po,po=_c(t.containerInfo),$a(t,e,a),po=r,Qa(e),o&4&&n!==null&&n.memoizedState.isDehydrated)try{ys(t.containerInfo)}catch(d){Mt(e,e.return,d)}sp&&(sp=!1,T9(e)),gt=!1;break;case 4:o=Mo,Mo=wa,n=q7(),r=po,po=_c(e.stateNode.containerInfo),$a(t,e,a),Qa(e),po=r,gt&&gc&&(b2=!0),gt=n,Mo=o;break;case 12:$a(t,e,a),Qa(e);break;case 31:$a(t,e,a),Qa(e),o&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,T0(e,t)));break;case 13:$a(t,e,a),Qa(e),e.child.flags&8192&&e.memoizedState!==null!=(n!==null&&n.memoizedState!==null)&&(j2=En()),o&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,T0(e,t)));break;case 22:r=e.memoizedState!==null,i=n!==null&&n.memoizedState!==null;var l=wa,s=St,c=Mo;wa=l||r,Mo=c||r,St=s||i,$a(t,e,a),St=s,Mo=c,wa=l,Qa(e),o&8192&&(t=e.stateNode,t._visibility=r?t._visibility&-2:t._visibility|1,!r||n===null||i||wa||St||(t=i||St,a=wa,n=St,wa=r||wa,St=t,Ur(e,2),wa=a,St=n),!r&&Mo||l3(e,r)),o&4&&(t=e.updateQueue,t!==null&&(a=t.retryQueue,a!==null&&(t.retryQueue=null,T0(e,a))));break;case 19:$a(t,e,a),Qa(e),o&4&&(t=e.updateQueue,t!==null&&(e.updateQueue=null,T0(e,t)));break;case 30:o&512&&(St||n===null||za(n,n.return)),o=q7(),r=gc,i=(a&335544064)===a,l=e.memoizedProps,gc=i&&fr(l.default,l.update)!=="none",$a(t,e,a),Qa(e),i&&n!==null&&gt&&(e.flags|=4),gc=r,gt=o;break;case 21:break;case 7:o&512&&(St||n===null||za(n,n.return)),n&&n.stateNode!==null&&(n.stateNode._fragmentFiber=e);default:$a(t,e,a),Qa(e)}}function Qa(e){var t=e.flags;if(t&2){try{for(var a,n=e.return;n!==null;){if(p9(n)){a=n;break}n=n.return}n=null;for(var o=e.return;o!==null;){if(u4(o)){var r=o.stateNode;n===null?n=[r]:n.push(r)}if(d4(o))break;o=o.return}var i=n;if(a==null)throw Error(ne(160));switch(a.tag){case 27:var l=a.stateNode,s=lp(e);f2(e,s,l,i);break;case 5:var c=a.stateNode;a.flags&32&&(ss(c,""),a.flags&=-33);var d=lp(e);f2(e,d,c,i);break;case 3:case 4:var f=a.stateNode.containerInfo,u=lp(e);t3(e,u,f,i);break;default:throw Error(ne(161))}}catch(g){Mt(e,e.return,g)}e.flags&=-3}t&4096&&(e.flags&=-4097)}function T9(e){if(e.subtreeFlags&1024)for(e=e.child;e!==null;){var t=e;T9(t),t.tag===5&&t.flags&1024&&(t=t.stateNode,hs=!0,t.reset(),hs=!1),e=e.sibling}}function Pl(e,t){if(t.subtreeFlags&9270)for(t=t.child;t!==null;)z9(t,e),t=t.sibling;else h9(t,!1)}function z9(e,t){var a=e.alternate;if(a===null)a3(e,!1);else switch(e.tag){case 3:if(i3=Ao=!1,j8(),Pl(t,e),!Ao&&!b2){if(e=Po,e!==null)for(var n=0;n<e.length;n+=3){a=e[n];var o=e[n+1];Q9(a,e[n+2]),a=a.ownerDocument.documentElement,a!==null&&a.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group("+o+")"})}e=t.containerInfo,e=e.nodeType===9?e.documentElement:e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName===""&&(e.style.viewTransitionName="none",e.animate({opacity:[0,0],pointerEvents:["none","none"]},{duration:0,fill:"forwards",pseudoElement:"::view-transition-group(root)"}),e.animate({width:[0,0],height:[0,0]},{duration:0,fill:"forwards",pseudoElement:"::view-transition"})),i3=!0}Po=null;break;case 5:Pl(t,e);break;case 4:n=Ao,Ao=!1,Pl(t,e),Ao&&(b2=!0),Ao=n;break;case 22:e.memoizedState===null&&(a.memoizedState!==null?a3(e,!1):Pl(t,e));break;case 30:n=Ao,o=j8(),Ao=!1,Pl(t,e),Ao&&(e.flags|=4);var r=e.memoizedProps,i=e.stateNode;t=sr(r,i),i=sr(a.memoizedProps,i);var l=fr(r.default,r.update);l==="none"?t=!1:(r=a.memoizedState,a.memoizedState=null,a=e.child,cn=0,t=p4(e,a,t,i,l,r,!0),cn!==(r===null?0:r.length)&&(e.flags|=32)),(e.flags&4)!==0&&t?(us(e,e.memoizedProps.onUpdate),Po=o):o!==null&&(o.push.apply(o,Po),Po=o),Ao=(e.flags&32)!==0?!0:n;break;default:Pl(t,e)}}function Io(e,t){if(t.subtreeFlags&8772)for(t=t.child;t!==null;)y9(e,t.alternate,t),t=t.sibling}function Ur(e,t){for(e=e.child;e!==null;){var a=e,n=t;switch(a.tag){case 0:case 11:case 14:case 15:ci(4,a,a.return),Ur(a,n);break;case 1:za(a,a.return);var o=a.stateNode;typeof o.componentWillUnmount=="function"&&u9(a,a.return,o),Ur(a,n);break;case 27:(n&2)!==0&&sb(a.stateNode,a.type,a.memoizedProps);case 5:za(a,a.return),a.tag!==5&&a.tag!==27||Tc(a),Ur(a,n);break;case 6:Tc(a);break;case 26:za(a,a.return),o=a.stateNode,a.memoizedState!==null||o===null||St||o.parentNode.removeChild(o),Ur(a,n);break;case 22:a.memoizedState===null&&Ur(a,n);break;case 30:za(a,a.return),Ur(a,n);break;case 7:za(a,a.return);default:Ur(a,n)}e=e.sibling}}function uo(e,t,a){for(a=(t.subtreeFlags&8772)!==0?a:a&-2,t=t.child;t!==null;){var n=t.alternate,o=e,r=t,i=r.flags,l=(a&1)!==0;switch(r.tag){case 0:case 11:case 15:uo(o,r,a),Qc(4,r);break;case 1:if(uo(o,r,a),n=r,o=n.stateNode,typeof o.componentDidMount=="function")try{o.componentDidMount()}catch(d){Mt(n,n.return,d)}if(n=r,o=n.updateQueue,o!==null){var s=n.stateNode;try{var c=o.shared.hiddenCallbacks;if(c!==null)for(o.shared.hiddenCallbacks=null,o=0;o<c.length;o++)vg(c[o],s)}catch(d){Mt(n,n.return,d)}}l&&i&64&&d9(r),Ro(r,r.return);break;case 27:(a&2)!==0&&m9(r);case 5:r.tag!==5&&r.tag!==27||B8(r),uo(o,r,a),l&&n===null&&i&4&&e3(r),Ro(r,r.return);break;case 6:B8(r);break;case 26:s=r.stateNode,r.memoizedState!==null||s===null||wa||T3(_c(s.ownerDocument),r.type,s),uo(o,r,a),l&&n===null&&i&4&&e3(r),Ro(r,r.return);break;case 12:uo(o,r,a);break;case 31:uo(o,r,a),l&&i&4&&k9(o,r);break;case 13:uo(o,r,a),l&&i&4&&S9(o,r);break;case 22:r.memoizedState===null&&uo(o,r,a),Ro(r,r.return);break;case 30:uo(o,r,a),Ro(r,r.return);break;case 7:Ro(r,r.return);default:uo(o,r,a)}t=t.sibling}}function m4(e,t){var a=null;e!==null&&e.memoizedState!==null&&e.memoizedState.cachePool!==null&&(a=e.memoizedState.cachePool.pool),e=null,t.memoizedState!==null&&t.memoizedState.cachePool!==null&&(e=t.memoizedState.cachePool.pool),e!==a&&(e!=null&&e.refCount++,a!=null&&Xc(a))}function f4(e,t){e=null,t.alternate!==null&&(e=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==e&&(t.refCount++,e!=null&&Xc(e))}function Kn(e,t,a,n){var o=(a&335544064)===a;if(t.subtreeFlags&(o?10262:10256))for(t=t.child;t!==null;)E9(e,t,a,n),t=t.sibling;else o&&b9(t)}function E9(e,t,a,n){var o=(a&335544064)===a;o&&t.alternate===null&&t.return!==null&&t.return.alternate!==null&&V0(t);var r=t.flags;switch(t.tag){case 0:case 11:case 15:Kn(e,t,a,n),r&2048&&Qc(9,t);break;case 1:Kn(e,t,a,n);break;case 3:Kn(e,t,a,n),o&&i3&&(e=e.containerInfo,e=e.nodeType===9?e.body:e.nodeName==="HTML"?e.ownerDocument.body:e,e.style.viewTransitionName==="root"&&(e.style.viewTransitionName=""),e=e.ownerDocument.documentElement,e!==null&&e.style.viewTransitionName==="none"&&(e.style.viewTransitionName="")),r&2048&&(r=null,t.alternate!==null&&(r=t.alternate.memoizedState.cache),t=t.memoizedState.cache,t!==r&&(t.refCount++,r!=null&&Xc(r)));break;case 12:if(r&2048){Kn(e,t,a,n),r=t.stateNode;try{var i=t.memoizedProps,l=i.id,s=i.onPostCommit;typeof s=="function"&&s(l,t.alternate===null?"mount":"update",r.passiveEffectDuration,-0)}catch(c){Mt(t,t.return,c)}}else Kn(e,t,a,n);break;case 31:Kn(e,t,a,n);break;case 13:Kn(e,t,a,n);break;case 23:break;case 22:i=t.stateNode,l=t.alternate,t.memoizedState!==null?(o&&l!==null&&l.memoizedState===null&&V0(l),i._visibility&2?Kn(e,t,a,n):zc(e,t)):(o&&l!==null&&l.memoizedState!==null&&V0(t),i._visibility&2?Kn(e,t,a,n):(i._visibility|=2,Ll(e,t,a,n,(t.subtreeFlags&10256)!==0||!1))),r&2048&&m4(l,t);break;case 24:Kn(e,t,a,n),r&2048&&f4(t.alternate,t);break;case 30:o&&(r=t.alternate,r!==null&&(_o(r.child,!0),_o(t.child,!0))),Kn(e,t,a,n);break;default:Kn(e,t,a,n)}}function Ll(e,t,a,n,o){for(o=o&&((t.subtreeFlags&10256)!==0||!1),t=t.child;t!==null;){var r=e,i=t,l=a,s=n,c=i.flags;switch(i.tag){case 0:case 11:case 15:Ll(r,i,l,s,o),Qc(8,i);break;case 23:break;case 22:var d=i.stateNode;i.memoizedState!==null?d._visibility&2?Ll(r,i,l,s,o):zc(r,i):(d._visibility|=2,Ll(r,i,l,s,o)),o&&c&2048&&m4(i.alternate,i);break;case 24:Ll(r,i,l,s,o),o&&c&2048&&f4(i.alternate,i);break;default:Ll(r,i,l,s,o)}t=t.sibling}}function zc(e,t){if(t.subtreeFlags&10256)for(t=t.child;t!==null;){var a=e,n=t,o=n.flags;switch(n.tag){case 22:zc(a,n),o&2048&&m4(n.alternate,n);break;case 24:zc(a,n),o&2048&&f4(n.alternate,n);break;default:zc(a,n)}t=t.sibling}}var Pi=8192;function Ai(e,t,a){if(e.subtreeFlags&Pi)for(e=e.child;e!==null;)N9(e,t,a),e=e.sibling}function N9(e,t,a){switch(e.tag){case 26:Ai(e,t,a),e.flags&Pi&&(e.memoizedState!==null?gS(a,po,e.memoizedState,e.memoizedProps):(e=e.stateNode,(t&335544128)===t&&mf(a,e)));break;case 5:Ai(e,t,a),e.flags&Pi&&(e=e.stateNode,(t&335544128)===t&&mf(a,e));break;case 3:case 4:var n=po;po=_c(e.stateNode.containerInfo),Ai(e,t,a),po=n;break;case 22:e.memoizedState===null&&(n=e.alternate,n!==null&&n.memoizedState!==null?(n=Pi,Pi=16777216,Ai(e,t,a),Pi=n):Ai(e,t,a));break;case 30:if((e.flags&Pi)!==0&&(n=e.memoizedProps.name,n!=null&&n!=="auto")){var o=e.stateNode;o.paired=null,Tn===null&&(Tn=new Map),Tn.set(n,o)}Ai(e,t,a);break;default:Ai(e,t,a)}}function D9(e){var t=e.alternate;if(t!==null&&(e=t.child,e!==null)){t.child=null;do t=e.sibling,e.sibling=null,e=t;while(e!==null)}}function sc(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];ka=n,A9(n,e)}D9(e)}if(e.subtreeFlags&10256)for(e=e.child;e!==null;)M9(e),e=e.sibling}function M9(e){switch(e.tag){case 0:case 11:case 15:sc(e),e.flags&2048&&ci(9,e,e.return);break;case 3:sc(e);break;case 12:sc(e);break;case 22:var t=e.stateNode;e.memoizedState!==null&&t._visibility&2&&(e.return===null||e.return.tag!==13)?(t._visibility&=-3,Z0(e)):sc(e);break;default:sc(e)}}function Z0(e){var t=e.deletions;if((e.flags&16)!==0){if(t!==null)for(var a=0;a<t.length;a++){var n=t[a];ka=n,A9(n,e)}D9(e)}for(e=e.child;e!==null;){switch(t=e,t.tag){case 0:case 11:case 15:ci(8,t,t.return),Z0(t);break;case 22:a=t.stateNode,a._visibility&2&&(a._visibility&=-3,Z0(t));break;default:Z0(t)}e=e.sibling}}function A9(e,t){for(;ka!==null;){var a=ka;switch(a.tag){case 0:case 11:case 15:ci(8,a,t);break;case 23:case 22:if(a.memoizedState!==null&&a.memoizedState.cachePool!==null){var n=a.memoizedState.cachePool.pool;n!=null&&n.refCount++}break;case 24:Xc(a.memoizedState.cache)}if(n=a.child,n!==null)n.return=a,ka=n;else e:for(a=e;ka!==null;){n=ka;var o=n.sibling,r=n.return;if(x9(n),n===a){ka=null;break e}if(o!==null){o.return=r,ka=o;break e}ka=r}}}var pk={getCacheForType:function(e){var t=Na(ca),a=t.data.get(e);return a===void 0&&(a=e(),t.data.set(e,a)),a},cacheSignal:function(){return Na(ca).controller.signal}},mk=typeof WeakMap=="function"?WeakMap:Map,ht=0,It=null,st=null,dt=0,Nt=0,kn=null,Wr=!1,Ss=!1,g4=!1,pr=0,$t=0,di=0,_i=0,h2=0,zn=0,ds=0,Ec=null,sn=null,c3=!1,j2=0,I9=0,y2=1/0,v2=null,ai=null,Yt=0,fo=null,Yi=null,Uo=0,d3=0,u3=null,R9=null,ns=null,os=null,rs=null,Nc=0,G0=null;function Mn(){return(ht&2)!==0&&dt!==0?dt&-dt:_e.T!==null?h4():Bf()}function P9(){if(zn===0)if((dt&536870912)===0||ot){var e=p0;p0<<=1,(p0&3932160)===0&&(p0=262144),zn=e}else zn=536870912;return e=Ia.current,e!==null&&(e.flags|=32),zn}function us(e,t){if(t!=null){var a=e.stateNode,n=a.ref;n===null&&(n=a.ref=tb(sr(e.memoizedProps,a))),os===null&&(os=[]),os.push(t.bind(null,n))}}function un(e,t,a){(e===It&&(Nt===2||Nt===9)||e.cancelPendingCommit!==null)&&(ps(e,0),Kr(e,dt,zn,!1)),Kc(e,a),((ht&2)===0||e!==It)&&(e===It&&((ht&2)===0&&(_i|=a),$t===4&&Kr(e,dt,zn,!1)),Zo(e))}function O9(e,t,a){if((ht&6)!==0)throw Error(ne(327));var n=!a&&(t&127)===0&&(t&e.expiredLanes)===0||Wc(e,t),o=n?bk(e,t):cp(e,t,!0),r=n;do{if(o===0){Ss&&!n&&Kr(e,t,0,!1);break}else{if(a=e.current.alternate,r&&!fk(a)){o=cp(e,t,!1),r=!1;continue}if(o===2){if(r=t,e.errorRecoveryDisabledLanes&r)var i=0;else i=e.pendingLanes&-536870913,i=i!==0?i:i&536870912?536870912:0;if(i!==0){t=i;e:{var l=e;o=Ec;var s=l.current.memoizedState.isDehydrated;if(s&&(ps(l,i).flags|=256),i=cp(l,i,!1),i!==2&&i!==6){if(g4&&!s){l.errorRecoveryDisabledLanes|=r,_i|=r,o=4;break e}r=sn,sn=o,r!==null&&(sn===null?sn=r:sn.push.apply(sn,r))}o=i}if(r=!1,o!==2)continue}}if(o===1){ps(e,0),Kr(e,t,0,!0);break}e:{switch(n=e,r=o,r){case 0:case 1:throw Error(ne(345));case 4:if((t&4194048)!==t&&(t&62914560)!==t)break;case 6:Kr(n,t,zn,!Wr);break e;case 2:sn=null;break;case 3:case 5:break;default:throw Error(ne(329))}if((t&62914560)===t&&(o=j2+300-En(),10<o)){if(Kr(n,t,zn,!Wr),T2(n,0,!0)!==0)break e;Uo=t,n.timeoutHandle=v4(_8.bind(null,n,a,sn,v2,c3,t,zn,_i,ds,Wr,r,"Throttled",-0,0),o);break e}_8(n,a,sn,v2,c3,t,zn,_i,ds,Wr,r,null,-0,0)}}break}while(!0);Zo(e)}function _8(e,t,a,n,o,r,i,l,s,c,d,f,u,g){e.timeoutHandle=-1;var b=t.subtreeFlags,p=(r&335544064)===r;if(f=null,(p||b&8192||(b&16785408)===16785408)&&(f={stylesheets:null,count:0,imgCount:0,imgBytes:0,suspenseyImages:[],waitingForImages:!0,waitingForViewTransition:!1,unsuspend:Lo},Tn=null,N9(t,r,f),p&&(b=f,p=e.containerInfo,p=(p.nodeType===9?p:p.ownerDocument).__reactViewTransition,p!=null&&(b.count++,b.waitingForViewTransition=!0,b=Vc.bind(b),p.finished.then(b,b))),b=(r&62914560)===r?j2-En():(r&4194048)===r?I9-En():0,b=bS(f,b),b!==null)){Uo=r,e.cancelPendingCommit=b(Z8.bind(null,e,t,r,a,n,o,i,l,s,c,d,f,null,u,g)),Kr(e,r,i,!c);return}Z8(e,t,r,a,n,o,i,l,s,c,d,f)}function fk(e){for(var t=e;;){var a=t.tag;if((a===0||a===11||a===15)&&t.flags&16384&&(a=t.updateQueue,a!==null&&(a=a.stores,a!==null)))for(var n=0;n<a.length;n++){var o=a[n],r=o.getSnapshot;o=o.value;try{if(!An(r(),o))return!1}catch{return!1}}if(a=t.child,t.subtreeFlags&16384&&a!==null)a.return=t,t=a;else{if(t===e)break;for(;t.sibling===null;){if(t.return===null||t.return===e)return!0;t=t.return}t.sibling.return=t.return,t=t.sibling}}return!0}function Kr(e,t,a,n){t=If(e,t),t&=~h2,t&=~_i,e.suspendedLanes|=t,e.pingedLanes&=~t,n&&(e.warmLanes|=t),n=e.expirationTimes;for(var o=t;0<o;){var r=31-Dn(o),i=1<<r;n[r]=-1,o&=~i}a!==0&&Pf(e,a,t)}function U2(){return(ht&6)===0?(e1(0,!1),!1):!0}function b4(){if(st!==null){if(Nt===0)var e=st.return;else e=st,or=el=null,Q3(e),es=null,Oc=0,e=st;for(;e!==null;)c9(e.alternate,e),e=e.return;st=null}}function ps(e,t){var a=e.timeoutHandle;return a!==-1&&(e.timeoutHandle=-1,Lk(a)),a=e.cancelPendingCommit,a!==null&&(e.cancelPendingCommit=null,a()),Uo=0,b4(),It=e,st=a=rr(e.current,null),dt=t,Nt=0,kn=null,Wr=!1,Ss=Wc(e,t),g4=!1,ds=zn=h2=_i=di=$t=0,sn=Ec=null,c3=!1,pr=If(e,t),M2(),a}function L9(e,t){Ke=null,_e.H=u2,t===ws||t===R2?(t=f8(),Nt=3):t===F3?(t=f8(),Nt=4):Nt=t===l4?8:t!==null&&typeof t=="object"&&typeof t.then=="function"?6:1,kn=t,st===null&&($t=1,p2(e,Qn(t,e.current)))}function B9(){var e=Ia.current;return e===null?!0:(dt&4194048)===dt?Fa===null:(dt&62914560)===dt||(dt&536870912)!==0?e===Fa:!1}function H9(){var e=_e.H;return _e.H=u2,e===null?u2:e}function j9(){var e=_e.A;return _e.A=pk,e}function x2(){$t=4,Wr||(dt&4194048)!==dt&&Ia.current!==null||(Ss=!0),(di&134217727)===0&&(_i&134217727)===0||It===null||Kr(It,dt,zn,!1)}function cp(e,t,a){var n=ht;ht|=2;var o=H9(),r=j9();(It!==e||dt!==t)&&(v2=null,ps(e,t)),t=!1;var i=$t;e:do try{if(Nt!==0&&st!==null){var l=st,s=kn;switch(Nt){case 8:b4(),i=6;break e;case 3:case 2:case 9:case 6:Ia.current===null&&(t=!0);var c=Nt;if(Nt=0,kn=null,Yl(e,l,s,c),a&&Ss){i=0;break e}break;default:c=Nt,Nt=0,kn=null,Yl(e,l,s,c)}}gk(),i=$t;break}catch(d){L9(e,d)}while(!0);return t&&e.shellSuspendCounter++,or=el=null,ht=n,_e.H=o,_e.A=r,st===null&&(It=null,dt=0,M2()),i}function gk(){for(;st!==null;)U9(st)}function bk(e,t){var a=ht;ht|=2;var n=H9(),o=j9();It!==e||dt!==t?(v2=null,y2=En()+500,ps(e,t)):Ss=Wc(e,t);e:do try{if(Nt!==0&&st!==null){t=st;var r=kn;t:switch(Nt){case 1:Nt=0,kn=null,Yl(e,t,r,1);break;case 2:case 9:if(m8(r)){Nt=0,kn=null,V8(t);break}t=function(){Nt!==2&&Nt!==9||It!==e||(Nt=7),Zo(e)},r.then(t,t);break e;case 3:Nt=7;break e;case 4:Nt=5;break e;case 7:m8(r)?(Nt=0,kn=null,V8(t)):(Nt=0,kn=null,Yl(e,t,r,7));break;case 5:var i=null;switch(st.tag){case 26:i=st.memoizedState;case 5:case 27:var l=st;if(i?ub(i):l.stateNode.complete){Nt=0,kn=null;var s=l.sibling;if(s!==null)st=s;else{var c=l.return;c!==null?(st=c,_2(c)):st=null}break t}}Nt=0,kn=null,Yl(e,t,r,5);break;case 6:Nt=0,kn=null,Yl(e,t,r,6);break;case 8:b4(),$t=6;break e;default:throw Error(ne(462))}}hk();break}catch(d){L9(e,d)}while(!0);return or=el=null,_e.H=n,_e.A=o,ht=a,st!==null?0:(It=null,dt=0,M2(),$t)}function hk(){for(;st!==null&&!Px();)U9(st)}function U9(e){var t=s9(e.alternate,e,pr);e.memoizedProps=e.pendingProps,t===null?_2(e):st=t}function V8(e){var t=e,a=t.alternate;switch(t.tag){case 15:case 0:t=M8(a,t,t.pendingProps,t.type,void 0,dt);break;case 11:t=M8(a,t,t.pendingProps,t.type.render,t.ref,dt);break;case 5:Q3(t);var n=t;n===Ca&&(ot?(o2(n),n.tag===5&&n.stateNode!=null&&(_t=n.stateNode)):(o2(n),ot=!0));default:c9(a,t),t=st=dg(t,pr),t=s9(a,t,pr)}e.memoizedProps=e.pendingProps,t===null?_2(e):st=t}function Yl(e,t,a,n){or=el=null,Q3(t),es=null,Oc=0;var o=t.return;try{if(ok(e,o,t,a,dt)){$t=1,p2(e,Qn(a,e.current)),st=null;return}}catch(r){if(o!==null)throw st=o,r;$t=1,p2(e,Qn(a,e.current)),st=null;return}t.flags&32768?(ot||n===1?e=!0:Ss||(dt&536870912)!==0?e=!1:(Wr=e=!0,(n===2||n===9||n===3||n===6)&&(n=Ia.current,n!==null&&n.tag===13&&(n.flags|=16384))),_9(t,e)):_2(t)}function _2(e){var t=e;do{if((t.flags&32768)!==0){_9(t,Wr);return}e=t.return;var a=sk(t.alternate,t,pr);if(a!==null){st=a;return}if(t=t.sibling,t!==null){st=t;return}st=t=e}while(t!==null);$t===0&&($t=5)}function _9(e,t){do{var a=ck(e.alternate,e);if(a!==null){a.flags&=32767,st=a;return}if(a=e.return,a!==null&&(a.flags|=32768,a.subtreeFlags=0,a.deletions=null),!t&&(e=e.sibling,e!==null)){st=e;return}st=e=a}while(e!==null);$t=6,st=null}function Z8(e,t,a,n,o,r,i,l,s,c,d,f){e.cancelPendingCommit=null;do V2();while(Yt!==0);if((ht&6)!==0)throw Error(ne(327));if(t!==null){if(t===e.current)throw Error(ne(177));e===It&&(st=It=null,dt=0),Yi=t,fo=e,Uo=a,u3=o,R9=n,yk(e,t,a,i,l,s,f)}}function yk(e,t,a,n,o,r,i){var l=t.lanes|t.childLanes;if(d3=l,l|=j3,Gx(e,a,l,n,o,r),os=null,(a&335544064)===a?(rs=qw(e),n=10262):(rs=null,n=10256),(t.subtreeFlags&n)!==0||(t.flags&n)!==0?(e.callbackNode=null,e.callbackPriority=0,Ck(Q0,function(){return g3(),null})):(e.callbackNode=null,e.callbackPriority=0),g2=!1,n=(t.flags&13878)!==0,(t.subtreeFlags&13878)!==0||n){n=_e.T,_e.T=null,o=yt.p,yt.p=2,r=ht,ht|=4;try{dk(e,t,a)}finally{ht=r,yt.p=o,_e.T=n}}Yt=1,g2?ns=Vk(i,e.containerInfo,rs,p3,m3,xk,f3,g3,vk,null,null):(p3(),m3(),f3())}function vk(e){if(Yt!==0){var t=fo.onRecoverableError;t(e,{componentStack:null})}}function xk(){Yt===3&&(Yt=0,z9(Yi,fo),Yt=4)}function p3(){if(Yt===1){Yt=0;var e=fo,t=Yi,a=Uo,n=(t.flags&13878)!==0;if((t.subtreeFlags&13878)!==0||n){n=_e.T,_e.T=null;var o=yt.p;yt.p=2;var r=ht;ht|=4;try{gc=b2=!1,C9(t,e,a),a=v3;var i=ag(e.containerInfo),l=a.focusedElem,s=a.selectionRange;if(i!==l&&l&&l.ownerDocument&&tg(l.ownerDocument.documentElement,l)){if(s!==null&&H3(l)){var c=s.start,d=s.end;if(d===void 0&&(d=c),"selectionStart"in l)l.selectionStart=c,l.selectionEnd=Math.min(d,l.value.length);else{var f=l.ownerDocument||document,u=f&&f.defaultView||window;if(u.getSelection){var g=u.getSelection(),b=l.textContent.length,p=Math.min(s.start,b),x=s.end===void 0?p:Math.min(s.end,b);!g.extend&&p>x&&(i=x,x=p,p=i);var h=r8(l,p),m=r8(l,x);if(h&&m&&(g.rangeCount!==1||g.anchorNode!==h.node||g.anchorOffset!==h.offset||g.focusNode!==m.node||g.focusOffset!==m.offset)){var v=f.createRange();v.setStart(h.node,h.offset),g.removeAllRanges(),p>x?(g.addRange(v),g.extend(m.node,m.offset)):(v.setEnd(m.node,m.offset),g.addRange(v))}}}}for(f=[],g=l;g=g.parentNode;)g.nodeType===1&&f.push({element:g,left:g.scrollLeft,top:g.scrollTop});for(typeof l.focus=="function"&&l.focus(),l=0;l<f.length;l++){var k=f[l];k.element.scrollLeft=k.left,k.element.scrollTop=k.top}}hs=!!y3,v3=y3=null}finally{ht=r,yt.p=o,_e.T=n}}e.current=t,Yt=2}}function m3(){if(Yt===2){Yt=0;var e=fo,t=Yi,a=(t.flags&8772)!==0;if((t.subtreeFlags&8772)!==0||a){a=_e.T,_e.T=null;var n=yt.p;yt.p=2;var o=ht;ht|=4;try{y9(e,t.alternate,t)}finally{ht=o,yt.p=n,_e.T=a}}Yt=3}}function f3(){if(Yt===4||Yt===3){Yt=0;var e=ns;ns=null,Ox();var t=fo,a=Yi,n=Uo,o=R9,r=(n&335544064)===n?10262:10256;if((a.subtreeFlags&r)!==0||(a.flags&r)!==0?Yt=5:(Yt=0,Yi=fo=null,V9(t,t.pendingLanes)),r=t.pendingLanes,r===0&&(ai=null),I3(n),a=a.stateNode,Nn&&typeof Nn.onCommitFiberRoot=="function")try{Nn.onCommitFiberRoot(qc,a,void 0,(a.current.flags&128)===128)}catch{}if(o!==null){a=_e.T,r=yt.p,yt.p=2,_e.T=null;try{for(var i=t.onRecoverableError,l=0;l<o.length;l++){var s=o[l];i(s.value,{componentStack:s.stack})}}finally{_e.T=a,yt.p=r}}if(o=os,i=rs,rs=null,o!==null&&(os=null,i===null&&(i=[]),e!==null))for(s=0;s<o.length;s++)a=(0,o[s])(i),a!==void 0&&e.finished.finally(a);(Uo&3)!==0&&V2(),Zo(t),r=t.pendingLanes,(n&261930)!==0&&(r&42)!==0?t===G0?Nc++:(Nc=0,G0=t):(Nc=0,G0=null),e1(0,!1)}}function V9(e,t){(e.pooledCacheLanes&=t)===0&&(t=e.pooledCache,t!=null&&(e.pooledCache=null,Xc(t)))}function V2(){return ns!==null&&(ns.skipTransition(),ns=null),p3(),m3(),f3(),g3()}function g3(){if(Yt!==5)return!1;var e=fo,t=d3;d3=0;var a=I3(Uo),n=_e.T,o=yt.p;try{yt.p=32>a?32:a,_e.T=null,a=u3,u3=null;var r=fo,i=Uo;if(Yt=0,Yi=fo=null,Uo=0,(ht&6)!==0)throw Error(ne(331));var l=ht;if(ht|=4,M9(r.current),E9(r,r.current,i,a),ht=l,e1(0,!1),Nn&&typeof Nn.onPostCommitFiberRoot=="function")try{Nn.onPostCommitFiberRoot(qc,r)}catch{}return!0}finally{yt.p=o,_e.T=n,V9(e,t)}}function G8(e,t,a){t=Qn(a,t),t=Kp(e.stateNode,t,2),e=Qr(e,t,2),e!==null&&(Kc(e,2),Zo(e))}function Mt(e,t,a){if(e.tag===3)G8(e,e,a);else for(;t!==null;){if(t.tag===3){G8(t,e,a);break}else if(t.tag===1){var n=t.stateNode;if(typeof t.type.getDerivedStateFromError=="function"||typeof n.componentDidCatch=="function"&&(ai===null||!ai.has(n))){e=Qn(a,e),a=n9(2),n=Qr(t,a,2),n!==null&&(o9(a,n,t,e),Kc(n,2),Zo(n));break}}t=t.return}}function dp(e,t,a){var n=e.pingCache;if(n===null){n=e.pingCache=new mk;var o=new Set;n.set(t,o)}else o=n.get(t),o===void 0&&(o=new Set,n.set(t,o));o.has(a)||(g4=!0,o.add(a),e=wk.bind(null,e,t,a),t.then(e,e))}function wk(e,t,a){var n=e.pingCache;n!==null&&n.delete(t),e.pingedLanes|=e.suspendedLanes&a,e.warmLanes&=~a,It===e&&(dt&a)===a&&(($t===4||$t===3&&(dt&62914560)===dt&&300>En()-j2)&&(ht&2)===0?ps(e,0):h2|=a,ds===dt&&(ds=0)),Zo(e)}function Z9(e,t){t===0&&(t=Rf()),e=Qi(e,t),e!==null&&(Kc(e,t),Zo(e))}function kk(e){var t=e.memoizedState,a=0;t!==null&&(a=t.retryLane),Z9(e,a)}function Sk(e,t){var a=0;switch(e.tag){case 31:case 13:var n=e.stateNode,o=e.memoizedState;o!==null&&(a=o.retryLane);break;case 19:n=e.stateNode;break;case 22:n=e.stateNode._retryCache;break;default:throw Error(ne(314))}n!==null&&n.delete(t),Z9(e,a)}function Ck(e,t){return M3(e,t)}var ms=null,Bl=null,b3=!1,w2=!1,up=!1,Yr=0;function Zo(e){e!==Bl&&e.next===null&&(Bl===null?ms=Bl=e:Bl=Bl.next=e),w2=!0,b3||(b3=!0,zk())}function e1(e,t){if(!up&&w2){up=!0;do for(var a=!1,n=ms;n!==null;){if(!t)if(e!==0){var o=n.pendingLanes;if(o===0)var r=0;else{var i=n.suspendedLanes,l=n.pingedLanes;r=(1<<31-Dn(42|e)+1)-1,r&=o&~(i&~l),r=r&201326741?r&201326741|1:r?r|2:0}r!==0&&(a=!0,F8(n,r))}else r=dt,r=T2(n,n===It?r:0,n.cancelPendingCommit!==null||n.timeoutHandle!==-1),(r&3)===0||Wc(n,r)||(a=!0,F8(n,r));n=n.next}while(a);up=!1}}function Tk(){G9()}function G9(){w2=b3=!1;var e=0;Yr!==0&&Ok()&&(e=Yr);for(var t=En(),a=null,n=ms;n!==null;){var o=n.next,r=F9(n,t);r===0?(n.next=null,a===null?ms=o:a.next=o,o===null&&(Bl=a)):(a=n,(e!==0||(r&3)!==0)&&(w2=!0)),n=o}Yt!==0&&Yt!==5||e1(e,!1),Yr!==0&&(Yr=0)}function F9(e,t){for(var a=e.suspendedLanes,n=e.pingedLanes,o=e.expirationTimes,r=e.pendingLanes&-62914561;0<r;){var i=31-Dn(r),l=1<<i,s=o[i];s===-1?((l&a)===0||(l&n)!==0)&&(o[i]=Zx(l,t)):s<=t&&(e.expiredLanes|=l),r&=~l}if(t=It,a=dt,a=T2(e,e===t?a:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n=e.callbackNode,a===0||e===t&&(Nt===2||Nt===9)||e.cancelPendingCommit!==null)return n!==null&&n!==null&&Zu(n),e.callbackNode=null,e.callbackPriority=0;if((a&3)===0||Wc(e,a)){if(t=a&-a,t===e.callbackPriority)return t;switch(n!==null&&Zu(n),I3(a)){case 2:case 8:a=Mf;break;case 32:a=Q0;break;case 268435456:a=Af;break;default:a=Q0}return n=q9.bind(null,e),a=M3(a,n),e.callbackPriority=t,e.callbackNode=a,t}return n!==null&&n!==null&&Zu(n),e.callbackPriority=2,e.callbackNode=null,2}function q9(e,t){if(Yt!==0&&Yt!==5)return e.callbackNode=null,e.callbackPriority=0,null;var a=e.callbackNode;if(V2()&&e.callbackNode!==a)return null;var n=dt;return n=T2(e,e===It?n:0,e.cancelPendingCommit!==null||e.timeoutHandle!==-1),n===0?null:(O9(e,n,t),F9(e,En()),e.callbackNode!=null&&e.callbackNode===a?q9.bind(null,e):null)}function F8(e,t){if(V2())return null;O9(e,t,!0)}function zk(){Bk(function(){(ht&6)!==0?M3(Df,Tk):G9()})}function h4(){if(Yr===0){var e=Fi;e===0&&(e=u0,u0<<=1,(u0&261888)===0&&(u0=256)),Yr=e}return Yr}function q8(e){return e==null||typeof e=="symbol"||typeof e=="boolean"?null:typeof e=="function"?e:I0(e)}function Ek(e,t,a,n,o){if(t==="submit"&&a&&a.stateNode===o){var r=q8((o[mn]||null).action),i=n.submitter;i&&(t=(t=i[mn]||null)?q8(t.formAction):i.getAttribute("formAction"),t!==null&&(r=t,i=null));var l=new E2("action","action",null,n,o);e.push({event:l,listeners:[{instance:null,listener:function(){if(n.defaultPrevented){if(Yr!==0){var s=new FormData(o,i);qp(a,{pending:!0,data:s,method:o.method,action:r},null,s)}}else typeof r=="function"&&(l.preventDefault(),s=new FormData(o,i),qp(a,{pending:!0,data:s,method:o.method,action:r},r,s))},currentTarget:o}]})}}for(z0=0;z0<Op.length;z0++)E0=Op[z0],W8=E0.toLowerCase(),K8=E0[0].toUpperCase()+E0.slice(1),go(W8,"on"+K8);var E0,W8,K8,z0;go(og,"onAnimationEnd");go(rg,"onAnimationIteration");go(ig,"onAnimationStart");go("dblclick","onDoubleClick");go("focusin","onFocus");go("focusout","onBlur");go(Hw,"onTransitionRun");go(jw,"onTransitionStart");go(Uw,"onTransitionCancel");go(lg,"onTransitionEnd");ls("onMouseEnter",["mouseout","mouseover"]);ls("onMouseLeave",["mouseout","mouseover"]);ls("onPointerEnter",["pointerout","pointerover"]);ls("onPointerLeave",["pointerout","pointerover"]);Xi("onChange","change click focusin focusout input keydown keyup selectionchange".split(" "));Xi("onSelect","focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange".split(" "));Xi("onBeforeInput",["compositionend","keypress","textInput","paste"]);Xi("onCompositionEnd","compositionend focusout keydown keypress keyup mousedown".split(" "));Xi("onCompositionStart","compositionstart focusout keydown keypress keyup mousedown".split(" "));Xi("onCompositionUpdate","compositionupdate focusout keydown keypress keyup mousedown".split(" "));var Hc="abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting".split(" "),Nk=new Set("beforetoggle cancel close invalid load scroll scrollend toggle".split(" ").concat(Hc));function W9(e,t){t=(t&4)!==0;for(var a=0;a<e.length;a++){var n=e[a],o=n.event;n=n.listeners;e:{var r=void 0;if(t)for(var i=n.length-1;0<=i;i--){var l=n[i],s=l.instance,c=l.currentTarget;if(l=l.listener,s!==r&&o.isPropagationStopped())break e;r=l,o.currentTarget=c;try{r(o)}catch(d){t2(d)}o.currentTarget=null,r=s}else for(i=0;i<n.length;i++){if(l=n[i],s=l.instance,c=l.currentTarget,l=l.listener,s!==r&&o.isPropagationStopped())break e;r=l,o.currentTarget=c;try{r(o)}catch(d){t2(d)}o.currentTarget=null,r=s}}}}function lt(e,t){var a=t[V7];a===void 0&&(a=t[V7]=new Set);var n=e+"__bubble";a.has(n)||(K9(t,e,2,!1),a.add(n))}function pp(e,t,a){var n=0;t&&(n|=4),K9(a,e,n,t)}var N0="_reactListening"+Math.random().toString(36).slice(2);function y4(e){if(!e[N0]){e[N0]=!0,jf.forEach(function(a){a!=="selectionchange"&&(Nk.has(a)||pp(a,!1,e),pp(a,!0,e))});var t=e.nodeType===9?e:e.ownerDocument;t===null||t[N0]||(t[N0]=!0,pp("selectionchange",!1,t))}}function K9(e,t,a,n){switch(yb(t)){case 2:var o=xS;break;case 8:o=wS;break;default:o=T4}a=o.bind(null,t,a,e),o=void 0,!Ap||t!=="touchstart"&&t!=="touchmove"&&t!=="wheel"||(o=!0),n?o!==void 0?e.addEventListener(t,a,{capture:!0,passive:o}):e.addEventListener(t,a,!0):o!==void 0?e.addEventListener(t,a,{passive:o}):e.addEventListener(t,a,!1)}function mp(e,t,a,n,o){var r=n;if((t&1)===0&&(t&2)===0&&n!==null)e:for(;;){if(n===null)return;var i=n.tag;if(i===3||i===4){var l=n.stateNode.containerInfo;if(l===o)break;if(i===4)for(i=n.return;i!==null;){var s=i.tag;if((s===3||s===4)&&i.stateNode.containerInfo===o)return;i=i.return}for(;l!==null;){if(i=Oi(l),i===null)return;if(s=i.tag,s===5||s===6||s===26||s===27){n=r=i;continue e}l=l.parentNode}}n=n.return}Wf(function(){var c=r,d=P3(a),f=[];e:{var u=sg.get(e);if(u!==void 0){var g=E2,b=e;switch(e){case"keypress":if(P0(a)===0)break e;case"keydown":case"keyup":g=fw;break;case"focusin":b="focus",g=Yu;break;case"focusout":b="blur",g=Yu;break;case"beforeblur":case"afterblur":g=Yu;break;case"click":if(a.button===2)break e;case"auxclick":case"dblclick":case"mousedown":case"mousemove":case"mouseup":case"mouseout":case"mouseover":case"contextmenu":g=J7;break;case"drag":case"dragend":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"dragstart":case"drop":g=aw;break;case"touchcancel":case"touchend":case"touchmove":case"touchstart":g=vw;break;case og:case rg:case ig:g=rw;break;case lg:g=ww;break;case"scroll":case"scrollend":g=ew;break;case"wheel":g=Sw;break;case"copy":case"cut":case"paste":g=lw;break;case"gotpointercapture":case"lostpointercapture":case"pointercancel":case"pointerdown":case"pointermove":case"pointerout":case"pointerover":case"pointerup":g=$7;break;case"submit":g=hw;break;case"toggle":case"beforetoggle":g=Tw}var p=(t&4)!==0,x=!p&&(e==="scroll"||e==="scrollend"),h=p?u!==null?u+"Capture":null:u;p=[];for(var m=c,v;m!==null;){var k=m;if(v=k.stateNode,k=k.tag,k!==5&&k!==26&&k!==27||v===null||h===null||(k=Mc(m,h),k!=null&&p.push(jc(m,k,v))),x)break;m=m.return}0<p.length&&(u=new g(u,b,null,a,d),f.push({event:u,listeners:p}))}}if((t&7)===0){e:{if(g=e==="mouseover"||e==="pointerover",u=e==="mouseout"||e==="pointerout",g&&a!==Mp&&(b=a.relatedTarget||a.fromElement)&&(Oi(b)||b[vs]))break e;(u||g)&&(b=d.window===d?d:(g=d.ownerDocument)?g.defaultView||g.parentWindow:window,u?(g=a.relatedTarget||a.toElement,u=c,g=g?Oi(g):null,g!==null&&(x=Fc(g),p=g.tag,g!==x||p!==5&&p!==27&&p!==6)&&(g=null)):(u=null,g=c),u!==g&&(p=J7,k="onMouseLeave",h="onMouseEnter",m="mouse",(e==="pointerout"||e==="pointerover")&&(p=$7,k="onPointerLeave",h="onPointerEnter",m="pointer"),x=u==null?b:mc(u),v=g==null?b:mc(g),b=new p(k,m+"leave",u,a,d),b.target=x,b.relatedTarget=v,k=null,Oi(d)===c&&(p=new p(h,m+"enter",g,a,d),p.target=v,p.relatedTarget=x,k=p),x=k,p=u&&g?yp(u,g,Dk):null,u!==null&&Y8(f,b,u,p,!1),g!==null&&x!==null&&Y8(f,x,g,p,!0)))}e:{if(u=c?mc(c):window,g=u.nodeName&&u.nodeName.toLowerCase(),g==="select"||g==="input"&&u.type==="file")var w=a8;else if(t8(u))if(Qf)w=Ow;else{w=Rw;var z=Iw}else g=u.nodeName,!g||g.toLowerCase()!=="input"||u.type!=="checkbox"&&u.type!=="radio"?c&&R3(c.elementType)&&(w=a8):w=Pw;if(w&&(w=w(e,c))){$f(f,w,a,d);break e}z&&z(e,u,c)}switch(z=c?mc(c):window,e){case"focusin":(t8(z)||z.contentEditable==="true")&&(Zl=z,Rp=c,yc=null);break;case"focusout":yc=Rp=Zl=null;break;case"mousedown":Pp=!0;break;case"contextmenu":case"mouseup":case"dragend":Pp=!1,i8(f,a,d);break;case"selectionchange":if(Bw)break;case"keydown":case"keyup":i8(f,a,d)}var P;if(B3)e:{switch(e){case"compositionstart":var j="onCompositionStart";break e;case"compositionend":j="onCompositionEnd";break e;case"compositionupdate":j="onCompositionUpdate";break e}j=void 0}else Vl?Jf(e,a)&&(j="onCompositionEnd"):e==="keydown"&&a.keyCode===229&&(j="onCompositionStart");j&&(Yf&&a.locale!=="ko"&&(Vl||j!=="onCompositionStart"?j==="onCompositionEnd"&&Vl&&(P=Kf()):(Fr=d,O3="value"in Fr?Fr.value:Fr.textContent,Vl=!0)),z=k2(c,j),0<z.length&&(j=new X7(j,e,null,a,d),f.push({event:j,listeners:z}),P?j.data=P:(P=Xf(a),P!==null&&(j.data=P)))),(P=Ew?Nw(e,a):Dw(e,a))&&(j=k2(c,"onBeforeInput"),0<j.length&&(z=new X7("onBeforeInput","beforeinput",null,a,d),f.push({event:z,listeners:j}),z.data=P)),Ek(f,e,c,a,d)}W9(f,t)})}function jc(e,t,a){return{instance:e,listener:t,currentTarget:a}}function k2(e,t){for(var a=t+"Capture",n=[];e!==null;){var o=e,r=o.stateNode;if(o=o.tag,o!==5&&o!==26&&o!==27||r===null||(o=Mc(e,a),o!=null&&n.unshift(jc(e,o,r)),o=Mc(e,t),o!=null&&n.push(jc(e,o,r))),e.tag===3)return n;e=e.return}return[]}function Dk(e){if(e===null)return null;do e=e.return;while(e&&e.tag!==5&&e.tag!==27);return e||null}function Y8(e,t,a,n,o){for(var r=t._reactName,i=[];a!==null&&a!==n;){var l=a,s=l.alternate,c=l.stateNode;if(l=l.tag,s!==null&&s===n)break;l!==5&&l!==26&&l!==27||c===null||(s=c,o?(c=Mc(a,r),c!=null&&i.unshift(jc(a,c,s))):o||(c=Mc(a,r),c!=null&&i.push(jc(a,c,s)))),a=a.return}i.length!==0&&e.push({event:t,listeners:i})}var Mk=/\r\n?/g,Ak=/\u0000|\uFFFD/g;function J8(e){return(typeof e=="string"?e:""+e).replace(Mk,`
9
+ `).replace(Ak,"")}function Y9(e,t){return t=J8(t),J8(e)===t}function Dt(e,t,a,n,o,r){switch(a){case"children":if(typeof n=="string")t==="body"||t==="textarea"&&n===""||ss(e,n);else if(typeof n=="number"||typeof n=="bigint")t!=="body"&&ss(e,""+n);else return;break;case"className":f0(e,"class",n);break;case"tabIndex":f0(e,"tabindex",n);break;case"dir":case"role":case"viewBox":case"width":case"height":f0(e,a,n);break;case"style":qf(e,n,r);return;case"data":if(t!=="object"){f0(e,"data",n);break}case"src":case"href":if(n===""&&(t!=="a"||a!=="href")){e.removeAttribute(a);break}if(n==null||typeof n=="function"||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=I0(n),e.setAttribute(a,n);break;case"action":case"formAction":if(typeof n=="function"){e.setAttribute(a,"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')");break}else typeof r=="function"&&(a==="formAction"?(t!=="input"&&Dt(e,t,"name",o.name,o,null),Dt(e,t,"formEncType",o.formEncType,o,null),Dt(e,t,"formMethod",o.formMethod,o,null),Dt(e,t,"formTarget",o.formTarget,o,null)):(Dt(e,t,"encType",o.encType,o,null),Dt(e,t,"method",o.method,o,null),Dt(e,t,"target",o.target,o,null)));if(n==null||typeof n=="symbol"||typeof n=="boolean"){e.removeAttribute(a);break}n=I0(n),e.setAttribute(a,n);break;case"onClick":n!=null&&(e.onclick=Lo);return;case"onScroll":n!=null&&lt("scroll",e);return;case"onScrollEnd":n!=null&&lt("scrollend",e);return;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(ne(61));if(a=n.__html,a!=null){if(o.children!=null)throw Error(ne(60));r?.__html!==a&&(e.innerHTML=a)}}break;case"multiple":e.multiple=n&&typeof n!="function"&&typeof n!="symbol";break;case"muted":e.muted=n&&typeof n!="function"&&typeof n!="symbol";break;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"defaultValue":case"defaultChecked":case"innerHTML":case"ref":break;case"autoFocus":break;case"xlinkHref":if(n==null||typeof n=="function"||typeof n=="boolean"||typeof n=="symbol"){e.removeAttribute("xlink:href");break}a=I0(n),e.setAttributeNS("http://www.w3.org/1999/xlink","xlink:href",a);break;case"contentEditable":case"spellCheck":case"draggable":case"value":case"autoReverse":case"externalResourcesRequired":case"focusable":case"preserveAlpha":n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,n):e.removeAttribute(a);break;case"inert":case"allowFullScreen":case"async":case"autoPlay":case"controls":case"credentialless":case"default":case"defer":case"disabled":case"disablePictureInPicture":case"disableRemotePlayback":case"formNoValidate":case"hidden":case"loop":case"noModule":case"noValidate":case"open":case"playsInline":case"readOnly":case"required":case"reversed":case"scoped":case"seamless":case"itemScope":n&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,""):e.removeAttribute(a);break;case"capture":case"download":n===!0?e.setAttribute(a,""):n!==!1&&n!=null&&typeof n!="function"&&typeof n!="symbol"?e.setAttribute(a,n):e.removeAttribute(a);break;case"cols":case"rows":case"size":case"span":n!=null&&typeof n!="function"&&typeof n!="symbol"&&!isNaN(n)&&1<=n?e.setAttribute(a,n):e.removeAttribute(a);break;case"rowSpan":case"start":n==null||typeof n=="function"||typeof n=="symbol"||isNaN(n)?e.removeAttribute(a):e.setAttribute(a,n);break;case"popover":lt("beforetoggle",e),lt("toggle",e),A0(e,"popover",n);break;case"xlinkActuate":tr(e,"http://www.w3.org/1999/xlink","xlink:actuate",n);break;case"xlinkArcrole":tr(e,"http://www.w3.org/1999/xlink","xlink:arcrole",n);break;case"xlinkRole":tr(e,"http://www.w3.org/1999/xlink","xlink:role",n);break;case"xlinkShow":tr(e,"http://www.w3.org/1999/xlink","xlink:show",n);break;case"xlinkTitle":tr(e,"http://www.w3.org/1999/xlink","xlink:title",n);break;case"xlinkType":tr(e,"http://www.w3.org/1999/xlink","xlink:type",n);break;case"xmlBase":tr(e,"http://www.w3.org/XML/1998/namespace","xml:base",n);break;case"xmlLang":tr(e,"http://www.w3.org/XML/1998/namespace","xml:lang",n);break;case"xmlSpace":tr(e,"http://www.w3.org/XML/1998/namespace","xml:space",n);break;case"is":A0(e,"is",n);break;case"innerText":case"textContent":return;default:if(!(2<a.length)||a[0]!=="o"&&a[0]!=="O"||a[1]!=="n"&&a[1]!=="N")a=$x.get(a)||a,A0(e,a,n);else return}gt=!0}function h3(e,t,a,n,o,r){switch(a){case"style":qf(e,n,r);return;case"dangerouslySetInnerHTML":if(n!=null){if(typeof n!="object"||!("__html"in n))throw Error(ne(61));if(a=n.__html,a!=null){if(o.children!=null)throw Error(ne(60));r?.__html!==a&&(e.innerHTML=a)}}break;case"children":if(typeof n=="string")ss(e,n);else if(typeof n=="number"||typeof n=="bigint")ss(e,""+n);else return;break;case"onScroll":n!=null&&lt("scroll",e);return;case"onScrollEnd":n!=null&&lt("scrollend",e);return;case"onClick":n!=null&&(e.onclick=Lo);return;case"suppressContentEditableWarning":case"suppressHydrationWarning":case"innerHTML":case"ref":return;case"innerText":case"textContent":return;default:if(!Uf.hasOwnProperty(a))e:{if(a[0]==="o"&&a[1]==="n"&&(o=a.endsWith("Capture"),r=a.slice(2,o?a.length-7:void 0),t=e[mn]||null,t=t!=null?t[a]:null,typeof t=="function"&&e.removeEventListener(r,t,o),typeof n=="function")){typeof t!="function"&&t!==null&&(a in e?e[a]=null:e.hasAttribute(a)&&e.removeAttribute(a)),e.addEventListener(r,n,o);break e}gt=!0,a in e?e[a]=n:n===!0?e.setAttribute(a,""):A0(e,a,n)}return}gt=!0}function Aa(e,t,a){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"img":lt("error",e),lt("load",e);var n=!1,o=!1,r;for(r in a)if(a.hasOwnProperty(r)){var i=a[r];if(i!=null)switch(r){case"src":n=!0;break;case"srcSet":o=!0;break;case"children":case"dangerouslySetInnerHTML":throw Error(ne(137,t));default:Dt(e,t,r,i,a,null)}}o&&Dt(e,t,"srcSet",a.srcSet,a,null),n&&Dt(e,t,"src",a.src,a,null);return;case"input":lt("invalid",e);var l=r=i=o=null,s=null,c=null;for(n in a)if(a.hasOwnProperty(n)){var d=a[n];if(d!=null)switch(n){case"name":o=d;break;case"type":i=d;break;case"checked":s=d;break;case"defaultChecked":c=d;break;case"value":r=d;break;case"defaultValue":l=d;break;case"children":case"dangerouslySetInnerHTML":if(d!=null)throw Error(ne(137,t));break;default:Dt(e,t,n,d,a,null)}}Zf(e,r,l,s,c,i,o,!1);return;case"select":lt("invalid",e),n=i=r=null;for(o in a)if(a.hasOwnProperty(o)&&(l=a[o],l!=null))switch(o){case"value":r=l;break;case"defaultValue":i=l;break;case"multiple":n=l;default:Dt(e,t,o,l,a,null)}t=r,a=i,e.multiple=!!n,t!=null?Xl(e,!!n,t,!1):a!=null&&Xl(e,!!n,a,!0);return;case"textarea":lt("invalid",e),r=o=n=null;for(i in a)if(a.hasOwnProperty(i)&&(l=a[i],l!=null))switch(i){case"value":n=l;break;case"defaultValue":o=l;break;case"children":r=l;break;case"dangerouslySetInnerHTML":if(l!=null)throw Error(ne(91));break;default:Dt(e,t,i,l,a,null)}Ff(e,n,o,r);return;case"option":for(s in a)a.hasOwnProperty(s)&&(n=a[s],n!=null)&&(s==="selected"?e.selected=n&&typeof n!="function"&&typeof n!="symbol":Dt(e,t,s,n,a,null));return;case"dialog":lt("beforetoggle",e),lt("toggle",e),lt("cancel",e),lt("close",e);break;case"iframe":case"object":lt("load",e);break;case"video":case"audio":for(n=0;n<Hc.length;n++)lt(Hc[n],e);break;case"image":lt("error",e),lt("load",e);break;case"details":lt("toggle",e);break;case"embed":case"source":case"link":lt("error",e),lt("load",e);case"area":case"base":case"br":case"col":case"hr":case"keygen":case"meta":case"param":case"track":case"wbr":case"menuitem":for(c in a)if(a.hasOwnProperty(c)&&(n=a[c],n!=null))switch(c){case"children":case"dangerouslySetInnerHTML":throw Error(ne(137,t));default:Dt(e,t,c,n,a,null)}return;default:if(R3(t)){for(d in a)a.hasOwnProperty(d)&&(n=a[d],n!==void 0&&h3(e,t,d,n,a,void 0));return}}for(l in a)a.hasOwnProperty(l)&&(n=a[l],n!=null&&Dt(e,t,l,n,a,null))}var Ik={};function Rk(e,t,a,n){switch(t){case"div":case"span":case"svg":case"path":case"a":case"g":case"p":case"li":break;case"input":var o=null,r=null,i=null,l=null,s=null,c=null,d=null;for(g in a){var f=a[g];if(a.hasOwnProperty(g)&&f!=null)switch(g){case"checked":break;case"value":break;case"defaultValue":s=f;default:n.hasOwnProperty(g)||Dt(e,t,g,null,n,f)}}for(var u in n){var g=n[u];if(f=a[u],n.hasOwnProperty(u)&&(g!=null||f!=null))switch(u){case"type":g!==f&&(gt=!0),r=g;break;case"name":g!==f&&(gt=!0),o=g;break;case"checked":g!==f&&(gt=!0),c=g;break;case"defaultChecked":g!==f&&(gt=!0),d=g;break;case"value":g!==f&&(gt=!0),i=g;break;case"defaultValue":g!==f&&(gt=!0),l=g;break;case"children":case"dangerouslySetInnerHTML":if(g!=null)throw Error(ne(137,t));break;default:g!==f&&Dt(e,t,u,g,n,f)}}Dp(e,i,l,s,c,d,r,o);return;case"select":g=i=l=u=null;for(r in a)if(s=a[r],a.hasOwnProperty(r)&&s!=null)switch(r){case"value":break;case"multiple":g=s;default:n.hasOwnProperty(r)||Dt(e,t,r,null,n,s)}for(o in n)if(r=n[o],s=a[o],n.hasOwnProperty(o)&&(r!=null||s!=null))switch(o){case"value":r!==s&&(gt=!0),u=r;break;case"defaultValue":r!==s&&(gt=!0),l=r;break;case"multiple":r!==s&&(gt=!0),i=r;default:r!==s&&Dt(e,t,o,r,n,s)}t=l,a=i,n=g,u!=null?Xl(e,!!a,u,!1):!!n!=!!a&&(t!=null?Xl(e,!!a,t,!0):Xl(e,!!a,a?[]:"",!1));return;case"textarea":g=u=null;for(l in a)if(o=a[l],a.hasOwnProperty(l)&&o!=null&&!n.hasOwnProperty(l))switch(l){case"value":break;case"children":break;default:Dt(e,t,l,null,n,o)}for(i in n)if(o=n[i],r=a[i],n.hasOwnProperty(i)&&(o!=null||r!=null))switch(i){case"value":o!==r&&(gt=!0),u=o;break;case"defaultValue":o!==r&&(gt=!0),g=o;break;case"children":break;case"dangerouslySetInnerHTML":if(o!=null)throw Error(ne(91));break;default:o!==r&&Dt(e,t,i,o,n,r)}Gf(e,u,g);return;case"option":for(var b in a)u=a[b],a.hasOwnProperty(b)&&u!=null&&!n.hasOwnProperty(b)&&(b==="selected"?e.selected=!1:Dt(e,t,b,null,n,u));for(s in n)u=n[s],g=a[s],n.hasOwnProperty(s)&&u!==g&&(u!=null||g!=null)&&(s==="selected"?(u!==g&&(gt=!0),e.selected=u&&typeof u!="function"&&typeof u!="symbol"):Dt(e,t,s,u,n,g));return;case"img":case"link":case"area":case"base":case"br":case"col":case"embed":case"hr":case"keygen":case"meta":case"param":case"source":case"track":case"wbr":case"menuitem":for(var p in a)u=a[p],a.hasOwnProperty(p)&&u!=null&&!n.hasOwnProperty(p)&&Dt(e,t,p,null,n,u);for(c in n)if(u=n[c],g=a[c],n.hasOwnProperty(c)&&u!==g&&(u!=null||g!=null))switch(c){case"children":case"dangerouslySetInnerHTML":if(u!=null)throw Error(ne(137,t));break;default:Dt(e,t,c,u,n,g)}return;default:if(R3(t)){for(var x in a)u=a[x],a.hasOwnProperty(x)&&u!==void 0&&!n.hasOwnProperty(x)&&h3(e,t,x,void 0,n,u);for(d in n)u=n[d],g=a[d],!n.hasOwnProperty(d)||u===g||u===void 0&&g===void 0||h3(e,t,d,u,n,g);return}}for(var h in a)u=a[h],a.hasOwnProperty(h)&&u!=null&&!n.hasOwnProperty(h)&&Dt(e,t,h,null,n,u);for(f in n)u=n[f],g=a[f],!n.hasOwnProperty(f)||u===g||u==null&&g==null||Dt(e,t,f,u,n,g)}function X8(e){switch(e){case"css":case"script":case"font":case"img":case"image":case"input":case"link":return!0;default:return!1}}function Pk(){if(typeof performance.getEntriesByType=="function"){for(var e=0,t=0,a=performance.getEntriesByType("resource"),n=0;n<a.length;n++){var o=a[n],r=o.transferSize,i=o.initiatorType,l=o.duration;if(r&&l&&X8(i)){for(i=0,l=o.responseEnd,n+=1;n<a.length;n++){var s=a[n],c=s.startTime;if(c>l)break;var d=s.transferSize,f=s.initiatorType;d&&X8(f)&&(s=s.responseEnd,i+=d*(s<l?1:(l-c)/(s-c)))}if(--n,t+=8*(r+i)/(o.duration/1e3),e++,10<e)break}}if(0<e)return t/e/1e6}return navigator.connection&&(e=navigator.connection.downlink,typeof e=="number")?e:5}var y3=null,v3=null;function Uc(e){return e.nodeType===9?e:e.ownerDocument}function $8(e){switch(e){case"http://www.w3.org/2000/svg":return 1;case"http://www.w3.org/1998/Math/MathML":return 2;default:return 0}}function J9(e,t){if(e===0)switch(t){case"svg":return 1;case"math":return 2;default:return 0}return e===1&&t==="foreignObject"?0:e}function X9(e,t,a,n){return a=Uc(a).createElement(e),a[Ea]=n,a[mn]=t,Aa(a,e,t),Sa(a),a}function x3(e,t){return e==="textarea"||e==="noscript"||typeof t.children=="string"||typeof t.children=="number"||typeof t.children=="bigint"||typeof t.dangerouslySetInnerHTML=="object"&&t.dangerouslySetInnerHTML!==null&&t.dangerouslySetInnerHTML.__html!=null}var fp=null;function Ok(){var e=window.event;return e&&e.type==="popstate"?e===fp?!1:(fp=e,!0):(fp=null,!1)}var v4=typeof setTimeout=="function"?setTimeout:void 0,Lk=typeof clearTimeout=="function"?clearTimeout:void 0,Q8=typeof Promise=="function"?Promise:void 0,ef=typeof requestAnimationFrame=="function"?requestAnimationFrame:v4,Bk=typeof queueMicrotask=="function"?queueMicrotask:typeof Q8<"u"?function(e){return Q8.resolve(null).then(e).catch(Hk)}:v4;function Hk(e){setTimeout(function(){throw e})}function pi(e){return e==="head"}function tf(e,t){var a=t,n=0;do{var o=a.nextSibling;if(e.removeChild(a),o&&o.nodeType===8)if(a=o.data,a==="/$"||a==="/&"){if(n===0){e.removeChild(o),ys(t);return}n--}else if(a==="$"||a==="$?"||a==="$~"||a==="$!"||a==="&")n++;else if(a==="html")bp(e.ownerDocument.documentElement);else if(a==="head"){a=e.ownerDocument.head,bp(a);for(var r=a.firstChild;r;){var i=r.nextSibling,l=r.nodeName;r[Yc]||l==="SCRIPT"||l==="STYLE"||l==="LINK"&&r.rel.toLowerCase()==="stylesheet"||a.removeChild(r),r=i}}else a==="body"&&bp(e.ownerDocument.body);a=o}while(a);ys(t)}function af(e,t){var a=e;e=0;do{var n=a.nextSibling;if(a.nodeType===1?t?(a._stashedDisplay=a.style.display,a.style.display="none"):(a.style.display=a._stashedDisplay||"",a.getAttribute("style")===""&&a.removeAttribute("style")):a.nodeType===3&&(t?(a._stashedText=a.nodeValue,a.nodeValue=""):a.nodeValue=a._stashedText||""),n&&n.nodeType===8)if(a=n.data,a==="/$"){if(e===0)break;e--}else a!=="$"&&a!=="$?"&&a!=="$~"&&a!=="$!"||e++;a=n}while(a)}function $9(e,t,a){if(t=CSS.escape(t)!==t?"r-"+btoa(t).replace(/=/g,""):t,e.style.viewTransitionName=t,a!=null&&(e.style.viewTransitionClass=a),a=getComputedStyle(e),a.display==="inline"){if(t=e.getClientRects(),t.length===1)var n=1;else for(var o=n=0;o<t.length;o++){var r=t[o];0<r.width&&0<r.height&&n++}n===1&&(e=e.style,e.display=t.length===1?"inline-block":"block",e.marginTop="-"+a.paddingTop,e.marginBottom="-"+a.paddingBottom)}}function Q9(e,t){e=e.style,t=t.style;var a=t!=null?t.hasOwnProperty("viewTransitionName")?t.viewTransitionName:t.hasOwnProperty("view-transition-name")?t["view-transition-name"]:null:null;e.viewTransitionName=a==null||typeof a=="boolean"?"":(""+a).trim(),a=t!=null?t.hasOwnProperty("viewTransitionClass")?t.viewTransitionClass:t.hasOwnProperty("view-transition-class")?t["view-transition-class"]:null:null,e.viewTransitionClass=a==null||typeof a=="boolean"?"":(""+a).trim(),e.display==="inline-block"&&(t==null?e.display=e.margin="":(a=t.display,e.display=a==null||typeof a=="boolean"?"":a,a=t.margin,a!=null?e.margin=a:(a=t.hasOwnProperty("marginTop")?t.marginTop:t["margin-top"],e.marginTop=a==null||typeof a=="boolean"?"":a,t=t.hasOwnProperty("marginBottom")?t.marginBottom:t["margin-bottom"],e.marginBottom=t==null||typeof t=="boolean"?"":t)))}function eb(e,t,a){return a=a.ownerDocument.defaultView,{rect:e,abs:t.position==="absolute"||t.position==="fixed",clip:t.clipPath!=="none"||t.overflow!=="visible"||t.filter!=="none"||t.mask!=="none"||t.mask!=="none"||t.borderRadius!=="0px",view:0<=e.bottom&&0<=e.right&&e.top<=a.innerHeight&&e.left<=a.innerWidth}}function w3(e){var t=e.getBoundingClientRect(),a=getComputedStyle(e);return eb(t,a,e)}function jk(e){var t=e.getBoundingClientRect();t=new DOMRect(t.x+2e4,t.y+2e4,t.width,t.height);var a=getComputedStyle(e);return eb(t,a,e)}function Uk(e){return e.documentElement.clientHeight}function _k(e){this.addEventListener("load",e),this.addEventListener("error",e)}function Vk(e,t,a,n,o,r,i,l,s){var c=t.nodeType===9?t:t.ownerDocument;try{var d=c.startViewTransition({update:function(){var u=c.defaultView,g=u.navigation&&u.navigation.transition,b=c.fonts.status;n();var p=[];if(b==="loaded"&&(Uk(c),c.fonts.status==="loading"&&p.push(c.fonts.ready)),b=p.length,e!==null)for(var x=e.suspenseyImages,h=0,m=0;m<x.length;m++){var v=x[m];if(!v.complete){var k=v.getBoundingClientRect();if(0<k.bottom&&0<k.right&&k.top<u.innerHeight&&k.left<u.innerWidth){if(h+=pb(v),h>W0){p.length=b;break}v=new Promise(_k.bind(v)),p.push(v)}}}if(0<p.length)return u=Promise.race([Promise.all(p),new Promise(function(w){return setTimeout(w,500)})]).then(o,o),(g?Promise.allSettled([g.finished,u]):u).then(r,r);if(o(),g)return g.finished.then(r,r);r()},types:a});c.__reactViewTransition=d;var f=[];return d.ready.then(function(){for(var u=c.documentElement.getAnimations({subtree:!0}),g=0;g<u.length;g++){var b=u[g],p=b.effect,x=p.pseudoElement;if(x!=null&&x.startsWith("::view-transition")){f.push(b),b=p.getKeyframes();for(var h=x=void 0,m=!0,v=0;v<b.length;v++){var k=b[v],w=k.width;if(x===void 0)x=w;else if(x!==w){m=!1;break}if(w=k.height,h===void 0)h=w;else if(h!==w){m=!1;break}delete k.width,delete k.height,k.transform==="none"&&delete k.transform}m&&x!==void 0&&h!==void 0&&(p.setKeyframes(b),m=getComputedStyle(p.target,p.pseudoElement),m.width!==x||m.height!==h)&&(m=b[0],m.width=x,m.height=h,m=b[b.length-1],m.width=x,m.height=h,p.setKeyframes(b))}}i()},function(u){c.__reactViewTransition===d&&(c.__reactViewTransition=null);try{typeof u=="object"&&u!==null&&u.name==="InvalidStateError"&&(u.message==="View transition was skipped because document visibility state is hidden."||u.message==="Skipping view transition because document visibility state has become hidden."||u.message==="Skipping view transition because viewport size changed."||u.message==="Transition was aborted because of invalid state")&&(u=null),u!==null&&s(u)}finally{n(),o(),i()}}),d.finished.finally(function(){for(var u=0;u<f.length;u++)f[u].cancel();c.__reactViewTransition===d&&(c.__reactViewTransition=null),l()}),d}catch{return n(),o(),i(),null}}function Li(e,t){this._scope=document.documentElement,this._selector="::view-transition-"+e+"("+t+")"}Li.prototype.animate=function(e,t){return t=typeof t=="number"?{duration:t}:Rt({},t),t.pseudoElement=this._selector,this._scope.animate(e,t)};Li.prototype.getAnimations=function(){for(var e=this._scope,t=this._selector,a=e.getAnimations({subtree:!0}),n=[],o=0;o<a.length;o++){var r=a[o].effect;r!==null&&r.target===e&&r.pseudoElement===t&&n.push(a[o])}return n};Li.prototype.getComputedStyle=function(){return getComputedStyle(this._scope,this._selector)};function tb(e){return{name:e,group:new Li("group",e),imagePair:new Li("image-pair",e),old:new Li("old",e),new:new Li("new",e)}}function In(e){this._fragmentFiber=e,this._observers=this._eventListeners=null}In.prototype.addEventListener=function(e,t,a){var n=null,o=null;if(!(a!=null&&typeof a!="boolean"&&(n=a.signal||null,n!==null&&n.aborted))){this._eventListeners===null&&(this._eventListeners=[]);var r=this._eventListeners;if(ab(r,e,t,a)===-1){var i=this,l=t;a!=null&&typeof a!="boolean"&&a.once===!0&&(l=function(s){i.removeEventListener(e,t,a),typeof t=="function"?t.call(this,s):t.handleEvent(s)}),n!==null&&(o=i.removeEventListener.bind(i,e,t,a),n.addEventListener("abort",o,{once:!0}),o=n.removeEventListener.bind(n,"abort",o)),n=fs(a),r.push({type:e,listener:t,optionsOrUseCapture:a,attachedListener:l,cleanup:o}),pn(this._fragmentFiber.child,!1,Zk,e,l,n)}this._eventListeners=r}};function Zk(e,t,a,n){return ga(e).addEventListener(t,a,n),!1}In.prototype.removeEventListener=function(e,t,a){var n=this._eventListeners;if(n!==null&&(t=ab(n,e,t,a),t!==-1)){var o=n[t];a=o.attachedListener;var r=o.cleanup;o=fs(o.optionsOrUseCapture),pn(this._fragmentFiber.child,!1,Gk,e,a,o),n.splice(t,1),r!==null&&r()}};function Gk(e,t,a,n){return ga(e).removeEventListener(t,a,n),!1}function fs(e){return e!=null&&typeof e!="boolean"&&(e.once===!0||e.signal instanceof AbortSignal)?{capture:e.capture,passive:e.passive}:e}function nf(e){return e==null?"c=0":typeof e=="boolean"?"c="+(e?"1":"0"):"c="+(e.capture?"1":"0")}function ab(e,t,a,n){if(e.length===0)return-1;n=nf(n);for(var o=0;o<e.length;o++){var r=e[o];if(r.type===t&&r.listener===a&&nf(r.optionsOrUseCapture)===n)return o}return-1}In.prototype.dispatchEvent=function(e){var t=Ji(this._fragmentFiber);if(t===null)return!0;t=ga(t);var a=this._eventListeners;if(a!==null&&0<a.length||!e.bubbles){var n=t.nodeType===9?t.createComment(""):document.createTextNode("");if(a)for(var o=0;o<a.length;o++){var r=a[o];n.addEventListener(r.type,r.attachedListener,fs(r.optionsOrUseCapture))}if(t.appendChild(n),e=n.dispatchEvent(e),a)for(o=0;o<a.length;o++)r=a[o],n.removeEventListener(r.type,r.attachedListener,fs(r.optionsOrUseCapture));return t.removeChild(n),e}return t.dispatchEvent(e)};In.prototype.focus=function(e){pn(this._fragmentFiber.child,!0,nb,e,void 0,void 0)};function nb(e,t){return e.tag===6?!1:(e=ga(e),aS(e,t))}In.prototype.focusLast=function(e){var t=[];pn(this._fragmentFiber.child,!0,x4,t,void 0,void 0);for(var a=t.length-1;0<=a&&!nb(t[a],e);a--);};function x4(e,t){return t.push(e),!1}In.prototype.blur=function(){var e=Ji(this._fragmentFiber);e!==null&&(e=ga(e),e=Uc(e).activeElement,e!==null&&pn(this._fragmentFiber.child,!1,Fk,e,void 0,void 0))};function Fk(e,t){return e.tag===6?!1:(e=ga(e),e===t||e.contains(t)?(t.blur(),!0):!1)}In.prototype.observeUsing=function(e){this._observers===null&&(this._observers=new Set),this._observers.add(e),pn(this._fragmentFiber.child,!1,qk,e,void 0,void 0)};function qk(e,t){return e.tag===6||(e=ga(e),t.observe(e)),!1}In.prototype.unobserveUsing=function(e){var t=this._observers;if(t!==null&&t.has(e)){t.delete(e),pn(this._fragmentFiber.child,!1,Wk,e,void 0,void 0);for(var a=t=0;a<mo.length;a++){var n=mo[a];n.fragmentInstance===this&&n.observer===e?e.unobserve(n.instance):mo[t++]=n}mo.length=t}};function Wk(e,t){return e.tag===6||(e=ga(e),t.unobserve(e)),!1}var mo=[],gp=!1;function Kk(e,t,a){mo.push({fragmentInstance:e,observer:t,instance:a}),gp||(gp=!0,nS(function(){gp=!1;var n=mo;mo=[];for(var o=0;o<n.length;o++){var r=n[o];r.observer.unobserve(r.instance)}}))}In.prototype.getClientRects=function(){var e=[];return pn(this._fragmentFiber.child,!1,Yk,e,void 0,void 0),e};function Yk(e,t){if(e.tag===6){e=e.stateNode;var a=e.ownerDocument.createRange();a.selectNodeContents(e),t.push.apply(t,a.getClientRects())}else e=ga(e),t.push.apply(t,e.getClientRects());return!1}In.prototype.getRootNode=function(e){var t=Ji(this._fragmentFiber);return t===null?this:ga(t).getRootNode(e)};In.prototype.compareDocumentPosition=function(e){var t=Ji(this._fragmentFiber);if(t===null)return Node.DOCUMENT_POSITION_DISCONNECTED;var a=[];pn(this._fragmentFiber.child,!1,x4,a,void 0,void 0);var n=ga(t);if(a.length===0){if(a=n,L7(this._fragmentFiber)){e:{for(t=this._fragmentFiber.return;t!==null;){if(t.tag===4){t=t.stateNode.containerInfo;break e}if(t.tag===3||t.tag===5||t.tag===27)break;t=t.return}t=null}t!=null&&(a=t)}t=this._fragmentFiber;var o=n=a.compareDocumentPosition(e);return a===e?o=Node.DOCUMENT_POSITION_CONTAINS:n&Node.DOCUMENT_POSITION_CONTAINED_BY&&(a=Tf(t)[1],a===null?o=Node.DOCUMENT_POSITION_PRECEDING:(e=ga(a).compareDocumentPosition(e),o=e===0||e&Node.DOCUMENT_POSITION_FOLLOWING?Node.DOCUMENT_POSITION_FOLLOWING:Node.DOCUMENT_POSITION_PRECEDING)),o|=Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC}t=ga(a[0]),o=ga(a[a.length-1]);var r=L7(this._fragmentFiber)?t.parentElement:n;if(r==null)return Node.DOCUMENT_POSITION_DISCONNECTED;n=r.compareDocumentPosition(t)&Node.DOCUMENT_POSITION_CONTAINED_BY,r=r.compareDocumentPosition(o)&Node.DOCUMENT_POSITION_CONTAINED_BY;var i=t.compareDocumentPosition(e),l=o.compareDocumentPosition(e),s=i&Node.DOCUMENT_POSITION_CONTAINED_BY||l&Node.DOCUMENT_POSITION_CONTAINED_BY;return l=n&&r&&i&Node.DOCUMENT_POSITION_FOLLOWING&&l&Node.DOCUMENT_POSITION_PRECEDING,t=n&&t===e||r&&o===e||s||l?Node.DOCUMENT_POSITION_CONTAINED_BY:!n&&t===e||!r&&o===e?Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC:i,t&Node.DOCUMENT_POSITION_DISCONNECTED||t&Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC||Jk(t,this._fragmentFiber,a[0],a[a.length-1],e)?t:Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC};function Jk(e,t,a,n,o){var r=Oi(o);if(e&Node.DOCUMENT_POSITION_CONTAINED_BY){if(a=!!r)e:{for(;r!==null;){if(r.tag===7&&(r===t||r.alternate===t)){a=!0;break e}r=r.return}a=!1}return a}if(e&Node.DOCUMENT_POSITION_CONTAINS){if(r===null)return r=o.ownerDocument,o===r||o===r.documentElement||o===r.body;e:{for(r=t,t=Ji(t);r!==null;){if(!(r.tag!==5&&r.tag!==3&&r.tag!==27||r!==t&&r.alternate!==t)){r=!0;break e}r=r.return}r=!1}return r}return e&Node.DOCUMENT_POSITION_PRECEDING?((t=!!r)&&!(t=r===a)&&(t=yp(a,r,B7),t===null?t=!1:(pn(t,!0,zx,r,a),r=Hl,Hl=null,t=r!==null)),t):e&Node.DOCUMENT_POSITION_FOLLOWING?((t=!!r)&&!(t=r===n)&&(t=yp(n,r,B7),t===null?t=!1:(pn(t,!0,Ex,r,n),r=Hl,hp=Hl=null,t=r!==null)),t):!1}function of(e,t){var a=e.ownerDocument.createRange();a.selectNodeContents(e),e=a.getBoundingClientRect(),window.scrollTo(window.scrollX+e.left,t?window.scrollY+e.top:window.scrollY+e.bottom-window.innerHeight)}In.prototype.scrollIntoView=function(e){if(typeof e=="object")throw Error(ne(566));var t=[];pn(this._fragmentFiber.child,!1,x4,t,void 0,void 0);var a=e!==!1;if(t.length===0){var n=Tf(this._fragmentFiber);if(n=a?n[1]||n[0]||Ji(this._fragmentFiber):n[0]||n[1],n===null)return;if(n.tag===6){e=ga(n),of(e,a);return}if(n=ga(n),n.nodeType!==9){if(n.nodeType===11){a="host"in n?n.host:null,a!==null&&a.scrollIntoView(e);return}n.scrollIntoView(e)}}for(n=a?t.length-1:0;n!==(a?-1:t.length);){var o=t[n];o.tag===6?(o=ga(o),of(o,a)):ga(o).scrollIntoView(e),n+=a?-1:1}};function Xk(e,t){return e=ga(e),ob(e,t),!1}function ob(e,t){e.reactFragments==null&&(e.reactFragments=new Set),e.reactFragments.add(t)}function rb(e,t){var a=t._eventListeners;if(a!==null)for(var n=0;n<a.length;n++){var o=a[n];e.addEventListener(o.type,o.attachedListener,fs(o.optionsOrUseCapture))}e.nodeType!==3&&(a=t._observers,a!==null&&a.forEach(function(r){for(var i=0,l=0;l<mo.length;l++){var s=mo[l];(s.fragmentInstance!==t||s.observer!==r||s.instance!==e)&&(mo[i++]=s)}mo.length=i,r.observe(e)}),ob(e,t))}function $k(e,t){var a=t._eventListeners;if(a!==null)for(var n=0;n<a.length;n++){var o=a[n];e.removeEventListener(o.type,o.attachedListener,fs(o.optionsOrUseCapture))}e.nodeType!==3&&(a=t._observers,a!==null&&a.forEach(function(r){typeof r.rootMargin=="string"?Kk(t,r,e):r.unobserve(e)}),e.reactFragments!=null&&e.reactFragments.delete(t))}function k3(e){var t=e.firstChild;for(t&&t.nodeType===10&&(t=t.nextSibling);t;){var a=t;switch(t=t.nextSibling,a.nodeName){case"HTML":case"HEAD":case"BODY":k3(a),z2(a);continue;case"SCRIPT":case"STYLE":continue;case"LINK":if(a.rel.toLowerCase()==="stylesheet")continue}e.removeChild(a)}}function Qk(e,t,a,n){for(;e.nodeType===1;){var o=a;if(e.nodeName.toLowerCase()!==t.toLowerCase()){if(!n&&(e.nodeName!=="INPUT"||e.type!=="hidden"))break}else if(n){if(!e[Yc])switch(t){case"meta":if(!e.hasAttribute("itemprop"))break;return e;case"link":if(r=e.getAttribute("rel"),r==="stylesheet"&&e.hasAttribute("data-precedence"))break;if(r!==o.rel||e.getAttribute("href")!==(o.href==null||o.href===""?null:o.href)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin)||e.getAttribute("title")!==(o.title==null?null:o.title))break;return e;case"style":if(e.hasAttribute("data-precedence"))break;return e;case"script":if(r=e.getAttribute("src"),(r!==(o.src==null?null:o.src)||e.getAttribute("type")!==(o.type==null?null:o.type)||e.getAttribute("crossorigin")!==(o.crossOrigin==null?null:o.crossOrigin))&&r&&e.hasAttribute("async")&&!e.hasAttribute("itemprop"))break;return e;default:return e}}else if(t==="input"&&e.type==="hidden"){var r=o.name==null?null:""+o.name;if(o.type==="hidden"&&e.getAttribute("name")===r)return e}else return e;if(e=to(e.nextSibling),e===null)break}return null}function eS(e,t,a){if(t==="")return null;for(;e.nodeType!==3;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!a||(e=to(e.nextSibling),e===null))return null;return e}function ib(e,t){for(;e.nodeType!==8;)if((e.nodeType!==1||e.nodeName!=="INPUT"||e.type!=="hidden")&&!t||(e=to(e.nextSibling),e===null))return null;return e}function S3(e){return e.data==="$?"||e.data==="$~"}function w4(e){return e.data==="$!"||e.data==="$?"&&e.ownerDocument.readyState!=="loading"}function tS(e,t){var a=e.ownerDocument;if(e.data==="$~")e._reactRetry=t;else if(e.data!=="$?"||a.readyState!=="loading")t();else{var n=function(){t(),a.removeEventListener("DOMContentLoaded",n)};a.addEventListener("DOMContentLoaded",n),e._reactRetry=n}}function to(e){for(;e!=null;e=e.nextSibling){var t=e.nodeType;if(t===1||t===3)break;if(t===8){if(t=e.data,t==="$"||t==="$!"||t==="$?"||t==="$~"||t==="&"||t==="F!"||t==="F")break;if(t==="/$"||t==="/&")return null}}return e}var C3=null;function rf(e){e=e.nextSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="/$"||a==="/&"){if(t===0)return to(e.nextSibling);t--}else a!=="$"&&a!=="$!"&&a!=="$?"&&a!=="$~"&&a!=="&"||t++}e=e.nextSibling}return null}function lf(e){e=e.previousSibling;for(var t=0;e;){if(e.nodeType===8){var a=e.data;if(a==="$"||a==="$!"||a==="$?"||a==="$~"||a==="&"){if(t===0)return e;t--}else a!=="/$"&&a!=="/&"||t++}e=e.previousSibling}return null}function aS(e,t){function a(){n=!0}if(e.ownerDocument.activeElement===e)return!0;var n=!1;try{e.ownerDocument.addEventListener("focus",a,!0),(e.focus||HTMLElement.prototype.focus).call(e,t)}finally{e.ownerDocument.removeEventListener("focus",a,!0)}return n}function nS(e){ef(function(){ef(function(t){return e(t)})})}function lb(e,t,a){switch(t=Uc(a),e){case"html":if(e=t.documentElement,!e)throw Error(ne(452));return e;case"head":if(e=t.head,!e)throw Error(ne(453));return e;case"body":if(e=t.body,!e)throw Error(ne(454));return e;default:throw Error(ne(451))}}function sb(e,t,a){for(var n in a){var o=a[n];a.hasOwnProperty(n)&&o!=null&&Dt(e,t,n,null,Ik,o)}a.dangerouslySetInnerHTML!=null&&(e.textContent=""),e.onclick===Lo&&(e.onclick=null),z2(e)}function bp(e){for(var t=e.attributes;t.length;)e.removeAttributeNode(t[0]);z2(e)}var ao=new Map,sf=new Set;function _c(e){if(typeof e.getRootNode=="function"){var t=e.getRootNode();if(t.nodeType===9||t.nodeType===11)return t}return e.nodeType===9?e:e.ownerDocument}var gr=yt.d;yt.d={f:oS,r:rS,D:iS,C:lS,L:sS,m:cS,X:uS,S:dS,M:pS};function oS(){var e=gr.f(),t=U2();return e||t}function rS(e){var t=xs(e);t!==null&&t.tag===5&&t.type==="form"?qg(t):gr.r(e)}var Cs=typeof document>"u"?null:document;function cb(e,t,a){var n=Cs;if(n&&typeof t=="string"&&t){var o=$n(t);o='link[rel="'+e+'"][href="'+o+'"]',typeof a=="string"&&(o+='[crossorigin="'+a+'"]'),sf.has(o)||(sf.add(o),e={rel:e,crossOrigin:a,href:t},n.querySelector(o)===null&&(t=n.createElement("link"),Aa(t,"link",e),Sa(t),n.head.appendChild(t)))}}function iS(e){gr.D(e),cb("dns-prefetch",e,null)}function lS(e,t){gr.C(e,t),cb("preconnect",e,t)}function sS(e,t,a){gr.L(e,t,a);var n=Cs;if(n&&e&&t){var o='link[rel="preload"][as="'+$n(t)+'"]';t==="image"&&a&&a.imageSrcSet?(o+='[imagesrcset="'+$n(a.imageSrcSet)+'"]',typeof a.imageSizes=="string"&&(o+='[imagesizes="'+$n(a.imageSizes)+'"]')):o+='[href="'+$n(e)+'"]';var r=o;switch(t){case"style":r=gs(e);break;case"script":r=Ts(e)}if(!(ao.has(r)||(e=Rt({rel:"preload",href:t==="image"&&a&&a.imageSrcSet?void 0:e,as:t},a),ao.set(r,e),n.querySelector(o)!==null||t==="style"&&n.querySelector(t1(r))||t==="script"&&n.querySelector(a1(r))))){var i=n.createElement("link");Aa(i,"link",e),t==="style"&&(i[e2]=!0,i.onload=i.onerror=function(){Hf(i)}),Sa(i),n.head.appendChild(i)}}}function cS(e,t){gr.m(e,t);var a=Cs;if(a&&e){var n=t&&typeof t.as=="string"?t.as:"script",o='link[rel="modulepreload"][as="'+$n(n)+'"][href="'+$n(e)+'"]',r=o;switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":r=Ts(e)}if(!ao.has(r)&&(e=Rt({rel:"modulepreload",href:e},t),ao.set(r,e),a.querySelector(o)===null)){switch(n){case"audioworklet":case"paintworklet":case"serviceworker":case"sharedworker":case"worker":case"script":if(a.querySelector(a1(r)))return}n=a.createElement("link"),Aa(n,"link",e),Sa(n),a.head.appendChild(n)}}}function dS(e,t,a){gr.S(e,t,a);var n=Cs;if(n&&e){var o=Jl(n).hoistableStyles,r=gs(e);t=t||"default";var i=o.get(r);if(!i){var l={loading:0,preload:null};if(i=n.querySelector(t1(r)))l.loading=5;else{e=Rt({rel:"stylesheet",href:e,"data-precedence":t},a),(a=ao.get(r))&&k4(e,a);var s=i=n.createElement("link");Sa(s),Aa(s,"link",e),s._p=new Promise(function(c,d){s.onload=c,s.onerror=d}),s.addEventListener("load",function(){l.loading|=1}),s.addEventListener("error",function(){l.loading|=2}),l.loading|=4,F0(i,t,n)}i={type:"stylesheet",instance:i,count:1,state:l},o.set(r,i)}}}function uS(e,t){gr.X(e,t);var a=Cs;if(a&&e){var n=Jl(a).hoistableScripts,o=Ts(e),r=n.get(o);r||(r=a.querySelector(a1(o)),r||(e=Rt({src:e,async:!0},t),(t=ao.get(o))&&S4(e,t),r=a.createElement("script"),Sa(r),Aa(r,"link",e),a.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},n.set(o,r))}}function pS(e,t){gr.M(e,t);var a=Cs;if(a&&e){var n=Jl(a).hoistableScripts,o=Ts(e),r=n.get(o);r||(r=a.querySelector(a1(o)),r||(e=Rt({src:e,async:!0,type:"module"},t),(t=ao.get(o))&&S4(e,t),r=a.createElement("script"),Sa(r),Aa(r,"link",e),a.head.appendChild(r)),r={type:"script",instance:r,count:1,state:null},n.set(o,r))}}function cf(e,t,a,n){var o=(o=Jr.current)?_c(o):null;if(!o)throw Error(ne(446));switch(e){case"meta":case"title":return null;case"style":return typeof a.precedence=="string"&&typeof a.href=="string"?(a=gs(a.href),t=Jl(o).hoistableStyles,n=t.get(a),n||(n={type:"style",instance:null,count:0,state:null},t.set(a,n)),n):{type:"void",instance:null,count:0,state:null};case"link":if(a.rel==="stylesheet"&&typeof a.href=="string"&&typeof a.precedence=="string"){e=gs(a.href);var r=Jl(o).hoistableStyles,i=r.get(e);if(i||(o=o.ownerDocument||o,i={type:"stylesheet",instance:null,count:0,state:{loading:0,preload:null}},r.set(e,i),(r=o.querySelector(t1(e)))?r._p||(i.instance=r,i.state.loading=5):(r=ao.get(e),r||(r={rel:"preload",as:"style",href:a.href,crossOrigin:a.crossOrigin,integrity:a.integrity,media:a.media,hrefLang:a.hrefLang,referrerPolicy:a.referrerPolicy},ao.set(e,r)),mS(o,e,r,i.state))),t&&n===null)throw Error(ne(528,""));return i}if(t&&n!==null)throw Error(ne(529,""));return null;case"script":return t=a.async,a=a.src,typeof a=="string"&&t&&typeof t!="function"&&typeof t!="symbol"?(a=Ts(a),t=Jl(o).hoistableScripts,n=t.get(a),n||(n={type:"script",instance:null,count:0,state:null},t.set(a,n)),n):{type:"void",instance:null,count:0,state:null};default:throw Error(ne(444,e))}}function gs(e){return'href="'+$n(e)+'"'}function t1(e){return'link[rel="stylesheet"]['+e+"]"}function db(e){return Rt({},e,{"data-precedence":e.precedence,precedence:null})}function mS(e,t,a,n){if(t=e.querySelector('link[rel="preload"][as="style"]['+t+"]")){if(t[e2]!==!0){n.loading=1;return}}else t=e.createElement("link"),t[e2]=!0,t.onload=t.onerror=Hf.bind(null,t),Aa(t,"link",a),Sa(t),e.head.appendChild(t);n.preload=t,t.addEventListener("load",function(){return n.loading|=1}),t.addEventListener("error",function(){return n.loading|=2})}function Ts(e){return'[src="'+$n(e)+'"]'}function a1(e){return"script[async]"+e}function df(e,t,a){if(t.count++,t.instance===null)switch(t.type){case"style":var n=e.querySelector('style[data-href~="'+$n(a.href)+'"]');if(n)return t.instance=n,Sa(n),n;var o=Rt({},a,{"data-href":a.href,"data-precedence":a.precedence,href:null,precedence:null});return n=(e.ownerDocument||e).createElement("style"),Sa(n),Aa(n,"style",o),F0(n,a.precedence,e),t.instance=n;case"stylesheet":o=gs(a.href);var r=e.querySelector(t1(o));if(r)return t.state.loading|=4,t.instance=r,Sa(r),r;n=db(a),(o=ao.get(o))&&k4(n,o),r=(e.ownerDocument||e).createElement("link"),Sa(r);var i=r;return i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),Aa(r,"link",n),t.state.loading|=4,F0(r,a.precedence,e),t.instance=r;case"script":return r=Ts(a.src),(o=e.querySelector(a1(r)))?(t.instance=o,Sa(o),o):(n=a,(o=ao.get(r))&&(n=Rt({},a),S4(n,o)),e=e.ownerDocument||e,o=e.createElement("script"),Sa(o),Aa(o,"link",n),e.head.appendChild(o),t.instance=o);case"void":return null;default:throw Error(ne(443,t.type))}else t.type==="stylesheet"&&(t.state.loading&4)===0&&(n=t.instance,t.state.loading|=4,F0(n,a.precedence,e));return t.instance}function F0(e,t,a){for(var n=a.querySelectorAll('link[rel="stylesheet"][data-precedence],style[data-precedence]'),o=n.length?n[n.length-1]:null,r=o,i=0;i<n.length;i++){var l=n[i];if(l.dataset.precedence===t)r=l;else if(r!==o)break}r?r.parentNode.insertBefore(e,r.nextSibling):(t=a.nodeType===9?a.head:a,t.insertBefore(e,t.firstChild))}function k4(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.title==null&&(e.title=t.title)}function S4(e,t){e.crossOrigin==null&&(e.crossOrigin=t.crossOrigin),e.referrerPolicy==null&&(e.referrerPolicy=t.referrerPolicy),e.integrity==null&&(e.integrity=t.integrity)}var q0=null;function uf(e,t,a){if(q0===null){var n=new Map,o=q0=new Map;o.set(a,n)}else o=q0,n=o.get(a),n||(n=new Map,o.set(a,n));if(n.has(e))return n;for(n.set(e,null),a=a.getElementsByTagName(e),o=0;o<a.length;o++){var r=a[o];if(!(r[Yc]||r[Ea]||e==="link"&&r.getAttribute("rel")==="stylesheet")&&r.namespaceURI!=="http://www.w3.org/2000/svg"){var i=r.getAttribute(t)||"";i=e+i;var l=n.get(i);l?l.push(r):n.set(i,[r])}}return n}function T3(e,t,a){e=e.ownerDocument||e,e.head.insertBefore(a,t==="title"?e.querySelector("head > title"):null)}function fS(e,t,a){if(a===1||t.itemProp!=null)return!1;switch(e){case"meta":case"title":return!0;case"style":if(typeof t.precedence!="string"||typeof t.href!="string"||t.href==="")break;return!0;case"link":if(typeof t.rel!="string"||typeof t.href!="string"||t.href===""||t.onLoad||t.onError)break;return t.rel==="stylesheet"?(e=t.disabled,typeof t.precedence=="string"&&e==null):!0;case"script":if(t.async&&typeof t.async!="function"&&typeof t.async!="symbol"&&!t.onLoad&&!t.onError&&t.src&&typeof t.src=="string")return!0}return!1}function pf(e,t){return e==="img"&&t.src!=null&&t.src!==""&&t.onLoad==null&&t.loading!=="lazy"}function ub(e){return!(e.type==="stylesheet"&&(e.state.loading&3)===0)}function pb(e){return(e.width||100)*(e.height||100)*(typeof devicePixelRatio=="number"?devicePixelRatio:1)*.25}function mf(e,t){typeof t.decode=="function"&&(e.imgCount++,t.complete||(e.imgBytes+=pb(t),e.suspenseyImages.push(t)),e=hS.bind(e),t.decode().then(e,e))}function gS(e,t,a,n){if(a.type==="stylesheet"&&(typeof n.media!="string"||matchMedia(n.media).matches!==!1)&&(a.state.loading&4)===0){if(a.instance===null){var o=gs(n.href),r=t.querySelector(t1(o));if(r){t=r._p,t!==null&&typeof t=="object"&&typeof t.then=="function"&&(e.count++,e=Vc.bind(e),t.then(e,e)),a.state.loading|=4,a.instance=r,Sa(r);return}r=t.ownerDocument||t,n=db(n),(o=ao.get(o))&&k4(n,o),r=r.createElement("link"),Sa(r);var i=r;i._p=new Promise(function(l,s){i.onload=l,i.onerror=s}),Aa(r,"link",n),a.instance=r}e.stylesheets===null&&(e.stylesheets=new Map),e.stylesheets.set(a,t),(t=a.state.preload)&&(a.state.loading&3)===0&&(e.count++,a=Vc.bind(e),t.addEventListener("load",a),t.addEventListener("error",a))}}var W0=0;function bS(e,t){return e.stylesheets&&e.count===0&&K0(e,e.stylesheets),0<e.count||0<e.imgCount?function(a){var n=setTimeout(function(){if(e.stylesheets&&K0(e,e.stylesheets),e.unsuspend){var r=e.unsuspend;e.unsuspend=null,r()}},6e4+t);0<e.imgBytes&&W0===0&&(W0=62500*Pk());var o=setTimeout(function(){if(e.waitingForImages=!1,e.count===0&&(e.stylesheets&&K0(e,e.stylesheets),e.unsuspend)){var r=e.unsuspend;e.unsuspend=null,r()}},(e.imgBytes>W0?50:800)+t);return e.unsuspend=a,function(){e.unsuspend=null,clearTimeout(n),clearTimeout(o)}}:null}function mb(e){if(e.count===0&&(e.imgCount===0||!e.waitingForImages)){if(e.stylesheets)K0(e,e.stylesheets);else if(e.unsuspend){var t=e.unsuspend;e.unsuspend=null,t()}}}function Vc(){this.count--,mb(this)}function hS(){this.imgCount--,mb(this)}var S2=null;function K0(e,t){e.stylesheets=null,e.unsuspend!==null&&(e.count++,S2=new Map,t.forEach(yS,e),S2=null,Vc.call(e))}function yS(e,t){if(!(t.state.loading&4)){var a=S2.get(e);if(a)var n=a.get(null);else{a=new Map,S2.set(e,a);for(var o=e.querySelectorAll("link[data-precedence],style[data-precedence]"),r=0;r<o.length;r++){var i=o[r];(i.nodeName==="LINK"||i.getAttribute("media")!=="not all")&&(a.set(i.dataset.precedence,i),n=i)}n&&a.set(null,n)}o=t.instance,i=o.getAttribute("data-precedence"),r=a.get(i)||n,r===n&&a.set(null,o),a.set(i,o),this.count++,n=Vc.bind(this),o.addEventListener("load",n),o.addEventListener("error",n),r?r.parentNode.insertBefore(o,r.nextSibling):(e=e.nodeType===9?e.head:e,e.insertBefore(o,e.firstChild)),t.state.loading|=4}}var bs={$$typeof:Oo,Provider:null,Consumer:null,_currentValue:Bi,_currentValue2:Bi,_threadCount:0};function vS(e,t,a,n,o,r,i,l,s){this.tag=1,this.containerInfo=e,this.pingCache=this.current=this.pendingChildren=null,this.timeoutHandle=-1,this.callbackNode=this.next=this.pendingContext=this.context=this.cancelPendingCommit=null,this.callbackPriority=0,this.expirationTimes=Gu(-1),this.entangledLanes=this.shellSuspendCounter=this.errorRecoveryDisabledLanes=this.expiredLanes=this.warmLanes=this.pingedLanes=this.suspendedLanes=this.pendingLanes=0,this.entanglements=Gu(0),this.hiddenUpdates=Gu(null),this.identifierPrefix=n,this.onUncaughtError=o,this.onCaughtError=r,this.onRecoverableError=i,this.pooledCache=null,this.pooledCacheLanes=0,this.formState=s,this.transitionTypes=null,this.incompleteTransitions=new Map}function fb(e,t,a,n,o,r,i,l,s,c,d,f){return e=new vS(e,t,a,i,s,c,d,f,l),t=1,r===!0&&(t|=24),r=dn(3,null,null,t),e.current=r,r.stateNode=e,t=Z3(),t.refCount++,e.pooledCache=t,t.refCount++,r.memoizedState={element:n,isDehydrated:a,cache:t},q3(r),e}function gb(e){return e?(e=ql,e):ql}function bb(e,t,a,n,o,r){o=gb(o),n.context===null?n.context=o:n.pendingContext=o,n=$r(t),n.payload={element:a},r=r===void 0?null:r,r!==null&&(n.callback=r),a=Qr(e,n,t),a!==null&&(un(a,e,t),xc(a,e,t))}function ff(e,t){if(e=e.memoizedState,e!==null&&e.dehydrated!==null){var a=e.retryLane;e.retryLane=a!==0&&a<t?a:t}}function C4(e,t){ff(e,t),(e=e.alternate)&&ff(e,t)}function hb(e){if(e.tag===13||e.tag===31){var t=Qi(e,67108864);t!==null&&un(t,e,67108864),C4(e,67108864)}}function gf(e){if(e.tag===13||e.tag===31){var t=Mn();t=A3(t);var a=Qi(e,t);a!==null&&un(a,e,t),C4(e,t)}}var hs=!0;function xS(e,t,a,n){var o=_e.T;_e.T=null;var r=yt.p;try{yt.p=2,T4(e,t,a,n)}finally{yt.p=r,_e.T=o}}function wS(e,t,a,n){var o=_e.T;_e.T=null;var r=yt.p;try{yt.p=8,T4(e,t,a,n)}finally{yt.p=r,_e.T=o}}function T4(e,t,a,n){if(hs){var o=z3(n);if(o===null)mp(e,t,n,C2,a),bf(e,n);else if(SS(o,e,t,a,n))n.stopPropagation();else if(bf(e,n),t&4&&-1<kS.indexOf(e)){for(;o!==null;){var r=xs(o);if(r!==null)switch(r.tag){case 3:if(r=r.stateNode,r.current.memoizedState.isDehydrated){var i=Ii(r.pendingLanes);if(i!==0){var l=r;for(l.pendingLanes|=2,l.entangledLanes|=2;i;){var s=1<<31-Dn(i);l.entanglements[1]|=s,i&=~s}Zo(r),(ht&6)===0&&(y2=En()+500,e1(0,!1))}}break;case 31:case 13:l=Qi(r,2),l!==null&&un(l,r,2),U2(),C4(r,2)}if(r=z3(n),r===null&&mp(e,t,n,C2,a),r===o)break;o=r}o!==null&&n.stopPropagation()}else mp(e,t,n,null,a)}}function z3(e){return e=P3(e),z4(e)}var C2=null;function z4(e){if(C2=null,e=Oi(e),e!==null){var t=Fc(e);if(t===null)e=null;else{var a=t.tag;if(a===13){if(e=kf(t),e!==null)return e;e=null}else if(a===31){if(e=Sf(t),e!==null)return e;e=null}else if(a===3){if(t.stateNode.current.memoizedState.isDehydrated)return t.tag===3?t.stateNode.containerInfo:null;e=null}else t!==e&&(e=null)}}return C2=e,null}function yb(e){switch(e){case"beforetoggle":case"cancel":case"click":case"close":case"contextmenu":case"copy":case"cut":case"auxclick":case"dblclick":case"dragend":case"dragstart":case"drop":case"focusin":case"focusout":case"input":case"invalid":case"keydown":case"keypress":case"keyup":case"mousedown":case"mouseup":case"paste":case"pause":case"play":case"pointercancel":case"pointerdown":case"pointerup":case"ratechange":case"reset":case"seeked":case"submit":case"toggle":case"touchcancel":case"touchend":case"touchstart":case"volumechange":case"change":case"selectionchange":case"textInput":case"compositionstart":case"compositionend":case"compositionupdate":case"beforeblur":case"afterblur":case"beforeinput":case"blur":case"fullscreenchange":case"fullscreenerror":case"focus":case"hashchange":case"popstate":case"select":case"selectstart":return 2;case"drag":case"dragenter":case"dragexit":case"dragleave":case"dragover":case"mousemove":case"mouseout":case"mouseover":case"pointermove":case"pointerout":case"pointerover":case"resize":case"scroll":case"touchmove":case"wheel":case"mouseenter":case"mouseleave":case"pointerenter":case"pointerleave":return 8;case"message":switch(Lx()){case Df:return 2;case Mf:return 8;case Q0:case Bx:return 32;case Af:return 268435456;default:return 32}default:return 32}}var E3=!1,ni=null,oi=null,ri=null,Zc=new Map,Gc=new Map,Zr=[],kS="mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset".split(" ");function bf(e,t){switch(e){case"focusin":case"focusout":ni=null;break;case"dragenter":case"dragleave":oi=null;break;case"mouseover":case"mouseout":ri=null;break;case"pointerover":case"pointerout":Zc.delete(t.pointerId);break;case"gotpointercapture":case"lostpointercapture":Gc.delete(t.pointerId)}}function cc(e,t,a,n,o,r){return e===null||e.nativeEvent!==r?(e={blockedOn:t,domEventName:a,eventSystemFlags:n,nativeEvent:r,targetContainers:[o]},t!==null&&(t=xs(t),t!==null&&hb(t)),e):(e.eventSystemFlags|=n,t=e.targetContainers,o!==null&&t.indexOf(o)===-1&&t.push(o),e)}function SS(e,t,a,n,o){switch(t){case"focusin":return ni=cc(ni,e,t,a,n,o),!0;case"dragenter":return oi=cc(oi,e,t,a,n,o),!0;case"mouseover":return ri=cc(ri,e,t,a,n,o),!0;case"pointerover":var r=o.pointerId;return Zc.set(r,cc(Zc.get(r)||null,e,t,a,n,o)),!0;case"gotpointercapture":return r=o.pointerId,Gc.set(r,cc(Gc.get(r)||null,e,t,a,n,o)),!0}return!1}function vb(e){var t=Oi(e.target);if(t!==null){var a=Fc(t);if(a!==null){if(t=a.tag,t===13){if(t=kf(a),t!==null){e.blockedOn=t,_7(e.priority,function(){gf(a)});return}}else if(t===31){if(t=Sf(a),t!==null){e.blockedOn=t,_7(e.priority,function(){gf(a)});return}}else if(t===3&&a.stateNode.current.memoizedState.isDehydrated){e.blockedOn=a.tag===3?a.stateNode.containerInfo:null;return}}}e.blockedOn=null}function Y0(e){if(e.blockedOn!==null)return!1;for(var t=e.targetContainers;0<t.length;){var a=z3(e.nativeEvent);if(a===null){a=e.nativeEvent;var n=new a.constructor(a.type,a);Mp=n,a.target.dispatchEvent(n),Mp=null}else return t=xs(a),t!==null&&hb(t),e.blockedOn=a,!1;t.shift()}return!0}function hf(e,t,a){Y0(e)&&a.delete(t)}function CS(){E3=!1,ni!==null&&Y0(ni)&&(ni=null),oi!==null&&Y0(oi)&&(oi=null),ri!==null&&Y0(ri)&&(ri=null),Zc.forEach(hf),Gc.forEach(hf)}function D0(e,t){e.blockedOn===t&&(e.blockedOn=null,E3||(E3=!0,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,CS)))}var M0=null;function yf(e){M0!==e&&(M0=e,ba.unstable_scheduleCallback(ba.unstable_NormalPriority,function(){M0===e&&(M0=null);for(var t=0;t<e.length;t+=3){var a=e[t],n=e[t+1],o=e[t+2];if(typeof n!="function"){if(z4(n||a)===null)continue;break}var r=xs(a);r!==null&&(e.splice(t,3),t-=3,qp(r,{pending:!0,data:o,method:a.method,action:n},n,o))}}))}function ys(e){function t(s){return D0(s,e)}ni!==null&&D0(ni,e),oi!==null&&D0(oi,e),ri!==null&&D0(ri,e),Zc.forEach(t),Gc.forEach(t);for(var a=0;a<Zr.length;a++){var n=Zr[a];n.blockedOn===e&&(n.blockedOn=null)}for(;0<Zr.length&&(a=Zr[0],a.blockedOn===null);)vb(a),a.blockedOn===null&&Zr.shift();if(a=(e.ownerDocument||e).$$reactFormReplay,a!=null)for(n=0;n<a.length;n+=3){var o=a[n],r=a[n+1],i=o[mn]||null;if(typeof r=="function")i||yf(a);else if(i){var l=null;if(r&&r.hasAttribute("formAction")){if(o=r,i=r[mn]||null)l=i.formAction;else if(z4(o)!==null)continue}else l=i.action;typeof l=="function"?a[n+1]=l:(a.splice(n,3),n-=3),yf(a)}}}function xb(){function e(r){r.canIntercept&&r.info==="react-transition"&&r.intercept({handler:function(){return new Promise(function(i){return o=i})},focusReset:"manual",scroll:"manual"})}function t(){o!==null&&(o(),o=null),n||setTimeout(a,20)}function a(){if(!n&&!navigation.transition){var r=navigation.currentEntry;r&&r.url!=null&&navigation.navigate(r.url,{state:r.getState(),info:"react-transition",history:"replace"})}}if(typeof navigation=="object"){var n=!1,o=null;return navigation.addEventListener("navigate",e),navigation.addEventListener("navigatesuccess",t),navigation.addEventListener("navigateerror",t),setTimeout(a,100),function(){n=!0,navigation.removeEventListener("navigate",e),navigation.removeEventListener("navigatesuccess",t),navigation.removeEventListener("navigateerror",t),o!==null&&(o(),o=null)}}}function E4(e){this._internalRoot=e}Z2.prototype.render=E4.prototype.render=function(e){var t=this._internalRoot;if(t===null)throw Error(ne(409));var a=t.current,n=Mn();bb(a,n,e,t,null,null)};Z2.prototype.unmount=E4.prototype.unmount=function(){var e=this._internalRoot;if(e!==null){this._internalRoot=null;var t=e.containerInfo;bb(e.current,2,null,e,null,null),U2(),t[vs]=null}};function Z2(e){this._internalRoot=e}Z2.prototype.unstable_scheduleHydration=function(e){if(e){var t=Bf();e={blockedOn:null,target:e,priority:t};for(var a=0;a<Zr.length&&t!==0&&t<Zr[a].priority;a++);Zr.splice(a,0,e),a===0&&vb(e)}};var vf=xf.version;if(vf!=="19.3.0")throw Error(ne(527,vf,"19.3.0"));yt.findDOMNode=function(e){var t=e._reactInternals;if(t===void 0)throw typeof e.render=="function"?Error(ne(188)):(e=Object.keys(e).join(","),Error(ne(268,e)));return e=Tx(t),e=e!==null?Cf(e):null,e=e===null?null:e.stateNode,e};var TS={bundleType:0,version:"19.3.0",rendererPackageName:"react-dom",currentDispatcherRef:_e,reconcilerVersion:"19.3.0"};if(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__<"u"&&(dc=__REACT_DEVTOOLS_GLOBAL_HOOK__,!dc.isDisabled&&dc.supportsFiber))try{qc=dc.inject(TS),Nn=dc}catch{}var dc;G2.createRoot=function(e,t){if(!wf(e))throw Error(ne(299));var a=!1,n="",o=e9,r=t9,i=a9;return t!=null&&(t.unstable_strictMode===!0&&(a=!0),t.identifierPrefix!==void 0&&(n=t.identifierPrefix),t.onUncaughtError!==void 0&&(o=t.onUncaughtError),t.onCaughtError!==void 0&&(r=t.onCaughtError),t.onRecoverableError!==void 0&&(i=t.onRecoverableError)),t=fb(e,1,!1,null,null,a,n,null,o,r,i,xb),e[vs]=t.current,y4(e),new E4(t)};G2.hydrateRoot=function(e,t,a){if(!wf(e))throw Error(ne(299));var n=!1,o="",r=e9,i=t9,l=a9,s=null;return a!=null&&(a.unstable_strictMode===!0&&(n=!0),a.identifierPrefix!==void 0&&(o=a.identifierPrefix),a.onUncaughtError!==void 0&&(r=a.onUncaughtError),a.onCaughtError!==void 0&&(i=a.onCaughtError),a.onRecoverableError!==void 0&&(l=a.onRecoverableError),a.formState!==void 0&&(s=a.formState)),t=fb(e,1,!0,t,a??null,n,o,s,r,i,l,xb),t.context=gb(null),a=t.current,n=Mn(),n=A3(n),o=$r(n),o.callback=null,Qr(a,o,n),a=n,t.current.lanes=a,Kc(t,a),Zo(t),e[vs]=t.current,y4(e),new Z2(t)};G2.version="19.3.0"});var F2=pl((oz,Sb)=>{"use strict";function kb(){if(!(typeof __REACT_DEVTOOLS_GLOBAL_HOOK__>"u"||typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE!="function"))try{__REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(kb)}catch(e){console.error(e)}}kb(),Sb.exports=wb()});var Eb=pl(N4=>{"use strict";var MS=Symbol.for("react.fragment");N4.Fragment=MS;N4.jsxDEV=void 0});var Db=pl((uz,Nb)=>{"use strict";Nb.exports=Eb()});var ta=W(De(),1);var k7=W(De(),1);var i0=W(de(),1);function No({value:e="",size:t=18,fallback:a}){let[n,o]=(0,k7.useState)(null),r=Ys(e);return(0,i0.jsx)("span",{className:"page-icon",style:{display:"inline-flex",flexShrink:0,width:t,height:t,alignItems:"center",justifyContent:"center",fontSize:t,lineHeight:1,overflow:"hidden",verticalAlign:"middle"},"aria-hidden":"true",children:r&&n!==e?(0,i0.jsx)("img",{src:e,alt:"",draggable:!1,referrerPolicy:"no-referrer",onError:()=>o(e),style:{width:"100%",height:"100%",objectFit:"contain",borderRadius:3}}):e&&!r?e:a??(0,i0.jsx)(Ir,{size:t})})}function Dl(e){let t=e.nodeType===9?e:e.ownerDocument,a=t.defaultView,n=e.nodeType===9?t.body:e,o=t.createElement("style");o.textContent=`
10
+ .showai-icon-tooltip {
11
+ position: fixed; inset: auto; margin: 0; box-sizing: border-box;
12
+ max-width: min(280px, calc(100vw - 16px)); padding: 7px 10px;
13
+ border: 1px solid #ffffff20; border-radius: 8px;
14
+ background: #222; color: #fff; box-shadow: 0 4px 14px #0003;
15
+ font: 500 12px/1.5 -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;
16
+ text-align: left; white-space: normal; overflow-wrap: anywhere;
17
+ letter-spacing: normal; z-index: 2147483647; pointer-events: none;
18
+ }
19
+ .showai-icon-tooltip::backdrop { pointer-events: none; }
20
+ @media print { .showai-icon-tooltip { display: none !important; } }
21
+ `;let r=t.createElement("div");r.className="showai-icon-tooltip",r.id=`showai-icon-tooltip-${a.crypto.randomUUID()}`,r.setAttribute("role","tooltip"),r.setAttribute("popover","manual"),n.append(o,r);let i=null,l=null,s=0,c=!1,d=null,f=null,u=O=>O.getAttribute("data-icon-tooltip")?.trim()||(O===i?l:O.getAttribute("title"))?.trim()||O.getAttribute("aria-label")?.trim()||[...(O.getAttribute("aria-labelledby")||"").split(/\s+/)].map(N=>e.getElementById(N)?.textContent||"").join(" ").trim()||O.textContent?.trim(),g=O=>{let N=O.composedPath(),V=N.find(R=>R?.matches&&R.getRootNode()===e&&R.matches("button, summary, a, [role='button']"));if(V)return u(V)&&!V.hasAttribute("data-no-tooltip")?V:null;for(let R of N)if(!(!R?.matches||R.getRootNode()!==e)){if(R===r)return r;if(R.matches("[data-icon-tooltip], svg[aria-label], [role='img'][aria-label]"))return u(R)?R:null}return null},b=()=>{if(a.clearTimeout(s),i){let O=(i.getAttribute("aria-describedby")||"").split(/\s+/).filter(N=>N&&N!==r.id);O.length?i.setAttribute("aria-describedby",O.join(" ")):i.removeAttribute("aria-describedby"),l!==null&&!i.hasAttribute("title")&&i.setAttribute("title",l)}r.hidePopover(),i=null,l=null},p=O=>{let N=t.createTreeWalker(O,a.NodeFilter.SHOW_TEXT);for(let V=N.nextNode();V;V=N.nextNode()){if(!/[\p{L}\p{N}]/u.test(V.textContent))continue;let R=V.parentElement;if(R.closest("svg, [hidden]")||a.getComputedStyle(R).visibility!=="visible")continue;let D=t.createRange();if(D.selectNodeContents(V),[...D.getClientRects()].some(M=>M.width>1&&M.height>1))return!0}return!1},x=()=>{let O=i;if(!O)return;if(!O.isConnected||!O.getClientRects().length)return b();if(p(O)){r.hidePopover();let U=(O.getAttribute("aria-describedby")||"").split(/\s+/).filter(F=>F&&F!==r.id);U.length?O.setAttribute("aria-describedby",U.join(" ")):O.removeAttribute("aria-describedby");return}r.textContent=u(O),r.showPopover();let N=O.getBoundingClientRect(),V=r.getBoundingClientRect(),R=t.documentElement.clientWidth,E=t.documentElement.clientHeight,D=N.bottom+6,M=D+V.height<=E-8?D:N.top-V.height-6;r.style.left=`${Math.max(8,Math.min(N.left+(N.width-V.width)/2,R-V.width-8))}px`,r.style.top=`${Math.max(8,Math.min(M,E-V.height-8))}px`;let Z=(O.getAttribute("aria-describedby")||"").split(/\s+/).filter(Boolean);O.setAttribute("aria-describedby",[...new Set([...Z,r.id])].join(" "))},h=O=>{a.clearTimeout(s),O!==i&&(b(),!(!O||O===r)&&(i=O,l=O.getAttribute("title"),O.removeAttribute("title"),x()))},m=()=>{a.clearTimeout(s),s=a.setTimeout(()=>{d!==r&&h(d||f)},90)},v=O=>{O.pointerType!=="touch"&&(d=g(O),d===r?a.clearTimeout(s):h(d||f))},k=O=>{i?.contains(O.relatedTarget)||r.contains(O.relatedTarget)||(d=null,m())},w=O=>{c&&(f=g(O),h(f))},z=()=>{f=null,m()},P=O=>{let N=O.composedPath()[0];(O.key==="Tab"||/^(Arrow(Up|Down|Left|Right)|Home|End|Page(Up|Down))$/.test(O.key)&&!N?.closest?.('input, textarea, select, [contenteditable]:not([contenteditable="false"])'))&&(c=!0),O.key==="Escape"&&b()},j=()=>{d=null,f=null,b()},T=()=>{j(),c=!1},S=new a.MutationObserver(()=>{i&&(i.hasAttribute("title")&&(l=i.getAttribute("title"),i.removeAttribute("title")),!i.isConnected||!i.getClientRects().length?b():p(i)?x():r.matches(":popover-open")?r.textContent!==u(i)&&(r.textContent=u(i)):x())});S.observe(n,{childList:!0,subtree:!0,characterData:!0,attributes:!0,attributeFilter:["aria-label","title","data-icon-tooltip","hidden","class","style"]});let B=[["pointerover",v],["pointerout",k],["focusin",w],["focusout",z],["keydown",P],["pointerdown",T],["contextmenu",j],["wheel",j],["scroll",j]];for(let[O,N]of B)e.addEventListener(O,N,!0);return a.addEventListener("resize",j),a.addEventListener("blur",j),()=>{b(),S.disconnect();for(let[O,N]of B)e.removeEventListener(O,N,!0);a.removeEventListener("resize",j),a.removeEventListener("blur",j),r.remove(),o.remove()}}var mx=W(F2(),1);var ox=W(De(),1);var qt=W(De(),1);var zs="default-src 'none'; script-src 'unsafe-inline' 'wasm-unsafe-eval'; style-src 'unsafe-inline'; img-src data: blob:; media-src data:; font-src data:; connect-src 'none'; object-src 'none'; frame-src about:; base-uri 'none'; form-action 'none'";var Cb=W(De(),1);function zS(){let e=document.documentElement.dataset.theme;if(e==="light"||e==="dark")return e;let t=localStorage.getItem("showai:appearance");return t==="dark"||t!=="light"&&matchMedia("(prefers-color-scheme: dark)").matches?"dark":"light"}function ES(e){let t=new MutationObserver(e);return t.observe(document.documentElement,{attributes:!0,attributeFilter:["data-theme"]}),()=>t.disconnect()}function q2(){return(0,Cb.useSyncExternalStore)(ES,zS,()=>"light")}function W2(e,t,a){let n=(o,r)=>{document.documentElement.dataset.theme=o,document.documentElement.style.colorScheme=o;for(let[i,l]of Object.entries(r))i.startsWith("--")&&document.documentElement.style.setProperty(i,l)};n(t,a),window.addEventListener("message",o=>{o.source===parent&&o.data?.channel===e&&o.data.type==="showai:theme"&&(o.data.theme==="light"||o.data.theme==="dark")&&n(o.data.theme,o.data.tokens??{})})}function Es(){let e=getComputedStyle(document.documentElement);return Object.fromEntries([...e].filter(t=>t.startsWith("--")).map(t=>[t,e.getPropertyValue(t)]))}var Ue=W(De(),1);var NS=/^[a-z][a-z0-9-]{0,79}$/,DS=/^(0|[1-9]\d*)\.(0|[1-9]\d*)\.(0|[1-9]\d*)(?:-[a-zA-Z0-9.-]+)?$/,Tb="<!--SHOWAI_COMPONENT_DATA-->";function Ns(e,t){if(!e.includes(Tb))throw new Error("\u7EC4\u4EF6\u7F3A\u5C11\u8FD0\u884C\u5165\u53E3\u3002");return e.replace(Tb,()=>t)}function K2(e,t=0){if(t>40)throw new Error("Component data is nested too deeply.");if(!(e===null||typeof e=="string"||typeof e=="boolean")&&!(typeof e=="number"&&Number.isFinite(e))){if(Array.isArray(e)){e.forEach(a=>K2(a,t+1));return}if(e&&typeof e=="object"&&Object.getPrototypeOf(e)===Object.prototype){for(let[a,n]of Object.entries(e)){if(["__proto__","prototype","constructor"].includes(a))throw new Error("Component data contains a reserved property.");K2(n,t+1)}return}throw new Error("Component data must contain only JSON values.")}}function zb(e,t=e.defaultData){return K2(t),Pr(t,"Component instance data",So.componentPropsBytes),{...mi({componentId:e.id,version:e.version,integrity:e.integrity,props:structuredClone(t)})}}function mi(e){if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Custom block data must be an object.");let t=e;if(typeof t.componentId!="string"||!NS.test(t.componentId))throw new Error("A custom block needs a valid componentId.");if(typeof t.version!="string"||!DS.test(t.version))throw new Error("A custom block needs an exact component version.");if(t.integrity!==void 0&&(typeof t.integrity!="string"||!/^sha256-[a-f0-9]{64}$/.test(t.integrity)))throw new Error("Invalid component integrity hash.");if(t.scope!==void 0&&!["project","global","published","builtin"].includes(String(t.scope)))throw new Error("Invalid component scope.");if(!t.props||typeof t.props!="object"||Array.isArray(t.props))throw new Error("Custom block props must be an object.");return K2(t.props),Pr(t.props,"Component instance data",So.componentPropsBytes),{componentId:t.componentId,version:t.version,props:t.props,...t.integrity?{integrity:t.integrity}:{},...t.scope?{scope:t.scope}:{}}}var VS=W(De(),1),ZS=W(Vn(),1),GS=W(F2(),1),FS=W(de(),1),qS=W(Db(),1),bo=W(De(),1);var tl=W(De(),1);var Mb=ct("componentStatus",{"zh-CN":{"status.crashed":"\u300C{name}\u300D\u7EC4\u4EF6\u8FD0\u884C\u51FA\u9519","status.invalid":"\u300C{name}\u300D\u7EC4\u4EF6\u7684\u53C2\u6570\u4E0D\u7B26\u5408\u8981\u6C42","status.missing":"\u7F3A\u5C11\u7EC4\u4EF6\u300C{name}\u300D","status.safety":"\u9875\u9762\u5176\u4ED6\u5185\u5BB9\u4E0D\u53D7\u5F71\u54CD\uFF0C\u7EC4\u4EF6\u6570\u636E\u5DF2\u4FDD\u7559\u3002","status.crashedCause":"\u7EC4\u4EF6\u4EE3\u7801\u5728\u663E\u793A\u65F6\u51FA\u9519\u3002\u53EF\u80FD\u662F\u4EE3\u7801\u95EE\u9898\uFF0C\u4E5F\u53EF\u80FD\u662F\u6570\u636E\u7F3A\u5C11\u5B83\u9700\u8981\u7684\u5185\u5BB9\u3002","status.missingCause":"\u9875\u9762\u4F7F\u7528\u7684\u7EC4\u4EF6 {component} \u4E0D\u5728\u5F53\u524D\u5185\u5BB9\u5E93\u4E2D\u3002","status.moreIssues":"\u8FD8\u6709 {count} \u9879","status.retry":"\u91CD\u8BD5","status.askAgent":"\u8BA9 Agent \u4FEE\u590D","status.askAgentInstall":"\u8BA9 Agent \u5B89\u88C5\u6216\u91CD\u5EFA","status.copyDetails":"\u590D\u5236\u9519\u8BEF\u8BE6\u60C5","status.copyId":"\u590D\u5236\u7EC4\u4EF6\u6807\u8BC6","status.copied":"\u5DF2\u590D\u5236","status.copyFailed":"\u65E0\u6CD5\u590D\u5236\uFF0C\u8BF7\u5728\u6280\u672F\u8BE6\u60C5\u4E2D\u624B\u52A8\u9009\u62E9\u6587\u5B57\u3002","status.findInLibrary":"\u5728\u7EC4\u4EF6\u5E93\u4E2D\u67E5\u627E","status.details":"\u6280\u672F\u8BE6\u60C5","status.reportProblem":"\u62A5\u544A\u95EE\u9898","status.promptCrashed":`\u9875\u9762\u4E2D\u7684\u300C{name}\u300D\u7EC4\u4EF6\uFF08{component}\uFF09\u8FD0\u884C\u51FA\u9519\uFF1A{error}
22
+ \u8BF7\u4FEE\u590D\u8FD9\u4E2A\u7EC4\u4EF6\uFF0C\u4FDD\u7559\u5B83\u73B0\u6709\u7684\u6570\u636E\u3002`,"status.promptInvalid":`\u9875\u9762\u4E2D\u7684\u300C{name}\u300D\u7EC4\u4EF6\uFF08{component}\uFF09\u7684\u53C2\u6570\u4E0D\u7B26\u5408\u8981\u6C42\uFF1A{error}
23
+ \u8BF7\u4FEE\u6B63\u8FD9\u4E2A\u7EC4\u4EF6\u7684\u6570\u636E\uFF0C\u4F7F\u5B83\u7B26\u5408\u7EC4\u4EF6\u7684\u53C2\u6570\u8BF4\u660E\u3002`,"status.promptMissing":"\u9875\u9762\u4F7F\u7528\u7684\u7EC4\u4EF6 {component} \u4E0D\u5728\u5F53\u524D\u5185\u5BB9\u5E93\u4E2D\u3002\u8BF7\u5B89\u88C5\u5B83\uFF1B\u5982\u679C\u627E\u4E0D\u5230\uFF0C\u8BF7\u6309\u9875\u9762\u4E2D\u4FDD\u7559\u7684\u6570\u636E\u91CD\u5EFA\u4E00\u4E2A\u517C\u5BB9\u7684\u7EC4\u4EF6\u3002"},en:{"status.crashed":"The \u201C{name}\u201D component ran into an error","status.invalid":"The \u201C{name}\u201D component's parameters don't match its rules","status.missing":"Component \u201C{name}\u201D is missing","status.safety":"The rest of the page isn't affected, and the component data is kept.","status.crashedCause":"The component's code failed while displaying. This may be a code problem, or the data may lack something the component needs.","status.missingCause":"This page uses component {component}, which isn't in the current library.","status.moreIssues":"{count} more","status.retry":"Try again","status.askAgent":"Ask the Agent to fix it","status.askAgentInstall":"Ask the Agent to install or rebuild it","status.copyDetails":"Copy error details","status.copyId":"Copy component ID","status.copied":"Copied","status.copyFailed":"Couldn't copy. Select the text in the technical details instead.","status.findInLibrary":"Find in component library","status.details":"Technical details","status.reportProblem":"Report a problem","status.promptCrashed":`The \u201C{name}\u201D component ({component}) on this page ran into an error: {error}
24
+ Please fix the component and keep its existing data.`,"status.promptInvalid":`The parameters of the \u201C{name}\u201D component ({component}) on this page don't match its rules: {error}
25
+ Please correct the component's data so it follows the component's parameter documentation.`,"status.promptMissing":"This page uses component {component}, which isn't in the current library. Please install it, or rebuild a compatible component from the data kept on the page."}});var fi=ct("widget",{"zh-CN":{unavailable:"\u6B64\u7EC4\u4EF6\u6682\u65F6\u65E0\u6CD5\u663E\u793A",viewData:"\u67E5\u770B\u7EC4\u4EF6\u6570\u636E",downloadData:"\u4E0B\u8F7D\u7EC4\u4EF6\u6570\u636E",renderFailed:"\u7EC4\u4EF6\u6E32\u67D3\u5931\u8D25\u3002",invalidData:"\u7EC4\u4EF6\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E\u3002",loading:"\u6B63\u5728\u52A0\u8F7D\u7EC4\u4EF6\u2026",sharedDataUnavailable:"\u6B64\u7EC4\u4EF6\u7684\u6570\u636E\u6765\u81EA\u5171\u4EAB\u6570\u636E\uFF0C\u5728\u5F53\u524D\u4F4D\u7F6E\u65E0\u6CD5\u8BFB\u53D6\u3002","status.unavailable":"\u300C{name}\u300D\u7EC4\u4EF6\u6682\u65F6\u65E0\u6CD5\u663E\u793A","status.rejectionCause":"\u7EC4\u4EF6\u5728\u540E\u53F0\u6267\u884C\u7684\u64CD\u4F5C\u51FA\u9519\uFF0C\u663E\u793A\u7684\u5185\u5BB9\u53EF\u80FD\u4E0D\u5B8C\u6574\u3002","status.missingBuiltinCause":"\u5F53\u524D\u7248\u672C\u7684 ShowAI \u6CA1\u6709\u300C{kind}\u300D\u7EC4\u4EF6\u3002"},en:{unavailable:"This component can't be displayed right now",viewData:"View component data",downloadData:"Download component data",renderFailed:"The component failed to render.",invalidData:"The component data format is invalid.",loading:"Loading component\u2026",sharedDataUnavailable:"This component's data comes from shared data, which can't be read here.","status.unavailable":"The \u201C{name}\u201D component can't be displayed here","status.rejectionCause":"Something the component was doing in the background failed. What it shows may be incomplete.","status.missingBuiltinCause":"This version of ShowAI has no \u201C{kind}\u201D component."}});var br="[redacted]";function AS(e){return e.replace(/[.*+?^${}()|[\]\\]/g,"\\$&")}function IS(e,t,a){let n=t.replace(/[\\/]+$/,"");if(n.length<2)return e;let o=new Set([n,n.replace(/\\/g,"/")]);for(let r of o)e=e.replace(new RegExp(`${AS(r)}(?=$|[\\\\/\\s"'\`),:;])`,"g"),a);return e}var RS=[[/\b(Bearer|Basic)\s+[A-Za-z0-9._~+/=-]{8,}/gi,`$1 ${br}`],[/\bsk-[A-Za-z0-9_-]{8,}/g,br],[/\b(?:gh[pousr]_[A-Za-z0-9]{16,}|github_pat_[A-Za-z0-9_]{20,})/g,br],[/\bxox[abposr]-[A-Za-z0-9-]{8,}/g,br],[/\bAIza[0-9A-Za-z_-]{30,}/g,br],[/\b(?:AKIA|ASIA)[0-9A-Z]{16}\b/g,br],[/\beyJ[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}\.[A-Za-z0-9_-]{8,}/g,br],[/([?&](?:token|code|key|secret|access_token|refresh_token|api_key|apikey|signature|sig)=)[^\s"'&#]+/gi,`$1${br}`],[/\b((?:api[_-]?key|apikey|access[_-]?token|refresh[_-]?token|token|secret|password|passwd|client[_-]?secret|authorization)["']?\s*[:=]\s*["']?)(?!(?:Bearer|Basic)\s|\[redacted\])[^\s"'&,;}]{4,}/gi,`$1${br}`]],PS=/\b([0-9a-f]{8})-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}\b/gi;function Y2(e,t={}){let a=e,n=[...t.library?[[t.library,"<library>"]]:[],...t.home?[[t.home,"~"]]:[]].sort((o,r)=>r[0].length-o[0].length);for(let[o,r]of n)a=IS(a,o,r);a=a.replace(/(?<=^|[\s"'`(=:,[])\/Users\/(?!Shared\b)[^/\s"'`]+/g,"~").replace(/(?<=^|[\s"'`(=:,[])\/home\/[^/\s"'`]+/g,"~").replace(/\b[A-Za-z]:\\Users\\[^\\\s"'`]+/g,"~");for(let[o,r]of RS)a=a.replace(o,r);return t.truncateIds&&(a=a.replace(PS,"$1")),a}var OS={};function J2(){return OS}var Ab=20,Ib=400,Ds=[];function Rb(e){let t=Y2(e.message,{...J2(),truncateIds:!0}).replace(/\s+/g," ").trim(),a={at:e.at,source:e.source,code:e.code,message:t.length>Ib?`${t.slice(0,Ib)}\u2026`:t},n=Ds.findIndex(o=>o.at===a.at&&o.source===a.source&&o.code===a.code);n>=0&&Ds.splice(n,1),Ds.push(a),Ds.length>Ab&&Ds.splice(0,Ds.length-Ab)}var LS="showai:report-problem";function Pb(e){return Rb(e),window.dispatchEvent(new CustomEvent(LS,{detail:e,cancelable:!0}))}function D4(e){return Y2([e.title,e.cause,e.details].filter(Boolean).join(`
26
+ `),J2())}rt(`.component-status.problem-notice{margin:12px 0;padding:14px 16px;border:1px solid color-mix(in srgb,var(--tone) 32%,var(--line, #e9ece5));border-radius:8px;background:color-mix(in srgb,var(--tone) 6%,var(--paper, #fff));text-align:left}.component-status.is-attached{margin-bottom:8px}.component-status .problem-notice-actions button{display:inline-flex;align-items:center;gap:5px;cursor:pointer}.component-status-issues{margin:2px 0 0;padding-left:18px;color:var(--text)}.component-status-issues li{margin:1px 0}.component-status-more{list-style:none;margin-left:-18px!important;color:var(--muted)}.component-status-data{margin-top:6px}.component-status-data>summary{width:fit-content;cursor:pointer;color:var(--muted);font-size:12px}
27
+ `);var Pt=W(de(),1),BS="showai:find-component";async function HS(e){typeof window<"u"&&window.showai?await window.showai.invoke("clipboard:write",{text:e}):await navigator.clipboard.writeText(e)}function al({state:e,name:t,reference:a,query:n,error:o,stack:r,issues:i=[],title:l,cause:s,integrity:c,data:d,readOnly:f=!1,onRetry:u,assistant:g,attached:b=!1}){let p=le(fi),x=le(Mb),h=(0,tl.useRef)(null),[m,v]=(0,tl.useState)(""),[k]=(0,tl.useState)(()=>new Date().toISOString());(0,tl.useEffect)(()=>{if(m!=="copied")return;let Z=setTimeout(()=>v(""),2e3);return()=>clearTimeout(Z)},[m]);let w=t||a,z=l??x(e==="crashed"?"status.crashed":e==="invalid"?"status.invalid":"status.missing",{name:w}),P=i.slice(0,4),j=s??(e==="crashed"?x("status.crashedCause"):e==="missing"?x("status.missingCause",{component:a}):void 0),T=[o,r&&r!==o?r.split(`
28
+ `).slice(0,8).join(`
29
+ `):"",`${a}${c?` \xB7 ${c}`:""}`].filter(Boolean).join(`
30
+ `),S={code:e==="crashed"?"COMPONENT_CRASHED":e==="invalid"?"COMPONENT_INVALID":"COMPONENT_MISSING",source:"component",at:k,message:o??z,actions:[],title:z,cause:[j,...i].filter(Boolean).join(`
31
+ `),details:T},B=Z=>HS(Z).then(()=>v("copied"),()=>v("failed")),O=()=>{let Z=h.current?.closest("[data-block-id],[data-surface-id]");return Z?.dataset.blockId??Z?.dataset.surfaceId},N=Z=>{let U=h.current?.getBoundingClientRect(),F=U?{left:U.left+U.width/2,top:U.top,bottom:U.bottom}:void 0,_=O();g?.open(_&&F?{kind:"blocks",blockIds:[_],anchor:F,prompt:Z}:{kind:"page",anchor:F,prompt:Z})},V=[o,...i].filter(Boolean).join("; ")||z,R=!f,E=[];e==="crashed"&&u&&E.push({label:x("status.retry"),onSelect:u}),e!=="missing"&&R&&g&&E.push({label:x("status.askAgent"),onSelect:()=>N(x(e==="crashed"?"status.promptCrashed":"status.promptInvalid",{name:w,component:a,error:V}))}),e!=="missing"&&E.push({label:x(m==="copied"?"status.copied":"status.copyDetails"),onSelect:()=>{B(D4(S))},icon:!0}),e==="missing"&&(R&&typeof window<"u"&&window.showai&&E.push({label:x("status.findInLibrary"),onSelect:()=>window.dispatchEvent(new CustomEvent(BS,{detail:{query:n??a}}))}),R&&g&&E.push({label:x("status.askAgentInstall"),onSelect:()=>N(x("status.promptMissing",{component:a}))}),E.push({label:x(m==="copied"?"status.copied":"status.copyId"),onSelect:()=>{B(a)},icon:!0}));let D=e==="crashed"?"error":"warning",M=e==="missing"?P5:e==="crashed"?s5:_5;return(0,Pt.jsxs)("section",{ref:h,className:`sb-block sb-unavailable component-status problem-notice tone-${D}${b?" is-attached":""}`,role:"alert","aria-label":z,"data-component-status":e,children:[(0,Pt.jsx)("span",{className:"problem-notice-icon",children:(0,Pt.jsx)(M,{size:16,"aria-hidden":!0})}),(0,Pt.jsxs)("div",{className:"problem-notice-body",children:[(0,Pt.jsx)("strong",{className:"problem-notice-title",children:z}),(0,Pt.jsx)("p",{className:"problem-notice-safety",children:x("status.safety")}),j&&(0,Pt.jsx)("p",{className:"problem-notice-cause",children:j}),!!P.length&&(0,Pt.jsxs)("ul",{className:"component-status-issues",children:[P.map((Z,U)=>(0,Pt.jsx)("li",{children:Z},U)),i.length>P.length&&(0,Pt.jsx)("li",{className:"component-status-more",children:x("status.moreIssues",{count:i.length-P.length})})]}),(0,Pt.jsx)("div",{className:"problem-notice-actions",children:E.map((Z,U)=>(0,Pt.jsxs)("button",{type:"button",className:U===0&&!Z.icon?"is-primary":void 0,onClick:Z.onSelect,children:[Z.icon&&(0,Pt.jsx)(fl,{size:13,"aria-hidden":!0}),Z.label]},Z.label))}),m==="failed"&&(0,Pt.jsx)("p",{className:"problem-notice-copy-error",role:"status",children:x("status.copyFailed")}),R&&(0,Pt.jsxs)("details",{className:"problem-notice-details",children:[(0,Pt.jsx)("summary",{children:x("status.details")}),(0,Pt.jsx)("pre",{children:T}),d!==void 0&&(0,Pt.jsxs)("details",{className:"component-status-data",children:[(0,Pt.jsx)("summary",{children:p("viewData")}),(0,Pt.jsx)("pre",{children:JSON.stringify(d,null,2)})]}),(0,Pt.jsxs)("div",{className:"problem-notice-detail-actions",children:[d!==void 0&&(0,Pt.jsxs)("button",{type:"button",onClick:()=>Nl(JSON.stringify({component:a,data:d},null,2),`${a.replace(/[^\w.@-]+/g,"-")}.json`,"application/json"),children:[(0,Pt.jsx)(g5,{size:13}),p("downloadData")]}),(0,Pt.jsxs)("button",{type:"button",onClick:()=>Pb({source:S.source,code:S.code,message:D4(S),at:S.at}),children:[(0,Pt.jsx)(b5,{size:13}),x("status.reportProblem")]})]})]})]})]})}var Ob=ct("componentValidation",{"zh-CN":{"validation.pathItem":" \u7B2C {index} \u9879","validation.pathFieldOfItem":"\u7684 {name}","validation.pathField":".{name}","validation.root":"\u6570\u636E","validation.required":"{target}\u7F3A\u5C11 {property}","validation.requiredRoot":"\u7F3A\u5C11 {property}","validation.additional":"{target}\u5305\u542B\u7EC4\u4EF6\u4E0D\u652F\u6301\u7684\u5B57\u6BB5","validation.type":"{target}\u5E94\u4E3A{type}","validation.type.string":"\u6587\u672C","validation.type.number":"\u6570\u5B57","validation.type.integer":"\u6574\u6570","validation.type.boolean":"\u662F/\u5426\u503C","validation.type.array":"\u5217\u8868","validation.type.object":"\u5BF9\u8C61","validation.type.null":"\u7A7A\u503C","validation.or":"\u6216","validation.enum":"{target}\u4E0D\u662F\u5141\u8BB8\u7684\u53D6\u503C","validation.const":"{target}\u5E94\u4FDD\u6301\u56FA\u5B9A\u503C","validation.min":"{target}\u4E0D\u80FD\u5C0F\u4E8E {limit}","validation.exclusiveMin":"{target}\u5FC5\u987B\u5927\u4E8E {limit}","validation.max":"{target}\u4E0D\u80FD\u5927\u4E8E {limit}","validation.exclusiveMax":"{target}\u5FC5\u987B\u5C0F\u4E8E {limit}","validation.minItems":"{target}\u81F3\u5C11\u9700\u8981 {count} \u9879","validation.maxItems":"{target}\u6700\u591A {count} \u9879","validation.minLength":"{target}\u81F3\u5C11\u9700\u8981 {count} \u4E2A\u5B57\u7B26","validation.maxLength":"{target}\u6700\u591A {count} \u4E2A\u5B57\u7B26","validation.pattern":"{target}\u7684\u683C\u5F0F\u4E0D\u7B26\u5408\u8981\u6C42","validation.format":"{target}\u5E94\u4E3A\u6709\u6548\u7684 {format}","validation.unique":"{target}\u5305\u542B\u91CD\u590D\u7684\u9879","validation.alternatives":"{target}\u4E0D\u7B26\u5408\u4EFB\u4F55\u4E00\u79CD\u5141\u8BB8\u7684\u5199\u6CD5","validation.other":"{target}\uFF1A{message}"},en:{"validation.pathItem":" \u203A item {index}","validation.pathFieldOfItem":" \u203A {name}","validation.pathField":".{name}","validation.root":"The data","validation.required":"{target} is missing \u201C{property}\u201D","validation.requiredRoot":"\u201C{property}\u201D is missing","validation.additional":"{target} has a field this component doesn't support","validation.type":"{target} should be {type}","validation.type.string":"text","validation.type.number":"a number","validation.type.integer":"a whole number","validation.type.boolean":"true or false","validation.type.array":"a list","validation.type.object":"an object","validation.type.null":"empty","validation.or":" or ","validation.enum":"{target} isn't one of the allowed values","validation.const":"{target} must keep its fixed value","validation.min":"{target} can't be less than {limit}","validation.exclusiveMin":"{target} must be greater than {limit}","validation.max":"{target} can't be greater than {limit}","validation.exclusiveMax":"{target} must be less than {limit}","validation.minItems":{one:"{target} needs at least {count} item",other:"{target} needs at least {count} items"},"validation.maxItems":{one:"{target} can have at most {count} item",other:"{target} can have at most {count} items"},"validation.minLength":{one:"{target} needs at least {count} character",other:"{target} needs at least {count} characters"},"validation.maxLength":{one:"{target} can have at most {count} character",other:"{target} can have at most {count} characters"},"validation.pattern":"{target} isn't in the required format","validation.format":"{target} should be a valid {format}","validation.unique":"{target} contains duplicate items","validation.alternatives":"{target} doesn't match any allowed form","validation.other":"{target}: {message}"}});function jS(e){return e.split("/").slice(1).map(t=>t.replace(/~1/g,"/").replace(/~0/g,"~")).map(t=>/^(0|[1-9]\d*)$/.test(t)?Number(t):t)}function US(e){let t;return(t=e.match(/^must have required property '(.+)'$/))?{kind:"required",property:t[1]}:/^must NOT have additional properties$/.test(e)?{kind:"additional"}:(t=e.match(/^must be ((?:string|number|integer|boolean|array|object|null)(?:,(?:string|number|integer|boolean|array|object|null))*)$/))?{kind:"type",types:t[1].split(",")}:/^must be equal to one of the allowed values$/.test(e)?{kind:"enum"}:/^must be equal to constant$/.test(e)?{kind:"const"}:(t=e.match(/^must be (>=|>|<=|<) (-?[\d.e+-]+)$/))?{kind:"limit",comparison:t[1],limit:t[2]}:(t=e.match(/^must NOT have (fewer|more) than (\d+) items?$/))?{kind:"items",bound:t[1]==="fewer"?"min":"max",limit:t[2]}:(t=e.match(/^must NOT have (fewer|more) than (\d+) characters?$/))?{kind:"length",bound:t[1]==="fewer"?"min":"max",limit:t[2]}:/^must match pattern /.test(e)?{kind:"pattern"}:(t=e.match(/^must match format "(.+)"$/))?{kind:"format",format:t[1]}:/^must NOT have duplicate items/.test(e)?{kind:"unique"}:/^must match (exactly one|a) schema in (oneOf|anyOf)$/.test(e)?{kind:"alternatives"}:{kind:"other",message:e}}function Lb(e){return e.split("; ").map(t=>t.trim()).filter(Boolean).map(t=>{let a=t.indexOf(" "),n=a<0?t:t.slice(0,a),o=a<0?"":t.slice(a+1);if(!o||!(n.startsWith("/")||/^must /.test(o)))return{path:[],rule:{kind:"other",message:t}};let r=US(o);return{path:n.startsWith("/")?jS(n):[],rule:r}})}function M4(e){return Lb(e).some(t=>t.rule.kind!=="other")}var Bb=kt(Ob);function _S(e,t=Bb){return e.map((a,n)=>typeof a=="number"?t("validation.pathItem",{index:a+1}):n===0?a:typeof e[n-1]=="number"?t("validation.pathFieldOfItem",{name:a}):t("validation.pathField",{name:a})).join("").trim()}function n1(e,t=Bb){return Lb(e).map(({path:a,rule:n})=>{let o=_S(a,t),r=o||t("validation.root");switch(n.kind){case"required":return o?t("validation.required",{target:o,property:n.property}):t("validation.requiredRoot",{property:n.property});case"additional":return t("validation.additional",{target:r});case"type":return t("validation.type",{target:r,type:n.types.map(i=>t(`validation.type.${i}`)).join(t("validation.or"))});case"enum":return t("validation.enum",{target:r});case"const":return t("validation.const",{target:r});case"limit":return t({">=":"validation.min",">":"validation.exclusiveMin","<=":"validation.max","<":"validation.exclusiveMax"}[n.comparison],{target:r,limit:n.limit});case"items":return t(n.bound==="min"?"validation.minItems":"validation.maxItems",{target:r,count:Number(n.limit)});case"length":return t(n.bound==="min"?"validation.minLength":"validation.maxLength",{target:r,count:Number(n.limit)});case"pattern":return t("validation.pattern",{target:r});case"format":return t("validation.format",{target:r,format:n.format});case"unique":return t("validation.unique",{target:r});case"alternatives":return t("validation.alternatives",{target:r});default:return o?t("validation.other",{target:o,message:n.message}):n.message}})}var Go=ct("customComponents",{"zh-CN":{notInstalledError:"\u7EC4\u4EF6\u5C1A\u672A\u5B89\u88C5\u3002",ambiguousVersion:"\u7EC4\u4EF6 {component} \u6709\u591A\u4E2A\u4E0D\u540C\u5185\u5BB9\u7248\u672C\uFF0C\u8BF7\u6307\u5B9A\u5B8C\u6574\u6027\u6307\u7EB9\u3002",invalidJson:"JSON \u683C\u5F0F\u4E0D\u6B63\u786E\u3002",notJsonObject:"\u7EC4\u4EF6\u6570\u636E\u5FC5\u987B\u662F\u6709\u6548\u7684 JSON \u5BF9\u8C61\u3002",dataTooLarge:"\u7EC4\u4EF6\u6570\u636E\u8D85\u9650\u3002",dataChanged:"\u7EC4\u4EF6\u6570\u636E\u5DF2\u66F4\u65B0\uFF0C\u8BF7\u91CD\u65B0\u6253\u5F00\u7F16\u8F91\u540E\u518D\u4FEE\u6539\u3002",validationTimeout:"\u7EC4\u4EF6\u672A\u54CD\u5E94\u6570\u636E\u6821\u9A8C\uFF0C\u8BF7\u91CD\u65B0\u52A0\u8F7D\u7EC4\u4EF6\u540E\u518D\u8BD5\u3002",cannotDisplay:"\u7EC4\u4EF6\u65E0\u6CD5\u663E\u793A\u3002",viewportLockFailed:"\u65E0\u6CD5\u4FDD\u5B58\u9605\u8BFB\u9501\u72B6\u6001\uFF1A{error}",invalidProps:"\u6570\u636E\u4E0D\u7B26\u5408\u7EC4\u4EF6\u7684\u5C5E\u6027\u8981\u6C42\u3002",editData:"\u7F16\u8F91\u7EC4\u4EF6\u6570\u636E",data:"\u7EC4\u4EF6\u6570\u636E",noManualEditing:"\u6B64\u7EC4\u4EF6\u6682\u4E0D\u652F\u6301\u624B\u52A8\u7F16\u8F91\u53C2\u6570\u3002\u53EF\u4EE5\u8BA9 Agent \u6309\u4F60\u7684\u8981\u6C42\u4FEE\u6539\uFF0C\u6216\u5728\u300C\u9AD8\u7EA7\u300D\u4E2D\u76F4\u63A5\u7F16\u8F91\u7EC4\u4EF6\u6570\u636E\u3002",askAgentToEdit:"\u8BA9 Agent \u4FEE\u6539\u6B64\u7EC4\u4EF6\u2026",advancedJson:"\u9AD8\u7EA7 \xB7 \u7F16\u8F91\u7EC4\u4EF6\u6570\u636E\uFF08JSON\uFF09",propsJson:"\u7EC4\u4EF6\u5C5E\u6027 JSON",validating:"\u6821\u9A8C\u4E2D\u2026",apply:"\u5E94\u7528",inlineOnlyInConversation:"\u6B64\u8FD0\u884C\u65B9\u5F0F\u4EC5\u7528\u4E8E\u5BF9\u8BDD\u5185\u7684\u72EC\u7ACB\u9875\u9762\u3002",inlineUnavailable:"\u7EC4\u4EF6 {component} \u5C1A\u65E0\u5BF9\u8BDD\u5185\u8FD0\u884C\u7248\u672C\uFF0C\u8BF7\u4ECE\u6E90\u7801\u5BFC\u5165\u65B0\u7248\u672C\u540E\u91CD\u65B0\u5BFC\u51FA\u3002",inlineBlocked:"\u5BBF\u4E3B\u672A\u5141\u8BB8\u6B64\u7EC4\u4EF6\u8FD0\u884C\u3002","media.title":"\u672C\u673A\u6587\u4EF6","media.close":"\u5173\u95ED","media.loading":"\u6B63\u5728\u6253\u5F00\u2026","media.unsupported":"\u8FD9\u4E2A\u6587\u4EF6\u4E0D\u80FD\u5728 ShowAI \u91CC\u9884\u89C8\uFF0C\u53EF\u4EE5\u5728\u6587\u4EF6\u5939\u4E2D\u6253\u5F00\u3002","media.unavailable":"\u8FD9\u91CC\u4E0D\u80FD\u6253\u5F00\u672C\u673A\u6587\u4EF6\u3002\u8BF7\u5728 ShowAI \u684C\u9762\u7248\u6216\u672C\u673A\u6D4F\u89C8\u5668\u7248\u4E2D\u67E5\u770B\u3002","media.failed":"\u65E0\u6CD5\u6253\u5F00\u6587\u4EF6\uFF1A{error}","media.notFound":"\u627E\u4E0D\u5230\u8FD9\u4E2A\u6587\u4EF6\uFF0C\u53EF\u80FD\u5DF2\u7ECF\u79FB\u52A8\u6216\u5220\u9664\u3002","media.playFailed":"\u65E0\u6CD5\u64AD\u653E\u8FD9\u4E2A\u6587\u4EF6\uFF0C\u53EF\u80FD\u662F\u7F16\u7801\u683C\u5F0F\u4E0D\u53D7\u652F\u6301\u3002","media.copyPath":"\u590D\u5236\u4F4D\u7F6E","media.copied":"\u5DF2\u590D\u5236","media.reveal":"\u5728\u6587\u4EF6\u5939\u4E2D\u663E\u793A"},en:{notInstalledError:"This component isn't installed.",ambiguousVersion:"Component {component} has several versions with different content. Specify its integrity fingerprint.",invalidJson:"The JSON is malformed.",notJsonObject:"Component data must be a valid JSON object.",dataTooLarge:"The component data is too large.",dataChanged:"The component data has changed. Reopen the editor before making changes.",validationTimeout:"The component didn't respond to data validation. Reload the component and try again.",cannotDisplay:"This component can't be displayed.",viewportLockFailed:"Couldn't save the reading lock state: {error}",invalidProps:"The data doesn't match the component's property rules.",editData:"Edit component data",data:"Component data",noManualEditing:"This component\u2019s parameters can\u2019t be edited by hand yet. Ask an Agent to change it, or edit the component data directly under Advanced.",askAgentToEdit:"Ask Agent to change this component\u2026",advancedJson:"Advanced \xB7 Edit component data (JSON)",propsJson:"Component properties JSON",validating:"Validating\u2026",apply:"Apply",inlineOnlyInConversation:"This mode only runs in standalone pages inside a conversation.",inlineUnavailable:"Component {component} has no in-conversation build yet. Import a new version from source and export again.",inlineBlocked:"The host didn't allow this component to run.","media.title":"Local file","media.close":"Close","media.loading":"Opening\u2026","media.unsupported":"ShowAI can't preview this file. Open it from its folder instead.","media.unavailable":"Local files can't be opened here. View this page in the ShowAI desktop app or local browser mode.","media.failed":"Couldn't open the file: {error}","media.notFound":"This file can't be found. It may have been moved or deleted.","media.playFailed":"Couldn't play this file. Its format may not be supported.","media.copyPath":"Copy location","media.copied":"Copied","media.reveal":"Show in folder"}});var Zz=Object.freeze({modelBytes:8192,totalBytes:16384,labelChars:80,depth:20,perMessage:6});function X2(e,t={modelBytes:8192,totalBytes:16384,labelChars:80,depth:20}){let a=i=>!!i&&typeof i=="object"&&!Array.isArray(i)&&[Object.prototype,null].includes(Object.getPrototypeOf(i)),n=(i,l)=>l>t.depth?!1:i===null||["string","boolean"].includes(typeof i)?!0:typeof i=="number"?Number.isFinite(i):Array.isArray(i)?i.every(s=>n(s,l+1)):a(i)&&Object.entries(i).every(([s,c])=>!["__proto__","constructor","prototype"].includes(s)&&n(c,l+1)),o=i=>new TextEncoder().encode(JSON.stringify(i)).byteLength;if(!a(e))return"The snapshot must be an object.";let r=Object.keys(e).filter(i=>!["model","private","label"].includes(i));return r.length?`Unknown snapshot fields: ${r.join(", ")}.`:e.model===void 0||e.model===null?"model is required.":n(e.model,1)?e.private!==void 0&&!n(e.private,1)?"private must contain only JSON values.":e.label!==void 0&&(typeof e.label!="string"||!e.label.trim()||e.label.length>t.labelChars)?`label must be non-empty text of at most ${t.labelChars} characters.`:o(e.model)>t.modelBytes?`model exceeds ${t.modelBytes} bytes of JSON.`:o(e)>t.totalBytes?`The snapshot exceeds ${t.totalBytes} bytes of JSON.`:"":"model must contain only JSON values."}var o1=W(de(),1),WS="showai:conversation-context",Hb=new Map;function $2({component:e,data:t,host:a,outline:n,onError:o}){let r=(0,bo.useRef)(null),i=(0,bo.useRef)(null),l=(0,bo.useRef)(t),[s,c]=(0,bo.useState)(""),d=le(Go);l.current=t;let f=(0,bo.useRef)(n);return f.current=n,(0,bo.useEffect)(()=>o?.(s),[s,o]),(0,bo.useEffect)(()=>{if(!r.current||!a.hasAttribute("data-showai-inline-root")||!a.contains(r.current)||window.showai){c(d("inlineOnlyInConversation"));return}if(!e.inline){c(d("inlineUnavailable",{component:`${e.id}@${e.version}`}));return}let u=r.current.shadowRoot??r.current.attachShadow({mode:"open"}),g=document.createElement("style");g.textContent=":host{display:block;font:14px/1.6 system-ui,sans-serif;color:inherit}*{box-sizing:border-box}button,input,select,textarea{font:inherit}.component-root{display:flow-root;overflow-wrap:anywhere}"+e.inline.styles.replace(/:root\b|(?<![\w-])(?:html|body)(?=\s*[{,])/g,":host");let b=document.createElement("div");b.className="component-root",u.replaceChildren(g,b);let p=Dl(u),x=globalThis,h=x.__SHOWAI_COMPONENT_HOST__,m=`__showai_mount_${crypto.randomUUID().replaceAll("-","")}`;x.__SHOWAI_COMPONENT_HOST__={react:VS,client:GS,dom:ZS,jsx:FS,jsxDev:qS};let v=r.current.closest("[data-block-id],[data-surface-id]"),k=v?.dataset.blockId??v?.dataset.surfaceId,w=!!k&&!!a.closest("[data-showai-conversation]"),z=j=>{let T=X2(j);if(T)throw new Error(`onContext: ${T}`);if(navigator.userActivation&&!navigator.userActivation.isActive)return!1;let S=JSON.parse(JSON.stringify(j));return Hb.set(k,S),r.current?.dispatchEvent(new CustomEvent(WS,{bubbles:!0,composed:!0,detail:{blockId:k,componentId:e.id,name:e.name,snapshot:S}})),!0};x[m]=j=>{i.current=j.mount(b,{data:l.current,outline:f.current,onError:c,...w?{onContext:z,context:Hb.get(k)}:{}})};let P=document.createElement("script");P.textContent=`(()=>{${e.inline.script}
32
+ globalThis[${JSON.stringify(m)}](ShowAIInlineComponent);})();`;try{a.appendChild(P),i.current||c(d("inlineBlocked"))}finally{P.remove(),delete x[m],h===void 0?delete x.__SHOWAI_COMPONENT_HOST__:x.__SHOWAI_COMPONENT_HOST__=h}return()=>{p();let j=i.current;i.current=null,queueMicrotask(()=>j?.destroy())}},[e.integrity,a]),(0,bo.useEffect)(()=>i.current?.update(t,n),[t,n]),(0,o1.jsxs)("section",{"aria-label":e.name,style:{margin:"18px 0"},children:[(0,o1.jsx)("div",{ref:r}),s&&(0,o1.jsx)(al,{state:M4(s)?"invalid":"crashed",name:e.name,reference:`${e.id}@${e.version}`,error:s,issues:M4(s)?n1(s):[],readOnly:!0})]})}var KS=kt(Go),jb=(e,t,a)=>`${e}@${t}#${a}`;function Ub(e){let t=new Map;for(let a of e){let n=jb(a.id,a.version,a.integrity),o=t.get(n);if(o&&(o.html!==a.html||JSON.stringify(o.schema)!==JSON.stringify(a.schema)||JSON.stringify(o.inline)!==JSON.stringify(a.inline)))throw new Error(`Conflicting component payloads claim the same fingerprint: ${n}.`);o||t.set(n,a)}return t}function _b(e,t){if(t.integrity)return e.get(jb(t.componentId,t.version,t.integrity));let a=[...e.values()].filter(n=>n.id===t.componentId&&n.version===t.version&&(!t.scope||n.scope===t.scope));if(a.length>1)throw new Error(KS("ambiguousVersion",{component:`${t.componentId}@${t.version}`}));return a[0]}function YS(e){if(!(typeof e!="string"||e.length>8192))return Fn(e)}function Vb(e){document.addEventListener("click",t=>{if(!t.isTrusted||t.defaultPrevented||t.button!==0)return;let a=t.composedPath().find(o=>o instanceof HTMLAnchorElement&&o.hasAttribute("href"));if(!a||a.hasAttribute("download"))return;let n=a.getAttribute("href")??"";if(/^file:/i.test(n)){t.preventDefault(),parent.postMessage({channel:e,type:"showai:open-media",url:n},"*");return}/^https?:\/\//i.test(n)&&(t.preventDefault(),parent.postMessage({channel:e,type:"showai:open-url",url:n},"*"))})}function Zb(e){let t=YS(e);if(!t||navigator.userActivation?.isActive!==!0)return!1;let a=document.createElement("a");return a.href=t,a.target="_blank",a.rel="noopener noreferrer",a.referrerPolicy="no-referrer",a.click(),!0}var hr=W(De(),1),Wb=W(F2(),1);var JS="showai-media";function Gb(e){return typeof e=="string"&&e.length<=4096&&/^file:/i.test(e)}function Fb(e){return window.__SHOWAI_LOCAL__?`/api/media/${e}`:`${JS}://media/${e}`}rt(`.showai-custom-block{position:relative}.custom-props-trigger{position:absolute;right:8px;top:-13px;z-index:2;width:28px;height:26px;display:grid;place-items:center;padding:0;border:1px solid var(--border, #dfe6df);border-radius:6px;color:var(--text-secondary, #657465);background:var(--surface, #fff);cursor:pointer;opacity:0;transition:opacity .12s ease}.showai-custom-block:hover>.custom-props-trigger,.showai-custom-block:focus-within>.custom-props-trigger{opacity:1}.custom-props-trigger:focus-visible{outline:2px solid var(--accent, #547c63);outline-offset:3px}.custom-props-editor{padding:14px;margin-bottom:12px;border:1px solid var(--border, #dfe6df);border-radius:9px;background:var(--surface, #fff);color:var(--text, #292d29);font:13px/1.5 system-ui,sans-serif}.custom-props-editor label{display:block;font-weight:600;margin-bottom:8px}.custom-props-editor textarea{display:block;width:100%;resize:vertical;min-height:110px;max-height:400px;padding:10px;border:1px solid var(--border, #dfe6df);border-radius:6px;background:var(--bg, #fff);color:inherit;font:12px/1.65 ui-monospace,monospace}.custom-props-error{color:var(--danger, #c13515);white-space:pre-line;margin:9px 0 0;font-size:12px;overflow-wrap:anywhere}.custom-props-actions{display:flex;justify-content:flex-end;gap:8px;margin-top:10px}.custom-props-actions button{padding:5px 12px;border:1px solid var(--border, #dfe6df);border-radius:6px;font:inherit;color:inherit;background:transparent;cursor:pointer}.custom-props-actions button.is-primary{color:#fff;background:var(--accent, #547c63);border-color:transparent}.custom-props-actions button:disabled{opacity:.5;cursor:default}@media(hover:none){.custom-props-trigger{opacity:1}}@media print{.custom-props-trigger,.custom-props-editor{display:none!important}}@media(prefers-reduced-motion:reduce){.custom-props-trigger{transition:none}}.showai-local-media{position:fixed;inset:0;z-index:500;display:flex;align-items:center;justify-content:center;padding:50px 65px;background:#101611f2;backdrop-filter:blur(12px);color:#f1f5ee;font:13px/1.5 Avenir Next,PingFang SC,system-ui,sans-serif}.showai-local-media figure{margin:0;min-width:0;max-width:100%;max-height:100%;display:flex;flex-direction:column;align-items:center}.showai-local-media video,.showai-local-media img{max-width:100%;max-height:calc(100dvh - 190px);object-fit:contain;display:block;background:#000;border-radius:6px}.showai-local-media audio{width:min(560px,80vw)}.showai-local-media figcaption{font-size:12px;line-height:1.8;text-align:center;padding:15px 0 0;overflow-wrap:anywhere}.showai-local-media figcaption>span{display:block;color:#a8b2a7;font-size:10px;padding-top:5px}.showai-local-media-close{position:absolute;top:20px;right:22px;width:39px;height:39px;display:flex;align-items:center;justify-content:center;border:1px solid #ffffff15;border-radius:50%;background:#ffffff0b;color:#f1f5ee;cursor:pointer}.showai-local-media-close:hover{background:#ffffff20}.showai-local-media-note{margin:0 0 12px;font-size:14px;text-align:center}.showai-local-media-path{user-select:all;font-family:ui-monospace,Menlo,monospace}.showai-local-media figcaption>.showai-local-media-actions{display:flex;justify-content:center;gap:8px;padding-top:10px}.showai-local-media-actions>button{display:inline-flex;align-items:center;gap:5px;padding:4px 10px;border:1px solid #ffffff26;border-radius:999px;background:#ffffff0f;color:#f1f5ee;font:inherit;font-size:12px;cursor:pointer}.showai-local-media-actions>button:hover{background:#ffffff20}.showai-local-media-close:focus-visible,.showai-local-media-actions>button:focus-visible{outline:2px solid #b8ceba;outline-offset:3px}@media(prefers-reduced-motion:reduce){.showai-local-media{backdrop-filter:none}}.custom-props-note{margin:0 0 10px;color:var(--muted, #6b726b)}.custom-props-agent{display:inline-flex;align-items:center;gap:6px;margin-bottom:10px;padding:5px 12px;border:1px solid transparent;border-radius:6px;font:inherit;color:#fff;background:var(--accent, #547c63);cursor:pointer}.custom-props-advanced>summary{cursor:pointer;color:var(--muted, #6b726b);margin-bottom:8px}
33
+ `);var Qt=W(de(),1),Q2=null;function Kb(e){if(!Gb(e)||navigator.userActivation?.isActive!==!0)return!1;Q2?.();let t=document.createElement("div");document.body.append(t);let a=(0,Wb.createRoot)(t),n=()=>{Q2===n&&(Q2=null,a.unmount(),t.remove())};return Q2=n,a.render((0,Qt.jsx)(XS,{link:e,onClose:n})),!0}function XS({link:e,onClose:t}){let a=kt(Go),[n,o]=(0,hr.useState)({status:"loading"}),[r,i]=(0,hr.useState)(!1),[l,s]=(0,hr.useState)(""),[c,d]=(0,hr.useState)(!1),f=(0,hr.useRef)(null),u=window.showai;(0,hr.useEffect)(()=>{let h=document.activeElement;return f.current?.focus(),u?u.invoke("media:open",{path:e}).then(m=>o({status:"ready",grant:m})).catch(m=>o({status:"error",message:m?.code==="NOT_FOUND"?a("media.notFound"):a("media.failed",{error:qb(m)})})):o({status:"error",message:a("media.unavailable")}),()=>h?.focus({preventScroll:!0})},[]);let g=n.status==="ready"?n.grant:void 0,b=g?.path??$S(e),p=async()=>{try{await navigator.clipboard.writeText(b)}catch{await u?.invoke("clipboard:write",{text:b})}i(!0)},x=g?.kind?Fb(g.token):void 0;return(0,Qt.jsxs)("div",{className:"showai-local-media",role:"dialog","aria-modal":"true","aria-label":g?.name??a("media.title"),onClick:h=>{h.target===h.currentTarget&&t()},onKeyDown:h=>{if(h.key==="Escape"&&(h.stopPropagation(),t()),h.key==="Tab"){let m=Array.from(h.currentTarget.querySelectorAll("button,video,audio")),v=m[0],k=m.at(-1);h.shiftKey&&document.activeElement===v&&(h.preventDefault(),k?.focus()),!h.shiftKey&&document.activeElement===k&&(h.preventDefault(),v?.focus())}},children:[(0,Qt.jsx)("button",{ref:f,type:"button",className:"showai-local-media-close","aria-label":a("media.close"),onClick:t,children:(0,Qt.jsx)(Xa,{size:24})}),(0,Qt.jsxs)("figure",{children:[n.status==="loading"&&(0,Qt.jsx)("p",{className:"showai-local-media-note",children:a("media.loading")}),n.status==="error"&&(0,Qt.jsx)("p",{className:"showai-local-media-note",role:"alert",children:n.message}),g&&!g.kind&&(0,Qt.jsx)("p",{className:"showai-local-media-note",children:a("media.unsupported")}),x&&c&&(0,Qt.jsx)("p",{className:"showai-local-media-note",role:"alert",children:a("media.playFailed")}),x&&g?.kind==="video"&&!c&&(0,Qt.jsx)("video",{src:x,controls:!0,autoPlay:!0,playsInline:!0,onError:()=>d(!0)}),x&&g?.kind==="audio"&&!c&&(0,Qt.jsx)("audio",{src:x,controls:!0,autoPlay:!0,onError:()=>d(!0)}),x&&g?.kind==="image"&&!c&&(0,Qt.jsx)("img",{src:x,alt:g.name,onError:()=>d(!0)}),(0,Qt.jsxs)("figcaption",{children:[g?.name??b.split("/").at(-1),(0,Qt.jsx)("span",{className:"showai-local-media-path",children:b}),(0,Qt.jsxs)("span",{className:"showai-local-media-actions",children:[(0,Qt.jsxs)("button",{type:"button",onClick:()=>{p()},children:[(0,Qt.jsx)(fl,{size:13}),a(r?"media.copied":"media.copyPath")]}),g&&u&&(0,Qt.jsxs)("button",{type:"button",onClick:()=>{u.invoke("media:reveal",{token:g.token}).catch(h=>s(a("media.failed",{error:qb(h)})))},children:[(0,Qt.jsx)(y5,{size:13}),a("media.reveal")]})]}),l&&(0,Qt.jsx)("span",{role:"alert",children:l})]})]})]})}function $S(e){let t=e.replace(/^file:(\/\/(localhost)?)?/i,"");try{return decodeURIComponent(t)}catch{return t}}function qb(e){let t=e?.message;return typeof t=="string"?t:String(e)}function Yb(e){let t=!0,a=window.requestAnimationFrame.bind(window),n=window.cancelAnimationFrame.bind(window),o=window.setInterval.bind(window),r=new Map,i=l=>{let s=r.get(l);s&&(s.native=a(c=>{s.native=null,t&&(r.delete(l),s.callback(c))}))};window.requestAnimationFrame=l=>{let s=0,c=a(d=>{let f=r.get(s);f&&(f.native=null,t&&(r.delete(s),l(d)))});return s=c,r.set(s,{callback:l,native:t?c:null}),t||n(c),s},window.cancelAnimationFrame=l=>{let s=r.get(l);s?.native!==null&&s?.native!==void 0?n(s.native):n(l),r.delete(l)},window.setInterval=((l,s,...c)=>typeof l=="function"?o(()=>{t&&l.apply(window,c)},s):o(l,s,...c)),window.addEventListener("message",l=>{if(!(l.source!==window.parent||l.data?.channel!==e||l.data?.type!=="showai:activity"||typeof l.data.active!="boolean")&&t!==l.data.active){t=l.data.active;for(let[s,c]of r)!t&&c.native!==null?(n(c.native),c.native=null):t&&c.native===null&&i(s)}})}var Jb=W(De(),1),gi=(0,Jb.createContext)(null);var Xb=W(De(),1),$b=(0,Xb.createContext)(null);var ed=W(De(),1),QS=180;function eC(e,t,a){if(!e)return a(!1),()=>{};if(t<=0)return a(!0),()=>{};let n=setTimeout(()=>a(!0),t);return()=>clearTimeout(n)}function Qb(e,t=QS){let[a,n]=(0,ed.useState)(!1);return(0,ed.useEffect)(()=>eC(e,t,n),[e,t]),e&&a}rt(`.showai-pending{display:flex;flex-direction:column;gap:10px;box-sizing:border-box;padding:14px 0;color:var(--muted, #6b6b6b);font-size:13px;line-height:1.6}.showai-pending-anchor{position:relative;height:0}.showai-pending.is-overlay{position:absolute;top:0;left:0;right:0;z-index:1;justify-content:center;align-items:center;padding:16px;pointer-events:none}.showai-pending-label{animation:showai-pending-in .16s ease-out both}.showai-pending-bar{display:block;height:12px;width:100%;border-radius:6px;background:var(--border, rgba(127, 127, 127, .18));opacity:.55;animation:showai-pending-pulse 1.6s ease-in-out infinite}.showai-pending-bar:nth-child(3n+2){width:72%}.showai-pending-bar:nth-child(3n){width:86%}@keyframes showai-pending-in{0%{opacity:0}}@keyframes showai-pending-pulse{50%{opacity:.25}}@media(prefers-reduced-motion:reduce){.showai-pending-label,.showai-pending-bar{animation:none}}
34
+ `);var yr=W(de(),1);function td({label:e,active:t=!0,minHeight:a,lines:n=0,overlay:o=!1,className:r="",style:i,...l}){let s=Qb(t);if(!t)return null;let c=(0,yr.jsx)("div",{...l,className:`showai-pending${o?" is-overlay":""}${r?` ${r}`:""}`,role:"status","aria-live":"polite",style:a?{[o?"height":"minHeight"]:a,...i}:i,children:s&&(0,yr.jsxs)(yr.Fragment,{children:[(0,yr.jsx)("span",{className:"showai-pending-label",children:e}),Array.from({length:n},(d,f)=>(0,yr.jsx)("span",{className:"showai-pending-bar","aria-hidden":"true"},f))]})});return o?(0,yr.jsx)("div",{className:"showai-pending-anchor",children:c}):c}var tC="showai:runtime-error";function eh(e){let t=0,a=(n,o,r)=>{let i=o,l=String(i&&typeof i=="object"&&i.message||r||o||"").slice(0,2e3);!l||/^ResizeObserver loop/.test(l)||t>=20||(t++,parent.postMessage({channel:e,type:"showai:runtime-error",kind:n,message:l,...i&&typeof i=="object"&&typeof i.stack=="string"?{stack:i.stack.slice(0,4e3)}:{}},"*"))};window.addEventListener("error",n=>a("error",n.error,n.message),!0),window.addEventListener("unhandledrejection",n=>a("rejection",n.reason,""),!0)}function th(e,t,a){if(!t||e.source!==t)return null;let n=e.data;return!n||typeof n!="object"||n.channel!==a||n.type!==tC||n.kind!=="error"&&n.kind!=="rejection"||typeof n.message!="string"||!n.message.trim()?null:{kind:n.kind,message:n.message.trim().slice(0,2e3),...typeof n.stack=="string"&&n.stack?{stack:n.stack.slice(0,4e3)}:{}}}function A4(e,t){return!!t&&e.includes(t.message)}var Ot=W(de(),1),ad=(0,Ue.createContext)(new Map),nd=(0,Ue.createContext)(null),nh=()=>(0,Ue.useContext)(nd);function I4({components:e,children:t,inlineHost:a=null}){let n=(0,Ue.useMemo)(()=>Ub(e),[e]);return(0,Ot.jsx)(ad.Provider,{value:n,children:(0,Ot.jsx)(nd.Provider,{value:a,children:t})})}function Ms(){let e=(0,Ue.useContext)(ad);return(0,Ue.useMemo)(()=>[...e.values()],[e])}function oh({components:e,children:t}){let a=(0,Ue.useContext)(ad),n=(0,Ue.useContext)(nd),o=(0,Ue.useMemo)(()=>[...a.values(),...e],[a,e]);return(0,Ot.jsx)(I4,{components:o,inlineHost:n,children:t})}function bi(e){return JSON.stringify(e).replace(/</g,"\\u003c").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029")}function ah(e){if(!e||typeof e!="object"||Array.isArray(e))return!1;let t=(a,n=0)=>n>40?!1:a===null||typeof a=="boolean"||typeof a=="string"?!0:typeof a=="number"?Number.isFinite(a):Array.isArray(a)?a.every(o=>t(o,n+1)):!!a&&typeof a=="object"&&Object.getPrototypeOf(a)===Object.prototype&&Object.entries(a).every(([o,r])=>!["__proto__","constructor","prototype"].includes(o)&&t(r,n+1));return t(e)}function rh({data:e,onChange:t,readOnly:a}){let n=mi(e),o=(0,Ue.useContext)(ad),r=(0,Ue.useContext)(nd),i=_b(o,n),l=(0,Ue.useContext)(gi),s=`${n.componentId}@${n.version}`;return i&&r?(0,Ot.jsx)($2,{component:i,data:n.props,host:r},i.integrity):i?(0,Ot.jsx)(aC,{component:i,data:e,onChange:t,readOnly:a},i.integrity):(0,Ot.jsx)(al,{state:"missing",name:n.componentId,reference:s,query:n.componentId,integrity:n.integrity,data:n.props,readOnly:!!a||!t,assistant:a||!t?null:l})}function aC({component:e,data:t,onChange:a,readOnly:n}){let o=mi(t),r=(0,Ue.useRef)(null),i=q2(),l=le(Go),s=le(la),c=le(fi),d=zl(),f=(0,Ue.useRef)(i),[u]=(0,Ue.useState)(()=>crypto.randomUUID());n7(r,u);let[g,b]=(0,Ue.useState)(180),[p,x]=(0,Ue.useState)(null),[h,m]=(0,Ue.useState)(""),[v,k]=(0,Ue.useState)(null),w=(0,Ue.useRef)(null);w.current=v;let[z,P]=(0,Ue.useState)(0),[j,T]=(0,Ue.useState)(!1),[S,B]=(0,Ue.useState)(""),[O,N]=(0,Ue.useState)(""),[V,R]=(0,Ue.useState)(!1),[E,D]=(0,Ue.useState)(!1),M=(0,Ue.useRef)(""),Z=(0,Ue.useRef)(null),U=(0,Ue.useRef)(null),F=(0,Ue.useContext)(gi),_=(0,Ue.useRef)({data:t,parsed:o,onChange:a,readOnly:n,assistant:F}),X=(0,Ue.useRef)({props:o.props,readOnly:!!n||!a});_.current={data:t,parsed:o,onChange:a,readOnly:n,assistant:F};let q=(0,Ue.useContext)($b),I=(0,Ue.useRef)(q);I.current=q;let C=pe=>I.current?.(pe),G=(0,Ue.useRef)(X.current.props),H=(0,Ue.useRef)([]),ge=()=>{let pe=r.current?.closest("[data-block-id],[data-surface-id]");return pe?.dataset.blockId??pe?.dataset.surfaceId},re=!!a&&!n,he=()=>{U.current&&window.clearTimeout(U.current.timeout),U.current=null,R(!1)},Me=()=>{he(),T(!1),requestAnimationFrame(()=>Z.current?.focus())},Ze=()=>{D(!_.current.assistant),M.current=JSON.stringify(_.current.parsed.props),B(JSON.stringify(_.current.parsed.props,null,2)),N(""),T(!0)},Ye=()=>{let pe;try{pe=JSON.parse(S)}catch(Be){N(Be instanceof Error?Be.message:l("invalidJson"));return}if(!ah(pe)){N(l("notJsonObject"));return}try{Pr(pe,"Component instance data",So.componentPropsBytes)}catch(Be){N(Be instanceof Error?Be.message:l("dataTooLarge"));return}if(JSON.stringify(_.current.parsed.props)!==M.current){N(l("dataChanged"));return}he(),N("");let Y=crypto.randomUUID(),Pe=window.setTimeout(()=>{U.current=null,R(!1),N(l("validationTimeout"))},5e3);U.current={id:Y,props:pe,timeout:Pe},R(!0),r.current?.contentWindow?.postMessage({channel:u,type:"showai:validate",requestId:Y,props:pe},"*")},Je=(0,Ue.useMemo)(()=>`<!doctype html><meta http-equiv="Content-Security-Policy" content="${zs}">`+Ns(e.html,`<style>body{color:var(--text)}</style><script>(${eh.toString()})(${bi(u)});<\/script><script>document.documentElement.lang=document.documentElement.dataset.showaiLocale=${bi(d)};(${Yb.toString()})(${bi(u)});(${W2.toString()})(${bi(u)},${bi(f.current)},${bi(Es())});<\/script><script id="showai-component-data" type="application/json">${bi({channel:u,...X.current})}<\/script>`)+`<script>${Q6(u)}(${Dl.toString()})(document);(${Vb.toString()})(${bi(u)});<\/script>`+(z?`<!--retry ${z}-->`:""),[e.html,u,d,z]),wt=()=>{let pe=_.current;H.current.push(pe.parsed.props),H.current.length>64&&H.current.shift(),r.current?.contentWindow?.postMessage({channel:u,type:"showai:props",props:pe.parsed.props,readOnly:!!pe.readOnly||!pe.onChange,context:!!pe.assistant&&!!ge()},"*")};(0,Ue.useEffect)(()=>{let pe=r.current,Y=()=>pe?.contentWindow?.postMessage({channel:u,type:"showai:activity",active:!0},"*");return Y(),pe?.addEventListener("load",Y),()=>{pe?.removeEventListener("load",Y),pe?.contentWindow?.postMessage({channel:u,type:"showai:activity",active:!1},"*")}},[u]),(0,Ue.useEffect)(()=>{let pe=Y=>{if(Y.source!==r.current?.contentWindow||!Y.data||Y.data.channel!==u)return;if(Y.data.type==="showai:ready"){G.current=X.current.props,H.current=[],wt();let J=ge(),Te=J?_.current.assistant?.pendingComponentContext(J):void 0;Te&&r.current?.contentWindow?.postMessage({channel:u,type:"showai:context-restore",snapshot:Te},"*")}if(Y.data.type==="showai:context"){let J=Y.data.snapshot,Te=ge();if(!Te||X2(J))return;_.current.assistant?.componentContext({...J,blockId:Te,componentId:_.current.parsed.componentId,name:e.name});return}if(Y.data.type==="showai:open-url"){let J=new CustomEvent("showai:component-link",{bubbles:!0,cancelable:!0,detail:{url:Y.data.url}});r.current?.dispatchEvent(J)!==!1&&Zb(Y.data.url);return}if(Y.data.type==="showai:open-media"){Kb(Y.data.url);return}Y.data.type==="showai:height"&&typeof Y.data.height=="number"&&Number.isFinite(Y.data.height)&&(b(Math.min(4e3,Math.max(48,Math.ceil(Y.data.height)))),x(Y.data.height));let Pe=th(Y,r.current?.contentWindow,u);if(Pe){k(J=>J??Pe),m(J=>A4(J,Pe)?"":J);return}if(Y.data.type==="showai:error"&&!A4(String(Y.data.message),w.current)&&m(String(Y.data.message||l("cannotDisplay")).slice(0,2e3)),Y.data.type==="showai:valid"&&(m(""),G.current=H.current.shift()??G.current),["showai:viewport-lock-get","showai:viewport-lock-set"].includes(Y.data.type)&&typeof Y.data.scope=="string"&&/^[a-z0-9-]+:\d{1,4}$/.test(Y.data.scope)){let J=Y.data.scope,Te=i7(r.current,J),Se=!0,ye="";try{Y.data.type==="showai:viewport-lock-set"&&typeof Y.data.locked=="boolean"&&s7(Te,Y.data.locked),Se=l7(Te)}catch(me){ye=l("viewportLockFailed",{error:String(me)})}r.current?.contentWindow?.postMessage({channel:u,type:"showai:viewport-lock-state",scope:J,locked:Se,error:ye},"*")}if(Y.data.type==="showai:reading-wheel"&&[Y.data.deltaX,Y.data.deltaY,Y.data.deltaMode].every(Number.isFinite)){let J=r.current,Te=new WheelEvent("wheel",{bubbles:!0,cancelable:!0,deltaX:Y.data.deltaX,deltaY:Y.data.deltaY,deltaMode:Y.data.deltaMode,ctrlKey:Y.data.ctrlKey===!0,metaKey:Y.data.metaKey===!0,shiftKey:Y.data.shiftKey===!0});if(J.dispatchEvent(Te)&&!Te.ctrlKey&&!Te.metaKey){let Se=Te.deltaY*(Te.deltaMode===1?16:Te.deltaMode===2?J.clientHeight:1);for(let ye=J.parentElement;ye&&Se;ye=ye.parentElement){if(!/auto|scroll/.test(getComputedStyle(ye).overflowY))continue;let me=ye.scrollTop;ye.scrollTop+=Se,Se-=ye.scrollTop-me}}}let Be=_.current,zt=U.current;if(Y.data.type==="showai:validation"&&zt&&zt.id===Y.data.requestId)if(he(),Y.data.valid!==!0){let J=String(Y.data.message||"");N(J?n1(J).join(`
35
+ `):l("invalidProps"))}else JSON.stringify(Be.parsed.props)!==M.current?N(l("dataChanged")):!Be.readOnly&&Be.onChange&&(C(Be.parsed.props),Be.onChange({...Be.data,props:zt.props}),Me());if(Y.data.type==="showai:change"&&!Be.readOnly&&Be.onChange&&ah(Y.data.props)){try{Pr(Y.data.props,"Component instance data",So.componentPropsBytes)}catch(J){N(J instanceof Error?J.message:l("dataTooLarge"));return}C(G.current),G.current=Y.data.props,Be.onChange({...Be.data,props:Y.data.props})}};return window.addEventListener("message",pe),()=>{window.removeEventListener("message",pe),U.current&&window.clearTimeout(U.current.timeout)}},[u]);let Xe=()=>{k(null),m(""),x(null),P(pe=>pe+1)},Ae=(0,Ue.useRef)(null);(0,Ue.useEffect)(()=>{if(!v){Ae.current=null;return}Ae.current===null?Ae.current=o.props:Ae.current!==o.props&&Xe()},[v,o.props]),(0,Ue.useEffect)(wt,[o.props,n,re,u,!!F]),(0,Ue.useEffect)(()=>{let pe=()=>r.current?.contentWindow?.postMessage({channel:u,type:"showai:theme",theme:i,tokens:Es()},"*"),Y=r.current;return Y?.addEventListener("load",pe),pe(),()=>Y?.removeEventListener("load",pe)},[i,u]);let K=!!(v||h)&&(p===null||p<=4),xe=p===null&&!v&&!h;return(0,Ot.jsxs)("section",{className:"showai-custom-block","aria-label":e.name,style:{margin:"18px 0"},children:[re&&!j&&(0,Ot.jsx)("button",{ref:Z,type:"button",className:"custom-props-trigger","aria-label":l("editData"),title:l("editData"),onClick:Ze,children:(0,Ot.jsx)(Rr,{size:15})}),re&&j&&(0,Ot.jsxs)("div",{className:"custom-props-editor",onKeyDown:pe=>{pe.key==="Escape"&&(pe.stopPropagation(),Me())},children:[(0,Ot.jsx)("p",{className:"custom-props-note",children:l("noManualEditing")}),F&&(0,Ot.jsxs)("button",{type:"button",className:"custom-props-agent",onClick:pe=>{let Y=ge();if(!Y)return;let Pe=pe.currentTarget.getBoundingClientRect();Me(),F.open({kind:"blocks",blockIds:[Y],anchor:{left:Pe.right,top:Pe.top,bottom:Pe.bottom}})},children:[(0,Ot.jsx)(Ks,{size:14,"aria-hidden":"true"}),l("askAgentToEdit")]}),(0,Ot.jsxs)("details",{className:"custom-props-advanced",open:E,onToggle:pe=>D(pe.currentTarget.open),children:[(0,Ot.jsx)("summary",{children:l("advancedJson")}),(0,Ot.jsx)("label",{htmlFor:`${u}-props`,children:l("data")}),(0,Ot.jsx)("textarea",{id:`${u}-props`,"aria-label":l("propsJson"),value:S,spellCheck:!1,rows:Math.max(5,Math.min(14,S.split(`
36
+ `).length)),autoFocus:!0,onChange:pe=>{B(pe.target.value),N("")},disabled:V}),O&&(0,Ot.jsx)("p",{role:"alert",className:"custom-props-error",children:O})]}),(0,Ot.jsxs)("div",{className:"custom-props-actions",children:[(0,Ot.jsx)("button",{type:"button",onClick:Me,children:s("cancel")}),E&&(0,Ot.jsx)("button",{type:"button",className:"is-primary",disabled:V,onClick:Ye,children:l(V?"validating":"apply")})]})]}),!j&&O&&(0,Ot.jsx)("p",{role:"alert",className:"custom-props-error",children:O}),(v||h)&&(0,Ot.jsx)(al,{state:v?"crashed":"invalid",name:e.name,reference:`${e.id}@${e.version}`,error:v?.message??h,stack:v?.stack,cause:v?.kind==="rejection"?c("status.rejectionCause"):void 0,issues:v?[]:n1(h),data:o.props,readOnly:!re,assistant:re?F:null,onRetry:Xe,attached:!K}),(0,Ot.jsx)(td,{active:xe,overlay:!0,label:c("loading"),minHeight:g}),(0,Ot.jsx)("iframe",{ref:r,title:e.name,srcDoc:Je,sandbox:"allow-scripts allow-forms allow-downloads",referrerPolicy:"no-referrer",onLoad:wt,allow:"camera 'none'; microphone 'none'; geolocation 'none'; clipboard-read 'none'; clipboard-write 'none'",style:{width:"100%",height:g,border:0,display:K?"none":"block",background:"transparent"}})]})}var Fo=ct("pageOutline",{"zh-CN":{entryTitle:"\u663E\u793A\u540D\u79F0",entryTarget:"\u8DF3\u8F6C\u76EE\u6807",group:"\u65B0\u5206\u7EC4",missingTarget:"\u76EE\u6807\u5DF2\u5220\u9664",up:"\u4E0A\u79FB",down:"\u4E0B\u79FB",indent:"\u964D\u4F4E\u5C42\u7EA7",outdent:"\u63D0\u5347\u5C42\u7EA7",removeEntry:"\u79FB\u9664\u6761\u76EE",addEntry:"\u6DFB\u52A0\u76EE\u5F55\u6761\u76EE",title:"\u672C\u9875\u76EE\u5F55",settings:"\u76EE\u5F55\u8BBE\u7F6E",enable:"\u542F\u7528\u672C\u9875\u76EE\u5F55",expand:"\u5C55\u5F00\u76EE\u5F55",collapse:"\u6536\u8D77\u76EE\u5F55",pin:"\u56FA\u5B9A\u76EE\u5F55",unpin:"\u53D6\u6D88\u56FA\u5B9A",close:"\u5173\u95ED",apply:"\u5E94\u7528",renderer:"\u76EE\u5F55\u7EC4\u4EF6",builtin:"\u9605\u8BFB\u7D22\u5F15\uFF08\u5185\u7F6E\uFF09",loading:"\u6B63\u5728\u52A0\u8F7D\u76EE\u5F55\u7EC4\u4EF6\u2026",unavailable:"\u81EA\u5B9A\u4E49\u76EE\u5F55\u7EC4\u4EF6\u672A\u80FD\u52A0\u8F7D\uFF0C\u5DF2\u4F7F\u7528\u9ED8\u8BA4\u76EE\u5F55",empty:"\u6DFB\u52A0\u6B63\u6587\u6807\u9898\u6216\u76EE\u5F55\u6761\u76EE\u540E\u5373\u53EF\u5BFC\u822A\u3002",source:"\u76EE\u5F55\u5185\u5BB9",headings:"\u6B63\u6587\u6807\u9898",manual:"\u624B\u52A8\u76EE\u5F55",depth:"\u6536\u5F55\u6807\u9898\u6DF1\u5EA6",config:"\u7ED3\u6784\u914D\u7F6E\uFF08JSON\uFF09",props:"\u7EC4\u4EF6\u53C2\u6570\uFF08JSON\uFF09",initial:"\u521D\u59CB\u72B6\u6001",auto:"\u81EA\u52A8",expanded:"\u5C55\u5F00",collapsed:"\u6536\u8D77",placement:"\u76EE\u5F55\u4F4D\u7F6E",floating:"\u6D6E\u52A8",docked:"\u56FA\u5B9A\u4FA7\u680F",width:"\u76EE\u5F55\u5BBD\u5EA6\uFF08px\uFF09",missing:"\u6709 {count} \u4E2A\u76EE\u6807\u5DF2\u5931\u6548\uFF0C\u8BF7\u4FEE\u6539\u624B\u52A8\u76EE\u5F55\u3002",remove:"\u79FB\u9664\u76EE\u5F55\u914D\u7F6E",invalidJson:"\u8BF7\u8F93\u5165\u6709\u6548\u7684 JSON\u3002",errorChanged:"\u9875\u9762\u76EE\u5F55\u5DF2\u88AB\u4FEE\u6539\uFF0C\u8BF7\u91CD\u65B0\u6253\u5F00\u8BBE\u7F6E\u3002",rendererChanged:"\u8BF7\u5148\u5E94\u7528\u5F53\u524D\u7EC4\u4EF6\u9009\u62E9\uFF0C\u518D\u4FEE\u6539\u7EC4\u4EF6\u53C2\u6570\u3002",manualHint:"\u6761\u76EE\u4F7F\u7528 id\u3001title\u3001nodeId\u3001children\uFF1B\u5206\u7EC4\u53EF\u7701\u7565 nodeId\u3002",headingsHint:"\u4EE5\u6807\u9898\u8282\u70B9 ID \u4E3A\u952E\u8BBE\u7F6E title \u6216 hidden\u3002",sourceCode:"\u76EE\u5F55\u7EC4\u4EF6\u53EF\u5728\u7EC4\u4EF6\u5E93\u7684\u201C\u9875\u9762\u76EE\u5F55\u201D\u5206\u7C7B\u4E2D\u7F16\u8F91\u3002",rendererError:"\u76EE\u5F55\u7EC4\u4EF6\uFF1A{error}",errorMissingTarget:"\u76EE\u6807\u4E0D\u5B58\u5728\u6216\u4E0D\u5C5E\u4E8E\u5F53\u524D\u9875\u9762\u3002"},en:{entryTitle:"Display title",entryTarget:"Navigation target",group:"New group",missingTarget:"Target removed",up:"Move up",down:"Move down",indent:"Indent",outdent:"Outdent",removeEntry:"Remove entry",addEntry:"Add outline entry",title:"On this page",settings:"Outline settings",enable:"Enable page outline",expand:"Expand outline",collapse:"Collapse outline",pin:"Pin outline",unpin:"Unpin outline",close:"Close",apply:"Apply",renderer:"Outline component",builtin:"Reading index (built in)",loading:"Loading outline component\u2026",unavailable:"The custom outline component didn't load. Showing the default outline.",empty:"Add headings or outline entries to start navigating.",source:"Outline content",headings:"Page headings",manual:"Manual outline",depth:"Heading depth",config:"Structure configuration (JSON)",props:"Component parameters (JSON)",initial:"Initial state",auto:"Automatic",expanded:"Expanded",collapsed:"Collapsed",placement:"Placement",floating:"Floating",docked:"Docked sidebar",width:"Outline width (px)",missing:"{count} targets are unavailable. Update the manual outline.",remove:"Remove outline configuration",invalidJson:"Enter valid JSON.",errorChanged:"The outline has changed. Reopen settings.",rendererChanged:"Apply the component selection before editing its parameters.",manualHint:"Entries use id, title, nodeId and children. Groups may omit nodeId.",headingsHint:"Use heading node IDs as keys with title or hidden overrides.",sourceCode:"Edit outline components in the \u201CPage outlines\u201D category of the component library.",rendererError:"Outline component: {error}",errorMissingTarget:"Target is missing or outside this page."}});var no=W(De(),1);var i1=W(de(),1),r1=e=>JSON.stringify(e).replace(/</g,"\\u003c").replace(/\u2028/g,"\\u2028").replace(/\u2029/g,"\\u2029");function ih({component:e,contract:t,onError:a}){let n=nh();return(0,i1.jsx)(R4,{onError:a,children:n?(0,i1.jsx)($2,{component:e,data:t.props,outline:t,host:n,onError:a}):(0,i1.jsx)(nC,{component:e,contract:t,onError:a})})}var R4=class extends no.Component{state={failed:!1};static getDerivedStateFromError(){return{failed:!0}}componentDidCatch(t){this.props.onError(String(t?.message??t??"Outline renderer failed.").slice(0,500))}render(){return this.state.failed?null:this.props.children}};function nC({component:e,contract:t,onError:a}){let n=(0,no.useRef)(null),[o]=(0,no.useState)(()=>crypto.randomUUID()),r=(0,no.useRef)({contract:t,onError:a});r.current={contract:t,onError:a};let i=(0,no.useMemo)(()=>`<!doctype html><meta http-equiv="Content-Security-Policy" content="${zs}">`+Ns(e.html,`<script>(${W2.toString()})(${r1(o)},${r1(t.outline.theme)},${r1(Es())});window.addEventListener('keydown',event=>{if(event.key==='Escape'){event.preventDefault();parent.postMessage({channel:${r1(o)},type:'showai:outline-action',action:'collapse'},'*');}},true);<\/script><script id="showai-component-data" type="application/json">${r1({channel:o,props:t.props,readOnly:!0,outline:t.outline})}<\/script>`),[e.html,o]),l=()=>{let s=r.current.contract;n.current?.contentWindow?.postMessage({channel:o,type:"showai:props",props:s.props,readOnly:!0},"*"),n.current?.contentWindow?.postMessage({channel:o,type:"showai:outline",outline:s.outline},"*"),n.current?.contentWindow?.postMessage({channel:o,type:"showai:theme",theme:s.outline.theme,tokens:Es()},"*")};return(0,no.useEffect)(()=>{let s=window.setTimeout(()=>r.current.onError("Outline component did not become ready."),8e3),c=d=>{if(d.source!==n.current?.contentWindow||d.data?.channel!==o)return;let f=d.data,u=r.current.contract;f.type==="showai:ready"&&(clearTimeout(s),l()),f.type==="showai:error"&&r.current.onError(String(f.message).slice(0,500)),f.type==="showai:outline-action"&&(f.action==="collapse"&&u.collapse(),f.action==="navigate"&&typeof f.itemId=="string"&&u.navigate(f.itemId),f.action==="branch"&&typeof f.itemId=="string"&&typeof f.expanded=="boolean"&&u.setBranchExpanded(f.itemId,f.expanded))};return window.addEventListener("message",c),()=>{clearTimeout(s),window.removeEventListener("message",c)}},[o]),(0,no.useEffect)(l,[t,o]),(0,i1.jsx)("iframe",{ref:n,className:"page-outline-frame",title:e.name,sandbox:"allow-scripts",srcDoc:i,onLoad:l})}rt(`.page-outline-shell{position:relative;height:100%;min-height:0}.page-outline-shell[data-outline-docked=true]>.container-page{width:calc(100% - var(--page-outline-width) - 24px)}.page-outline-panel{position:absolute;inset:var(--page-outline-top, 16px) 12px 16px auto;z-index:35;display:flex;flex-direction:column;max-width:calc(100% - 24px);border-radius:9px;background:var(--paper, var(--bg));color:var(--text);overflow:hidden}.page-outline-panel[hidden],.page-outline-rail[hidden]{display:none}.page-outline-panel[data-placement=floating],.page-outline-panel[data-placement=drawer]{border:1px solid var(--line);box-shadow:0 8px 32px #00000020}.page-outline-panel[data-placement=docked]{border-left:1px solid var(--line);border-radius:0}.page-outline-panel>header{display:flex;align-items:center;gap:3px;flex-shrink:0;padding:9px 8px 12px}.page-outline-panel>header strong{flex:1;min-width:0;font-size:12px;font-weight:600}.page-outline-panel>header button{background:transparent;border:0;border-radius:5px;padding:6px;color:var(--muted);display:flex;cursor:pointer}.page-outline-panel>header button:hover{background:var(--hover);color:var(--text)}.page-outline-panel>header button[aria-pressed=true]{color:var(--accent);background:var(--hover)}.page-outline-content{flex:1;min-height:0;overflow:auto;padding:0 10px 14px;scrollbar-width:thin}.page-outline-content ol{list-style:none;margin:0;padding:0}.page-outline-content ol ol{margin-left:15px}.page-outline-row{display:flex;align-items:baseline;gap:3px}.page-outline-item{text-align:left;min-width:0;overflow-wrap:anywhere;flex:1;padding:7px 6px;font-size:12px!important;line-height:1.6;border:0;background:transparent;color:var(--muted);border-radius:5px;cursor:pointer}.page-outline-item:hover{background:var(--hover);color:var(--text)}.page-outline-item[aria-current=location]{color:var(--accent);background:var(--hover);font-weight:600}.page-outline-branch{padding:6px 0;flex-shrink:0;border:0;background:transparent;color:var(--muted);cursor:pointer}.page-outline-branch[aria-expanded=true] svg{transform:rotate(90deg)}.page-outline-rail{position:absolute;right:12px;top:var(--page-outline-top, 20px);z-index:35;display:flex;flex-direction:column;align-items:center;gap:9px;border:1px solid var(--line);background:var(--paper, var(--bg));color:var(--muted);padding:10px 8px;border-radius:8px;cursor:pointer}.page-outline-rail span{writing-mode:vertical-rl;font-size:11px;letter-spacing:2px}.page-outline-backdrop{position:absolute;inset:0;z-index:34;border:0;padding:0;background:#00000020}.page-outline-frame{display:block;width:100%;height:100%;min-height:150px;border:0;background:transparent}.page-outline-content:has(>.page-outline-frame){overflow:hidden;padding:0}.page-outline-empty,.page-outline-error{font-size:12px;color:var(--muted);padding:8px;line-height:1.7;overflow-wrap:anywhere}.page-outline-error span{display:block}.page-outline-settings{max-width:560px}.page-outline-settings-body{padding:4px 22px 22px;overflow:auto}.page-outline-settings-body label{display:flex;flex-direction:column;gap:7px;font-size:12px;margin:14px 0}.page-outline-settings-body label.page-outline-enable{flex-direction:row;align-items:center;font-size:14px}.page-outline-fields{display:grid;grid-template-columns:1fr 1fr;gap:15px}.page-outline-settings-body select,.page-outline-settings-body input[type=number],.page-outline-settings-body textarea{width:100%;padding:8px;border:1px solid var(--line);border-radius:6px;background:var(--paper, var(--bg));color:var(--text);font:inherit}.page-outline-settings-body textarea{resize:vertical;font-family:var(--font-mono, monospace)}.page-outline-settings-body details{font-size:12px;margin-top:12px}.page-outline-hint{font-size:12px;color:var(--muted);line-height:1.7;margin:8px 0}.page-outline-settings-body footer{display:flex;justify-content:flex-end;gap:10px;margin-top:18px}.page-outline-settings-body footer button{border:1px solid var(--line);background:var(--paper, var(--bg));color:var(--text);border-radius:6px;padding:8px 12px;cursor:pointer}.page-outline-settings-body footer .page-outline-apply{background:var(--accent);color:var(--paper, var(--bg))}@media(pointer:coarse){.page-outline-panel>header button,.page-outline-branch,.page-outline-item{min-height:44px}.page-outline-branch{min-width:28px}}@media print{.page-outline-rail,.page-outline-backdrop,.page-outline-panel{display:none!important}.page-outline-shell,.page-outline-shell>.container-page{display:contents}}.portable-app>.container-workspace>.container-main>.page-outline-shell{--page-outline-top: 68px}.outline-manual-editor ol{list-style:none;margin:0;padding:0}.outline-manual-editor ol ol{margin-left:18px;border-left:1px solid var(--line);padding-left:9px}.outline-manual-row{display:grid;grid-template-columns:1fr 1fr;gap:6px;margin:8px 0}.outline-manual-row input{min-width:0;width:100%;padding:7px;background:var(--paper);border:1px solid var(--line);border-radius:5px;color:var(--text);font:inherit}.outline-manual-row select{min-width:0}.outline-manual-actions{display:flex;grid-column:1/-1;justify-content:flex-end}.outline-manual-actions button,.outline-manual-add{display:inline-flex;gap:6px;align-items:center;border:0;background:transparent;color:var(--muted);padding:6px;cursor:pointer}.outline-manual-actions button:hover,.outline-manual-add:hover{background:var(--hover)}.outline-manual-actions button:disabled{opacity:.35;cursor:default}.page-outline-print{display:none}@media print{.page-outline-print{display:block;margin:20px 0 30px;break-inside:avoid}.page-outline-print ol{list-style:decimal;margin-left:20px;padding-left:10px}}.page-outline-content[data-custom=true]{padding:0;overflow:hidden}.page-outline-content[data-custom=true]>section{height:100%;margin:0!important;overflow:auto}.outline-manual-editor{max-height:360px;overflow:auto;margin:12px 0}
37
+ `);var it=W(de(),1);function oC({outline:e,navigate:t,setBranchExpanded:a}){let n=le(Fo),o=new Set(e.expandedItemIds),r=i=>(0,it.jsx)("ol",{children:i.map(l=>(0,it.jsxs)("li",{children:[(0,it.jsxs)("div",{className:"page-outline-row",children:[l.children.length>0&&(0,it.jsx)("button",{type:"button",className:"page-outline-branch","aria-expanded":o.has(l.id),"aria-label":`${o.has(l.id)?n("collapse"):n("expand")} ${l.title}`,onClick:()=>a(l.id,!o.has(l.id)),children:(0,it.jsx)(_n,{size:12})}),l.navigable?(0,it.jsx)("button",{type:"button",className:"page-outline-item","aria-current":e.activeItemId===l.id?"location":void 0,onClick:()=>t(l.id),children:l.title}):(0,it.jsx)("span",{className:"page-outline-item",children:l.title})]}),l.children.length>0&&o.has(l.id)&&r(l.children)]},l.id))});return e.items.length?(0,it.jsx)("nav",{"aria-label":n("title"),children:r(e.items)}):(0,it.jsx)("p",{className:"page-outline-empty",children:n("empty")})}function lh(e){let t=e.page.attrs?.outline;return t?.enabled?(0,it.jsx)(rC,{...e,config:t},e.page.attrs.id):null}function rC({page:e,documentId:t,scroll:a,shell:n,view:o,onSettings:r,config:i}){let l=le(Fo),s=q2(),c=zl(),d=Ms(),f=(0,qt.useMemo)(()=>wl(e,i),[e,i]),u=(0,qt.useMemo)(()=>l6(f.items),[f]),[,g]=(0,qt.useState)(0),[b,p]=(0,qt.useState)("floating"),[x,h]=(0,qt.useState)({width:i.width,height:400}),[m,v]=(0,qt.useState)(null),k=JSON.stringify(i.renderer??null),[w,z]=(0,qt.useState)(null),P=w?.key===k?w.message:"",j=(0,qt.useCallback)(_=>z({key:k,message:_}),[k]),T=(0,qt.useRef)(null),S=(0,qt.useRef)(null),B=i.initialState==="auto"?void 0:i.initialState==="expanded",O=o.pinned??i.placement==="docked",N=o.expanded??B??(b==="margin"||b==="docked"),V=(0,qt.useRef)({placement:b,expanded:N});V.current={placement:b,expanded:N};let R=(0,qt.useCallback)(()=>g(_=>_+1),[]),E=(0,qt.useCallback)(()=>{o.expanded=!1,R(),requestAnimationFrame(()=>T.current?.focus())},[o,R]);(0,qt.useEffect)(()=>{let _=n.current,X=a.current;if(!_||!X)return;let q=X.querySelector(":scope > .container-page-column"),I=()=>{let G=_.getBoundingClientRect();if(!G.width)return;let H=q?.getBoundingClientRect(),ge=Math.min(i.width,Math.max(180,G.width-24)),re=s6({width:G.width,gutter:H?G.right-H.right:0,panelWidth:ge,widthMode:e.attrs?.widthMode??"standard",preferred:o.pinned===!1&&i.placement==="docked"?"auto":i.placement,pinned:o.pinned,previous:V.current.placement});V.current.placement!==re&&V.current.expanded&&o.expanded===void 0&&(o.expanded=!0);let he=Math.max(100,G.height-(Number.parseFloat(getComputedStyle(_).getPropertyValue("--page-outline-top"))||16)-16);p(re),h(Me=>Me.width===ge&&Me.height===he?Me:{width:ge,height:he})};I();let C=new ResizeObserver(I);return C.observe(_),C.observe(X),q&&C.observe(q),()=>C.disconnect()},[i.width,i.placement,e.attrs?.widthMode,o.pinned,n,a]),(0,qt.useEffect)(()=>{let _=n.current;if(!_)return;_.dataset.outlineDocked=String(N&&b==="docked"),_.style.setProperty("--page-outline-width",`${x.width}px`);let X=a.current;return X&&(X.inert=N&&b==="drawer"),()=>{delete _.dataset.outlineDocked,_.style.removeProperty("--page-outline-width"),X&&(X.inert=!1)}},[N,b,x.width,n,a]);let D=(0,qt.useCallback)(_=>{let X=a.current;return[...X?.querySelectorAll(`[data-block-id="${CSS.escape(_)}"],[data-surface-id="${CSS.escape(_)}"]`)??[]].find(q=>q.closest(".container-page")===X)},[a]),M=(0,qt.useCallback)(_=>{let X=f.targets.get(_);if(!X)return;let q=D(X),I=a.current;if(!(!q||!I)){for(let C=q.parentElement;C&&C!==I;C=C.parentElement)C instanceof HTMLDetailsElement&&(C.open=!0);I.scrollTo({top:I.scrollTop+q.getBoundingClientRect().top-I.getBoundingClientRect().top-24,behavior:matchMedia("(prefers-reduced-motion: reduce)").matches?"instant":"smooth"}),v(_),b==="drawer"&&E()}},[f,D,a,b,E]);(0,qt.useEffect)(()=>{let _=a.current;if(!_)return;let X=0,q=()=>{cancelAnimationFrame(X),X=requestAnimationFrame(()=>{let G=_.getBoundingClientRect().top+72,H=null;for(let ge of u){let re=f.targets.get(ge.id),he=re?D(re):void 0;he&&he.getClientRects().length&&he.getBoundingClientRect().top<=G&&(H=ge.id)}v(H)})};q(),_.addEventListener("scroll",q,{passive:!0});let I=new ResizeObserver(q);I.observe(_);let C=_.firstElementChild;return C&&I.observe(C),()=>{cancelAnimationFrame(X),_.removeEventListener("scroll",q),I.disconnect()}},[f,u,D,a]),(0,qt.useEffect)(()=>{if(!N)return;let _=I=>{I.key==="Escape"&&(I.stopPropagation(),E())},X=I=>{b==="floating"&&I.target instanceof Node&&n.current?.contains(I.target)&&!S.current?.contains(I.target)&&!T.current?.contains(I.target)&&E()},q=I=>{b==="drawer"&&I.target instanceof Node&&!S.current?.contains(I.target)&&!(I.target instanceof Element&&I.target.closest(".studio-modal-shade"))&&S.current?.querySelector("button")?.focus()};return n.current?.addEventListener("keydown",_),window.addEventListener("pointerdown",X),document.addEventListener("focusin",q),()=>{n.current?.removeEventListener("keydown",_),window.removeEventListener("pointerdown",X),document.removeEventListener("focusin",q)}},[N,b,E,n]);let Z=i.renderer?d.find(_=>_.id===i.renderer.componentId&&_.version===i.renderer.version&&_.integrity===i.renderer.integrity&&_.role==="page-outline"&&_.pageOutlineProtocol===1):void 0,U={props:i.renderer?.props??{},outline:{protocol:1,pageId:e.attrs.id,items:f.items,activeItemId:m,expandedItemIds:o.branches??u.filter(_=>_.children.length).map(_=>_.id),container:{placement:b,width:x.width,height:Math.max(80,x.height-52)},theme:s,locale:c},navigate:M,setBranchExpanded:(_,X)=>{if(!u.some(I=>I.id===_&&I.children.length))return;let q=new Set(o.branches??u.filter(I=>I.children.length).map(I=>I.id));X?q.add(_):q.delete(_),o.branches=[...q],R()},collapse:E},F=()=>{o.expanded=!0,R(),requestAnimationFrame(()=>S.current?.querySelector("button")?.focus())};return(0,it.jsxs)(it.Fragment,{children:[N&&b==="drawer"&&(0,it.jsx)("button",{type:"button",className:"page-outline-backdrop","aria-label":l("collapse"),onClick:E}),(0,it.jsxs)("button",{ref:T,type:"button",className:"page-outline-rail","data-surface-ui":!0,"aria-label":l(N?"collapse":"expand"),"aria-expanded":N,onClick:N?E:F,hidden:N,children:[(0,it.jsx)(C5,{size:16}),(0,it.jsx)("span",{children:l("title")})]}),(0,it.jsxs)("aside",{ref:S,className:"page-outline-panel","data-placement":b,"data-outline-page":e.attrs.id,"data-resource-id":t,hidden:!N,"data-surface-ui":!0,role:b==="drawer"?"dialog":void 0,"aria-modal":b==="drawer"?!0:void 0,"aria-label":l("title"),style:{width:x.width},children:[(0,it.jsxs)("header",{children:[(0,it.jsx)("strong",{children:l("title")}),r&&(0,it.jsx)("button",{type:"button","aria-label":l("settings"),onClick:r,children:(0,it.jsx)(Rr,{size:14})}),b!=="drawer"&&(0,it.jsx)("button",{type:"button","aria-label":l(O?"unpin":"pin"),"aria-pressed":O,onClick:()=>{o.pinned=!O,o.expanded=!0,R()},children:O?(0,it.jsx)(A5,{size:14}):(0,it.jsx)(I5,{size:14})}),(0,it.jsx)("button",{type:"button","aria-label":l("collapse"),onClick:E,children:(0,it.jsx)(Xa,{size:14})})]}),(0,it.jsxs)("div",{className:"page-outline-content","data-custom":Z&&!P?!0:void 0,children:[i.renderer&&(!Z||P)&&(0,it.jsx)("p",{className:"page-outline-error",role:"status",title:P||void 0,children:l("unavailable")}),Z&&!P?(0,it.jsx)(ih,{component:Z,contract:U,onError:j},Z.integrity):(0,it.jsx)(oC,{...U})]})]})]})}function sh({page:e}){let t=le(Fo);if(!e.attrs?.outline?.enabled||e.attrs.kind!=="page")return null;let a=wl(e),n=o=>(0,it.jsx)("ol",{children:o.map(r=>(0,it.jsxs)("li",{children:[a.targets.has(r.id)?(0,it.jsx)("a",{href:`#${a.targets.get(r.id)}`,children:r.title}):r.title,r.children.length>0&&n(r.children)]},r.id))});return(0,it.jsxs)("nav",{className:"page-outline-print","aria-label":t("title"),children:[(0,it.jsx)("h2",{children:t("title")}),n(a.items)]})}var qa=W(de(),1);function ch({page:e,entries:t,onChange:a}){let n=le(Fo),o=s=>s.text??s.content?.map(o).join("")??s.attrs?.name??s.type??"",r=[...r6(e)].filter(([,s])=>s.type!=="text").map(([s,c])=>({id:s,label:(o(c)||c.attrs?.name||c.type).slice(0,100)})),i=(s,c)=>{let d=structuredClone(t),f=(u,g)=>{let b=u.findIndex(p=>p.id===s);if(b>=0){if(typeof c=="object")Object.assign(u[b],c);else if(c==="remove")u.splice(b,1);else if(c==="up"&&b>0)[u[b-1],u[b]]=[u[b],u[b-1]];else if(c==="down"&&b<u.length-1)[u[b+1],u[b]]=[u[b],u[b+1]];else if(c==="indent"&&b>0){let p=u.splice(b,1)[0];(u[b-1].children??=[]).push(p)}else c==="outdent"&&g&&g.siblings.splice(g.index+1,0,u.splice(b,1)[0]);return!0}return u.some((p,x)=>p.children&&f(p.children,{siblings:u,index:x}))};f(d),a(d)},l=(s,c=0)=>(0,qa.jsx)("ol",{children:s.map((d,f)=>(0,qa.jsxs)("li",{children:[(0,qa.jsxs)("div",{className:"outline-manual-row",children:[(0,qa.jsx)("input",{"aria-label":n("entryTitle"),value:d.title??"",placeholder:r.find(u=>u.id===d.nodeId)?.label??n("group"),onChange:u=>i(d.id,{title:u.target.value||void 0})}),(0,qa.jsxs)("select",{"aria-label":n("entryTarget"),value:d.nodeId??"",onChange:u=>i(d.id,{nodeId:u.target.value||void 0,...!u.target.value&&!d.title?{title:n("group")}:{}}),children:[(0,qa.jsx)("option",{value:"",children:n("group")}),d.nodeId&&!r.some(u=>u.id===d.nodeId)&&(0,qa.jsx)("option",{value:d.nodeId,children:n("missingTarget")}),r.map(u=>(0,qa.jsx)("option",{value:u.id,children:u.label},u.id))]}),(0,qa.jsx)("div",{className:"outline-manual-actions",children:[["up",Dr,f===0],["down",ml,f===s.length-1],["indent",_n,f===0||c>=23],["outdent",Mr,c===0],["remove",ia,!1]].map(([u,g,b])=>(0,qa.jsx)("button",{type:"button","aria-label":n(u==="remove"?"removeEntry":u),disabled:b,onClick:()=>i(d.id,u),children:(0,qa.jsx)(g,{size:13})},u))})]}),d.children?.length?l(d.children,c+1):null]},d.id))});return(0,qa.jsxs)("div",{className:"outline-manual-editor",children:[l(t),(0,qa.jsxs)("button",{type:"button",className:"outline-manual-add",onClick:()=>a([...t,{id:crypto.randomUUID(),title:n("group")}]),children:[(0,qa.jsx)(jt,{size:14}),n("addEntry")]})]})}var an=W(De(),1);var s1=W(De(),1);var l1=ct("studio",{"zh-CN":{"scope.builtin":"\u5185\u7F6E","scope.global":"\u5168\u5C40","scope.published":"\u5DF2\u53D1\u5E03","scope.project":"\u9879\u76EE",selectPages:"\u9009\u62E9",selectPage:"\u9009\u62E9\u300C{title}\u300D",selectedPages:"\u5DF2\u9009 {count} \u9879",selectAllPages:"\u5168\u9009",finishPageSelection:"\u5B8C\u6210\u9009\u62E9",pageSelectionActions:"\u6279\u91CF\u64CD\u4F5C",movePages:"\u79FB\u52A8\u6240\u9009\u9879",deletePages:"\u5220\u9664\u6240\u9009\u9879",deletePagesConfirm:"\u5220\u9664\u9009\u4E2D\u7684 {count} \u9879\uFF1F",deleteFoldersNote:"\u5176\u4E2D {count} \u4E2A\u6587\u4EF6\u5939\u4F1A\u8FDE\u540C\u91CC\u9762\u7684\u5185\u5BB9\u4E00\u8D77\u5220\u9664\u3002",movePagesDescription:"\u5C06\u9009\u4E2D\u7684 {count} \u9879\u79FB\u52A8\u5230\uFF1A",moveFoldersNote:"\u5305\u542B\u6587\u4EF6\u5939\u65F6\u53EA\u80FD\u79FB\u52A8\u5230\u5F53\u524D\u9879\u76EE\u5185\u3002",targetProject:"\u76EE\u6807\u9879\u76EE",targetFolder:"\u76EE\u6807\u6587\u4EF6\u5939",projectRoot:"\u9879\u76EE\u6839\u76EE\u5F55",pagesMoved:"\u5DF2\u79FB\u52A8 {count} \u9879",pagesDeleted:"\u5DF2\u5220\u9664 {count} \u9879",batchPageFailed:"\u5DF2\u5B8C\u6210 {completed} \u9879\uFF0C\u5269\u4F59 {remaining} \u9879\u672A\u5B8C\u6210\uFF1A{error}",folderMissing:"\u8FD9\u4E2A\u6587\u4EF6\u5939\u5DF2\u4E0D\u5B58\u5728\u3002",directoryView:"\u89C6\u56FE",libraryUndo:"\u64A4\u9500\u76EE\u5F55\u79FB\u52A8",libraryRedo:"\u91CD\u505A\u76EE\u5F55\u79FB\u52A8","view.list":"\u5217\u8868","view.small":"\u7F29\u7565\u56FE\uFF08\u5C0F\uFF09","view.medium":"\u7F29\u7565\u56FE\uFF08\u4E2D\uFF09","view.large":"\u7F29\u7565\u56FE\uFF08\u5927\uFF09",pageImported:"\u9875\u9762\u5DF2\u5BFC\u5165",pageExported:"\u9875\u9762\u5DF2\u5BFC\u51FA",siteExportedRemote:"\u7F51\u7AD9\u5DF2\u5BFC\u51FA\uFF0C\u7EC4\u4EF6\u6309\u56FA\u5B9A\u53D1\u5E03\u7248\u672C\u8054\u7F51\u52A0\u8F7D",siteExportedBundled:"\u7F51\u7AD9\u5DF2\u5BFC\u51FA\uFF0C\u53EF\u90E8\u7F72\u5230\u9759\u6001\u6258\u7BA1","create.folder":"\u6587\u4EF6\u5939","create.page":"\u9875\u9762","create.board":"\u767D\u677F","create.fromTemplate":"\u4ECE\u6A21\u677F\u65B0\u5EFA\u2026","create.import":"\u5BFC\u5165\u6587\u4EF6\u2026",pagesImported:"\u5DF2\u5BFC\u5165 {count} \u4E2A\u9875\u9762",dropImport:"\u677E\u5F00\u4EE5\u5BFC\u5165\u5230\u300C{title}\u300D",dropImportUnsupported:"\u672A\u5BFC\u5165 {names}\uFF1A\u53EA\u80FD\u5BFC\u5165 20 MB \u4EE5\u5185\u7684 ShowAI \u9875\u9762\uFF08.json\u3001.html\uFF09\u3001Markdown\uFF08.md\uFF09\u6216\u6587\u672C\uFF08.txt\uFF09\u6587\u4EF6\u3002","sort.name":"\u6309\u540D\u79F0\u6392\u5E8F","sort.createdAt":"\u6309\u521B\u5EFA\u65E5\u671F\u6392\u5E8F","sort.updatedAt":"\u6309\u7F16\u8F91\u65E5\u671F\u6392\u5E8F","sort.manual":"\u624B\u52A8\u987A\u5E8F",moved:"\u5DF2\u8C03\u6574\u4F4D\u7F6E",moveProjectUp:"\u9879\u76EE\u4E0A\u79FB",moveProjectDown:"\u9879\u76EE\u4E0B\u79FB",deleted:"\u5DF2\u5220\u9664",openPageFirst:"\u5148\u6253\u5F00\u4E00\u4E2A\u9875\u9762\uFF0C\u518D\u63D2\u5165\u7EC4\u4EF6","heading.recent":"\u6700\u8FD1","heading.project":"\u9879\u76EE","heading.templates":"\u6A21\u677F","heading.components":"\u7EC4\u4EF6","heading.settings":"\u8BBE\u7F6E",resolveDraftFirst:"\u8BF7\u5148\u4FDD\u5B58\u6216\u5904\u7406\u5F53\u524D\u9875\u9762\u7684\u8349\u7A3F\u3002",noComponentVersion:"\u8FD9\u4E2A\u7ED3\u679C\u6CA1\u6709\u53EF\u6253\u5F00\u7684\u7EC4\u4EF6\u7248\u672C\u3002",noTemplateVersion:"\u8FD9\u4E2A\u7ED3\u679C\u6CA1\u6709\u53EF\u6253\u5F00\u7684\u6A21\u677F\u7248\u672C\u3002",backToRecent:"\u8FD4\u56DE\u6700\u8FD1",updatingProjects:"\u6B63\u5728\u66F4\u65B0\u9879\u76EE\u5217\u8868\u2026",pageTitle:"\u9875\u9762\u6807\u9898",componentSource:"\u7EC4\u4EF6\u6765\u6E90","filter.all":"\u5168\u90E8","filter.builtin":"\u5185\u7F6E","filter.custom":"\u81EA\u5B9A\u4E49",addContent:"\u6DFB\u52A0\u5185\u5BB9",addContentHint:"\u6DFB\u52A0\u6587\u4EF6\u5939\u3001\u9875\u9762\u6216\u767D\u677F",catalogProjectLabel:"\u9879\u76EE",catalogProject:"\u76EE\u5F55\u9879\u76EE",chooseProject:"\u9009\u62E9\u9879\u76EE",catalogScopeLabel:"\u8303\u56F4",catalogScope:"\u76EE\u5F55\u8303\u56F4",showAllVersions:"\u663E\u793A\u6240\u6709\u7248\u672C",searchComponents:"\u641C\u7D22\u7EC4\u4EF6",searchTemplates:"\u641C\u7D22\u6A21\u677F",viewExternalChanges:"\u67E5\u770B\u5916\u90E8\u6587\u4EF6\u4FEE\u6539",searchRecentPages:"\u641C\u7D22\u6700\u8FD1\u9875\u9762",searchPages:"\u641C\u7D22\u9875\u9762",searchLibrary:"\u641C\u7D22\u5185\u5BB9\u5E93",searchScope:"\u641C\u7D22\u8303\u56F4","searchScope.recent":"\u6700\u8FD1\u9875\u9762","searchScope.project":"\u5F53\u524D\u9879\u76EE\u9875\u9762","searchScope.library":"\u6574\u4E2A\u5185\u5BB9\u5E93",newProject:"\u65B0\u5EFA\u9879\u76EE",revealProjectFolder:"\u6253\u5F00\u9879\u76EE\u76EE\u5F55",exportSite:"\u5BFC\u51FA\u7F51\u7AD9",folderActions:"\u5F53\u524D\u76EE\u5F55\u64CD\u4F5C",componentProjectLabel:"\u9879\u76EE\uFF1A",allProjects:"\u5168\u90E8\u9879\u76EE",revealPageFile:"\u663E\u793A\u9875\u9762\u6587\u4EF6",retireIssueTitle:"\u5173\u95ED\u300C{title}\u300D\u65F6\u58A8\u8FF9\u6216\u4FEE\u6539\u5386\u53F2\u6CA1\u6709\u5199\u5165",retireIssueBody:"\u91CD\u65B0\u6253\u5F00\u8FD9\u4E00\u9875\uFF0C\u53EF\u4EE5\u67E5\u770B\u662F\u5426\u6709\u4FDD\u7559\u7684\u672C\u673A\u8349\u7A3F\u5E76\u6062\u590D\u3002\u539F\u56E0\uFF1A{error}",openPageAgain:"\u91CD\u65B0\u6253\u5F00\u9875\u9762",unreadableProject:"\u65E0\u6CD5\u8BFB\u53D6\u7684\u9879\u76EE \xB7 {name}",unreadableProjectCause:"\u8FD9\u4E2A\u9879\u76EE\u7684\u4FE1\u606F\u6587\u4EF6\u635F\u574F\u6216\u65E0\u6CD5\u8BBF\u95EE\uFF0C\u5176\u4ED6\u9879\u76EE\u4E0D\u53D7\u5F71\u54CD\u3002\u4FEE\u590D\u6216\u79FB\u8D70\u8FD9\u4E2A\u6587\u4EF6\u5939\u540E\u4F1A\u81EA\u52A8\u6062\u590D\u3002",readProject:"\u8BFB\u53D6\u9879\u76EE",exportPage:"\u5BFC\u51FA\u9875\u9762",pageActions:"\u9875\u9762\u64CD\u4F5C",dismissError:"\u5173\u95ED\u9519\u8BEF\u63D0\u793A",backgroundSaveIssue:"\u5176\u4ED6\u9875\u9762\u7684\u540E\u53F0\u4FDD\u5B58\u9700\u8981\u5904\u7406\uFF0C\u8349\u7A3F\u5DF2\u4FDD\u7559\u3002",viewIssue:"\u67E5\u770B \xB7 {title}",retainedSyncConflict:"\u8DE8\u8BBE\u5907\u4FEE\u6539\u672A\u80FD\u5408\u5E76\uFF0C\u4E24\u4EFD\u5185\u5BB9\u53CA\u6765\u6E90\u8BB0\u5F55\u5747\u5DF2\u4FDD\u7559\u3002",viewOtherVariant:"\u67E5\u770B\u53E6\u4E00\u4EFD \xB7 {account} \xB7 \u8BBE\u5907 {device}",saveConflictTitle:"\u4FDD\u5B58\u5931\u8D25\uFF1A\u6587\u4EF6\u6709\u65B0\u7684\u4FEE\u6539",saveProblemTitle:"\u4FDD\u5B58\u9047\u5230\u95EE\u9898",draftKeptAsCopy:"\u8349\u7A3F\u5DF2\u4FDD\u7559\u4E3A\u526F\u672C",keepAsCopy:"\u4FDD\u7559\u4E3A\u526F\u672C",saveAgain:"\u91CD\u65B0\u4FDD\u5B58",resolveExternal:"\u6BD4\u8F83\u5E76\u5904\u7406\u4FEE\u6539",compareAndMerge:"\u6BD4\u8F83\u5E76\u5408\u5E76",discardAndLoad:"\u653E\u5F03\u4F60\u7684\u4FEE\u6539\uFF0C\u91C7\u7528\u53E6\u4E00\u5904\u7684\u4FEE\u6539",retrySave:"\u91CD\u8BD5\u4FDD\u5B58",draftsAvailable:"\u6709\u5176\u4ED6\u7F16\u8F91\u7A97\u53E3\u7559\u4E0B\u7684\u672C\u673A\u8349\u7A3F\uFF0C\u53EF\u9009\u62E9\u6062\u590D\u3002",restoreDraft:"\u6062\u590D\u8349\u7A3F \xB7 {time}",librarySwitched:"\u5185\u5BB9\u5E93\u5DF2\u5207\u6362",libraryPathCopied:"\u5185\u5BB9\u5E93\u8DEF\u5F84\u5DF2\u590D\u5236",launchConfigCopied:"\u672C\u5730\u542F\u52A8\u914D\u7F6E\u5DF2\u590D\u5236",pinned:"\u5DF2\u7F6E\u9876",itemActions:"{title}\u7684\u64CD\u4F5C",noMatchingContent:"\u6CA1\u6709\u5339\u914D\u7684\u5185\u5BB9",folderEmpty:"\u6587\u4EF6\u5939\u4E3A\u7A7A",projectEmpty:"\u9879\u76EE\u4E3A\u7A7A",emptyHint:"\u4F7F\u7528\u4E0A\u65B9\u7684\u300C+\u300D\u5361\u7247\u6DFB\u52A0\u9875\u9762\u3001\u767D\u677F\u6216\u6587\u4EF6\u5939\uFF0C\u4E5F\u53EF\u4EE5\u4ECE\u4E0B\u9762\u5F00\u59CB\u3002",viewTemplate:"\u67E5\u770B\u6A21\u677F {name} {version} {scope}",noMatchingTemplates:"\u6CA1\u6709\u5339\u914D\u7684\u6A21\u677F",noTemplates:"\u6682\u65E0\u8FD9\u7C7B\u6A21\u677F",siteExportMode:"\u7F51\u7AD9\u5BFC\u51FA\u65B9\u5F0F",exportOffline:"\u79BB\u7EBF\u7F51\u7AD9 \xB7 \u6253\u5305\u7EC4\u4EF6",exportOnline:"\u8054\u7F51\u7F51\u7AD9 \xB7 \u5F15\u7528\u53D1\u5E03\u7EC4\u4EF6",projectListActions:"\u9879\u76EE\u5217\u8868\u64CD\u4F5C",newGroup:"\u65B0\u5EFA\u5206\u7EC4",groupActions:"{name}\u7684\u5206\u7EC4\u64CD\u4F5C",renameGroup:"\u91CD\u547D\u540D\u5206\u7EC4",removeGroup:"\u79FB\u9664\u5206\u7EC4",groupRemoved:"\u5DF2\u79FB\u9664\u5206\u7EC4\uFF0C\u9879\u76EE\u5DF2\u79FB\u56DE\u9879\u76EE\u5217\u8868",openInNewTab:"\u5728\u65B0\u6807\u7B7E\u9875\u6253\u5F00",cmdClick:"\u2318 \u70B9\u51FB",ctrlClick:"Ctrl \u70B9\u51FB",shiftClick:"\u21E7 \u70B9\u51FB",openInNewWindow:"\u5728\u65B0\u7A97\u53E3\u6253\u5F00",setIcon:"\u8BBE\u7F6E\u56FE\u6807\u2026",pin:"\u7F6E\u9876",unpin:"\u53D6\u6D88\u7F6E\u9876",moveToGroup:"\u79FB\u5230\u5206\u7EC4\u2026",removeFromGroup:"\u79FB\u51FA\u5206\u7EC4",duplicatePage:"\u521B\u5EFA\u526F\u672C",exportWithPublished:"\u5F15\u7528\u5DF2\u53D1\u5E03\u7EC4\u4EF6\u5BFC\u51FA",exportSnippet:"\u5BFC\u51FA\u4F1A\u8BDD\u7247\u6BB5",exportReading:"\u5BFC\u51FA\u9605\u8BFB\u7F51\u9875",exportOnlinePage:"\u5BFC\u51FA\u5728\u7EBF\u7F51\u9875 \xB7 \u8054\u7F51\u52A0\u8F7D\u9605\u8BFB\u5668",exportMenu:"\u5BFC\u51FA\u2026",exportMenuLabel:"\u5BFC\u51FA\u9875\u9762","exportGroup.common":"\u5E38\u7528","exportGroup.agents":"\u7ED9 Agent \u7528","exportGroup.advanced":"\u9AD8\u7EA7",exportHtml:"HTML \u7F51\u9875",exportHtmlDetail:"\u5355\u4E2A\u6587\u4EF6\uFF0C\u79BB\u7EBF\u6253\u5F00\uFF0C\u4FDD\u7559\u9875\u9762\u5E03\u5C40\u4E0E\u4EA4\u4E92",exportReadingShort:"\u9605\u8BFB\u7F51\u9875",exportReadingDetail:"\u6309\u9605\u8BFB\u987A\u5E8F\u6392\u6210\u4E00\u680F\uFF0C\u9002\u5408\u5728\u624B\u673A\u4E0A\u9605\u8BFB",exportSnippetShort:"\u4F1A\u8BDD\u7247\u6BB5",exportSnippetDetail:"\u53EF\u5D4C\u5165\u5BF9\u8BDD\u6216\u5176\u4ED6\u7F51\u9875\u7684 HTML \u7247\u6BB5",copyPageReferenceDetail:"\u590D\u5236\u6B64\u9875\u9762\u7684\u5F15\u7528\uFF0C\u7C98\u8D34\u7ED9 ShowAI \u4E4B\u5916\u7684 Agent",exportOnlinePageShort:"\u5728\u7EBF\u7F51\u9875",exportOnlinePageDetail:"\u6587\u4EF6\u66F4\u5C0F\uFF0C\u6253\u5F00\u65F6\u8054\u7F51\u52A0\u8F7D\u9605\u8BFB\u5668",exportWithPublishedDetail:"\u7EC4\u4EF6\u6309\u56FA\u5B9A\u53D1\u5E03\u7248\u672C\u8054\u7F51\u52A0\u8F7D\uFF0C\u9700\u8981\u7EC4\u4EF6\u5DF2\u7ECF\u53D1\u5E03",downloadSourceDetail:"ShowAI \u9875\u9762\u6E90\u6587\u4EF6\uFF0C\u53EF\u5BFC\u5165\u5230\u5176\u4ED6\u5185\u5BB9\u5E93",iconKeptInDraft:"\u56FE\u6807\u4FDD\u7559\u5728\u672C\u673A\u8349\u7A3F\u4E2D\uFF0C\u8BF7\u5904\u7406\u9875\u9762\u4FDD\u5B58\u9519\u8BEF\u6216\u51B2\u7A81\u3002",libraryUpgraded:"\u5185\u5BB9\u5E93\u5DF2\u5347\u7EA7\uFF0C\u539F\u59CB\u6587\u4EF6\u5DF2\u4FDD\u7559",mergeSaved:"\u5408\u5E76\u7248\u672C\u5DF2\u4FDD\u5B58",externalKeptAsDraft:"\u5916\u90E8\u6587\u4EF6\u5DF2\u4FDD\u7559\u4E3A\u8349\u7A3F\uFF0C\u53EF\u901A\u8FC7 Agent \u7EE7\u7EED\u5904\u7406",externalResolved:"\u5916\u90E8\u4FEE\u6539\u5DF2\u5904\u7406\uFF0C\u5FEB\u7167\u4ECD\u53EF\u4FDD\u7559\u67E5\u770B",groupName:"\u5206\u7EC4\u540D\u79F0",newFolder:"\u65B0\u6587\u4EF6\u5939",folderName:"\u6587\u4EF6\u5939\u540D\u79F0",name:"\u540D\u79F0",newPage:"\u65B0\u9875\u9762",newPageAria:"\u65B0\u5EFA\u9875\u9762",newBoardAria:"\u65B0\u5EFA\u767D\u677F",blankPage:"\u7A7A\u767D\u9875\u9762",blankBoard:"\u767D\u677F",moveToGroupTitle:"\u79FB\u5230\u5206\u7EC4",group:"\u5206\u7EC4",targetGroup:"\u76EE\u6807\u5206\u7EC4",ungrouped:"\u9879\u76EE\uFF08\u672A\u5206\u7EC4\uFF09",move:"\u79FB\u52A8",deleteProject:"\u5220\u9664\u9879\u76EE",deleteFolder:"\u5220\u9664\u6587\u4EF6\u5939",deletePage:"\u5220\u9664\u9875\u9762",deleteConfirm:"\u5220\u9664\u300C{title}\u300D\uFF1F",deleteChildren:"\u5176\u4E2D\u7684\u9875\u9762\u548C\u5B50\u6587\u4EF6\u5939\u4E5F\u4F1A\u4ECE\u5217\u8868\u4E2D\u79FB\u9664\u3002",projectSettings:"\u9879\u76EE\u8BBE\u7F6E",newProjectTitle:"\u65B0\u9879\u76EE",projectName:"\u9879\u76EE\u540D\u79F0",projectNamePlaceholder:"\u4F8B\u5982\uFF1A\u591A\u6A21\u6001\u6A21\u578B\u8C03\u7814",setProjectIcon:"\u8BBE\u7F6E\u9879\u76EE\u56FE\u6807",setIconButton:"\u8BBE\u7F6E\u56FE\u6807",createProject:"\u521B\u5EFA\u9879\u76EE",projectIcon:"\u9879\u76EE\u56FE\u6807",folderSettings:"\u6587\u4EF6\u5939\u8BBE\u7F6E",setFolderIcon:"\u8BBE\u7F6E\u6587\u4EF6\u5939\u56FE\u6807",folderIcon:"\u6587\u4EF6\u5939\u56FE\u6807",closeDialog:"\u5173\u95ED\u5F39\u7A97",setPageIcon:"\u8BBE\u7F6E\u9875\u9762\u56FE\u6807",addIcon:"\u6DFB\u52A0\u56FE\u6807",bodyPageTitle:"\u6B63\u6587\u9875\u9762\u6807\u9898","icon.unsupportedType":"\u8BF7\u9009\u62E9 PNG\u3001JPEG\u3001GIF\u3001WebP \u6216 AVIF \u56FE\u7247\u3002","icon.tooLarge":"\u56FE\u7247\u9700\u5C0F\u4E8E 8 MB\u3002","icon.readCancelled":"\u56FE\u7247\u8BFB\u53D6\u5DF2\u53D6\u6D88","icon.pageIcon":"\u9875\u9762\u56FE\u6807","icon.text":"\u6587\u5B57\u6216 Emoji","icon.common":"\u5E38\u7528\u56FE\u6807","icon.use":"\u4F7F\u7528 {icon}","icon.upload":"\u4E0A\u4F20\u56FE\u7247","icon.help":"\u652F\u6301 PNG\u3001JPEG\u3001GIF\u3001WebP\u3001AVIF\uFF0C\u6700\u5927 8 MB\u3002\u5927\u5C3A\u5BF8\u56FE\u7247\u4F1A\u7F29\u5C0F\u4E3A\u56FE\u6807\u3002","icon.url":"\u56FE\u7247\u94FE\u63A5","icon.urlAria":"\u56FE\u6807\u56FE\u7247\u94FE\u63A5","icon.remove":"\u79FB\u9664\u56FE\u6807","icon.processing":"\u5904\u7406\u4E2D\u2026"},en:{selectPages:"Select",selectPage:"Select \u201C{title}\u201D",selectedPages:"{count} selected",selectAllPages:"Select all",finishPageSelection:"Done selecting",pageSelectionActions:"Bulk actions",movePages:"Move selected items",deletePages:"Delete selected items",deletePagesConfirm:"Delete the {count} selected items?",deleteFoldersNote:"The selected folders ({count}) are deleted with their contents.",movePagesDescription:"Move the {count} selected items to:",moveFoldersNote:"Folders can only move within the current project.",targetProject:"Destination project",targetFolder:"Destination folder",projectRoot:"Project root",pagesMoved:"Moved {count} items",pagesDeleted:"Deleted {count} items",batchPageFailed:"Completed {completed} items; {remaining} items remain: {error}","scope.builtin":"Built-in","scope.global":"Global","scope.published":"Published","scope.project":"Project",directoryView:"View",libraryUndo:"Undo library move",libraryRedo:"Redo library move","view.list":"List","view.small":"Small thumbnails","view.medium":"Medium thumbnails","view.large":"Large thumbnails",folderMissing:"This folder no longer exists.",pageImported:"Page imported",pageExported:"Page exported",siteExportedRemote:"Site exported. Components load online from their pinned published versions.",siteExportedBundled:"Site exported. Ready to deploy to static hosting.","create.folder":"Folder","create.page":"Page","create.board":"Board","create.fromTemplate":"New from template\u2026","create.import":"Import file\u2026",pagesImported:"{count} pages imported",dropImport:"Drop to import into \u201C{title}\u201D",dropImportUnsupported:"Not imported: {names}. Only ShowAI pages (.json, .html), Markdown (.md) or text (.txt) files up to 20 MB can be imported.","sort.name":"Sort by name","sort.createdAt":"Sort by date created","sort.updatedAt":"Sort by date edited","sort.manual":"Manual order",moved:"Moved",moveProjectUp:"Move project up",moveProjectDown:"Move project down",deleted:"Deleted",openPageFirst:"Open a page before inserting a component","heading.recent":"Recent","heading.project":"Project","heading.templates":"Templates","heading.components":"Components","heading.settings":"Settings",resolveDraftFirst:"Save or resolve the current page's draft first.",noComponentVersion:"This result has no component version to open.",noTemplateVersion:"This result has no template version to open.",backToRecent:"Back to Recent",updatingProjects:"Updating project list\u2026",pageTitle:"Page title",componentSource:"Component source","filter.all":"All","filter.builtin":"Built-in","filter.custom":"Custom",addContent:"Add content",addContentHint:"Add a folder, page or board",catalogProjectLabel:"Project",catalogProject:"Catalog project",chooseProject:"Choose project",catalogScopeLabel:"Scope",catalogScope:"Catalog scope",showAllVersions:"Show all versions",searchComponents:"Search components",searchTemplates:"Search templates",viewExternalChanges:"Review external file changes",searchRecentPages:"Search recent pages",searchPages:"Search pages",searchLibrary:"Search library",searchScope:"Search scope","searchScope.recent":"Recent pages","searchScope.project":"Pages in this project","searchScope.library":"Entire library",newProject:"New project",revealProjectFolder:"Open project folder",exportSite:"Export site",folderActions:"Folder actions",componentProjectLabel:"Project:",allProjects:"All projects",revealPageFile:"Show page file",retireIssueTitle:"Ink or edit history was not written when \u201C{title}\u201D closed",retireIssueBody:"Open the page again to check for a kept local draft and restore it. Reason: {error}",openPageAgain:"Open page again",unreadableProject:"Unreadable project \xB7 {name}",unreadableProjectCause:"This project's information file is damaged or cannot be accessed. Other projects are not affected; it reappears once the folder is repaired or moved away.",readProject:"Read project",exportPage:"Export page",pageActions:"Page actions",dismissError:"Dismiss error",backgroundSaveIssue:"Background saves for other pages need attention. Their drafts are kept.",viewIssue:"View \xB7 {title}",retainedSyncConflict:"Changes from different devices couldn't be merged. Both versions and their source records are kept.",viewOtherVariant:"View other copy \xB7 {account} \xB7 device {device}",saveConflictTitle:"Couldn't save: the file has new changes",saveProblemTitle:"There was a problem saving",draftKeptAsCopy:"Draft kept as a copy",keepAsCopy:"Keep as copy",saveAgain:"Save again",resolveExternal:"Compare and resolve changes",compareAndMerge:"Compare and merge",discardAndLoad:"Discard your changes and use the changes made elsewhere",retrySave:"Retry save",draftsAvailable:"Other editing windows left local drafts you can restore.",restoreDraft:"Restore draft \xB7 {time}",librarySwitched:"Library switched",libraryPathCopied:"Library path copied",launchConfigCopied:"Local launch configuration copied",pinned:"Pinned",itemActions:"Actions for {title}",noMatchingContent:"No matching content",folderEmpty:"This folder is empty",projectEmpty:"This project is empty",emptyHint:"Use the + card above to add a page, board or folder, or start with one of the options below.",viewTemplate:"View template {name} {version} {scope}",noMatchingTemplates:"No matching templates",noTemplates:"No templates of this kind",siteExportMode:"Site export options",exportOffline:"Offline site \xB7 bundle components",exportOnline:"Online site \xB7 use published components",projectListActions:"Project list actions",newGroup:"New group",groupActions:"Group actions for {name}",renameGroup:"Rename group",removeGroup:"Remove group",groupRemoved:"Group removed. Its projects moved back to the project list.",openInNewTab:"Open in new tab",cmdClick:"\u2318-click",ctrlClick:"Ctrl-click",shiftClick:"\u21E7-click",openInNewWindow:"Open in new window",setIcon:"Set icon\u2026",pin:"Pin",unpin:"Unpin",moveToGroup:"Move to group\u2026",removeFromGroup:"Remove from group",duplicatePage:"Duplicate page",exportWithPublished:"Export with published components",exportSnippet:"Export chat snippet",exportReading:"Export reading page",exportOnlinePage:"Export online page \xB7 loads the reader from a CDN",exportMenu:"Export\u2026",exportMenuLabel:"Export page","exportGroup.common":"Common","exportGroup.agents":"For Agents","exportGroup.advanced":"Advanced",exportHtml:"HTML page",exportHtmlDetail:"One file that opens offline with the page layout and interactions",exportReadingShort:"Reading page",exportReadingDetail:"A single column in reading order, suited to phones",exportSnippetShort:"Chat snippet",exportSnippetDetail:"An HTML snippet to embed in a chat or another web page",copyPageReferenceDetail:"Copy a reference to this page for an Agent outside ShowAI",exportOnlinePageShort:"Online page",exportOnlinePageDetail:"A smaller file that loads the reader online when opened",exportWithPublishedDetail:"Components load online from their pinned published versions; they must be published",downloadSourceDetail:"The ShowAI page source, which another library can import",iconKeptInDraft:"The icon is kept in the local draft. Resolve the page's save error or conflict.",libraryUpgraded:"Library upgraded. Original files are kept.",mergeSaved:"Merged version saved",externalKeptAsDraft:"External file kept as a draft. You can continue with the Agent.",externalResolved:"External changes resolved. The snapshot is still available to review.",groupName:"Group name",newFolder:"New folder",folderName:"Folder name",name:"Name",newPage:"New page",newPageAria:"New page",newBoardAria:"New board",blankPage:"Blank page",blankBoard:"Board",moveToGroupTitle:"Move to group",group:"Group",targetGroup:"Target group",ungrouped:"Projects (ungrouped)",move:"Move",deleteProject:"Delete project",deleteFolder:"Delete folder",deletePage:"Delete page",deleteConfirm:"Delete \u201C{title}\u201D?",deleteChildren:" Its pages and subfolders will also be removed from the list.",projectSettings:"Project settings",newProjectTitle:"New project",projectName:"Project name",projectNamePlaceholder:"e.g. Multimodal model research",setProjectIcon:"Set project icon",setIconButton:"Set icon",createProject:"Create project",projectIcon:"Project icon",folderSettings:"Folder settings",setFolderIcon:"Set folder icon",folderIcon:"Folder icon",closeDialog:"Close dialog",setPageIcon:"Set page icon",addIcon:"Add icon",bodyPageTitle:"Page title","icon.unsupportedType":"Choose a PNG, JPEG, GIF, WebP or AVIF image.","icon.tooLarge":"Images must be smaller than 8 MB.","icon.readCancelled":"Image reading was cancelled.","icon.pageIcon":"Page icon","icon.text":"Text or emoji","icon.common":"Common icons","icon.use":"Use {icon}","icon.upload":"Upload image","icon.help":"PNG, JPEG, GIF, WebP and AVIF up to 8 MB. Large images are scaled down to icon size.","icon.url":"Image URL","icon.urlAria":"Icon image URL","icon.remove":"Remove icon","icon.processing":"Processing\u2026"}});var Wa=W(de(),1);function c1({title:e,children:t,onClose:a,wide:n=!1,className:o="",titleAccessory:r,headerContent:i,headerActions:l,dismissible:s=!0,initialFocus:c="auto",returnFocus:d}){let f=le(l1),u=(0,s1.useRef)(null),g=(0,s1.useRef)(a);return g.current=s?a:()=>{},(0,s1.useEffect)(()=>{let b=document.activeElement;(c==="container"?u.current:u.current?.querySelector(o.includes("catalog-")?'[role="tab"][aria-selected="true"]':"input:not([disabled]),textarea:not([disabled]),select:not([disabled])")??u.current)?.focus();let p=x=>{if(u.current===[...document.querySelectorAll('[role="dialog"]')].at(-1)){if(x.key==="Escape"){if(u.current?.contains(document.fullscreenElement)||document.querySelector('[role="menu"]'))return;g.current()}if(x.key==="Tab"){let h=[...u.current?.querySelectorAll('button:not([disabled]),input:not([disabled]),textarea:not([disabled]),select:not([disabled]),a[href],summary,[tabindex],[contenteditable="true"]')??[]].filter(k=>k.offsetParent!==null&&k.tabIndex>=0&&!k.closest("[inert]")),m=h[0],v=h.at(-1);if(document.activeElement===u.current||!u.current?.contains(document.activeElement)){x.preventDefault(),(x.shiftKey?v:m)?.focus();return}x.shiftKey&&document.activeElement===m&&(x.preventDefault(),v?.focus()),!x.shiftKey&&document.activeElement===v&&(x.preventDefault(),m?.focus())}}};return document.addEventListener("keydown",p),()=>{document.removeEventListener("keydown",p),(d?.isConnected?d:b)?.focus({preventScroll:!0})}},[]),(0,Wa.jsx)("div",{className:"studio-modal-shade",onMouseDown:b=>{s&&b.target===b.currentTarget&&a()},children:(0,Wa.jsxs)("div",{ref:u,role:"dialog","aria-modal":"true","aria-label":e,tabIndex:-1,className:`studio-modal ${n?"wide":""} ${o}`,children:[(0,Wa.jsxs)("header",{children:[r?(0,Wa.jsxs)("div",{className:"studio-modal-title",children:[(0,Wa.jsx)("h2",{children:e}),r]}):(0,Wa.jsx)("h2",{children:e}),i,l?(0,Wa.jsxs)("div",{className:"studio-modal-header-actions",children:[l," ",s&&(0,Wa.jsx)("button",{className:"studio-icon","aria-label":f("closeDialog"),"data-no-tooltip":!0,onClick:a,children:(0,Wa.jsx)(Xa,{size:18})})]}):(0,Wa.jsxs)(Wa.Fragment,{children:[" ",s&&(0,Wa.jsx)("button",{className:"studio-icon","aria-label":f("closeDialog"),"data-no-tooltip":!0,onClick:a,children:(0,Wa.jsx)(Xa,{size:18})})]})]}),t]})})}var Rn=W(De(),1);var dh=W(De(),1),uh=(0,dh.createContext)(null);var ph={text:"text",callout:"text",toggle:"text",stepper:"text",divider:"text",code:"text",bookmark:"text",references:"text",image:"image",gallery:"image",table:"table",database:"table",chart:"data",metrics:"data",playground:"data","step-walkthrough":"flow","comparison-matrix":"table","status-tree":"flow","experiment-tracker":"data","scene-3d":"image","event-timeline":"data",waterfall:"data",roadmap:"flow","card-grid":"other","structure-browser":"data","command-reference":"text","step-guide":"flow","layer-diagram":"flow","sequence-diagram":"flow",flowchart:"flow",archify:"flow","diagram-design":"flow","fireworks-tech-graph":"flow",mindmap:"flow",page:"surface",board:"surface"};function mh(e){return!("kind"in e)&&e.role==="page-outline"?"outline":"kind"in e?e.kind.startsWith("g2-")?"data":ph[e.kind]??"other":e.category?e.category:ph[e.id.replace(/^my-/,"")]??"other"}function fh(e){let t=n=>JSON.stringify([n.scope,n.scope==="project"?n.projectId:null,n.id]),a=new Map;for(let n of e){if("kind"in n)continue;let o=t(n),r=a.get(o),[i,l]=n.version.split("-"),[s,c]=(r?.version??"0.0.0-legacy").split("-"),d=i.localeCompare(s,void 0,{numeric:!0})||(!l&&c?1:l&&!c?-1:(l??"").localeCompare(c??"",void 0,{numeric:!0}));(!r||d>0)&&a.set(o,n)}return e.filter(n=>"kind"in n||a.get(t(n))?.version===n.version)}var od=[{kind:"text",name:"\u5BCC\u6587\u672C",description:"\u7EDF\u4E00\u7684\u5BCC\u6587\u672C\u7EC4\u4EF6\uFF1AApp \u8F93\u5165\u4E0E Agent \u5199\u5165\u4F7F\u7528\u540C\u4E00\u5185\u5BB9\u6811\uFF0C\u652F\u6301\u6807\u9898\u3001\u5217\u8868\u3001\u8868\u683C\u3001\u516C\u5F0F\u3001\u5B57\u4F53\u3001\u5B57\u53F7\u3001\u989C\u8272\u3001\u4E0B\u5212\u7EBF\u3001\u9AD8\u4EAE\u548C\u6BB5\u843D\u5BF9\u9F50\uFF1B\u7EC4\u4EF6\u81EA\u5E26\u9009\u4E2D\u3001\u60AC\u505C\u53CA\u8868\u683C\u83DC\u5355\uFF0C\u517C\u5BB9 Markdown \u4E0E\u7EAF\u6587\u672C\u5BFC\u5165\u3002",version:"2.0.0",defaultData:{content:{type:"doc",content:[{type:"paragraph",content:[]}]},format:"richtext"}},{kind:"image",name:"\u56FE\u7247",description:"\u5355\u5F20\u56FE\u50CF\u4E0E\u56FE\u6CE8\uFF0C\u53EF\u8C03\u6574\u5C3A\u5BF8\u3001\u88C1\u5207\u548C\u5706\u89D2\u3002\u79BB\u7EBF\u9875\u9762\u4F7F\u7528\u5185\u5D4C\u56FE\u50CF\u3002",version:"2.0.0",defaultData:{src:"",alt:"",caption:""}},{kind:"table",name:"\u8868\u683C",description:"\u7EDF\u4E00\u7684\u8868\u683C\u7EC4\u4EF6\uFF0C\u652F\u6301\u5BCC\u6587\u672C\u5355\u5143\u683C\u3001\u5408\u5E76\u62C6\u5206\u3001\u884C\u5217\u7F16\u8F91\u3001\u5217\u5BBD\u548C\u5BF9\u9F50\uFF1B\u517C\u5BB9\u4E8C\u7EF4\u6570\u7EC4\u5BFC\u5165\uFF0C\u5355\u5143\u683C\u7EDF\u4E00\u4FDD\u5B58\u4E3A\u5BCC\u6587\u672C\u3002",version:"2.0.0",defaultData:{title:"",columns:["\u540D\u79F0","\u8BF4\u660E"],rows:[["",""]]}},{kind:"callout",name:"\u63D0\u793A\u6846",description:"\u5E26\u6807\u9898\u548C Markdown \u6B63\u6587\u7684\u63D0\u793A\u3001\u5F15\u7528\u6216\u8BF4\u660E\u3002",version:"2.0.0",defaultData:{title:"\u63D0\u793A",content:"\u8865\u5145\u4E00\u6761\u8BF4\u660E\u3002"}},{kind:"toggle",name:"\u6298\u53E0\u5185\u5BB9",description:"\u6309\u9700\u5C55\u5F00\u8865\u5145\u4FE1\u606F\uFF0C\u6B63\u6587\u652F\u6301\u5BCC\u6587\u672C\u548C Markdown \u5BFC\u5165\u3002",version:"2.0.0",defaultData:{summary:"\u5C55\u5F00\u5185\u5BB9",content:"\u8FD9\u91CC\u662F\u8865\u5145\u8BF4\u660E\u3002",open:!1}},{kind:"stepper",name:"\u9010\u6B65\u5207\u6362",description:"\u6309\u987A\u5E8F\u9010\u6B65\u5C55\u793A\u5185\u5BB9\uFF1A\u9876\u90E8\u662F\u5E26\u7F16\u53F7\u7684\u6B65\u9AA4\u6761\uFF0C\u4E00\u6B21\u663E\u793A\u4E00\u6B65\uFF0C\u6BCF\u4E00\u6B65\u53EF\u4EE5\u653E\u6587\u5B57\u3001\u56FE\u7247\u3001\u8868\u683C\u548C\u5176\u4ED6\u7EC4\u4EF6\u3002",version:"1.0.0",defaultData:{steps:[{title:"\u7B2C\u4E00\u6B65",content:"\u8FD9\u4E00\u6B65\u7684\u5185\u5BB9\u3002"},{title:"\u7B2C\u4E8C\u6B65",content:"\u4E0B\u4E00\u6B65\u7684\u5185\u5BB9\u3002"}]}},{kind:"divider",name:"\u5206\u9694\u7EBF",description:"\u5728\u9875\u9762\u5185\u5BB9\u4E4B\u95F4\u5EFA\u7ACB\u8F7B\u91CF\u7684\u89C6\u89C9\u5206\u9694\u3002",version:"2.0.0",defaultData:{color:"#dce1d7"}},{kind:"code",name:"\u4EE3\u7801\u5757",description:"\u4FDD\u7559\u7F29\u8FDB\u4E0E\u6362\u884C\u7684\u4EE3\u7801\u7247\u6BB5\uFF0C\u53EF\u58F0\u660E\u8BED\u8A00\u5E76\u81EA\u5B9A\u4E49\u5916\u89C2\u3002",version:"2.0.0",defaultData:{content:"",language:""}}];var Lt=[{kind:"chart",name:"\u6570\u636E\u56FE\u8868",description:"\u4EA4\u4E92\u5F0F\u6298\u7EBF\u56FE\u3001\u67F1\u72B6\u56FE\u548C\u53EF\u5C55\u5F00\u7684\u539F\u59CB\u6570\u636E\u3002",defaultData:{title:"\u6570\u636E\u56FE\u8868",type:"line",labels:[],series:[],unit:""},version:"1.0.0"},{kind:"database",name:"\u6570\u636E\u5E93",description:"\u5E26\u7B5B\u9009\u3001\u6392\u5E8F\u548C\u8868\u683C/\u770B\u677F/\u65E5\u5386\u89C6\u56FE\u7684\u6570\u636E\u5E93\u3002\u5355\u5143\u683C\u652F\u6301\u6587\u5B57\u3001\u6570\u5B57\u3001\u9009\u62E9\u3001\u590D\u9009\u6846\u3001\u94FE\u63A5\u548C\u65E5\u671F\uFF1B\u65E5\u5386\u53EF\u6309\u6708\u3001\u6309\u5468\uFF08\u542B\u65F6\u95F4\u8F74\uFF09\u6216\u4EE5\u70ED\u529B\u56FE\u67E5\u770B\u3002",defaultData:{title:"\u6570\u636E\u5E93",columns:[{id:"name",name:"\u540D\u79F0",type:"text"}],rows:[]},version:"1.1.0"},{kind:"metrics",name:"\u5173\u952E\u6307\u6807",description:"\u663E\u793A\u6709\u6765\u6E90\u7684\u6570\u503C\u3001\u5355\u4F4D\u3001\u53D8\u5316\u548C\u8BF4\u660E\u3002",defaultData:{title:"\u5173\u952E\u6307\u6807",items:[]},version:"1.0.0"},{kind:"playground",name:"\u4EA4\u4E92\u8BA1\u7B97",description:"\u7528\u6ED1\u5757\u3001\u6B65\u8FDB\u3001\u5F00\u5173\u548C\u9009\u9879\u9A71\u52A8\u58F0\u660E\u5F0F\u516C\u5F0F\uFF0C\u5C55\u793A\u7ED3\u679C\u3001\u76EE\u6807\u5DEE\u8DDD\u3001\u6784\u6210\u5360\u6BD4\u4E0E\u52A0\u6743\u6392\u540D\u3002",defaultData:{title:"\u4EA4\u4E92\u8BA1\u7B97",inputs:[],operation:"sum",resultLabel:"\u8BA1\u7B97\u7ED3\u679C",unit:""},version:"1.1.0"},{kind:"gallery",name:"\u56FE\u7247\u753B\u5ECA",description:"\u5305\u542B\u56FE\u6CE8\u7684\u56FE\u7247\u96C6\u5408\u3002\u5BFC\u51FA\u79BB\u7EBF\u9875\u9762\u65F6\u4F7F\u7528\u5185\u5D4C PNG\u3001JPEG\u3001GIF\u3001WebP \u6216 AVIF\u3002",defaultData:{title:"\u56FE\u7247\u753B\u5ECA",columns:2,images:[]},version:"1.0.0"},{kind:"bookmark",name:"\u6765\u6E90\u4E66\u7B7E",description:"\u5E26\u6807\u9898\u3001\u63CF\u8FF0\u548C\u53EF\u9009\u7F29\u7565\u56FE\u7684\u5916\u90E8\u6765\u6E90\u94FE\u63A5\u3002",defaultData:{title:"",description:"",url:"",image:""},version:"1.0.0"},{kind:"mindmap",name:"\u601D\u7EF4\u5BFC\u56FE",description:"\u4E2D\u5FC3\u4E3B\u9898\u7684\u5206\u652F\u81EA\u7136\u5E73\u8861\u5C55\u5F00\uFF0C\u6216\u9009\u62E9\u5355\u5411\u5E03\u5C40\uFF1B\u652F\u6301\u952E\u76D8\u7F16\u8F91\u3001\u6298\u53E0\u548C\u64A4\u9500\u3002",defaultData:{title:"\u601D\u7EF4\u5BFC\u56FE",height:460,nodes:[{id:"root",parentId:null,label:"\u4E2D\u5FC3\u4E3B\u9898"},{id:"branch-1",parentId:"root",label:"\u4E3B\u9898\u4E00"},{id:"branch-2",parentId:"root",label:"\u4E3B\u9898\u4E8C"},{id:"branch-3",parentId:"branch-1",label:"\u5B50\u4E3B\u9898"}],layout:"radial",direction:"right"},version:"1.0.0"},{kind:"flowchart",name:"\u4EA4\u4E92\u6D41\u7A0B\u56FE",description:"\u57FA\u4E8E React Flow \u7684\u53EF\u7F29\u653E\u6D41\u7A0B\u56FE\uFF0C\u652F\u6301\u8282\u70B9\u8BE6\u60C5\u3001\u5206\u652F\u5173\u7CFB\u3001\u591A\u6761\u6D41\u7A0B\u548C\u7F16\u8F91\u8282\u70B9\uFF1B\u53EF\u9009\u8DEF\u7EBF\u9010\u6B65\u8BB2\u89E3\u4E0E\u9636\u6BB5\u64AD\u653E\uFF0C\u6309\u6B65\u9AA4\u9AD8\u4EAE\u8282\u70B9\u548C\u8FDE\u7EBF\u3002",version:"1.1.0",defaultData:{title:"\u4EA4\u4E92\u6D41\u7A0B\u56FE",flows:[{id:"process",label:"\u6D41\u7A0B",direction:"TB",nodes:[{id:"start",label:"\u660E\u786E\u95EE\u9898",kind:"request",detail:"\u63CF\u8FF0\u60F3\u7406\u89E3\u7684\u95EE\u9898\u4E0E\u8BFB\u8005\u9700\u8981\u3002"},{id:"work",label:"\u6574\u7406\u5185\u5BB9",kind:"skill",detail:"\u7EC4\u7EC7\u6709\u4F9D\u636E\u7684\u5185\u5BB9\u3002"},{id:"result",label:"\u9605\u8BFB\u4E0E\u63A2\u7D22",kind:"result",detail:"\u4F7F\u7528\u7ED3\u679C\u5B8C\u6210\u7406\u89E3\u3002"}],edges:[{id:"a",source:"start",target:"work"},{id:"b",source:"work",target:"result"}]}]}},{kind:"video",name:"\u89C6\u9891",description:"\u4FDD\u7559\u753B\u9762\u6BD4\u4F8B\u7684\u89C6\u9891\u64AD\u653E\u5668\uFF0C\u652F\u6301\u672C\u5730\u4E0A\u4F20\u3001\u5728\u7EBF\u6587\u4EF6\u3001\u5C01\u9762\u4E0E\u8BF4\u660E\u3002",version:"1.0.0",defaultData:{title:"",src:"",caption:"",fileName:"",aspectRatio:"16:9"}},{kind:"audio",name:"\u97F3\u9891",description:"\u7D27\u51D1\u97F3\u9891\u64AD\u653E\u5668\uFF0C\u652F\u6301\u672C\u5730\u4E0A\u4F20\u3001\u5728\u7EBF\u6587\u4EF6\u4E0E\u8BF4\u660E\u3002",version:"1.0.0",defaultData:{title:"",src:"",caption:"",fileName:""}},{kind:"pdf",name:"PDF \u6587\u6863",description:"\u5185\u7F6E PDF \u9605\u8BFB\u5668\uFF0C\u652F\u6301\u7FFB\u9875\u3001\u7F29\u653E\u3001\u521D\u59CB\u9875\u7801\u3001\u672C\u9875\u6587\u5B57\u548C\u4E0B\u8F7D\u3002",version:"1.0.0",defaultData:{title:"",src:"",caption:"",fileName:"",page:1,height:560}},{kind:"references",name:"\u53C2\u8003\u6587\u732E",description:"\u6309\u7F16\u53F7\u7EC4\u7EC7\u4F5C\u8005\u3001\u5E74\u4EFD\u3001\u6807\u9898\u3001\u51FA\u5904\u3001DOI\u3001\u94FE\u63A5\u4E0E\u5907\u6CE8\uFF0C\u652F\u6301\u6B63\u6587\u951A\u70B9\u5F15\u7528\u3002",version:"1.0.0",defaultData:{title:"\u53C2\u8003\u6587\u732E",items:[]}},{kind:"step-walkthrough",name:"\u5206\u6B65\u6F14\u793A",description:"\u7528\u4E00\u4E2A\u5177\u4F53\u4F8B\u5B50\u9010\u6B65\u6F14\u793A\u673A\u5236\uFF1A\u6BCF\u4E00\u6B65\u7ED9\u51FA\u4E00\u53E5\u8981\u70B9\uFF0C\u5DE6\u680F\u662F\u5B9E\u9645\u53D1\u751F\u7684\u8F93\u5165\u4E0E\u64CD\u4F5C\uFF0C\u53F3\u680F\u662F\u5404\u7EC4\u6210\u90E8\u5206\u6B64\u523B\u7684\u5177\u4F53\u6761\u76EE\uFF08\u65B0\u589E\u3001\u5DF2\u66F4\u65B0\u3001\u5DF2\u5931\u6548\u3001\u672A\u53D8\uFF09\uFF1B\u6700\u540E\u53EF\u5C55\u793A\u8F93\u51FA\u539F\u6587\u5E76\u9690\u85CF\u67D0\u4E00\u90E8\u5206\u4F5C\u5BF9\u6BD4\u3002",version:"1.0.0",defaultData:{title:"\u5206\u6B65\u6F14\u793A",parts:[{id:"state",label:"\u72B6\u6001"}],steps:[{id:"s1",label:"\u7B2C\u4E00\u6B65",takeaway:"\u8FD9\u4E00\u6B65\u7684\u8981\u70B9\u3002",actions:[{actor:"\u64CD\u4F5C",text:"\u63CF\u8FF0\u8FD9\u4E00\u6B65\u5B9E\u9645\u505A\u4E86\u4EC0\u4E48\u3002"}]}]}},{kind:"comparison-matrix",name:"\u5BF9\u6BD4\u77E9\u9635",description:"\u6309\u7EF4\u5EA6\u9010\u884C\u5BF9\u6BD4\u591A\u4E2A\u65B9\u6848\uFF0C\u7528\u91C7\u7528\u3001\u4E0D\u91C7\u7528\u3001\u90E8\u5206\u91C7\u7528\u7B49\u6807\u8BB0\u533A\u5206\uFF0C\u53EF\u7A81\u51FA\u81EA\u5DF1\u7684\u65B9\u6848\u5E76\u53EA\u770B\u5DEE\u5F02\u3002",defaultData:{title:"\u5BF9\u6BD4\u77E9\u9635",rows:[{id:"r1",label:"\u7EF4\u5EA6"}],columns:[{id:"a",label:"\u65B9\u6848 A"},{id:"b",label:"\u65B9\u6848 B"}],cells:[]},version:"1.0.0"},{kind:"status-tree",name:"\u72B6\u6001\u6811",description:"\u628A\u6761\u76EE\u6309\u7C7B\u522B\u5C55\u5F00\u6210\u6811\uFF0C\u7528\u989C\u8272\u3001\u56FE\u6807\u548C\u7EBF\u578B\u533A\u5206\u8D70\u901A\u3001\u6CA1\u8D70\u901A\u3001\u8FDB\u884C\u4E2D\u3001\u5F85\u63A2\u7D22\u4E0E\u6401\u7F6E\uFF0C\u70B9\u51FB\u67E5\u770B\u4F9D\u636E\u3002",defaultData:{title:"\u72B6\u6001\u6811",groups:[{id:"g1",label:"\u65B9\u5411",items:[{id:"i1",label:"\u6761\u76EE",status:"todo"}]}]},version:"1.0.0"},{kind:"experiment-tracker",name:"\u5B9E\u9A8C\u8FFD\u8E2A",description:"\u5728\u4E00\u4E2A\u753B\u9762\u91CC\u8FFD\u8E2A\u4E00\u7EC4\u5B9E\u9A8C\uFF1A\u968F\u65F6\u95F4\u7684\u6563\u70B9\u4E0E\u6700\u4F18\u524D\u6CBF\u3001\u53EF\u7B5B\u9009\u7684\u8FD0\u884C\u5217\u8868\u3001\u8D44\u6E90\u4E0E\u6210\u672C\uFF0C\u4EE5\u53CA\u8BAD\u7EC3\u66F2\u7EBF\u5C0F\u56FE\u3002",defaultData:{title:"\u5B9E\u9A8C\u8FFD\u8E2A",metric:{label:"\u6307\u6807",direction:"higher"},experiments:[{id:"E01",name:"\u57FA\u7EBF",status:"kept",start:"2026-01-01T09:00",score:0}]},version:"1.0.0"},{kind:"scene-3d",name:"3D \u573A\u666F",description:"\u7528 Three.js \u6E32\u67D3\u53EF\u65CB\u8F6C\u7684\u4E09\u7EF4\u6A21\u578B\uFF1A\u57FA\u672C\u5F62\u4F53\u3001\u5206\u7EC4\u3001\u5750\u6807\u7BAD\u5934\u3001\u7EBF\u6761\u4E0E\u6807\u6CE8\uFF0C\u6ED1\u5757\u53EF\u9A71\u52A8\u7269\u4F53\u7684\u5E73\u79FB\u3001\u65CB\u8F6C\u4E0E\u7F29\u653E\uFF0C\u5E76\u53EF\u81EA\u52A8\u6F14\u793A\u3002",defaultData:{title:"3D \u573A\u666F",parameters:[{id:"turn",label:"\u8F6C\u52A8",min:-180,max:180,step:1,value:30,unit:"\xB0",demo:!0}],objects:[{type:"group",id:"shapes",bindings:[{parameter:"turn",property:"rotation.y"}],children:[{type:"box",size:[1.2,1.2,1.2],position:[0,.6,0],color:"#4f7cac",label:"\u7ACB\u65B9\u4F53"},{type:"sphere",radius:.6,position:[1.9,.6,0],color:"#d1784c",label:"\u7403\u4F53"},{type:"cone",radius:.6,height:1.3,position:[-1.9,.65,0],color:"#5a9a78",label:"\u5706\u9525"}]}]},version:"1.0.0"},{kind:"sequence-diagram",name:"\u65F6\u5E8F\u56FE",description:"\u53C2\u4E0E\u8005\u751F\u547D\u7EBF\u4E0E\u6309\u65F6\u95F4\u6392\u5217\u7684\u8C03\u7528\u3001\u8FD4\u56DE\u548C\u5907\u6CE8\uFF0C\u53EF\u9010\u6B65\u64AD\u653E\uFF1A\u672A\u5230\u8FBE\u7684\u6B65\u9AA4\u53D8\u6DE1\uFF0C\u5F53\u524D\u6B65\u9AA4\u7684\u8BF4\u660E\u663E\u793A\u5728\u56FE\u4E0B\u65B9\uFF0C\u7A84\u5C4F\u6539\u4E3A\u7EB5\u5411\u6B65\u9AA4\u5217\u8868\u3002",defaultData:{title:"\u65F6\u5E8F\u56FE",actors:[{id:"user",label:"\u7528\u6237",tone:"slate"},{id:"web",label:"\u7F51\u9875",tone:"accent"},{id:"api",label:"\u670D\u52A1\u7AEF",tone:"teal"}],steps:[{from:"user",to:"web",label:"\u63D0\u4EA4\u8868\u5355",detail:"\u7528\u6237\u586B\u5199\u5185\u5BB9\u540E\u70B9\u51FB\u63D0\u4EA4\u3002"},{from:"web",to:"api",label:"\u53D1\u9001\u8BF7\u6C42",detail:"\u7F51\u9875\u628A\u8868\u5355\u5185\u5BB9\u53D1\u9001\u7ED9\u670D\u52A1\u7AEF\u3002"},{from:"api",to:"web",label:"\u8FD4\u56DE\u7ED3\u679C",kind:"reply",detail:"\u670D\u52A1\u7AEF\u4FDD\u5B58\u6210\u529F\u540E\u8FD4\u56DE\u65B0\u8BB0\u5F55\u7684\u7F16\u53F7\u3002"}]},version:"1.0.0"},{kind:"layer-diagram",name:"\u5206\u5C42\u67B6\u6784\u56FE",description:"\u81EA\u4E0A\u800C\u4E0B\u7684\u6C34\u5E73\u5206\u5C42\uFF0C\u6BCF\u5C42\u6709\u540D\u79F0\u3001\u8BF4\u660E\u3001\u8272\u8C03\u548C\u6A21\u5757\u6807\u7B7E\uFF1B\u70B9\u9009\u6A21\u5757\u5728\u56FE\u4E0B\u663E\u793A\u5B83\u7684\u804C\u8D23\u4E0E\u4F4D\u7F6E\u3002",defaultData:{layers:[{id:"ui",name:"\u754C\u9762\u5C42",modules:[{id:"pages",name:"\u9875\u9762",detail:"\u8D1F\u8D23\u5C55\u793A\u548C\u7528\u6237\u8F93\u5165\u3002"}]},{id:"service",name:"\u670D\u52A1\u5C42",modules:[{id:"api",name:"\u63A5\u53E3",detail:"\u5904\u7406\u8BF7\u6C42\u5E76\u8C03\u7528\u6570\u636E\u5C42\u3002"}]},{id:"data",name:"\u6570\u636E\u5C42",modules:[{id:"db",name:"\u6570\u636E\u5E93",detail:"\u4FDD\u5B58\u4E1A\u52A1\u6570\u636E\u3002"}]}],initial:"api"},version:"1.0.0"},{kind:"step-guide",name:"\u64CD\u4F5C\u6B65\u9AA4",description:"\u5E26\u7F16\u53F7\u7AD6\u8F74\u7684\u64CD\u4F5C\u6B65\u9AA4\uFF1A\u6BCF\u6B65\u6709\u8BF4\u660E\u3001\u53EF\u590D\u5236\u5E76\u6309\u5E73\u53F0\u5207\u6362\u7684\u4EE3\u7801\u3001\u63D0\u793A\u4E0E\u5B8C\u6210\u7ED3\u679C\uFF1B\u53EF\u52A0\u5012\u8BA1\u65F6\u4E0E\u65F6\u95F4\u7EBF\uFF0C\u4E5F\u53EF\u9010\u6B65\u4E13\u6CE8\u9605\u8BFB\u3002",defaultData:{steps:[{title:"\u5B89\u88C5\u4F9D\u8D56",body:"\u5728\u9879\u76EE\u76EE\u5F55\u4E2D\u8FD0\u884C\uFF1A",code:"npm install",lang:"sh",result:"\u7EC8\u7AEF\u663E\u793A `added` \u4E0E\u5B89\u88C5\u7684\u5305\u6570\u91CF\u3002"},{title:"\u542F\u52A8\u670D\u52A1",code:"npm run dev",lang:"sh",note:"\u4F7F\u7528\u671F\u95F4\u4FDD\u6301\u7EC8\u7AEF\u8FD0\u884C\u3002"},{title:"\u6253\u5F00\u6D4F\u89C8\u5668",body:"\u8BBF\u95EE\u7EC8\u7AEF\u663E\u793A\u7684\u5730\u5740\uFF0C\u786E\u8BA4\u9875\u9762\u6B63\u5E38\u663E\u793A\u3002"}]},version:"1.0.0"},{kind:"command-reference",name:"\u547D\u4EE4\u53C2\u8003",description:"\u6309\u5206\u7EC4\u5217\u51FA\u547D\u4EE4\uFF0C\u53EF\u641C\u7D22\u5E76\u9AD8\u4EAE\u5339\u914D\uFF0C\u6309\u5206\u7EC4\u7B5B\u9009\uFF1B\u5C55\u5F00\u6761\u76EE\u67E5\u770B\u8BF4\u660E\u3001\u53C2\u6570\u8868\u548C\u53EF\u590D\u5236\u7684\u793A\u4F8B\u3002",defaultData:{groups:[{id:"basic",label:"\u57FA\u7840"},{id:"data",label:"\u6570\u636E"}],commands:[{group:"basic",command:"app start [--port PORT]",summary:"\u542F\u52A8\u672C\u5730\u670D\u52A1",params:[{name:"--port PORT",meaning:"\u6307\u5B9A\u7AEF\u53E3\uFF0C\u9ED8\u8BA4 3000"}],examples:[{code:"app start --port 8080"}]},{group:"basic",command:"app status",summary:"\u67E5\u770B\u670D\u52A1\u72B6\u6001"},{group:"data",command:"app export --out FILE",summary:"\u628A\u6570\u636E\u5BFC\u51FA\u4E3A JSON \u6587\u4EF6",detail:"\u5BFC\u51FA\u524D\u4F1A\u5148\u4FDD\u5B58\u672A\u5B8C\u6210\u7684\u4FEE\u6539\u3002"}]},version:"1.0.0"},{kind:"structure-browser",name:"\u7ED3\u6784\u6D4F\u89C8\u5668",description:"\u5DE6\u4FA7\u662F\u53EF\u5C55\u5F00\u7684\u6587\u4EF6\u5939\u3001\u6587\u4EF6\u6216 JSON \u5B57\u6BB5\u6811\uFF0C\u53F3\u4FA7\u663E\u793A\u6240\u9009\u9879\u7684\u8DEF\u5F84\u3001\u7C7B\u578B\u3001\u8BF4\u660E\u548C\u53EF\u590D\u5236\u7684\u793A\u4F8B\u3002",defaultData:{nodes:[{name:"name",kind:"field",type:"string",badge:"\u5FC5\u586B",summary:"\u5305\u540D\uFF1A\u5C0F\u5199\u5B57\u6BCD\u3001\u6570\u5B57\u548C\u8FDE\u5B57\u7B26\uFF0C\u53D1\u5E03\u540E\u4E0D\u80FD\u66F4\u6539\u3002"},{name:"version",kind:"field",type:"semver",badge:"\u5FC5\u586B",summary:"\u8BED\u4E49\u5316\u7248\u672C\uFF0C\u4F8B\u5982 `1.4.0`\u3002"},{name:"scripts",kind:"object",type:"object",summary:"\u53EF\u7528 `npm run <\u540D\u79F0>` \u6267\u884C\u7684\u547D\u4EE4\u3002",detail:"\u6BCF\u4E2A\u952E\u662F\u547D\u4EE4\u540D\uFF0C\u503C\u662F\u5728\u9879\u76EE\u6839\u76EE\u5F55\u6267\u884C\u7684 shell \u547D\u4EE4\u3002",example:`{
38
+ "dev": "vite",
39
+ "build": "vite build"
40
+ }`,exampleLang:"json",children:[{name:"dev",kind:"field",type:"string",summary:"\u542F\u52A8\u672C\u5730\u5F00\u53D1\u670D\u52A1\u3002"},{name:"build",kind:"field",type:"string",summary:"\u751F\u6210\u53EF\u53D1\u5E03\u7684\u4EA7\u7269\u3002"}]},{name:"dependencies",kind:"object",type:"object",badge:"\u53EF\u9009",summary:"\u8FD0\u884C\u65F6\u4F9D\u8D56\uFF1A\u5305\u540D\u5230\u7248\u672C\u8303\u56F4\u3002"}],initial:"scripts",caption:"\u70B9\u51FB\u5DE6\u4FA7\u4EFB\u4E00\u9879\u67E5\u770B\u8BF4\u660E\uFF1B\u7528 \u2191 \u2193 \u79FB\u52A8\uFF0C\u2192 \u5C55\u5F00\uFF0C\u2190 \u6536\u8D77\u3002"},version:"1.0.0"},{kind:"card-grid",name:"\u5361\u7247\u5BFC\u822A",description:"\u7528\u5E26\u56FE\u6807\u3001\u6807\u9898\u3001\u8BF4\u660E\u548C\u6807\u7B7E\u7684\u5361\u7247\u7EC4\u7EC7\u5165\u53E3\u6216\u5206\u7C7B\uFF0C\u53EF\u6574\u5361\u94FE\u63A5\uFF0C\u652F\u6301\u7F51\u683C\u4E0E\u7D27\u51D1\u5217\u8868\u4E24\u79CD\u6392\u5217\u3002",defaultData:{columns:3,cards:[{icon:"\u{1F680}",title:"\u5FEB\u901F\u4E0A\u624B",body:"\u5341\u5206\u949F\u5B8C\u6210\u5B89\u88C5\uFF0C\u8DD1\u901A\u7B2C\u4E00\u4E2A\u793A\u4F8B\u3002",tone:"brand",tag:"\u63A8\u8350"},{icon:"\u{1F9ED}",title:"\u6838\u5FC3\u6982\u5FF5",body:"\u4E86\u89E3\u9879\u76EE\u3001\u9875\u9762\u548C\u7EC4\u4EF6\u4E4B\u95F4\u7684\u5173\u7CFB\u3002",tone:"teal"},{icon:"\u{1F6E0}\uFE0F",title:"\u5E38\u89C1\u95EE\u9898",body:"\u5B89\u88C5\u5931\u8D25\u3001\u7AEF\u53E3\u5360\u7528\u548C\u6743\u9650\u95EE\u9898\u7684\u5904\u7406\u529E\u6CD5\u3002",tone:"warm"}]},version:"1.0.0"},{kind:"roadmap",name:"\u8DEF\u7EBF\u56FE",description:"\u6309\u65E5\u671F\u9605\u8BFB\u4E00\u4EFD\u4EE5\u5929\u6216\u5468\u8BA1\u7684\u8BA1\u5212\uFF1A\u5DE5\u4F5C\u6D41\u6CF3\u9053\u3001\u8D1F\u8D23\u4EBA\u989C\u8272\u3001\u72B6\u6001\u3001\u4F9D\u8D56\u4E0E\u91CC\u7A0B\u7891\uFF0C\u53EF\u6309\u8D1F\u8D23\u4EBA\u7A81\u51FA\u5E76\u67E5\u770B\u6BCF\u9879\u7684\u5B8C\u6210\u6807\u51C6\u4E0E\u5B83\u89E3\u9501\u7684\u5DE5\u4F5C\u3002",defaultData:{title:"\u8DEF\u7EBF\u56FE",start:"2026-11-02",end:"2026-11-15",today:"2026-11-04",owners:[{id:"a",label:"\u8D1F\u8D23\u4EBA A",color:"#3b74b8"},{id:"b",label:"\u8D1F\u8D23\u4EBA B",color:"#2f8f6b"}],lanes:[{id:"build",label:"\u5F00\u53D1"},{id:"launch",label:"\u53D1\u5E03"}],items:[{id:"design",lane:"build",owner:"a",title:"\u65B9\u6848\u8BBE\u8BA1",start:"2026-11-02",end:"2026-11-04",status:"done"},{id:"impl",lane:"build",owner:"b",title:"\u5B9E\u73B0\u4E0E\u6D4B\u8BD5",start:"2026-11-05",end:"2026-11-11",status:"active",progress:.3,depends:["design"]},{id:"release",lane:"launch",owner:"a",title:"\u53D1\u5E03\u4E0E\u516C\u544A",start:"2026-11-12",end:"2026-11-13",status:"todo",depends:["impl"],doneWhen:"\u65B0\u7248\u672C\u4E0A\u7EBF\u5E76\u53D1\u51FA\u516C\u544A\u3002"}],milestones:[{date:"2026-11-13",label:"\u4E0A\u7EBF"}]},version:"1.0.0"},{kind:"waterfall",name:"\u7011\u5E03\u6865\u56FE",description:"\u4ECE\u671F\u521D\u503C\u7ECF\u8FC7\u9010\u9879\u589E\u52A0\u4E0E\u51CF\u5C11\u8D70\u5230\u671F\u672B\u503C\uFF0C\u70B9\u51FB\u4EFB\u4E00\u67F1\u5B50\u67E5\u770B\u5B83\u7684\u6784\u6210\u4E0E\u5360\u6BD4\uFF1B\u5404\u9879\u7D2F\u8BA1\u4E0E\u5408\u8BA1\u5BF9\u4E0D\u4E0A\u65F6\u7ED9\u51FA\u63D0\u793A\u3002",defaultData:{title:"\u7011\u5E03\u6865\u56FE",steps:[{id:"start",label:"\u671F\u521D",kind:"total",value:100},{id:"gain",label:"\u589E\u52A0",kind:"up",value:30,breakdown:{title:"\u589E\u52A0\u6765\u6E90",items:[{label:"\u6765\u6E90 A",value:20},{label:"\u6765\u6E90 B",value:10}]}},{id:"loss",label:"\u51CF\u5C11",kind:"down",value:12},{id:"end",label:"\u671F\u672B",kind:"total",value:118}]},version:"1.0.0"},{kind:"event-timeline",name:"\u4E8B\u4EF6\u65F6\u95F4\u7EBF",description:"\u5728\u65F6\u95F4\u8F74\u4E0A\u53E0\u52A0 1\u20133 \u6761\u6307\u6807\u66F2\u7EBF\u3001\u9636\u6BB5\u8272\u5E26\u548C\u4E8B\u4EF6\u6807\u8BB0\uFF0C\u62D6\u52A8\u6216\u70B9\u51FB\u4E8B\u4EF6\u65F6\u66F2\u7EBF\u6E38\u6807\u4E0E\u4E8B\u4EF6\u5217\u8868\u540C\u6B65\u3002",defaultData:{title:"\u4E8B\u4EF6\u65F6\u95F4\u7EBF",axis:{type:"number",start:1,prefix:"\u7B2C ",unit:" \u5929",label:"\u8FDB\u5EA6"},series:[{id:"s1",label:"\u6307\u6807",values:[12,14,13,21,26,24,30]}],kinds:[{id:"change",label:"\u53D8\u66F4",tone:"info"},{id:"result",label:"\u7ED3\u679C",tone:"good"}],events:[{at:1,kind:"change",title:"\u5F00\u59CB\u8C03\u6574",detail:"\u8BF4\u660E\u8FD9\u4E00\u6B65\u505A\u4E86\u4EC0\u4E48\u3002"},{at:3,kind:"change",title:"\u7B2C\u4E8C\u6B21\u8C03\u6574",detail:"\u8BF4\u660E\u4E3A\u4F55\u6307\u6807\u5728\u8FD9\u4E4B\u540E\u4E0A\u5347\u3002"},{at:6,kind:"result",title:"\u8FBE\u5230\u76EE\u6807",detail:"\u8BB0\u5F55\u7ED3\u8BBA\u4E0E\u4F9D\u636E\u3002"}]},version:"1.0.0"}];var gh=[{kind:"page",name:"\u9875\u9762",description:"\u6309\u987A\u5E8F\u7EC4\u7EC7\u6587\u5B57\u3001\u56FE\u7247\u548C\u7EC4\u4EF6\uFF0C\u53EF\u5D4C\u5165\u9875\u9762\u6216\u767D\u677F\uFF0C\u4E5F\u53EF\u5C55\u5F00\u7F16\u8F91\u3002",version:"1.0.0",insertion:{nodeType:"surface",surfaceKind:"page"},defaultData:{title:"Page"}},{kind:"board",name:"\u767D\u677F",description:"\u5728\u72EC\u7ACB\u7A7A\u95F4\u4E2D\u6446\u653E\u7EC4\u4EF6\u548C\u7ED8\u753B\uFF0C\u53EF\u5D4C\u5165\u9875\u9762\u6216\u5176\u4ED6\u767D\u677F\u3002",version:"1.0.0",insertion:{nodeType:"surface",surfaceKind:"board"},defaultData:{title:"Board"}}];var rd=[{kind:"g2-bar",name:"\u67F1\u72B6\u56FE",description:"\u6BD4\u8F83\u7C7B\u522B\u4E4B\u95F4\u7684\u6570\u503C\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u67F1\u72B6\u56FE",datasets:{main:[{genre:"Sports",sold:275},{genre:"Strategy",sold:115},{genre:"Action",sold:120},{genre:"Shooter",sold:350},{genre:"Other",sold:150}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-line",name:"\u6298\u7EBF\u56FE",description:"\u89C2\u5BDF\u8FDE\u7EED\u53D8\u5316\u4E0E\u8D8B\u52BF\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u6298\u7EBF\u56FE",datasets:{main:[{date:"2007-04-23T00:00:00.000Z",close:93.24},{date:"2007-05-01T00:00:00.000Z",close:99.47},{date:"2007-05-08T00:00:00.000Z",close:105.06},{date:"2007-05-14T00:00:00.000Z",close:107.52},{date:"2007-05-21T00:00:00.000Z",close:113.54},{date:"2007-05-29T00:00:00.000Z",close:118.77},{date:"2007-06-06T00:00:00.000Z",close:123.64},{date:"2007-06-12T00:00:00.000Z",close:117.5},{date:"2007-06-19T00:00:00.000Z",close:121.55},{date:"2007-06-26T00:00:00.000Z",close:121.89},{date:"2007-07-05T00:00:00.000Z",close:132.75},{date:"2007-07-11T00:00:00.000Z",close:134.07},{date:"2007-07-18T00:00:00.000Z",close:140},{date:"2007-07-25T00:00:00.000Z",close:146},{date:"2007-08-02T00:00:00.000Z",close:136.49},{date:"2007-08-09T00:00:00.000Z",close:126.39},{date:"2007-08-15T00:00:00.000Z",close:117.05},{date:"2007-08-22T00:00:00.000Z",close:131.07},{date:"2007-08-29T00:00:00.000Z",close:136.25},{date:"2007-09-07T00:00:00.000Z",close:131.77},{date:"2007-09-13T00:00:00.000Z",close:138.81},{date:"2007-09-20T00:00:00.000Z",close:144.15},{date:"2007-09-27T00:00:00.000Z",close:153.47},{date:"2007-10-05T00:00:00.000Z",close:161.45},{date:"2007-10-11T00:00:00.000Z",close:167.25},{date:"2007-10-18T00:00:00.000Z",close:170.42},{date:"2007-10-25T00:00:00.000Z",close:184.7},{date:"2007-11-02T00:00:00.000Z",close:187.87},{date:"2007-11-09T00:00:00.000Z",close:165.37},{date:"2007-11-15T00:00:00.000Z",close:166.39},{date:"2007-11-25T00:00:00.000Z",close:172.54},{date:"2007-12-03T00:00:00.000Z",close:178.86},{date:"2007-12-09T00:00:00.000Z",close:194.21},{date:"2007-12-16T00:00:00.000Z",close:184.4},{date:"2007-12-23T00:00:00.000Z",close:198.8},{date:"2008-01-02T00:00:00.000Z",close:194.84},{date:"2008-01-09T00:00:00.000Z",close:179.4},{date:"2008-01-15T00:00:00.000Z",close:159.64},{date:"2008-01-23T00:00:00.000Z",close:135.6},{date:"2008-01-30T00:00:00.000Z",close:135.36},{date:"2008-02-07T00:00:00.000Z",close:121.24},{date:"2008-02-13T00:00:00.000Z",close:127.46},{date:"2008-02-21T00:00:00.000Z",close:119.46},{date:"2008-02-28T00:00:00.000Z",close:125.02},{date:"2008-03-07T00:00:00.000Z",close:122.25},{date:"2008-03-13T00:00:00.000Z",close:126.61},{date:"2008-03-23T00:00:00.000Z",close:139.53},{date:"2008-03-30T00:00:00.000Z",close:143.5},{date:"2008-04-07T00:00:00.000Z",close:155.89},{date:"2008-04-13T00:00:00.000Z",close:147.78},{date:"2008-04-20T00:00:00.000Z",close:168.16},{date:"2008-04-27T00:00:00.000Z",close:172.24},{date:"2008-05-05T00:00:00.000Z",close:184.73},{date:"2008-05-11T00:00:00.000Z",close:188.16},{date:"2008-05-18T00:00:00.000Z",close:183.6},{date:"2008-05-26T00:00:00.000Z",close:186.43},{date:"2008-06-03T00:00:00.000Z",close:185.37},{date:"2008-06-09T00:00:00.000Z",close:185.64},{date:"2008-06-16T00:00:00.000Z",close:181.43},{date:"2008-06-23T00:00:00.000Z",close:173.25},{date:"2008-07-01T00:00:00.000Z",close:174.68},{date:"2008-07-09T00:00:00.000Z",close:174.25},{date:"2008-07-15T00:00:00.000Z",close:172.81},{date:"2008-07-22T00:00:00.000Z",close:166.26},{date:"2008-07-29T00:00:00.000Z",close:159.88},{date:"2008-08-06T00:00:00.000Z",close:164.19},{date:"2008-08-12T00:00:00.000Z",close:179.3},{date:"2008-08-19T00:00:00.000Z",close:175.84},{date:"2008-08-26T00:00:00.000Z",close:174.67},{date:"2008-09-04T00:00:00.000Z",close:161.22},{date:"2008-09-10T00:00:00.000Z",close:152.65},{date:"2008-09-17T00:00:00.000Z",close:134.09},{date:"2008-09-24T00:00:00.000Z",close:131.93},{date:"2008-10-02T00:00:00.000Z",close:100.1},{date:"2008-10-09T00:00:00.000Z",close:88.74},{date:"2008-10-15T00:00:00.000Z",close:101.89},{date:"2008-10-22T00:00:00.000Z",close:98.23},{date:"2008-10-29T00:00:00.000Z",close:111.04},{date:"2008-11-06T00:00:00.000Z",close:99.1},{date:"2008-11-12T00:00:00.000Z",close:96.44},{date:"2008-11-19T00:00:00.000Z",close:80.49},{date:"2008-11-26T00:00:00.000Z",close:95},{date:"2008-12-04T00:00:00.000Z",close:91.41},{date:"2008-12-10T00:00:00.000Z",close:95},{date:"2008-12-17T00:00:00.000Z",close:89.43},{date:"2008-12-24T00:00:00.000Z",close:85.04},{date:"2009-01-01T00:00:00.000Z",close:85.35},{date:"2009-01-08T00:00:00.000Z",close:92.7},{date:"2009-01-14T00:00:00.000Z",close:83.38},{date:"2009-01-22T00:00:00.000Z",close:88.36},{date:"2009-01-29T00:00:00.000Z",close:90.13},{date:"2009-02-06T00:00:00.000Z",close:99.72},{date:"2009-02-12T00:00:00.000Z",close:99.16},{date:"2009-02-22T00:00:00.000Z",close:86.95},{date:"2009-03-02T00:00:00.000Z",close:87.94},{date:"2009-03-09T00:00:00.000Z",close:83.11},{date:"2009-03-15T00:00:00.000Z",close:95.42},{date:"2009-03-22T00:00:00.000Z",close:107.66},{date:"2009-03-29T00:00:00.000Z",close:104.49},{date:"2009-04-06T00:00:00.000Z",close:118.45},{date:"2009-04-12T00:00:00.000Z",close:120.22},{date:"2009-04-19T00:00:00.000Z",close:120.5},{date:"2009-04-26T00:00:00.000Z",close:124.73},{date:"2009-05-04T00:00:00.000Z",close:132.07},{date:"2009-05-10T00:00:00.000Z",close:129.57},{date:"2009-05-17T00:00:00.000Z",close:126.65},{date:"2009-05-25T00:00:00.000Z",close:130.78},{date:"2009-06-02T00:00:00.000Z",close:139.49},{date:"2009-06-09T00:00:00.000Z",close:142.72},{date:"2009-06-15T00:00:00.000Z",close:136.35},{date:"2009-06-22T00:00:00.000Z",close:134.01},{date:"2009-06-29T00:00:00.000Z",close:142.43},{date:"2009-07-07T00:00:00.000Z",close:135.4},{date:"2009-07-13T00:00:00.000Z",close:142.27},{date:"2009-07-20T00:00:00.000Z",close:151.51},{date:"2009-07-27T00:00:00.000Z",close:160},{date:"2009-08-04T00:00:00.000Z",close:165.55},{date:"2009-08-11T00:00:00.000Z",close:165.31},{date:"2009-08-18T00:00:00.000Z",close:164.6},{date:"2009-08-25T00:00:00.000Z",close:167.41},{date:"2009-09-02T00:00:00.000Z",close:165.18},{date:"2009-09-09T00:00:00.000Z",close:172.56},{date:"2009-09-16T00:00:00.000Z",close:184.55},{date:"2009-09-23T00:00:00.000Z",close:183.82},{date:"2009-10-01T00:00:00.000Z",close:180.86},{date:"2009-10-08T00:00:00.000Z",close:189.27},{date:"2009-10-14T00:00:00.000Z",close:190.56},{date:"2009-10-21T00:00:00.000Z",close:205.2},{date:"2009-10-28T00:00:00.000Z",close:196.35},{date:"2009-11-05T00:00:00.000Z",close:194.03},{date:"2009-11-11T00:00:00.000Z",close:201.99},{date:"2009-11-18T00:00:00.000Z",close:200.51},{date:"2009-11-25T00:00:00.000Z",close:204.19},{date:"2009-12-03T00:00:00.000Z",close:196.48},{date:"2009-12-09T00:00:00.000Z",close:196.43},{date:"2009-12-16T00:00:00.000Z",close:191.86},{date:"2009-12-23T00:00:00.000Z",close:209.04},{date:"2009-12-30T00:00:00.000Z",close:210.73},{date:"2010-01-07T00:00:00.000Z",close:210.58},{date:"2010-01-13T00:00:00.000Z",close:209.43},{date:"2010-01-20T00:00:00.000Z",close:208.07},{date:"2010-01-27T00:00:00.000Z",close:199.29},{date:"2010-02-04T00:00:00.000Z",close:192.05},{date:"2010-02-10T00:00:00.000Z",close:198.67},{date:"2010-02-17T00:00:00.000Z",close:202.93},{date:"2010-02-24T00:00:00.000Z",close:202},{date:"2010-03-04T00:00:00.000Z",close:210.71},{date:"2010-03-10T00:00:00.000Z",close:225.5},{date:"2010-03-17T00:00:00.000Z",close:224.65},{date:"2010-03-24T00:00:00.000Z",close:226.65},{date:"2010-04-01T00:00:00.000Z",close:235.97},{date:"2010-04-08T00:00:00.000Z",close:239.95},{date:"2010-04-14T00:00:00.000Z",close:248.92},{date:"2010-04-21T00:00:00.000Z",close:266.47},{date:"2010-04-28T00:00:00.000Z",close:268.64},{date:"2010-05-06T00:00:00.000Z",close:246.25},{date:"2010-05-12T00:00:00.000Z",close:258.36},{date:"2010-05-19T00:00:00.000Z",close:237.76},{date:"2010-05-26T00:00:00.000Z",close:253.35},{date:"2010-06-03T00:00:00.000Z",close:263.12},{date:"2010-06-09T00:00:00.000Z",close:250.51},{date:"2010-06-16T00:00:00.000Z",close:271.87},{date:"2010-06-23T00:00:00.000Z",close:269},{date:"2010-07-01T00:00:00.000Z",close:248.48},{date:"2010-07-08T00:00:00.000Z",close:258.09},{date:"2010-07-14T00:00:00.000Z",close:251.45},{date:"2010-07-21T00:00:00.000Z",close:259.02},{date:"2010-07-28T00:00:00.000Z",close:258.11},{date:"2010-08-05T00:00:00.000Z",close:261.7},{date:"2010-08-11T00:00:00.000Z",close:251.79},{date:"2010-08-18T00:00:00.000Z",close:249.88},{date:"2010-08-25T00:00:00.000Z",close:240.28},{date:"2010-09-02T00:00:00.000Z",close:252.17},{date:"2010-09-09T00:00:00.000Z",close:263.07},{date:"2010-09-15T00:00:00.000Z",close:276.57},{date:"2010-09-22T00:00:00.000Z",close:288.92},{date:"2010-09-29T00:00:00.000Z",close:283.75},{date:"2010-10-07T00:00:00.000Z",close:289.22},{date:"2010-10-13T00:00:00.000Z",close:302.31},{date:"2010-10-20T00:00:00.000Z",close:309.52},{date:"2010-10-27T00:00:00.000Z",close:305.24},{date:"2010-11-04T00:00:00.000Z",close:318.27},{date:"2010-11-10T00:00:00.000Z",close:316.66},{date:"2010-11-17T00:00:00.000Z",close:308.43},{date:"2010-11-25T00:00:00.000Z",close:315},{date:"2010-12-03T00:00:00.000Z",close:317.44},{date:"2010-12-09T00:00:00.000Z",close:320.56},{date:"2010-12-16T00:00:00.000Z",close:320.61},{date:"2010-12-26T00:00:00.000Z",close:324.68},{date:"2011-01-03T00:00:00.000Z",close:329.57},{date:"2011-01-09T00:00:00.000Z",close:342.46},{date:"2011-01-17T00:00:00.000Z",close:340.65},{date:"2011-01-24T00:00:00.000Z",close:341.4},{date:"2011-02-01T00:00:00.000Z",close:345.03},{date:"2011-02-08T00:00:00.000Z",close:355.2},{date:"2011-02-14T00:00:00.000Z",close:359.9},{date:"2011-02-22T00:00:00.000Z",close:342.62},{date:"2011-03-02T00:00:00.000Z",close:352.12},{date:"2011-03-09T00:00:00.000Z",close:352.47},{date:"2011-03-15T00:00:00.000Z",close:330.01},{date:"2011-03-22T00:00:00.000Z",close:339.19},{date:"2011-03-29T00:00:00.000Z",close:348.63},{date:"2011-04-06T00:00:00.000Z",close:338.04},{date:"2011-04-12T00:00:00.000Z",close:336.13},{date:"2011-04-19T00:00:00.000Z",close:342.41},{date:"2011-04-27T00:00:00.000Z",close:346.75},{date:"2011-05-05T00:00:00.000Z",close:346.75},{date:"2011-05-11T00:00:00.000Z",close:346.57},{date:"2011-05-18T00:00:00.000Z",close:340.53},{date:"2011-05-25T00:00:00.000Z",close:335},{date:"2011-06-03T00:00:00.000Z",close:343.44},{date:"2011-06-09T00:00:00.000Z",close:325.9},{date:"2011-06-16T00:00:00.000Z",close:320.26},{date:"2011-06-23T00:00:00.000Z",close:326.35},{date:"2011-07-01T00:00:00.000Z",close:343.26},{date:"2011-07-10T00:00:00.000Z",close:354},{date:"2011-07-17T00:00:00.000Z",close:373.8},{date:"2011-07-24T00:00:00.000Z",close:398.5},{date:"2011-08-01T00:00:00.000Z",close:396.75},{date:"2011-08-08T00:00:00.000Z",close:353.21},{date:"2011-08-14T00:00:00.000Z",close:383.41},{date:"2011-08-21T00:00:00.000Z",close:356.44},{date:"2011-08-28T00:00:00.000Z",close:389.97},{date:"2011-09-06T00:00:00.000Z",close:379.74},{date:"2011-09-12T00:00:00.000Z",close:384.62},{date:"2011-09-19T00:00:00.000Z",close:413.45},{date:"2011-09-26T00:00:00.000Z",close:399.26},{date:"2011-10-04T00:00:00.000Z",close:372.5},{date:"2011-10-10T00:00:00.000Z",close:400.29},{date:"2011-10-17T00:00:00.000Z",close:422.24},{date:"2011-10-24T00:00:00.000Z",close:397.77},{date:"2011-11-01T00:00:00.000Z",close:396.51},{date:"2011-11-08T00:00:00.000Z",close:406.23},{date:"2011-11-14T00:00:00.000Z",close:388.83},{date:"2011-11-21T00:00:00.000Z",close:376.51},{date:"2011-11-29T00:00:00.000Z",close:382.2},{date:"2011-12-07T00:00:00.000Z",close:389.09},{date:"2011-12-13T00:00:00.000Z",close:380.19},{date:"2011-12-20T00:00:00.000Z",close:396.44},{date:"2011-12-28T00:00:00.000Z",close:405.12},{date:"2012-01-06T00:00:00.000Z",close:422.4},{date:"2012-01-12T00:00:00.000Z",close:419.81},{date:"2012-01-22T00:00:00.000Z",close:427.41},{date:"2012-01-29T00:00:00.000Z",close:453.01},{date:"2012-02-06T00:00:00.000Z",close:463.97},{date:"2012-02-12T00:00:00.000Z",close:502.6},{date:"2012-02-20T00:00:00.000Z",close:514.85},{date:"2012-02-27T00:00:00.000Z",close:535.41},{date:"2012-03-06T00:00:00.000Z",close:530.26},{date:"2012-03-12T00:00:00.000Z",close:568.1},{date:"2012-03-19T00:00:00.000Z",close:605.96},{date:"2012-03-26T00:00:00.000Z",close:614.48},{date:"2012-04-03T00:00:00.000Z",close:629.32},{date:"2012-04-10T00:00:00.000Z",close:626.2},{date:"2012-04-17T00:00:00.000Z",close:608.34},{date:"2012-04-24T00:00:00.000Z",close:610},{date:"2012-05-01T00:00:00.000Z",close:582.13}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-area",name:"\u9762\u79EF\u56FE",description:"\u901A\u8FC7\u586B\u5145\u9762\u79EF\u5F3A\u8C03\u8D8B\u52BF\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u9762\u79EF\u56FE",datasets:{main:[{date:"2007-04-23T00:00:00.000Z",close:93.24},{date:"2007-05-01T00:00:00.000Z",close:99.47},{date:"2007-05-08T00:00:00.000Z",close:105.06},{date:"2007-05-14T00:00:00.000Z",close:107.52},{date:"2007-05-21T00:00:00.000Z",close:113.54},{date:"2007-05-29T00:00:00.000Z",close:118.77},{date:"2007-06-06T00:00:00.000Z",close:123.64},{date:"2007-06-12T00:00:00.000Z",close:117.5},{date:"2007-06-19T00:00:00.000Z",close:121.55},{date:"2007-06-26T00:00:00.000Z",close:121.89},{date:"2007-07-05T00:00:00.000Z",close:132.75},{date:"2007-07-11T00:00:00.000Z",close:134.07},{date:"2007-07-18T00:00:00.000Z",close:140},{date:"2007-07-25T00:00:00.000Z",close:146},{date:"2007-08-02T00:00:00.000Z",close:136.49},{date:"2007-08-09T00:00:00.000Z",close:126.39},{date:"2007-08-15T00:00:00.000Z",close:117.05},{date:"2007-08-22T00:00:00.000Z",close:131.07},{date:"2007-08-29T00:00:00.000Z",close:136.25},{date:"2007-09-07T00:00:00.000Z",close:131.77},{date:"2007-09-13T00:00:00.000Z",close:138.81},{date:"2007-09-20T00:00:00.000Z",close:144.15},{date:"2007-09-27T00:00:00.000Z",close:153.47},{date:"2007-10-05T00:00:00.000Z",close:161.45},{date:"2007-10-11T00:00:00.000Z",close:167.25},{date:"2007-10-18T00:00:00.000Z",close:170.42},{date:"2007-10-25T00:00:00.000Z",close:184.7},{date:"2007-11-02T00:00:00.000Z",close:187.87},{date:"2007-11-09T00:00:00.000Z",close:165.37},{date:"2007-11-15T00:00:00.000Z",close:166.39},{date:"2007-11-25T00:00:00.000Z",close:172.54},{date:"2007-12-03T00:00:00.000Z",close:178.86},{date:"2007-12-09T00:00:00.000Z",close:194.21},{date:"2007-12-16T00:00:00.000Z",close:184.4},{date:"2007-12-23T00:00:00.000Z",close:198.8},{date:"2008-01-02T00:00:00.000Z",close:194.84},{date:"2008-01-09T00:00:00.000Z",close:179.4},{date:"2008-01-15T00:00:00.000Z",close:159.64},{date:"2008-01-23T00:00:00.000Z",close:135.6},{date:"2008-01-30T00:00:00.000Z",close:135.36},{date:"2008-02-07T00:00:00.000Z",close:121.24},{date:"2008-02-13T00:00:00.000Z",close:127.46},{date:"2008-02-21T00:00:00.000Z",close:119.46},{date:"2008-02-28T00:00:00.000Z",close:125.02},{date:"2008-03-07T00:00:00.000Z",close:122.25},{date:"2008-03-13T00:00:00.000Z",close:126.61},{date:"2008-03-23T00:00:00.000Z",close:139.53},{date:"2008-03-30T00:00:00.000Z",close:143.5},{date:"2008-04-07T00:00:00.000Z",close:155.89},{date:"2008-04-13T00:00:00.000Z",close:147.78},{date:"2008-04-20T00:00:00.000Z",close:168.16},{date:"2008-04-27T00:00:00.000Z",close:172.24},{date:"2008-05-05T00:00:00.000Z",close:184.73},{date:"2008-05-11T00:00:00.000Z",close:188.16},{date:"2008-05-18T00:00:00.000Z",close:183.6},{date:"2008-05-26T00:00:00.000Z",close:186.43},{date:"2008-06-03T00:00:00.000Z",close:185.37},{date:"2008-06-09T00:00:00.000Z",close:185.64},{date:"2008-06-16T00:00:00.000Z",close:181.43},{date:"2008-06-23T00:00:00.000Z",close:173.25},{date:"2008-07-01T00:00:00.000Z",close:174.68},{date:"2008-07-09T00:00:00.000Z",close:174.25},{date:"2008-07-15T00:00:00.000Z",close:172.81},{date:"2008-07-22T00:00:00.000Z",close:166.26},{date:"2008-07-29T00:00:00.000Z",close:159.88},{date:"2008-08-06T00:00:00.000Z",close:164.19},{date:"2008-08-12T00:00:00.000Z",close:179.3},{date:"2008-08-19T00:00:00.000Z",close:175.84},{date:"2008-08-26T00:00:00.000Z",close:174.67},{date:"2008-09-04T00:00:00.000Z",close:161.22},{date:"2008-09-10T00:00:00.000Z",close:152.65},{date:"2008-09-17T00:00:00.000Z",close:134.09},{date:"2008-09-24T00:00:00.000Z",close:131.93},{date:"2008-10-02T00:00:00.000Z",close:100.1},{date:"2008-10-09T00:00:00.000Z",close:88.74},{date:"2008-10-15T00:00:00.000Z",close:101.89},{date:"2008-10-22T00:00:00.000Z",close:98.23},{date:"2008-10-29T00:00:00.000Z",close:111.04},{date:"2008-11-06T00:00:00.000Z",close:99.1},{date:"2008-11-12T00:00:00.000Z",close:96.44},{date:"2008-11-19T00:00:00.000Z",close:80.49},{date:"2008-11-26T00:00:00.000Z",close:95},{date:"2008-12-04T00:00:00.000Z",close:91.41},{date:"2008-12-10T00:00:00.000Z",close:95},{date:"2008-12-17T00:00:00.000Z",close:89.43},{date:"2008-12-24T00:00:00.000Z",close:85.04},{date:"2009-01-01T00:00:00.000Z",close:85.35},{date:"2009-01-08T00:00:00.000Z",close:92.7},{date:"2009-01-14T00:00:00.000Z",close:83.38},{date:"2009-01-22T00:00:00.000Z",close:88.36},{date:"2009-01-29T00:00:00.000Z",close:90.13},{date:"2009-02-06T00:00:00.000Z",close:99.72},{date:"2009-02-12T00:00:00.000Z",close:99.16},{date:"2009-02-22T00:00:00.000Z",close:86.95},{date:"2009-03-02T00:00:00.000Z",close:87.94},{date:"2009-03-09T00:00:00.000Z",close:83.11},{date:"2009-03-15T00:00:00.000Z",close:95.42},{date:"2009-03-22T00:00:00.000Z",close:107.66},{date:"2009-03-29T00:00:00.000Z",close:104.49},{date:"2009-04-06T00:00:00.000Z",close:118.45},{date:"2009-04-12T00:00:00.000Z",close:120.22},{date:"2009-04-19T00:00:00.000Z",close:120.5},{date:"2009-04-26T00:00:00.000Z",close:124.73},{date:"2009-05-04T00:00:00.000Z",close:132.07},{date:"2009-05-10T00:00:00.000Z",close:129.57},{date:"2009-05-17T00:00:00.000Z",close:126.65},{date:"2009-05-25T00:00:00.000Z",close:130.78},{date:"2009-06-02T00:00:00.000Z",close:139.49},{date:"2009-06-09T00:00:00.000Z",close:142.72},{date:"2009-06-15T00:00:00.000Z",close:136.35},{date:"2009-06-22T00:00:00.000Z",close:134.01},{date:"2009-06-29T00:00:00.000Z",close:142.43},{date:"2009-07-07T00:00:00.000Z",close:135.4},{date:"2009-07-13T00:00:00.000Z",close:142.27},{date:"2009-07-20T00:00:00.000Z",close:151.51},{date:"2009-07-27T00:00:00.000Z",close:160},{date:"2009-08-04T00:00:00.000Z",close:165.55},{date:"2009-08-11T00:00:00.000Z",close:165.31},{date:"2009-08-18T00:00:00.000Z",close:164.6},{date:"2009-08-25T00:00:00.000Z",close:167.41},{date:"2009-09-02T00:00:00.000Z",close:165.18},{date:"2009-09-09T00:00:00.000Z",close:172.56},{date:"2009-09-16T00:00:00.000Z",close:184.55},{date:"2009-09-23T00:00:00.000Z",close:183.82},{date:"2009-10-01T00:00:00.000Z",close:180.86},{date:"2009-10-08T00:00:00.000Z",close:189.27},{date:"2009-10-14T00:00:00.000Z",close:190.56},{date:"2009-10-21T00:00:00.000Z",close:205.2},{date:"2009-10-28T00:00:00.000Z",close:196.35},{date:"2009-11-05T00:00:00.000Z",close:194.03},{date:"2009-11-11T00:00:00.000Z",close:201.99},{date:"2009-11-18T00:00:00.000Z",close:200.51},{date:"2009-11-25T00:00:00.000Z",close:204.19},{date:"2009-12-03T00:00:00.000Z",close:196.48},{date:"2009-12-09T00:00:00.000Z",close:196.43},{date:"2009-12-16T00:00:00.000Z",close:191.86},{date:"2009-12-23T00:00:00.000Z",close:209.04},{date:"2009-12-30T00:00:00.000Z",close:210.73},{date:"2010-01-07T00:00:00.000Z",close:210.58},{date:"2010-01-13T00:00:00.000Z",close:209.43},{date:"2010-01-20T00:00:00.000Z",close:208.07},{date:"2010-01-27T00:00:00.000Z",close:199.29},{date:"2010-02-04T00:00:00.000Z",close:192.05},{date:"2010-02-10T00:00:00.000Z",close:198.67},{date:"2010-02-17T00:00:00.000Z",close:202.93},{date:"2010-02-24T00:00:00.000Z",close:202},{date:"2010-03-04T00:00:00.000Z",close:210.71},{date:"2010-03-10T00:00:00.000Z",close:225.5},{date:"2010-03-17T00:00:00.000Z",close:224.65},{date:"2010-03-24T00:00:00.000Z",close:226.65},{date:"2010-04-01T00:00:00.000Z",close:235.97},{date:"2010-04-08T00:00:00.000Z",close:239.95},{date:"2010-04-14T00:00:00.000Z",close:248.92},{date:"2010-04-21T00:00:00.000Z",close:266.47},{date:"2010-04-28T00:00:00.000Z",close:268.64},{date:"2010-05-06T00:00:00.000Z",close:246.25},{date:"2010-05-12T00:00:00.000Z",close:258.36},{date:"2010-05-19T00:00:00.000Z",close:237.76},{date:"2010-05-26T00:00:00.000Z",close:253.35},{date:"2010-06-03T00:00:00.000Z",close:263.12},{date:"2010-06-09T00:00:00.000Z",close:250.51},{date:"2010-06-16T00:00:00.000Z",close:271.87},{date:"2010-06-23T00:00:00.000Z",close:269},{date:"2010-07-01T00:00:00.000Z",close:248.48},{date:"2010-07-08T00:00:00.000Z",close:258.09},{date:"2010-07-14T00:00:00.000Z",close:251.45},{date:"2010-07-21T00:00:00.000Z",close:259.02},{date:"2010-07-28T00:00:00.000Z",close:258.11},{date:"2010-08-05T00:00:00.000Z",close:261.7},{date:"2010-08-11T00:00:00.000Z",close:251.79},{date:"2010-08-18T00:00:00.000Z",close:249.88},{date:"2010-08-25T00:00:00.000Z",close:240.28},{date:"2010-09-02T00:00:00.000Z",close:252.17},{date:"2010-09-09T00:00:00.000Z",close:263.07},{date:"2010-09-15T00:00:00.000Z",close:276.57},{date:"2010-09-22T00:00:00.000Z",close:288.92},{date:"2010-09-29T00:00:00.000Z",close:283.75},{date:"2010-10-07T00:00:00.000Z",close:289.22},{date:"2010-10-13T00:00:00.000Z",close:302.31},{date:"2010-10-20T00:00:00.000Z",close:309.52},{date:"2010-10-27T00:00:00.000Z",close:305.24},{date:"2010-11-04T00:00:00.000Z",close:318.27},{date:"2010-11-10T00:00:00.000Z",close:316.66},{date:"2010-11-17T00:00:00.000Z",close:308.43},{date:"2010-11-25T00:00:00.000Z",close:315},{date:"2010-12-03T00:00:00.000Z",close:317.44},{date:"2010-12-09T00:00:00.000Z",close:320.56},{date:"2010-12-16T00:00:00.000Z",close:320.61},{date:"2010-12-26T00:00:00.000Z",close:324.68},{date:"2011-01-03T00:00:00.000Z",close:329.57},{date:"2011-01-09T00:00:00.000Z",close:342.46},{date:"2011-01-17T00:00:00.000Z",close:340.65},{date:"2011-01-24T00:00:00.000Z",close:341.4},{date:"2011-02-01T00:00:00.000Z",close:345.03},{date:"2011-02-08T00:00:00.000Z",close:355.2},{date:"2011-02-14T00:00:00.000Z",close:359.9},{date:"2011-02-22T00:00:00.000Z",close:342.62},{date:"2011-03-02T00:00:00.000Z",close:352.12},{date:"2011-03-09T00:00:00.000Z",close:352.47},{date:"2011-03-15T00:00:00.000Z",close:330.01},{date:"2011-03-22T00:00:00.000Z",close:339.19},{date:"2011-03-29T00:00:00.000Z",close:348.63},{date:"2011-04-06T00:00:00.000Z",close:338.04},{date:"2011-04-12T00:00:00.000Z",close:336.13},{date:"2011-04-19T00:00:00.000Z",close:342.41},{date:"2011-04-27T00:00:00.000Z",close:346.75},{date:"2011-05-05T00:00:00.000Z",close:346.75},{date:"2011-05-11T00:00:00.000Z",close:346.57},{date:"2011-05-18T00:00:00.000Z",close:340.53},{date:"2011-05-25T00:00:00.000Z",close:335},{date:"2011-06-03T00:00:00.000Z",close:343.44},{date:"2011-06-09T00:00:00.000Z",close:325.9},{date:"2011-06-16T00:00:00.000Z",close:320.26},{date:"2011-06-23T00:00:00.000Z",close:326.35},{date:"2011-07-01T00:00:00.000Z",close:343.26},{date:"2011-07-10T00:00:00.000Z",close:354},{date:"2011-07-17T00:00:00.000Z",close:373.8},{date:"2011-07-24T00:00:00.000Z",close:398.5},{date:"2011-08-01T00:00:00.000Z",close:396.75},{date:"2011-08-08T00:00:00.000Z",close:353.21},{date:"2011-08-14T00:00:00.000Z",close:383.41},{date:"2011-08-21T00:00:00.000Z",close:356.44},{date:"2011-08-28T00:00:00.000Z",close:389.97},{date:"2011-09-06T00:00:00.000Z",close:379.74},{date:"2011-09-12T00:00:00.000Z",close:384.62},{date:"2011-09-19T00:00:00.000Z",close:413.45},{date:"2011-09-26T00:00:00.000Z",close:399.26},{date:"2011-10-04T00:00:00.000Z",close:372.5},{date:"2011-10-10T00:00:00.000Z",close:400.29},{date:"2011-10-17T00:00:00.000Z",close:422.24},{date:"2011-10-24T00:00:00.000Z",close:397.77},{date:"2011-11-01T00:00:00.000Z",close:396.51},{date:"2011-11-08T00:00:00.000Z",close:406.23},{date:"2011-11-14T00:00:00.000Z",close:388.83},{date:"2011-11-21T00:00:00.000Z",close:376.51},{date:"2011-11-29T00:00:00.000Z",close:382.2},{date:"2011-12-07T00:00:00.000Z",close:389.09},{date:"2011-12-13T00:00:00.000Z",close:380.19},{date:"2011-12-20T00:00:00.000Z",close:396.44},{date:"2011-12-28T00:00:00.000Z",close:405.12},{date:"2012-01-06T00:00:00.000Z",close:422.4},{date:"2012-01-12T00:00:00.000Z",close:419.81},{date:"2012-01-22T00:00:00.000Z",close:427.41},{date:"2012-01-29T00:00:00.000Z",close:453.01},{date:"2012-02-06T00:00:00.000Z",close:463.97},{date:"2012-02-12T00:00:00.000Z",close:502.6},{date:"2012-02-20T00:00:00.000Z",close:514.85},{date:"2012-02-27T00:00:00.000Z",close:535.41},{date:"2012-03-06T00:00:00.000Z",close:530.26},{date:"2012-03-12T00:00:00.000Z",close:568.1},{date:"2012-03-19T00:00:00.000Z",close:605.96},{date:"2012-03-26T00:00:00.000Z",close:614.48},{date:"2012-04-03T00:00:00.000Z",close:629.32},{date:"2012-04-10T00:00:00.000Z",close:626.2},{date:"2012-04-17T00:00:00.000Z",close:608.34},{date:"2012-04-24T00:00:00.000Z",close:610},{date:"2012-05-01T00:00:00.000Z",close:582.13}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-scatter-plot",name:"\u6563\u70B9\u56FE",description:"\u89C2\u5BDF\u53D8\u91CF\u5173\u7CFB\u4E0E\u79BB\u7FA4\u70B9\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u6563\u70B9\u56FE",datasets:{main:[{height:161,weight:50},{height:167,weight:55},{height:171,weight:63},{height:174,weight:58},{height:176,weight:65},{height:178,weight:70},{height:180,weight:72},{height:182,weight:75},{height:185,weight:78},{height:188,weight:82}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-bubble-chart",name:"\u6C14\u6CE1\u56FE",description:"\u7528\u6C14\u6CE1\u5927\u5C0F\u589E\u52A0\u4E00\u4E2A\u6570\u503C\u7EF4\u5EA6\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u6C14\u6CE1\u56FE",datasets:{main:[{continent:"Americas",Country:"Argentina",LifeExpectancy:75.32,GDP:12779.37964,Population:40301927},{continent:"Americas",Country:"Brazil",LifeExpectancy:72.39,GDP:9065.800825,Population:190010647},{continent:"Americas",Country:"Canada",LifeExpectancy:80.653,GDP:36319.23501,Population:33390141},{continent:"Americas",Country:"Chile",LifeExpectancy:78.553,GDP:13171.63885,Population:16284741},{continent:"Americas",Country:"Colombia",LifeExpectancy:72.889,GDP:7006.580419,Population:44227550},{continent:"Americas",Country:"Costa Rica",LifeExpectancy:78.782,GDP:9645.06142,Population:4133884},{continent:"Americas",Country:"Cuba",LifeExpectancy:78.273,GDP:8948.102923,Population:11416987},{continent:"Americas",Country:"Dominican Republic",LifeExpectancy:72.235,GDP:6025.374752,Population:9319622},{continent:"Americas",Country:"Ecuador",LifeExpectancy:74.994,GDP:6873.262326,Population:13755680},{continent:"Americas",Country:"El Salvador",LifeExpectancy:71.878,GDP:5728.353514,Population:6939688},{continent:"Americas",Country:"Guatemala",LifeExpectancy:70.259,GDP:5186.050003,Population:12572928},{continent:"Americas",Country:"Honduras",LifeExpectancy:70.198,GDP:3548.330846,Population:7483763},{continent:"Americas",Country:"Jamaica",LifeExpectancy:72.567,GDP:7320.880262,Population:2780132},{continent:"Americas",Country:"Mexico",LifeExpectancy:76.195,GDP:11977.57496,Population:108700891},{continent:"Americas",Country:"Nicaragua",LifeExpectancy:72.899,GDP:2749.320965,Population:5675356},{continent:"Americas",Country:"Panama",LifeExpectancy:75.537,GDP:9809.185636,Population:3242173},{continent:"Americas",Country:"Paraguay",LifeExpectancy:71.752,GDP:4172.838464,Population:6667147},{continent:"Americas",Country:"Peru",LifeExpectancy:71.421,GDP:7408.905561,Population:28674757},{continent:"Americas",Country:"Puerto Rico",LifeExpectancy:78.746,GDP:19328.70901,Population:3942491},{continent:"Americas",Country:"Trinidad and Tobago",LifeExpectancy:69.819,GDP:18008.50924,Population:1056608},{continent:"Americas",Country:"United States",LifeExpectancy:78.242,GDP:42951.65309,Population:301139947},{continent:"Americas",Country:"Uruguay",LifeExpectancy:76.384,GDP:10611.46299,Population:3447496},{continent:"Americas",Country:"Venezuela",LifeExpectancy:73.747,GDP:11415.80569,Population:26084662},{continent:"Asia",Country:"China",LifeExpectancy:72.961,GDP:4959.114854,Population:1318683096},{continent:"Asia",Country:"Hong Kong, China",LifeExpectancy:82.208,GDP:39724.97867,Population:6980412},{continent:"Asia",Country:"Japan",LifeExpectancy:82.603,GDP:31656.06806,Population:127467972},{continent:"Asia",Country:"Korea, Dem. Rep.",LifeExpectancy:67.297,GDP:1593.06548,Population:23301725},{continent:"Asia",Country:"Korea, Rep.",LifeExpectancy:78.623,GDP:23348.13973,Population:49044790},{continent:"Europe",Country:"Albania",LifeExpectancy:76.423,GDP:5937.029526,Population:3600523},{continent:"Europe",Country:"Austria",LifeExpectancy:79.829,GDP:36126.4927,Population:8199783},{continent:"Europe",Country:"Belgium",LifeExpectancy:79.441,GDP:33692.60508,Population:10392226},{continent:"Europe",Country:"Bosnia and Herzegovina",LifeExpectancy:74.852,GDP:7446.298803,Population:4552198},{continent:"Europe",Country:"Bulgaria",LifeExpectancy:73.005,GDP:10680.79282,Population:7322858},{continent:"Europe",Country:"Croatia",LifeExpectancy:75.748,GDP:14619.22272,Population:4493312},{continent:"Europe",Country:"Czech Republic",LifeExpectancy:76.486,GDP:22833.30851,Population:10228744},{continent:"Europe",Country:"Denmark",LifeExpectancy:78.332,GDP:35278.41874,Population:5468120},{continent:"Europe",Country:"Finland",LifeExpectancy:79.313,GDP:33207.0844,Population:5238460},{continent:"Europe",Country:"France",LifeExpectancy:80.657,GDP:30470.0167,Population:61083916},{continent:"Europe",Country:"Germany",LifeExpectancy:79.406,GDP:32170.37442,Population:82400996},{continent:"Europe",Country:"Greece",LifeExpectancy:79.483,GDP:27538.41188,Population:10706290},{continent:"Europe",Country:"Hungary",LifeExpectancy:73.338,GDP:18008.94444,Population:9956108},{continent:"Europe",Country:"Iceland",LifeExpectancy:81.757,GDP:36180.78919,Population:301931},{continent:"Europe",Country:"Ireland",LifeExpectancy:78.885,GDP:40675.99635,Population:4109086},{continent:"Europe",Country:"Italy",LifeExpectancy:80.546,GDP:28569.7197,Population:58147733},{continent:"Europe",Country:"Montenegro",LifeExpectancy:74.543,GDP:9253.896111,Population:684736},{continent:"Europe",Country:"Netherlands",LifeExpectancy:79.762,GDP:36797.93332,Population:16570613},{continent:"Europe",Country:"Norway",LifeExpectancy:80.196,GDP:49357.19017,Population:4627926},{continent:"Europe",Country:"Poland",LifeExpectancy:75.563,GDP:15389.92468,Population:38518241},{continent:"Europe",Country:"Portugal",LifeExpectancy:78.098,GDP:20509.64777,Population:10642836},{continent:"Europe",Country:"Romania",LifeExpectancy:72.476,GDP:10808.47561,Population:22276056},{continent:"Europe",Country:"Serbia",LifeExpectancy:74.002,GDP:9786.534714,Population:10150265},{continent:"Europe",Country:"Slovak Republic",LifeExpectancy:74.663,GDP:18678.31435,Population:5447502},{continent:"Europe",Country:"Slovenia",LifeExpectancy:77.926,GDP:25768.25759,Population:2009245},{continent:"Europe",Country:"Spain",LifeExpectancy:80.941,GDP:28821.0637,Population:40448191},{continent:"Europe",Country:"Sweden",LifeExpectancy:80.884,GDP:33859.74835,Population:9031088},{continent:"Europe",Country:"Switzerland",LifeExpectancy:81.701,GDP:37506.41907,Population:7554661},{continent:"Europe",Country:"Turkey",LifeExpectancy:71.777,GDP:8458.276384,Population:71158647},{continent:"Europe",Country:"United Kingdom",LifeExpectancy:79.425,GDP:33203.26128,Population:60776238},{continent:"Oceania",Country:"Australia",LifeExpectancy:81.235,GDP:34435.36744,Population:20434176},{continent:"Oceania",Country:"New Zealand",LifeExpectancy:80.204,GDP:25185.00911,Population:4115771}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-multi-set-bar",name:"\u5206\u7EC4\u67F1\u72B6\u56FE",description:"\u5E76\u6392\u6BD4\u8F83\u4E0D\u540C\u7CFB\u5217\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5206\u7EC4\u67F1\u72B6\u56FE",datasets:{main:[{year:"2001",genre:"Sports",sold:27500},{year:"2001",genre:"Strategy",sold:11500},{year:"2001",genre:"Action",sold:6e3},{year:"2001",genre:"Shooter",sold:3500},{year:"2001",genre:"Other",sold:1500},{year:"2002",genre:"Sports",sold:29500},{year:"2002",genre:"Strategy",sold:10500},{year:"2002",genre:"Action",sold:8e3},{year:"2002",genre:"Shooter",sold:4500},{year:"2002",genre:"Other",sold:1800},{year:"2003",genre:"Sports",sold:30500},{year:"2003",genre:"Strategy",sold:12500},{year:"2003",genre:"Action",sold:4e3},{year:"2003",genre:"Shooter",sold:6500},{year:"2003",genre:"Other",sold:2e3}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-bi-directional-bar",name:"\u53CC\u5411\u6761\u5F62\u56FE",description:"\u5411\u4E24\u4FA7\u6BD4\u8F83\u6B63\u8D1F\u6216\u4E24\u7EC4\u6570\u636E\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u53CC\u5411\u6761\u5F62\u56FE",datasets:{main:[{department:"Dept 0",group:"Group0",people:37,type:"completed"},{department:"Dept 0",group:"Group0",people:9,type:"uncompleted"},{department:"Dept 0",group:"Group1",people:27,type:"completed"},{department:"Dept 0",group:"Group1",people:10,type:"uncompleted"},{department:"Dept 1",group:"Group2",people:37,type:"completed"},{department:"Dept 1",group:"Group2",people:19,type:"uncompleted"},{department:"Dept 1",group:"Group3",people:37,type:"completed"},{department:"Dept 1",group:"Group3",people:29,type:"uncompleted"},{department:"Dept 2",group:"Group4",people:20,type:"completed"},{department:"Dept 2",group:"Group4",people:2,type:"uncompleted"},{department:"Dept 2",group:"Group5",people:40,type:"completed"},{department:"Dept 2",group:"Group5",people:10,type:"uncompleted"},{department:"Dept 3",group:"Group6",people:25,type:"completed"},{department:"Dept 3",group:"Group6",people:3,type:"uncompleted"},{department:"Dept 3",group:"Group7",people:55,type:"completed"},{department:"Dept 3",group:"Group7",people:8,type:"uncompleted"}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-radar-chart",name:"\u96F7\u8FBE\u56FE",description:"\u6BD4\u8F83\u591A\u4E2A\u7EF4\u5EA6\u7684\u8F6E\u5ED3\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u96F7\u8FBE\u56FE",datasets:{main:[{ability:"Language",score:8.8},{ability:"Logic",score:9},{ability:"Affinity",score:7.2},{ability:"Sports",score:4.5},{ability:"Learning",score:8.3}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-radial-bar",name:"\u5F84\u5411\u6761\u5F62\u56FE",description:"\u5728\u6781\u5750\u6807\u4E2D\u6392\u5217\u6761\u5F62\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5F84\u5411\u6761\u5F62\u56FE",datasets:{main:[{question:"Taiwan Relations",percent:.21,odd:0},{question:"China's Growing Military Power",percent:.47,odd:1},{question:"China's Impact on Global Environment",percent:.49,odd:0},{question:"US Trade Deficit with China",percent:.52,odd:1},{question:"China's Human Rights Policy",percent:.53,odd:0},{question:"Cyber Attacks from China",percent:.54,odd:1},{question:"China Taking Away American Jobs",percent:.6,odd:0},{question:"China Holding US Massive Debt",percent:.67,odd:1}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-parallel",name:"\u5E73\u884C\u5750\u6807",description:"\u89C2\u5BDF\u591A\u7EF4\u6570\u503C\u7684\u7EC4\u5408\u6A21\u5F0F\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5E73\u884C\u5750\u6807",datasets:{main:[{name:"AMC Ambassador Brougham","economy (mpg)":13,cylinders:8,"displacement (cc)":360,"power (hp)":175,"weight (lb)":3821,"0-60 mph (s)":11,year:73},{name:"AMC Ambassador SST","economy (mpg)":17,cylinders:8,"displacement (cc)":304,"power (hp)":150,"weight (lb)":3672,"0-60 mph (s)":11.5,year:72},{name:"AMC Concord DL","economy (mpg)":18.1,cylinders:6,"displacement (cc)":258,"power (hp)":120,"weight (lb)":3410,"0-60 mph (s)":15.1,year:78},{name:"AMC Concord","economy (mpg)":19.4,cylinders:6,"displacement (cc)":232,"power (hp)":90,"weight (lb)":3210,"0-60 mph (s)":17.2,year:78},{name:"AMC Gremlin","economy (mpg)":18,cylinders:6,"displacement (cc)":232,"power (hp)":100,"weight (lb)":2789,"0-60 mph (s)":15,year:73},{name:"AMC Gremlin","economy (mpg)":20,cylinders:6,"displacement (cc)":232,"power (hp)":100,"weight (lb)":2914,"0-60 mph (s)":16,year:75},{name:"AMC Hornet Sportabout (Wagon)","economy (mpg)":18,cylinders:6,"displacement (cc)":258,"power (hp)":110,"weight (lb)":2962,"0-60 mph (s)":13.5,year:71},{name:"AMC Hornet","economy (mpg)":18,cylinders:6,"displacement (cc)":232,"power (hp)":100,"weight (lb)":2945,"0-60 mph (s)":16,year:73},{name:"AMC Hornet","economy (mpg)":22.5,cylinders:6,"displacement (cc)":232,"power (hp)":90,"weight (lb)":3085,"0-60 mph (s)":17.6,year:76},{name:"AMC Matador (Wagon)","economy (mpg)":15,cylinders:8,"displacement (cc)":304,"power (hp)":150,"weight (lb)":3892,"0-60 mph (s)":12.5,year:72},{name:"AMC Matador","economy (mpg)":15,cylinders:6,"displacement (cc)":258,"power (hp)":110,"weight (lb)":3730,"0-60 mph (s)":19,year:75},{name:"AMC Matador","economy (mpg)":16,cylinders:6,"displacement (cc)":258,"power (hp)":110,"weight (lb)":3632,"0-60 mph (s)":18,year:74},{name:"AMC Pacer D/L","economy (mpg)":17.5,cylinders:6,"displacement (cc)":258,"power (hp)":95,"weight (lb)":3193,"0-60 mph (s)":17.8,year:76},{name:"AMC Rebel SST (Wagon)","economy (mpg)":null,cylinders:8,"displacement (cc)":360,"power (hp)":175,"weight (lb)":3850,"0-60 mph (s)":11,year:70},{name:"AMC Spirit DL","economy (mpg)":27.4,cylinders:4,"displacement (cc)":121,"power (hp)":80,"weight (lb)":2670,"0-60 mph (s)":15,year:79},{name:"Audi 100 LS","economy (mpg)":23,cylinders:4,"displacement (cc)":115,"power (hp)":95,"weight (lb)":2694,"0-60 mph (s)":15,year:75},{name:"Audi 4000","economy (mpg)":34.3,cylinders:4,"displacement (cc)":97,"power (hp)":78,"weight (lb)":2188,"0-60 mph (s)":15.8,year:80},{name:"Audi 5000S (Diesel)","economy (mpg)":36.4,cylinders:5,"displacement (cc)":121,"power (hp)":67,"weight (lb)":2950,"0-60 mph (s)":19.9,year:80},{name:"BMW 2002","economy (mpg)":26,cylinders:4,"displacement (cc)":121,"power (hp)":113,"weight (lb)":2234,"0-60 mph (s)":12.5,year:70},{name:"Buick Century 350","economy (mpg)":13,cylinders:8,"displacement (cc)":350,"power (hp)":175,"weight (lb)":4100,"0-60 mph (s)":13,year:73},{name:"Buick Century Luxus (Wagon)","economy (mpg)":13,cylinders:8,"displacement (cc)":350,"power (hp)":150,"weight (lb)":4699,"0-60 mph (s)":14.5,year:74},{name:"Buick Century","economy (mpg)":17,cylinders:6,"displacement (cc)":231,"power (hp)":110,"weight (lb)":3907,"0-60 mph (s)":21,year:75},{name:"Buick Electra 225 Custom","economy (mpg)":12,cylinders:8,"displacement (cc)":455,"power (hp)":225,"weight (lb)":4951,"0-60 mph (s)":11,year:73},{name:"Buick Estate Wagon (Wagon)","economy (mpg)":16.9,cylinders:8,"displacement (cc)":350,"power (hp)":155,"weight (lb)":4360,"0-60 mph (s)":14.9,year:79},{name:"Buick Opel Isuzu Deluxe","economy (mpg)":30,cylinders:4,"displacement (cc)":111,"power (hp)":80,"weight (lb)":2155,"0-60 mph (s)":14.8,year:77},{name:"Buick Skyhawk","economy (mpg)":21,cylinders:6,"displacement (cc)":231,"power (hp)":110,"weight (lb)":3039,"0-60 mph (s)":15,year:75},{name:"Buick Skylark Limited","economy (mpg)":28.4,cylinders:4,"displacement (cc)":151,"power (hp)":90,"weight (lb)":2670,"0-60 mph (s)":16,year:79},{name:"Buick Skylark","economy (mpg)":26.6,cylinders:4,"displacement (cc)":151,"power (hp)":84,"weight (lb)":2635,"0-60 mph (s)":16.4,year:81},{name:"Cadillac Seville","economy (mpg)":16.5,cylinders:8,"displacement (cc)":350,"power (hp)":180,"weight (lb)":4380,"0-60 mph (s)":12.1,year:76},{name:"Chevrolet Bel Air","economy (mpg)":15,cylinders:8,"displacement (cc)":350,"power (hp)":145,"weight (lb)":4440,"0-60 mph (s)":14,year:75},{name:"Chevrolet Caprice Classic","economy (mpg)":13,cylinders:8,"displacement (cc)":400,"power (hp)":150,"weight (lb)":4464,"0-60 mph (s)":12,year:73},{name:"Chevrolet Caprice Classic","economy (mpg)":17.5,cylinders:8,"displacement (cc)":305,"power (hp)":145,"weight (lb)":3880,"0-60 mph (s)":12.5,year:77},{name:"Chevrolet Cavalier Wagon","economy (mpg)":27,cylinders:4,"displacement (cc)":112,"power (hp)":88,"weight (lb)":2640,"0-60 mph (s)":18.6,year:82},{name:"Chevrolet Chevelle Concours (Wagon)","economy (mpg)":null,cylinders:8,"displacement (cc)":350,"power (hp)":165,"weight (lb)":4142,"0-60 mph (s)":11.5,year:70},{name:"Chevrolet Chevelle Malibu Classic","economy (mpg)":16,cylinders:6,"displacement (cc)":250,"power (hp)":100,"weight (lb)":3781,"0-60 mph (s)":17,year:74},{name:"Chevrolet Chevelle Malibu","economy (mpg)":17,cylinders:6,"displacement (cc)":250,"power (hp)":100,"weight (lb)":3329,"0-60 mph (s)":15.5,year:71},{name:"Chevrolet Chevette","economy (mpg)":29,cylinders:4,"displacement (cc)":85,"power (hp)":52,"weight (lb)":2035,"0-60 mph (s)":22.2,year:76},{name:"Chevrolet Chevette","economy (mpg)":30.5,cylinders:4,"displacement (cc)":98,"power (hp)":63,"weight (lb)":2051,"0-60 mph (s)":17,year:77},{name:"Chevrolet Citation","economy (mpg)":23.5,cylinders:6,"displacement (cc)":173,"power (hp)":110,"weight (lb)":2725,"0-60 mph (s)":12.6,year:81},{name:"Chevrolet Citation","economy (mpg)":28.8,cylinders:6,"displacement (cc)":173,"power (hp)":115,"weight (lb)":2595,"0-60 mph (s)":11.3,year:79},{name:"Chevrolet Impala","economy (mpg)":11,cylinders:8,"displacement (cc)":400,"power (hp)":150,"weight (lb)":4997,"0-60 mph (s)":14,year:73},{name:"Chevrolet Impala","economy (mpg)":14,cylinders:8,"displacement (cc)":350,"power (hp)":165,"weight (lb)":4209,"0-60 mph (s)":12,year:71},{name:"Chevrolet Malibu Classic (Wagon)","economy (mpg)":19.2,cylinders:8,"displacement (cc)":267,"power (hp)":125,"weight (lb)":3605,"0-60 mph (s)":15,year:79},{name:"Chevrolet Malibu","economy (mpg)":20.5,cylinders:6,"displacement (cc)":200,"power (hp)":95,"weight (lb)":3155,"0-60 mph (s)":18.2,year:78},{name:"Chevrolet Monte Carlo Landau","economy (mpg)":19.2,cylinders:8,"displacement (cc)":305,"power (hp)":145,"weight (lb)":3425,"0-60 mph (s)":13.2,year:78},{name:"Chevrolet Monte Carlo","economy (mpg)":15,cylinders:8,"displacement (cc)":400,"power (hp)":150,"weight (lb)":3761,"0-60 mph (s)":9.5,year:70},{name:"Chevrolet Nova Custom","economy (mpg)":16,cylinders:6,"displacement (cc)":250,"power (hp)":100,"weight (lb)":3278,"0-60 mph (s)":18,year:73},{name:"Chevrolet Nova","economy (mpg)":18,cylinders:6,"displacement (cc)":250,"power (hp)":105,"weight (lb)":3459,"0-60 mph (s)":16,year:75},{name:"Chevrolet Vega (Wagon)","economy (mpg)":22,cylinders:4,"displacement (cc)":140,"power (hp)":72,"weight (lb)":2408,"0-60 mph (s)":19,year:71},{name:"Chevrolet Vega","economy (mpg)":20,cylinders:4,"displacement (cc)":140,"power (hp)":90,"weight (lb)":2408,"0-60 mph (s)":19.5,year:72},{name:"Chevrolet Vega","economy (mpg)":25,cylinders:4,"displacement (cc)":140,"power (hp)":75,"weight (lb)":2542,"0-60 mph (s)":17,year:74},{name:"Chevy C10","economy (mpg)":13,cylinders:8,"displacement (cc)":350,"power (hp)":145,"weight (lb)":4055,"0-60 mph (s)":12,year:76},{name:"Chevy S-10","economy (mpg)":31,cylinders:4,"displacement (cc)":119,"power (hp)":82,"weight (lb)":2720,"0-60 mph (s)":19.4,year:82},{name:"Chrysler Lebaron Medallion","economy (mpg)":26,cylinders:4,"displacement (cc)":156,"power (hp)":92,"weight (lb)":2585,"0-60 mph (s)":14.5,year:82},{name:"Chrysler Lebaron Town & Country (Wagon)","economy (mpg)":18.5,cylinders:8,"displacement (cc)":360,"power (hp)":150,"weight (lb)":3940,"0-60 mph (s)":13,year:79},{name:"Chrysler Newport Royal","economy (mpg)":13,cylinders:8,"displacement (cc)":400,"power (hp)":190,"weight (lb)":4422,"0-60 mph (s)":12.5,year:72},{name:"Datsun 1200","economy (mpg)":35,cylinders:4,"displacement (cc)":72,"power (hp)":69,"weight (lb)":1613,"0-60 mph (s)":18,year:71},{name:"Datsun 200SX","economy (mpg)":32.9,cylinders:4,"displacement (cc)":119,"power (hp)":100,"weight (lb)":2615,"0-60 mph (s)":14.8,year:81},{name:"Datsun 210","economy (mpg)":37,cylinders:4,"displacement (cc)":85,"power (hp)":65,"weight (lb)":1975,"0-60 mph (s)":19.4,year:81},{name:"Datsun 280ZX","economy (mpg)":32.7,cylinders:6,"displacement (cc)":168,"power (hp)":132,"weight (lb)":2910,"0-60 mph (s)":11.4,year:80},{name:"Datsun 310","economy (mpg)":37.2,cylinders:4,"displacement (cc)":86,"power (hp)":65,"weight (lb)":2019,"0-60 mph (s)":16.4,year:80},{name:"Datsun 510 Hatchback","economy (mpg)":37,cylinders:4,"displacement (cc)":119,"power (hp)":92,"weight (lb)":2434,"0-60 mph (s)":15,year:80},{name:"Datsun 610","economy (mpg)":22,cylinders:4,"displacement (cc)":108,"power (hp)":94,"weight (lb)":2379,"0-60 mph (s)":16.5,year:73},{name:"Datsun 710","economy (mpg)":32,cylinders:4,"displacement (cc)":83,"power (hp)":61,"weight (lb)":2003,"0-60 mph (s)":19,year:74},{name:"Datsun 810","economy (mpg)":22,cylinders:6,"displacement (cc)":146,"power (hp)":97,"weight (lb)":2815,"0-60 mph (s)":14.5,year:77},{name:"Datsun B210 GX","economy (mpg)":39.4,cylinders:4,"displacement (cc)":85,"power (hp)":70,"weight (lb)":2070,"0-60 mph (s)":18.6,year:78},{name:"Datsun F-10 Hatchback","economy (mpg)":33.5,cylinders:4,"displacement (cc)":85,"power (hp)":70,"weight (lb)":1945,"0-60 mph (s)":16.8,year:77},{name:"Datsun PL510","economy (mpg)":27,cylinders:4,"displacement (cc)":97,"power (hp)":88,"weight (lb)":2130,"0-60 mph (s)":14.5,year:71},{name:"Dodge Aries Wagon (Wagon)","economy (mpg)":25.8,cylinders:4,"displacement (cc)":156,"power (hp)":92,"weight (lb)":2620,"0-60 mph (s)":14.4,year:81},{name:"Dodge Aspen SE","economy (mpg)":20,cylinders:6,"displacement (cc)":225,"power (hp)":100,"weight (lb)":3651,"0-60 mph (s)":17.7,year:76},{name:"Dodge Aspen","economy (mpg)":19.1,cylinders:6,"displacement (cc)":225,"power (hp)":90,"weight (lb)":3381,"0-60 mph (s)":18.7,year:80},{name:"Dodge Charger 2.2","economy (mpg)":36,cylinders:4,"displacement (cc)":135,"power (hp)":84,"weight (lb)":2370,"0-60 mph (s)":13,year:82},{name:"Dodge Colt Hardtop","economy (mpg)":25,cylinders:4,"displacement (cc)":97.5,"power (hp)":80,"weight (lb)":2126,"0-60 mph (s)":17,year:72},{name:"Dodge Colt M/M","economy (mpg)":33.5,cylinders:4,"displacement (cc)":98,"power (hp)":83,"weight (lb)":2075,"0-60 mph (s)":15.9,year:77},{name:"Dodge Colt","economy (mpg)":27.9,cylinders:4,"displacement (cc)":156,"power (hp)":105,"weight (lb)":2800,"0-60 mph (s)":14.4,year:80},{name:"Dodge Coronet Brougham","economy (mpg)":16,cylinders:8,"displacement (cc)":318,"power (hp)":150,"weight (lb)":4190,"0-60 mph (s)":13,year:76},{name:"Dodge Coronet Custom","economy (mpg)":15,cylinders:8,"displacement (cc)":318,"power (hp)":150,"weight (lb)":3777,"0-60 mph (s)":12.5,year:73},{name:"Dodge D200","economy (mpg)":11,cylinders:8,"displacement (cc)":318,"power (hp)":210,"weight (lb)":4382,"0-60 mph (s)":13.5,year:70},{name:"Dodge Diplomat","economy (mpg)":19.4,cylinders:8,"displacement (cc)":318,"power (hp)":140,"weight (lb)":3735,"0-60 mph (s)":13.2,year:78},{name:"Dodge Monaco (Wagon)","economy (mpg)":12,cylinders:8,"displacement (cc)":383,"power (hp)":180,"weight (lb)":4955,"0-60 mph (s)":11.5,year:71},{name:"Dodge Omni","economy (mpg)":30.9,cylinders:4,"displacement (cc)":105,"power (hp)":75,"weight (lb)":2230,"0-60 mph (s)":14.5,year:78},{name:"Dodge St. Regis","economy (mpg)":18.2,cylinders:8,"displacement (cc)":318,"power (hp)":135,"weight (lb)":3830,"0-60 mph (s)":15.2,year:79},{name:"Fiat 124 TC","economy (mpg)":26,cylinders:4,"displacement (cc)":116,"power (hp)":75,"weight (lb)":2246,"0-60 mph (s)":14,year:74},{name:"Fiat 128","economy (mpg)":24,cylinders:4,"displacement (cc)":90,"power (hp)":75,"weight (lb)":2108,"0-60 mph (s)":15.5,year:74},{name:"Fiat 131","economy (mpg)":28,cylinders:4,"displacement (cc)":107,"power (hp)":86,"weight (lb)":2464,"0-60 mph (s)":15.5,year:76},{name:"Fiat X1.9","economy (mpg)":31,cylinders:4,"displacement (cc)":79,"power (hp)":67,"weight (lb)":2e3,"0-60 mph (s)":16,year:74},{name:"Ford Country Squire (Wagon)","economy (mpg)":13,cylinders:8,"displacement (cc)":400,"power (hp)":170,"weight (lb)":4746,"0-60 mph (s)":12,year:71},{name:"Ford Country","economy (mpg)":12,cylinders:8,"displacement (cc)":400,"power (hp)":167,"weight (lb)":4906,"0-60 mph (s)":12.5,year:73},{name:"Ford Escort 4W","economy (mpg)":34.4,cylinders:4,"displacement (cc)":98,"power (hp)":65,"weight (lb)":2045,"0-60 mph (s)":16.2,year:81},{name:"Ford F250","economy (mpg)":10,cylinders:8,"displacement (cc)":360,"power (hp)":215,"weight (lb)":4615,"0-60 mph (s)":14,year:70},{name:"Ford Fairmont (Man)","economy (mpg)":25.1,cylinders:4,"displacement (cc)":140,"power (hp)":88,"weight (lb)":2720,"0-60 mph (s)":15.4,year:78},{name:"Ford Fairmont Futura","economy (mpg)":24,cylinders:4,"displacement (cc)":140,"power (hp)":92,"weight (lb)":2865,"0-60 mph (s)":16.4,year:82},{name:"Ford Fiesta","economy (mpg)":36.1,cylinders:4,"displacement (cc)":98,"power (hp)":66,"weight (lb)":1800,"0-60 mph (s)":14.4,year:78},{name:"Ford Galaxie 500","economy (mpg)":14,cylinders:8,"displacement (cc)":351,"power (hp)":153,"weight (lb)":4129,"0-60 mph (s)":13,year:72},{name:"Ford Galaxie 500","economy (mpg)":15,cylinders:8,"displacement (cc)":429,"power (hp)":198,"weight (lb)":4341,"0-60 mph (s)":10,year:70},{name:"Ford Gran Torino (Wagon)","economy (mpg)":14,cylinders:8,"displacement (cc)":302,"power (hp)":140,"weight (lb)":4638,"0-60 mph (s)":16,year:74},{name:"Ford Gran Torino","economy (mpg)":14.5,cylinders:8,"displacement (cc)":351,"power (hp)":152,"weight (lb)":4215,"0-60 mph (s)":12.8,year:76},{name:"Ford Granada Ghia","economy (mpg)":18,cylinders:6,"displacement (cc)":250,"power (hp)":78,"weight (lb)":3574,"0-60 mph (s)":21,year:76},{name:"Ford Granada L","economy (mpg)":22,cylinders:6,"displacement (cc)":232,"power (hp)":112,"weight (lb)":2835,"0-60 mph (s)":14.7,year:82},{name:"Ford LTD Landau","economy (mpg)":17.6,cylinders:8,"displacement (cc)":302,"power (hp)":129,"weight (lb)":3725,"0-60 mph (s)":13.4,year:79},{name:"Ford LTD","economy (mpg)":14,cylinders:8,"displacement (cc)":351,"power (hp)":148,"weight (lb)":4657,"0-60 mph (s)":13.5,year:75},{name:"Ford Maverick","economy (mpg)":18,cylinders:6,"displacement (cc)":250,"power (hp)":88,"weight (lb)":3021,"0-60 mph (s)":16.5,year:73},{name:"Ford Maverick","economy (mpg)":21,cylinders:6,"displacement (cc)":200,"power (hp)":85,"weight (lb)":2587,"0-60 mph (s)":16,year:70},{name:"Ford Mustang Boss 302","economy (mpg)":null,cylinders:8,"displacement (cc)":302,"power (hp)":140,"weight (lb)":3353,"0-60 mph (s)":8,year:70},{name:"Ford Mustang GL","economy (mpg)":27,cylinders:4,"displacement (cc)":140,"power (hp)":86,"weight (lb)":2790,"0-60 mph (s)":15.6,year:82},{name:"Ford Mustang II","economy (mpg)":13,cylinders:8,"displacement (cc)":302,"power (hp)":129,"weight (lb)":3169,"0-60 mph (s)":12,year:75},{name:"Ford Pinto (Wagon)","economy (mpg)":22,cylinders:4,"displacement (cc)":122,"power (hp)":86,"weight (lb)":2395,"0-60 mph (s)":16,year:72},{name:"Ford Pinto","economy (mpg)":18,cylinders:6,"displacement (cc)":171,"power (hp)":97,"weight (lb)":2984,"0-60 mph (s)":14.5,year:75},{name:"Ford Pinto","economy (mpg)":23,cylinders:4,"displacement (cc)":140,"power (hp)":83,"weight (lb)":2639,"0-60 mph (s)":17,year:75},{name:"Ford Pinto","economy (mpg)":26,cylinders:4,"displacement (cc)":122,"power (hp)":80,"weight (lb)":2451,"0-60 mph (s)":16.5,year:74},{name:"Ford Ranger","economy (mpg)":28,cylinders:4,"displacement (cc)":120,"power (hp)":79,"weight (lb)":2625,"0-60 mph (s)":18.6,year:82},{name:"Ford Torino (Wagon)","economy (mpg)":null,cylinders:8,"displacement (cc)":351,"power (hp)":153,"weight (lb)":4034,"0-60 mph (s)":11,year:70},{name:"Ford Torino","economy (mpg)":17,cylinders:8,"displacement (cc)":302,"power (hp)":140,"weight (lb)":3449,"0-60 mph (s)":10.5,year:70},{name:"Honda Accord CVCC","economy (mpg)":31.5,cylinders:4,"displacement (cc)":98,"power (hp)":68,"weight (lb)":2045,"0-60 mph (s)":18.5,year:77},{name:"Honda Accord","economy (mpg)":32.4,cylinders:4,"displacement (cc)":107,"power (hp)":72,"weight (lb)":2290,"0-60 mph (s)":17,year:80},{name:"Honda Civic (Auto)","economy (mpg)":32,cylinders:4,"displacement (cc)":91,"power (hp)":67,"weight (lb)":1965,"0-60 mph (s)":15.7,year:82},{name:"Honda Civic 1500 GL","economy (mpg)":44.6,cylinders:4,"displacement (cc)":91,"power (hp)":67,"weight (lb)":1850,"0-60 mph (s)":13.8,year:80},{name:"Honda Civic CVCC","economy (mpg)":36.1,cylinders:4,"displacement (cc)":91,"power (hp)":60,"weight (lb)":1800,"0-60 mph (s)":16.4,year:78},{name:"Honda Civic","economy (mpg)":33,cylinders:4,"displacement (cc)":91,"power (hp)":53,"weight (lb)":1795,"0-60 mph (s)":17.4,year:76},{name:"Honda Prelude","economy (mpg)":33.7,cylinders:4,"displacement (cc)":107,"power (hp)":75,"weight (lb)":2210,"0-60 mph (s)":14.4,year:81},{name:"Maxda RX-3","economy (mpg)":18,cylinders:3,"displacement (cc)":70,"power (hp)":90,"weight (lb)":2124,"0-60 mph (s)":13.5,year:73},{name:"Mazda 626","economy (mpg)":31.6,cylinders:4,"displacement (cc)":120,"power (hp)":74,"weight (lb)":2635,"0-60 mph (s)":18.3,year:81},{name:"Mazda GLC Custom L","economy (mpg)":37,cylinders:4,"displacement (cc)":91,"power (hp)":68,"weight (lb)":2025,"0-60 mph (s)":18.2,year:82},{name:"Mazda GLC Deluxe","economy (mpg)":32.8,cylinders:4,"displacement (cc)":78,"power (hp)":52,"weight (lb)":1985,"0-60 mph (s)":19.4,year:78},{name:"Mazda RX-2 Coupe","economy (mpg)":19,cylinders:3,"displacement (cc)":70,"power (hp)":97,"weight (lb)":2330,"0-60 mph (s)":13.5,year:72},{name:"Mazda RX-7 Gs","economy (mpg)":23.7,cylinders:3,"displacement (cc)":70,"power (hp)":100,"weight (lb)":2420,"0-60 mph (s)":12.5,year:80},{name:"Mercedes-Benz 280S","economy (mpg)":16.5,cylinders:6,"displacement (cc)":168,"power (hp)":120,"weight (lb)":3820,"0-60 mph (s)":16.7,year:76},{name:"Mercury Capri 2000","economy (mpg)":23,cylinders:4,"displacement (cc)":122,"power (hp)":86,"weight (lb)":2220,"0-60 mph (s)":14,year:71},{name:"Mercury Cougar Brougham","economy (mpg)":15,cylinders:8,"displacement (cc)":302,"power (hp)":130,"weight (lb)":4295,"0-60 mph (s)":14.9,year:77},{name:"Mercury Lynx L","economy (mpg)":36,cylinders:4,"displacement (cc)":98,"power (hp)":70,"weight (lb)":2125,"0-60 mph (s)":17.3,year:82},{name:"Mercury Marquis","economy (mpg)":11,cylinders:8,"displacement (cc)":429,"power (hp)":208,"weight (lb)":4633,"0-60 mph (s)":11,year:72},{name:"Mercury Monarch","economy (mpg)":15,cylinders:6,"displacement (cc)":250,"power (hp)":72,"weight (lb)":3432,"0-60 mph (s)":21,year:75},{name:"Mercury Zephyr","economy (mpg)":20.8,cylinders:6,"displacement (cc)":200,"power (hp)":85,"weight (lb)":3070,"0-60 mph (s)":16.7,year:78},{name:"Oldsmobile Cutlass Ciera (Diesel)","economy (mpg)":38,cylinders:6,"displacement (cc)":262,"power (hp)":85,"weight (lb)":3015,"0-60 mph (s)":17,year:82},{name:"Oldsmobile Cutlass Salon Brougham","economy (mpg)":19.9,cylinders:8,"displacement (cc)":260,"power (hp)":110,"weight (lb)":3365,"0-60 mph (s)":15.5,year:78},{name:"Oldsmobile Cutlass Supreme","economy (mpg)":17,cylinders:8,"displacement (cc)":260,"power (hp)":110,"weight (lb)":4060,"0-60 mph (s)":19,year:77},{name:"Oldsmobile Omega Brougham","economy (mpg)":26.8,cylinders:6,"displacement (cc)":173,"power (hp)":115,"weight (lb)":2700,"0-60 mph (s)":12.9,year:79},{name:"Oldsmobile Starfire SX","economy (mpg)":23.8,cylinders:4,"displacement (cc)":151,"power (hp)":85,"weight (lb)":2855,"0-60 mph (s)":17.6,year:78},{name:"Opel 1900","economy (mpg)":25,cylinders:4,"displacement (cc)":116,"power (hp)":81,"weight (lb)":2220,"0-60 mph (s)":16.9,year:76},{name:"Opel Manta","economy (mpg)":24,cylinders:4,"displacement (cc)":116,"power (hp)":75,"weight (lb)":2158,"0-60 mph (s)":15.5,year:73},{name:"Peugeot 304","economy (mpg)":30,cylinders:4,"displacement (cc)":79,"power (hp)":70,"weight (lb)":2074,"0-60 mph (s)":19.5,year:71},{name:"Peugeot 504","economy (mpg)":19,cylinders:4,"displacement (cc)":120,"power (hp)":88,"weight (lb)":3270,"0-60 mph (s)":21.9,year:76},{name:"Peugeot 504","economy (mpg)":25,cylinders:4,"displacement (cc)":110,"power (hp)":87,"weight (lb)":2672,"0-60 mph (s)":17.5,year:70},{name:"Peugeot 505S Turbo Diesel","economy (mpg)":28.1,cylinders:4,"displacement (cc)":141,"power (hp)":80,"weight (lb)":3230,"0-60 mph (s)":20.4,year:81},{name:"Plymouth Arrow GS","economy (mpg)":25.5,cylinders:4,"displacement (cc)":122,"power (hp)":96,"weight (lb)":2300,"0-60 mph (s)":15.5,year:77},{name:"Plymouth Champ","economy (mpg)":39,cylinders:4,"displacement (cc)":86,"power (hp)":64,"weight (lb)":1875,"0-60 mph (s)":16.4,year:81},{name:"Plymouth Custom Suburb","economy (mpg)":13,cylinders:8,"displacement (cc)":360,"power (hp)":170,"weight (lb)":4654,"0-60 mph (s)":13,year:73},{name:"Plymouth Duster","economy (mpg)":22,cylinders:6,"displacement (cc)":198,"power (hp)":95,"weight (lb)":2833,"0-60 mph (s)":15.5,year:70},{name:"Plymouth Fury Gran Sedan","economy (mpg)":14,cylinders:8,"displacement (cc)":318,"power (hp)":150,"weight (lb)":4237,"0-60 mph (s)":14.5,year:73},{name:"Plymouth Fury III","economy (mpg)":14,cylinders:8,"displacement (cc)":440,"power (hp)":215,"weight (lb)":4312,"0-60 mph (s)":8.5,year:70},{name:"Plymouth Fury","economy (mpg)":18,cylinders:6,"displacement (cc)":225,"power (hp)":95,"weight (lb)":3785,"0-60 mph (s)":19,year:75},{name:"Plymouth Horizon 4","economy (mpg)":34.7,cylinders:4,"displacement (cc)":105,"power (hp)":63,"weight (lb)":2215,"0-60 mph (s)":14.9,year:81},{name:"Plymouth Horizon TC3","economy (mpg)":34.5,cylinders:4,"displacement (cc)":105,"power (hp)":70,"weight (lb)":2150,"0-60 mph (s)":14.9,year:79},{name:"Plymouth Reliant","economy (mpg)":27.2,cylinders:4,"displacement (cc)":135,"power (hp)":84,"weight (lb)":2490,"0-60 mph (s)":15.7,year:81},{name:"Plymouth Sapporo","economy (mpg)":23.2,cylinders:4,"displacement (cc)":156,"power (hp)":105,"weight (lb)":2745,"0-60 mph (s)":16.7,year:78},{name:"Plymouth Satellite Custom (Wagon)","economy (mpg)":14,cylinders:8,"displacement (cc)":318,"power (hp)":150,"weight (lb)":4077,"0-60 mph (s)":14,year:72},{name:"Plymouth Satellite Sebring","economy (mpg)":18,cylinders:6,"displacement (cc)":225,"power (hp)":105,"weight (lb)":3613,"0-60 mph (s)":16.5,year:74},{name:"Plymouth Valiant Custom","economy (mpg)":19,cylinders:6,"displacement (cc)":225,"power (hp)":95,"weight (lb)":3264,"0-60 mph (s)":16,year:75},{name:"Plymouth Valiant","economy (mpg)":22,cylinders:6,"displacement (cc)":225,"power (hp)":100,"weight (lb)":3233,"0-60 mph (s)":15.4,year:76},{name:"Plymouth Volare Premier V8","economy (mpg)":13,cylinders:8,"displacement (cc)":318,"power (hp)":150,"weight (lb)":3940,"0-60 mph (s)":13.2,year:76},{name:"Pontiac Astro","economy (mpg)":23,cylinders:4,"displacement (cc)":140,"power (hp)":78,"weight (lb)":2592,"0-60 mph (s)":18.5,year:75},{name:"Pontiac Catalina","economy (mpg)":14,cylinders:8,"displacement (cc)":400,"power (hp)":175,"weight (lb)":4385,"0-60 mph (s)":12,year:72},{name:"Pontiac Catalina","economy (mpg)":16,cylinders:8,"displacement (cc)":400,"power (hp)":170,"weight (lb)":4668,"0-60 mph (s)":11.5,year:75},{name:"Pontiac Grand Prix Lj","economy (mpg)":16,cylinders:8,"displacement (cc)":400,"power (hp)":180,"weight (lb)":4220,"0-60 mph (s)":11.1,year:77},{name:"Pontiac J2000 Se Hatchback","economy (mpg)":31,cylinders:4,"displacement (cc)":112,"power (hp)":85,"weight (lb)":2575,"0-60 mph (s)":16.2,year:82},{name:"Pontiac Phoenix LJ","economy (mpg)":19.2,cylinders:6,"displacement (cc)":231,"power (hp)":105,"weight (lb)":3535,"0-60 mph (s)":19.2,year:78},{name:"Pontiac Phoenix","economy (mpg)":33.5,cylinders:4,"displacement (cc)":151,"power (hp)":90,"weight (lb)":2556,"0-60 mph (s)":13.2,year:79},{name:"Pontiac Sunbird Coupe","economy (mpg)":24.5,cylinders:4,"displacement (cc)":151,"power (hp)":88,"weight (lb)":2740,"0-60 mph (s)":16,year:77},{name:"Renault 12 (Wagon)","economy (mpg)":26,cylinders:4,"displacement (cc)":96,"power (hp)":69,"weight (lb)":2189,"0-60 mph (s)":18,year:72},{name:"Renault 18I","economy (mpg)":34.5,cylinders:4,"displacement (cc)":100,"power (hp)":null,"weight (lb)":2320,"0-60 mph (s)":15.8,year:81},{name:"Renault Lecar Deluxe","economy (mpg)":40.9,cylinders:4,"displacement (cc)":85,"power (hp)":null,"weight (lb)":1835,"0-60 mph (s)":17.3,year:80},{name:"Saab 99E","economy (mpg)":25,cylinders:4,"displacement (cc)":104,"power (hp)":95,"weight (lb)":2375,"0-60 mph (s)":17.5,year:70},{name:"Saab 99LE","economy (mpg)":24,cylinders:4,"displacement (cc)":121,"power (hp)":110,"weight (lb)":2660,"0-60 mph (s)":14,year:73},{name:"Subaru DL","economy (mpg)":30,cylinders:4,"displacement (cc)":97,"power (hp)":67,"weight (lb)":1985,"0-60 mph (s)":16.4,year:77},{name:"Subaru","economy (mpg)":26,cylinders:4,"displacement (cc)":108,"power (hp)":93,"weight (lb)":2391,"0-60 mph (s)":15.5,year:74},{name:"Toyota Carina","economy (mpg)":20,cylinders:4,"displacement (cc)":97,"power (hp)":88,"weight (lb)":2279,"0-60 mph (s)":19,year:73},{name:"Toyota Celica GT","economy (mpg)":32,cylinders:4,"displacement (cc)":144,"power (hp)":96,"weight (lb)":2665,"0-60 mph (s)":13.9,year:82},{name:"Toyota Corolla 1200","economy (mpg)":32,cylinders:4,"displacement (cc)":71,"power (hp)":65,"weight (lb)":1836,"0-60 mph (s)":21,year:74},{name:"Toyota Corolla Liftback","economy (mpg)":26,cylinders:4,"displacement (cc)":97,"power (hp)":75,"weight (lb)":2265,"0-60 mph (s)":18.2,year:77},{name:"Toyota Corolla","economy (mpg)":28,cylinders:4,"displacement (cc)":97,"power (hp)":75,"weight (lb)":2155,"0-60 mph (s)":16.4,year:76},{name:"Toyota Corolla","economy (mpg)":32.2,cylinders:4,"displacement (cc)":108,"power (hp)":75,"weight (lb)":2265,"0-60 mph (s)":15.2,year:80},{name:"Toyota Corolla","economy (mpg)":34,cylinders:4,"displacement (cc)":108,"power (hp)":70,"weight (lb)":2245,"0-60 mph (s)":16.9,year:82},{name:"Toyota Corona Liftback","economy (mpg)":29.8,cylinders:4,"displacement (cc)":134,"power (hp)":90,"weight (lb)":2711,"0-60 mph (s)":15.5,year:80},{name:"Toyota Corona","economy (mpg)":24,cylinders:4,"displacement (cc)":134,"power (hp)":96,"weight (lb)":2702,"0-60 mph (s)":13.5,year:75},{name:"Toyota Corona","economy (mpg)":27.5,cylinders:4,"displacement (cc)":134,"power (hp)":95,"weight (lb)":2560,"0-60 mph (s)":14.2,year:78},{name:"Toyota Cressida","economy (mpg)":25.4,cylinders:6,"displacement (cc)":168,"power (hp)":116,"weight (lb)":2900,"0-60 mph (s)":12.6,year:81},{name:"Toyota Mark II","economy (mpg)":20,cylinders:6,"displacement (cc)":156,"power (hp)":122,"weight (lb)":2807,"0-60 mph (s)":13.5,year:73},{name:"Toyota Tercel","economy (mpg)":37.7,cylinders:4,"displacement (cc)":89,"power (hp)":62,"weight (lb)":2050,"0-60 mph (s)":17.3,year:81},{name:"Triumph TR7 Coupe","economy (mpg)":35,cylinders:4,"displacement (cc)":122,"power (hp)":88,"weight (lb)":2500,"0-60 mph (s)":15.1,year:80},{name:"Volkswagen 1131 Deluxe Sedan","economy (mpg)":26,cylinders:4,"displacement (cc)":97,"power (hp)":46,"weight (lb)":1835,"0-60 mph (s)":20.5,year:70},{name:"Volkswagen Dasher (Diesel)","economy (mpg)":43.4,cylinders:4,"displacement (cc)":90,"power (hp)":48,"weight (lb)":2335,"0-60 mph (s)":23.7,year:80},{name:"Volkswagen Dasher","economy (mpg)":26,cylinders:4,"displacement (cc)":79,"power (hp)":67,"weight (lb)":1963,"0-60 mph (s)":15.5,year:74},{name:"Volkswagen Jetta","economy (mpg)":33,cylinders:4,"displacement (cc)":105,"power (hp)":74,"weight (lb)":2190,"0-60 mph (s)":14.2,year:81},{name:"Volkswagen Pickup","economy (mpg)":44,cylinders:4,"displacement (cc)":97,"power (hp)":52,"weight (lb)":2130,"0-60 mph (s)":24.6,year:82},{name:"Volkswagen Rabbit Custom Diesel","economy (mpg)":43.1,cylinders:4,"displacement (cc)":90,"power (hp)":48,"weight (lb)":1985,"0-60 mph (s)":21.5,year:78},{name:"Volkswagen Rabbit Custom","economy (mpg)":31.9,cylinders:4,"displacement (cc)":89,"power (hp)":71,"weight (lb)":1925,"0-60 mph (s)":14,year:79},{name:"Volkswagen Rabbit","economy (mpg)":29,cylinders:4,"displacement (cc)":90,"power (hp)":70,"weight (lb)":1937,"0-60 mph (s)":14,year:75},{name:"Volkswagen Rabbit","economy (mpg)":29.5,cylinders:4,"displacement (cc)":97,"power (hp)":71,"weight (lb)":1825,"0-60 mph (s)":12.2,year:76},{name:"Volkswagen Scirocco","economy (mpg)":31.5,cylinders:4,"displacement (cc)":89,"power (hp)":71,"weight (lb)":1990,"0-60 mph (s)":14.9,year:78},{name:"Volkswagen Super Beetle","economy (mpg)":26,cylinders:4,"displacement (cc)":97,"power (hp)":46,"weight (lb)":1950,"0-60 mph (s)":21,year:73},{name:"Volvo 144EA","economy (mpg)":19,cylinders:4,"displacement (cc)":121,"power (hp)":112,"weight (lb)":2868,"0-60 mph (s)":15.5,year:73},{name:"Volvo 244DL","economy (mpg)":22,cylinders:4,"displacement (cc)":121,"power (hp)":98,"weight (lb)":2945,"0-60 mph (s)":14.5,year:75},{name:"Volvo 264GL","economy (mpg)":17,cylinders:6,"displacement (cc)":163,"power (hp)":125,"weight (lb)":3140,"0-60 mph (s)":13.6,year:78},{name:"Volvo Diesel","economy (mpg)":30.7,cylinders:6,"displacement (cc)":145,"power (hp)":76,"weight (lb)":3160,"0-60 mph (s)":19.6,year:81}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-regressioncurve",name:"\u56DE\u5F52\u66F2\u7EBF",description:"\u5728\u6563\u70B9\u4E0A\u53E0\u52A0\u62DF\u5408\u8D8B\u52BF\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u56DE\u5F52\u66F2\u7EBF",datasets:{main:[[.067732,3.176513],[.42781,3.816464],[.995731,4.550095],[.738336,4.256571],[.981083,4.560815],[.526171,3.929515],[.378887,3.52617],[.033859,3.156393],[.132791,3.110301],[.138306,3.149813],[.247809,3.476346],[.64827,4.119688],[.731209,4.282233],[.236833,3.486582],[.969788,4.655492],[.607492,3.965162],[.358622,3.5149],[.147846,3.125947],[.63782,4.094115],[.230372,3.476039],[.070237,3.21061],[.067154,3.190612],[.925577,4.631504],[.717733,4.29589],[.015371,3.085028],[.33507,3.44808],[.040486,3.16744],[.212575,3.364266],[.617218,3.993482],[.541196,3.891471],[.045353,3.143259],[.126762,3.114204],[.556486,3.851484],[.901144,4.621899],[.958476,4.580768],[.274561,3.620992],[.394396,3.580501],[.87248,4.618706],[.409932,3.676867],[.908969,4.641845],[.166819,3.175939],[.665016,4.26498],[.263727,3.558448],[.231214,3.436632],[.552928,3.831052],[.047744,3.182853],[.365746,3.498906],[.495002,3.946833],[.493466,3.900583],[.792101,4.238522],[.76966,4.23308],[.251821,3.521557],[.181951,3.203344],[.808177,4.278105],[.334116,3.555705],[.33863,3.502661],[.452584,3.859776],[.69477,4.275956],[.590902,3.916191],[.307928,3.587961],[.148364,3.183004],[.70218,4.225236],[.721544,4.231083],[.666886,4.240544],[.124931,3.222372],[.618286,4.021445],[.381086,3.567479],[.385643,3.56258],[.777175,4.262059],[.116089,3.208813],[.115487,3.169825],[.66351,4.193949],[.254884,3.491678],[.993888,4.533306],[.295434,3.550108],[.952523,4.636427],[.307047,3.557078],[.277261,3.552874],[.279101,3.494159],[.175724,3.206828],[.156383,3.195266],[.733165,4.221292],[.848142,4.413372],[.771184,4.184347],[.429492,3.742878],[.162176,3.201878],[.917064,4.648964],[.315044,3.510117],[.201473,3.274434],[.297038,3.579622],[.336647,3.489244],[.666109,4.237386],[.583888,3.913749],[.085031,3.22899],[.687006,4.286286],[.949655,4.628614],[.189912,3.239536],[.844027,4.457997],[.333288,3.513384],[.427035,3.729674],[.466369,3.834274],[.550659,3.811155],[.278213,3.598316],[.918769,4.692514],[.886555,4.604859],[.569488,3.864912],[.066379,3.184236],[.335751,3.500796],[.426863,3.743365],[.395746,3.622905],[.694221,4.310796],[.27276,3.583357],[.503495,3.901852],[.067119,3.233521],[.038326,3.105266],[.599122,3.865544],[.947054,4.628625],[.671279,4.231213],[.434811,3.791149],[.509381,3.968271],[.749442,4.25391],[.058014,3.19471],[.482978,3.996503],[.466776,3.904358],[.357767,3.503976],[.949123,4.557545],[.41732,3.699876],[.920461,4.613614],[.156433,3.140401],[.656662,4.206717],[.616418,3.969524],[.853428,4.476096],[.133295,3.136528],[.693007,4.279071],[.178449,3.200603],[.199526,3.299012],[.073224,3.209873],[.286515,3.632942],[.182026,3.248361],[.621523,3.995783],[.344584,3.563262],[.398556,3.649712],[.480369,3.951845],[.15335,3.145031],[.171846,3.181577],[.867082,4.637087],[.223855,3.404964],[.528301,3.873188],[.890192,4.633648],[.106352,3.154768],[.917886,4.623637],[.014855,3.078132],[.567682,3.913596],[.068854,3.221817],[.603535,3.938071],[.53205,3.880822],[.651362,4.176436],[.901225,4.648161],[.204337,3.332312],[.696081,4.240614],[.963924,4.532224],[.98139,4.557105],[.987911,4.610072],[.990947,4.636569],[.736021,4.229813],[.253574,3.50086],[.674722,4.245514],[.939368,4.605182],[.235419,3.45434],[.110521,3.180775],[.218023,3.38082],[.869778,4.56502],[.19683,3.279973],[.958178,4.554241],[.972673,4.63352],[.745797,4.281037],[.445674,3.844426],[.470557,3.891601],[.549236,3.849728],[.335691,3.492215],[.884739,4.592374],[.918916,4.632025],[.441815,3.75675],[.116598,3.133555],[.359274,3.567919],[.814811,4.363382],[.387125,3.560165],[.982243,4.564305],[.78088,4.215055],[.652565,4.174999],[.87003,4.58664],[.604755,3.960008],[.255212,3.529963],[.730546,4.213412],[.493829,3.908685],[.257017,3.585821],[.833735,4.374394],[.070095,3.213817],[.52707,3.952681],[.116163,3.129283]]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-pie",name:"\u997C\u56FE",description:"\u5C55\u793A\u6574\u4F53\u4E2D\u7684\u7C7B\u522B\u5360\u6BD4\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u997C\u56FE",datasets:{main:[{browser:"Chrome",value:61.04},{browser:"Safari",value:15.12},{browser:"Edge",value:10.52},{browser:"Firefox",value:7.19},{browser:"Samsung Internet",value:2.98},{browser:"Opera",value:3.15}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-donut-chart",name:"\u73AF\u56FE",description:"\u4E2D\u5FC3\u7559\u767D\u7684\u6BD4\u4F8B\u8868\u8FBE\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u73AF\u56FE",datasets:{main:[{genre:"Sports",sold:27500},{genre:"Strategy",sold:11500},{genre:"Action",sold:6e3},{genre:"Shooter",sold:3500},{genre:"Other",sold:1500}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-stacked-bar",name:"\u5806\u53E0\u67F1\u72B6\u56FE",description:"\u6BD4\u8F83\u603B\u91CF\u53CA\u5404\u90E8\u5206\u6784\u6210\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5806\u53E0\u67F1\u72B6\u56FE",datasets:{main:[{name:"London",month:"Jan.",rainfall:18.9},{name:"London",month:"Feb.",rainfall:28.8},{name:"London",month:"Mar.",rainfall:39.3},{name:"London",month:"Apr.",rainfall:81.4},{name:"London",month:"May",rainfall:47},{name:"London",month:"Jun.",rainfall:20.3},{name:"London",month:"Jul.",rainfall:24},{name:"London",month:"Aug.",rainfall:35.6},{name:"Berlin",month:"Jan.",rainfall:12.4},{name:"Berlin",month:"Feb.",rainfall:23.2},{name:"Berlin",month:"Mar.",rainfall:34.5},{name:"Berlin",month:"Apr.",rainfall:99.7},{name:"Berlin",month:"May",rainfall:52.6},{name:"Berlin",month:"Jun.",rainfall:35.5},{name:"Berlin",month:"Jul.",rainfall:37.4},{name:"Berlin",month:"Aug.",rainfall:42.4}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-stacked-area",name:"\u5806\u53E0\u9762\u79EF\u56FE",description:"\u89C2\u5BDF\u6784\u6210\u968F\u65F6\u95F4\u53D8\u5316\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5806\u53E0\u9762\u79EF\u56FE",datasets:{main:[{country:"Asia",year:"1750",value:502},{country:"Asia",year:"1800",value:635},{country:"Asia",year:"1850",value:809},{country:"Asia",year:"1900",value:5268},{country:"Asia",year:"1950",value:4400},{country:"Asia",year:"1999",value:3634},{country:"Asia",year:"2050",value:947},{country:"Africa",year:"1750",value:106},{country:"Africa",year:"1800",value:107},{country:"Africa",year:"1850",value:111},{country:"Africa",year:"1900",value:1766},{country:"Africa",year:"1950",value:221},{country:"Africa",year:"1999",value:767},{country:"Africa",year:"2050",value:133},{country:"Europe",year:"1750",value:163},{country:"Europe",year:"1800",value:203},{country:"Europe",year:"1850",value:276},{country:"Europe",year:"1900",value:628},{country:"Europe",year:"1950",value:547},{country:"Europe",year:"1999",value:729},{country:"Europe",year:"2050",value:408},{country:"Oceania",year:"1750",value:200},{country:"Oceania",year:"1800",value:200},{country:"Oceania",year:"1850",value:200},{country:"Oceania",year:"1900",value:460},{country:"Oceania",year:"1950",value:230},{country:"Oceania",year:"1999",value:300},{country:"Oceania",year:"2050",value:300}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-rose",name:"\u73AB\u7470\u56FE",description:"\u4EE5\u6247\u533A\u534A\u5F84\u8868\u73B0\u6570\u503C\u5DEE\u5F02\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u73AB\u7470\u56FE",datasets:{main:[{country:"China",cost:96},{country:"Germany",cost:121},{country:"USA",cost:100},{country:"Japan",cost:111},{country:"Korea",cost:102},{country:"France",cost:124},{country:"Italy",cost:123},{country:"Netherlands",cost:111},{country:"Belgium",cost:123},{country:"UK",cost:109},{country:"Canada",cost:115},{country:"Russia",cost:99},{country:"Mexico",cost:91},{country:"India",cost:87},{country:"Switzerland",cost:125},{country:"Australia",cost:130},{country:"Spain",cost:109},{country:"Brazil",cost:123},{country:"Thailand",cost:91},{country:"Indonesia",cost:83},{country:"Poland",cost:101},{country:"Sweden",cost:116},{country:"Austria",cost:111},{country:"Czech",cost:107}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-mosaic",name:"\u9A6C\u8D5B\u514B\u56FE",description:"\u4EE5\u5BBD\u5EA6\u4E0E\u9762\u79EF\u8868\u73B0\u5206\u7C7B\u6784\u6210\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u9A6C\u8D5B\u514B\u56FE",datasets:{main:[{market:"Auburn, AL",segment:"Almond lovers",value:3840},{market:"Auburn, AL",segment:"Berry buyers",value:1920},{market:"Auburn, AL",segment:"Carrots-n-more",value:960},{market:"Auburn, AL",segment:"Delicious-n-new",value:400},{market:"Birmingham, AL",segment:"Almond lovers",value:1600},{market:"Birmingham, AL",segment:"Berry buyers",value:1440},{market:"Birmingham, AL",segment:"Carrots-n-more",value:960},{market:"Birmingham, AL",segment:"Delicious-n-new",value:400},{market:"Gainesville, FL",segment:"Almond lovers",value:640},{market:"Gainesville, FL",segment:"Berry buyers",value:960},{market:"Gainesville, FL",segment:"Carrots-n-more",value:640},{market:"Gainesville, FL",segment:"Delicious-n-new",value:400},{market:"Durham, NC",segment:"Almond lovers",value:320},{market:"Durham, NC",segment:"Berry buyers",value:480},{market:"Durham, NC",segment:"Carrots-n-more",value:640},{market:"Durham, NC",segment:"Delicious-n-new",value:400}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-treemap",name:"\u77E9\u5F62\u6811\u56FE",description:"\u7528\u5D4C\u5957\u77E9\u5F62\u8868\u73B0\u5C42\u7EA7\u4E0E\u5360\u6BD4\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u77E9\u5F62\u6811\u56FE",datasets:{main:[{name:"flare",size:null},{name:"flare.analytics",size:null},{name:"flare.analytics.cluster",size:null},{name:"flare.analytics.cluster.AgglomerativeCluster",size:3938},{name:"flare.analytics.cluster.CommunityStructure",size:3812},{name:"flare.analytics.cluster.HierarchicalCluster",size:6714},{name:"flare.analytics.cluster.MergeEdge",size:743},{name:"flare.analytics.graph",size:null},{name:"flare.analytics.graph.BetweennessCentrality",size:3534},{name:"flare.analytics.graph.LinkDistance",size:5731},{name:"flare.analytics.graph.MaxFlowMinCut",size:7840},{name:"flare.analytics.graph.ShortestPaths",size:5914},{name:"flare.analytics.graph.SpanningTree",size:3416},{name:"flare.analytics.optimization",size:null},{name:"flare.analytics.optimization.AspectRatioBanker",size:7074},{name:"flare.animate",size:null},{name:"flare.animate.Easing",size:17010},{name:"flare.animate.FunctionSequence",size:5842},{name:"flare.animate.interpolate",size:null},{name:"flare.animate.interpolate.ArrayInterpolator",size:1983},{name:"flare.animate.interpolate.ColorInterpolator",size:2047},{name:"flare.animate.interpolate.DateInterpolator",size:1375},{name:"flare.animate.interpolate.Interpolator",size:8746},{name:"flare.animate.interpolate.MatrixInterpolator",size:2202},{name:"flare.animate.interpolate.NumberInterpolator",size:1382},{name:"flare.animate.interpolate.ObjectInterpolator",size:1629},{name:"flare.animate.interpolate.PointInterpolator",size:1675},{name:"flare.animate.interpolate.RectangleInterpolator",size:2042},{name:"flare.animate.ISchedulable",size:1041},{name:"flare.animate.Parallel",size:5176},{name:"flare.animate.Pause",size:449},{name:"flare.animate.Scheduler",size:5593},{name:"flare.animate.Sequence",size:5534},{name:"flare.animate.Transition",size:9201},{name:"flare.animate.Transitioner",size:19975},{name:"flare.animate.TransitionEvent",size:1116},{name:"flare.animate.Tween",size:6006},{name:"flare.data",size:null},{name:"flare.data.converters",size:null},{name:"flare.data.converters.Converters",size:721},{name:"flare.data.converters.DelimitedTextConverter",size:4294},{name:"flare.data.converters.GraphMLConverter",size:9800},{name:"flare.data.converters.IDataConverter",size:1314},{name:"flare.data.converters.JSONConverter",size:2220},{name:"flare.data.DataField",size:1759},{name:"flare.data.DataSchema",size:2165},{name:"flare.data.DataSet",size:586},{name:"flare.data.DataSource",size:3331},{name:"flare.data.DataTable",size:772},{name:"flare.data.DataUtil",size:3322},{name:"flare.display",size:null},{name:"flare.display.DirtySprite",size:8833},{name:"flare.display.LineSprite",size:1732},{name:"flare.display.RectSprite",size:3623},{name:"flare.display.TextSprite",size:10066},{name:"flare.flex",size:null},{name:"flare.flex.FlareVis",size:4116},{name:"flare.physics",size:null},{name:"flare.physics.DragForce",size:1082},{name:"flare.physics.GravityForce",size:1336},{name:"flare.physics.IForce",size:319},{name:"flare.physics.NBodyForce",size:10498},{name:"flare.physics.Particle",size:2822},{name:"flare.physics.Simulation",size:9983},{name:"flare.physics.Spring",size:2213},{name:"flare.physics.SpringForce",size:1681},{name:"flare.query",size:null},{name:"flare.query.AggregateExpression",size:1616},{name:"flare.query.And",size:1027},{name:"flare.query.Arithmetic",size:3891},{name:"flare.query.Average",size:891},{name:"flare.query.BinaryExpression",size:2893},{name:"flare.query.Comparison",size:5103},{name:"flare.query.CompositeExpression",size:3677},{name:"flare.query.Count",size:781},{name:"flare.query.DateUtil",size:4141},{name:"flare.query.Distinct",size:933},{name:"flare.query.Expression",size:5130},{name:"flare.query.ExpressionIterator",size:3617},{name:"flare.query.Fn",size:3240},{name:"flare.query.If",size:2732},{name:"flare.query.IsA",size:2039},{name:"flare.query.Literal",size:1214},{name:"flare.query.Match",size:3748},{name:"flare.query.Maximum",size:843},{name:"flare.query.methods",size:null},{name:"flare.query.methods.add",size:593},{name:"flare.query.methods.and",size:330},{name:"flare.query.methods.average",size:287},{name:"flare.query.methods.count",size:277},{name:"flare.query.methods.distinct",size:292},{name:"flare.query.methods.div",size:595},{name:"flare.query.methods.eq",size:594},{name:"flare.query.methods.fn",size:460},{name:"flare.query.methods.gt",size:603},{name:"flare.query.methods.gte",size:625},{name:"flare.query.methods.iff",size:748},{name:"flare.query.methods.isa",size:461},{name:"flare.query.methods.lt",size:597},{name:"flare.query.methods.lte",size:619},{name:"flare.query.methods.max",size:283},{name:"flare.query.methods.min",size:283},{name:"flare.query.methods.mod",size:591},{name:"flare.query.methods.mul",size:603},{name:"flare.query.methods.neq",size:599},{name:"flare.query.methods.not",size:386},{name:"flare.query.methods.or",size:323},{name:"flare.query.methods.orderby",size:307},{name:"flare.query.methods.range",size:772},{name:"flare.query.methods.select",size:296},{name:"flare.query.methods.stddev",size:363},{name:"flare.query.methods.sub",size:600},{name:"flare.query.methods.sum",size:280},{name:"flare.query.methods.update",size:307},{name:"flare.query.methods.variance",size:335},{name:"flare.query.methods.where",size:299},{name:"flare.query.methods.xor",size:354},{name:"flare.query.methods._",size:264},{name:"flare.query.Minimum",size:843},{name:"flare.query.Not",size:1554},{name:"flare.query.Or",size:970},{name:"flare.query.Query",size:13896},{name:"flare.query.Range",size:1594},{name:"flare.query.StringUtil",size:4130},{name:"flare.query.Sum",size:791},{name:"flare.query.Variable",size:1124},{name:"flare.query.Variance",size:1876},{name:"flare.query.Xor",size:1101},{name:"flare.scale",size:null},{name:"flare.scale.IScaleMap",size:2105},{name:"flare.scale.LinearScale",size:1316},{name:"flare.scale.LogScale",size:3151},{name:"flare.scale.OrdinalScale",size:3770},{name:"flare.scale.QuantileScale",size:2435},{name:"flare.scale.QuantitativeScale",size:4839},{name:"flare.scale.RootScale",size:1756},{name:"flare.scale.Scale",size:4268},{name:"flare.scale.ScaleType",size:1821},{name:"flare.scale.TimeScale",size:5833},{name:"flare.util",size:null},{name:"flare.util.Arrays",size:8258},{name:"flare.util.Colors",size:10001},{name:"flare.util.Dates",size:8217},{name:"flare.util.Displays",size:12555},{name:"flare.util.Filter",size:2324},{name:"flare.util.Geometry",size:10993},{name:"flare.util.heap",size:null},{name:"flare.util.heap.FibonacciHeap",size:9354},{name:"flare.util.heap.HeapNode",size:1233},{name:"flare.util.IEvaluable",size:335},{name:"flare.util.IPredicate",size:383},{name:"flare.util.IValueProxy",size:874},{name:"flare.util.math",size:null},{name:"flare.util.math.DenseMatrix",size:3165},{name:"flare.util.math.IMatrix",size:2815},{name:"flare.util.math.SparseMatrix",size:3366},{name:"flare.util.Maths",size:17705},{name:"flare.util.Orientation",size:1486},{name:"flare.util.palette",size:null},{name:"flare.util.palette.ColorPalette",size:6367},{name:"flare.util.palette.Palette",size:1229},{name:"flare.util.palette.ShapePalette",size:2059},{name:"flare.util.palette.SizePalette",size:2291},{name:"flare.util.Property",size:5559},{name:"flare.util.Shapes",size:19118},{name:"flare.util.Sort",size:6887},{name:"flare.util.Stats",size:6557},{name:"flare.util.Strings",size:22026},{name:"flare.vis",size:null},{name:"flare.vis.axis",size:null},{name:"flare.vis.axis.Axes",size:1302},{name:"flare.vis.axis.Axis",size:24593},{name:"flare.vis.axis.AxisGridLine",size:652},{name:"flare.vis.axis.AxisLabel",size:636},{name:"flare.vis.axis.CartesianAxes",size:6703},{name:"flare.vis.controls",size:null},{name:"flare.vis.controls.AnchorControl",size:2138},{name:"flare.vis.controls.ClickControl",size:3824},{name:"flare.vis.controls.Control",size:1353},{name:"flare.vis.controls.ControlList",size:4665},{name:"flare.vis.controls.DragControl",size:2649},{name:"flare.vis.controls.ExpandControl",size:2832},{name:"flare.vis.controls.HoverControl",size:4896},{name:"flare.vis.controls.IControl",size:763},{name:"flare.vis.controls.PanZoomControl",size:5222},{name:"flare.vis.controls.SelectionControl",size:7862},{name:"flare.vis.controls.TooltipControl",size:8435},{name:"flare.vis.data",size:null},{name:"flare.vis.data.Data",size:20544},{name:"flare.vis.data.DataList",size:19788},{name:"flare.vis.data.DataSprite",size:10349},{name:"flare.vis.data.EdgeSprite",size:3301},{name:"flare.vis.data.NodeSprite",size:19382},{name:"flare.vis.data.render",size:null},{name:"flare.vis.data.render.ArrowType",size:698},{name:"flare.vis.data.render.EdgeRenderer",size:5569},{name:"flare.vis.data.render.IRenderer",size:353},{name:"flare.vis.data.render.ShapeRenderer",size:2247},{name:"flare.vis.data.ScaleBinding",size:11275},{name:"flare.vis.data.Tree",size:7147},{name:"flare.vis.data.TreeBuilder",size:9930},{name:"flare.vis.events",size:null},{name:"flare.vis.events.DataEvent",size:2313},{name:"flare.vis.events.SelectionEvent",size:1880},{name:"flare.vis.events.TooltipEvent",size:1701},{name:"flare.vis.events.VisualizationEvent",size:1117},{name:"flare.vis.legend",size:null},{name:"flare.vis.legend.Legend",size:20859},{name:"flare.vis.legend.LegendItem",size:4614},{name:"flare.vis.legend.LegendRange",size:10530},{name:"flare.vis.operator",size:null},{name:"flare.vis.operator.distortion",size:null},{name:"flare.vis.operator.distortion.BifocalDistortion",size:4461},{name:"flare.vis.operator.distortion.Distortion",size:6314},{name:"flare.vis.operator.distortion.FisheyeDistortion",size:3444},{name:"flare.vis.operator.encoder",size:null},{name:"flare.vis.operator.encoder.ColorEncoder",size:3179},{name:"flare.vis.operator.encoder.Encoder",size:4060},{name:"flare.vis.operator.encoder.PropertyEncoder",size:4138},{name:"flare.vis.operator.encoder.ShapeEncoder",size:1690},{name:"flare.vis.operator.encoder.SizeEncoder",size:1830},{name:"flare.vis.operator.filter",size:null},{name:"flare.vis.operator.filter.FisheyeTreeFilter",size:5219},{name:"flare.vis.operator.filter.GraphDistanceFilter",size:3165},{name:"flare.vis.operator.filter.VisibilityFilter",size:3509},{name:"flare.vis.operator.IOperator",size:1286},{name:"flare.vis.operator.label",size:null},{name:"flare.vis.operator.label.Labeler",size:9956},{name:"flare.vis.operator.label.RadialLabeler",size:3899},{name:"flare.vis.operator.label.StackedAreaLabeler",size:3202},{name:"flare.vis.operator.layout",size:null},{name:"flare.vis.operator.layout.AxisLayout",size:6725},{name:"flare.vis.operator.layout.BundledEdgeRouter",size:3727},{name:"flare.vis.operator.layout.CircleLayout",size:9317},{name:"flare.vis.operator.layout.CirclePackingLayout",size:12003},{name:"flare.vis.operator.layout.DendrogramLayout",size:4853},{name:"flare.vis.operator.layout.ForceDirectedLayout",size:8411},{name:"flare.vis.operator.layout.IcicleTreeLayout",size:4864},{name:"flare.vis.operator.layout.IndentedTreeLayout",size:3174},{name:"flare.vis.operator.layout.Layout",size:7881},{name:"flare.vis.operator.layout.NodeLinkTreeLayout",size:12870},{name:"flare.vis.operator.layout.PieLayout",size:2728},{name:"flare.vis.operator.layout.RadialTreeLayout",size:12348},{name:"flare.vis.operator.layout.RandomLayout",size:870},{name:"flare.vis.operator.layout.StackedAreaLayout",size:9121},{name:"flare.vis.operator.layout.TreeMapLayout",size:9191},{name:"flare.vis.operator.Operator",size:2490},{name:"flare.vis.operator.OperatorList",size:5248},{name:"flare.vis.operator.OperatorSequence",size:4190},{name:"flare.vis.operator.OperatorSwitch",size:2581},{name:"flare.vis.operator.SortOperator",size:2023},{name:"flare.vis.Visualization",size:16540}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-sunburst",name:"\u65ED\u65E5\u56FE",description:"\u6309\u540C\u5FC3\u5C42\u7EA7\u5C55\u5F00\u7EC4\u6210\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u65ED\u65E5\u56FE",datasets:{main:{label:"root",children:[{label:"\u7C7B\u522B 1",children:[{label:"\u7C7B\u522B 1.1",children:[{label:"\u7C7B\u522B 1.1.1",children:[{label:"\u7C7B\u522B 1.1.1.1",children:[{label:"\u7C7B\u522B 1.1.1.1.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:1,count:0},{label:"\u7C7B\u522B 2",children:[{label:"\u7C7B\u522B 2.1",children:[{label:"\u7C7B\u522B 2.1.1",children:[{label:"\u7C7B\u522B 2.1.1.1",children:[{label:"\u7C7B\u522B 2.1.1.1.1",value:"\u53E3\u7891-\u672C\u5730\u751F\u6D3B\u4E8B\u4E1A\u90E8-\u4E1C\u6210\u897F\u5C31\u5927\u533A-\u5927\u4E2D\u53F0-\u8FD0\u8425",children:[{label:"\u7C7B\u522B 2.1.1.1.1.1",children:null,uv:1,sum:1,count:0},{label:"\u7C7B\u522B 2.1.1.1.1.2",children:null,uv:1,sum:1,count:0}],uv:1,sum:3,count:0}],uv:1,sum:4,count:0},{label:"\u7C7B\u522B 2.1.1.2",children:null,uv:1,sum:1,count:0}],uv:0,sum:5,count:0},{label:"\u7C7B\u522B 2.1.2",children:[{label:"\u7C7B\u522B 2.1.2.1",children:null,uv:1,sum:1,count:0},{label:"\u7C7B\u522B 2.1.2.2",children:[{label:"\u7C7B\u522B 2.1.2.2.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:2,count:0},{label:"\u7C7B\u522B 2.1.3",children:[{label:"\u7C7B\u522B 2.1.3.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0},{label:"\u7C7B\u522B 2.1.4",children:[{label:"\u7C7B\u522B 2.1.4.1",children:null,uv:2,sum:2,count:0}],uv:0,sum:2,count:0},{label:"\u7C7B\u522B 2.1.5",children:null,uv:1,sum:1,count:0}],uv:1,sum:12,count:0},{label:"\u7C7B\u522B 2.2",children:[{label:"\u7C7B\u522B 2.2.1",children:null,uv:1,sum:1,count:0}],uv:1,sum:2,count:0},{label:"\u7C7B\u522B 2.3",children:null,uv:1,sum:1,count:0},{label:"\u7C7B\u522B 2.4",children:[{label:"\u7C7B\u522B 2.4.1",children:[{label:"\u7C7B\u522B 2.4.1.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:1,count:0},{label:"\u7C7B\u522B 2.5",children:[{label:"\u7C7B\u522B 2.5.1",children:null,uv:3,sum:3,count:0}],uv:0,sum:3,count:0}],uv:1,sum:20,count:0},{label:"\u7C7B\u522B 3",children:[{label:"\u7C7B\u522B 3.1",children:[{label:"\u7C7B\u522B 3.1.1",children:[{label:"\u7C7B\u522B 3.1.1.1",children:[{label:"\u7C7B\u522B 3.1.1.1.1",children:[{label:"\u7C7B\u522B 3.1.1.1.1.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:1,count:0},{label:"\u7C7B\u522B 3.1.1.2",children:[{label:"\u7C7B\u522B 3.1.1.2.1",children:[{label:"\u7C7B\u522B 3.1.1.2.1.1",children:null,uv:2,sum:2,count:0}],uv:0,sum:2,count:0}],uv:1,sum:3,count:0}],uv:0,sum:4,count:0},{label:"\u7C7B\u522B 3.1.2",children:[{label:"\u7C7B\u522B 3.1.2.1",children:null,uv:3,sum:3,count:0},{label:"\u7C7B\u522B 3.1.2.2",children:[{_id:"\u6570\u636E\u4EA7\u54C1&\u8FD0\u8425",label:"\u6570\u636E\u4EA7\u54C1&\u8FD0\u8425",value:"\u8682\u8681\u91D1\u670D-\u5E73\u53F0\u6570\u636E\u6280\u672F\u4E8B\u4E1A\u7FA4-\u6570\u636E\u5E73\u53F0\u90E8-\u6570\u636E\u8D44\u4EA7\u5E73\u53F0-\u6570\u636E\u4EA7\u54C1&\u8FD0\u8425",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:4,count:0}],uv:0,sum:8,count:0},{label:"\u7C7B\u522B 3.2",children:[{label:"\u7C7B\u522B 3.2.1",children:[{label:"\u7C7B\u522B 3.2.1.1",children:null,uv:1,sum:1,count:0},{label:"\u7C7B\u522B 3.2.1.2",children:[{label:"\u7C7B\u522B 3.2.1.2.1",children:null,uv:1,sum:1,count:0},{label:"\u7C7B\u522B 3.2.1.2.2",children:[{_id:"\u57CE\u5E02\u6C11\u751F\u8FD0\u8425",label:"\u57CE\u5E02\u6C11\u751F\u8FD0\u8425",value:"\u8682\u8681\u91D1\u670D-\u652F\u4ED8\u5B9D\u4E8B\u4E1A\u7FA4-\u5546\u5BB6\u670D\u52A1\u53CA\u5F00\u653E\u5E73\u53F0\u4E8B\u4E1A\u90E8-\u516C\u5171\u670D\u52A1\u90E8-\u8FD0\u8425\u90E8-\u57CE\u5E02\u6C11\u751F\u8FD0\u8425",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:1,sum:3,count:0}],uv:0,sum:4,count:0}],uv:0,sum:4,count:0},{label:"\u7C7B\u522B 3.3",children:[{label:"\u7C7B\u522B 3.3.1",children:[{label:"\u7C7B\u522B 3.3.1.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:1,sum:2,count:0},{label:"\u7C7B\u522B 3.4",children:[{label:"\u7C7B\u522B 3.4.1",children:[{label:"\u7C7B\u522B 3.4.1.1",children:null,uv:1,sum:1,count:0},{label:"3.4.1.2",children:null,uv:1,sum:1,count:0}],uv:0,sum:2,count:0},{label:"\u7C7B\u522B 3.4.2",children:null,uv:1,sum:1,count:0},{label:"\u7C7B\u522B 3.4.3",children:[{label:"\u7C7B\u522B 3.4.3.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:4,count:0},{label:"\u7C7B\u522B 3.5",children:[{label:"\u7C7B\u522B 3.5.1",children:[{label:"\u7C7B\u522B 3.5.1.1",children:null,uv:2,sum:2,count:0}],uv:0,sum:2,count:0},{label:"\u7C7B\u522B 3.5.2",children:[{label:"\u7C7B\u522B 3.5.2.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:3,count:0},{label:"\u7C7B\u522B 3.6",children:[{label:"\u7C7B\u522B 3.6.1",children:[{label:"\u7C7B\u522B 3.6.1.1",children:null,uv:1,sum:1,count:0},{label:"\u7C7B\u522B 3.6.1.2",children:null,uv:1,sum:1,count:0}],uv:0,sum:2,count:0}],uv:1,sum:3,count:0},{label:"\u7C7B\u522B 3.7",children:[{label:"\u7C7B\u522B 3.7.1",children:[{label:"\u7C7B\u522B 3.7.1.1",children:[{label:"\u7C7B\u522B 3.7.1.1.1",children:null,uv:1,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:1,count:0}],uv:0,sum:25,count:0}]}},theme:"indigo",height:320,legend:!1,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-funnel",name:"\u6F0F\u6597\u56FE",description:"\u5C55\u793A\u9636\u6BB5\u6570\u91CF\u7684\u53D8\u5316\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u6F0F\u6597\u56FE",datasets:{main:[{stage:"Visits",value:8043},{stage:"Inquiries",value:2136},{stage:"Quotes",value:908},{stage:"Negotiations",value:691},{stage:"Deals",value:527}]},theme:"indigo",height:320,legend:!1,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-histogram",name:"\u76F4\u65B9\u56FE",description:"\u5206\u7BB1\u89C2\u5BDF\u6570\u503C\u9891\u7387\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u76F4\u65B9\u56FE",datasets:{main:[{name:14513,carat:1.35,cut:"Ideal",color:"J",clarity:"VS2",depth:61.4,table:57,price:5862,x:7.1,y:7.13,z:4.37},{name:27015,carat:2.25,cut:"Ideal",color:"I",clarity:"SI2",depth:62.4,table:57,price:17143,x:8.39,y:8.32,z:5.21},{name:44895,carat:.5,cut:"Very-Good",color:"E",clarity:"VS2",depth:63.4,table:58,price:1629,x:5.06,y:5.04,z:3.2},{name:17434,carat:1.41,cut:"Premium",color:"D",clarity:"SI2",depth:61.1,table:56,price:6988,x:7.19,y:7.15,z:4.38},{name:47315,carat:.23,cut:"Very-Good",color:"E",clarity:"VVS2",depth:61.5,table:59,price:530,x:3.95,y:3.98,z:2.44},{name:3143,carat:.7,cut:"Ideal",color:"E",clarity:"SI1",depth:61.6,table:56,price:3330,x:5.7,y:5.72,z:3.52},{name:46417,carat:.55,cut:"Ideal",color:"D",clarity:"VS2",depth:61,table:56,price:1768,x:5.31,y:5.28,z:3.23},{name:23762,carat:1.51,cut:"Premium",color:"F",clarity:"SI1",depth:61.4,table:58,price:11817,x:7.43,y:7.35,z:4.54},{name:51424,carat:.85,cut:"Good",color:"J",clarity:"VS1",depth:63.6,table:57,price:2372,x:6.01,y:5.94,z:3.8},{name:20118,carat:1.31,cut:"Ideal",color:"H",clarity:"VS1",depth:61.5,table:55,price:8583,x:7.05,y:7.02,z:4.33},{name:20160,carat:1.21,cut:"Ideal",color:"G",clarity:"VS1",depth:62.6,table:56,price:8616,x:6.77,y:6.81,z:4.25},{name:2420,carat:.91,cut:"Fair",color:"H",clarity:"SI1",depth:64.8,table:57,price:3180,x:6.12,y:6.07,z:3.95},{name:38208,carat:.43,cut:"Ideal",color:"F",clarity:"SI1",depth:61.8,table:56,price:1016,x:4.87,y:4.84,z:3},{name:18724,carat:1.75,cut:"Premium",color:"I",clarity:"SI1",depth:60.8,table:58,price:7644,x:7.83,y:7.79,z:4.75},{name:35751,carat:.3,cut:"Premium",color:"D",clarity:"VS2",depth:62.9,table:58,price:911,x:4.26,y:4.23,z:2.67},{name:21427,carat:1.5,cut:"Ideal",color:"I",clarity:"VS1",depth:62.8,table:57,price:9533,x:7.24,y:7.28,z:4.56},{name:6488,carat:.96,cut:"Premium",color:"G",clarity:"SI2",depth:61.1,table:59,price:4059,x:6.32,y:6.28,z:3.85},{name:7732,carat:.3,cut:"Very-Good",color:"G",clarity:"VS1",depth:62.6,table:56,price:581,x:4.29,y:4.31,z:2.69},{name:33956,carat:.23,cut:"Very-Good",color:"E",clarity:"VVS2",depth:60.2,table:57,price:465,x:3.99,y:4.05,z:2.42},{name:29982,carat:.31,cut:"Ideal",color:"F",clarity:"VVS2",depth:61.2,table:56,price:716,x:4.4,y:4.43,z:2.7},{name:45512,carat:.51,cut:"Ideal",color:"E",clarity:"SI1",depth:61.5,table:57,price:1682,x:5.11,y:5.16,z:3.16},{name:40938,carat:.23,cut:"Very-Good",color:"E",clarity:"VVS1",depth:60.8,table:56,price:499,x:3.94,y:3.99,z:2.41},{name:22716,carat:1.01,cut:"Premium",color:"D",clarity:"VVS2",depth:62.4,table:58,price:10732,x:6.39,y:6.44,z:4},{name:595,carat:.76,cut:"Very-Good",color:"H",clarity:"SI1",depth:60.9,table:55,price:2838,x:5.92,y:5.94,z:3.61},{name:3874,carat:.81,cut:"Ideal",color:"F",clarity:"SI1",depth:62.3,table:55,price:3481,x:5.96,y:6,z:3.72},{name:50802,carat:.71,cut:"Premium",color:"E",clarity:"SI2",depth:61.4,table:59,price:2306,x:5.74,y:5.7,z:3.51},{name:27284,carat:2.03,cut:"Very-Good",color:"G",clarity:"SI2",depth:62.7,table:55,price:17752,x:8.07,y:8.14,z:5.08},{name:4623,carat:.91,cut:"Ideal",color:"E",clarity:"SI1",depth:60.7,table:56,price:3665,x:6.26,y:6.22,z:3.79},{name:3516,carat:.71,cut:"Ideal",color:"F",clarity:"VS1",depth:61.5,table:57,price:3404,x:5.7,y:5.74,z:3.52},{name:8663,carat:1.16,cut:"Very-Good",color:"H",clarity:"SI2",depth:63.2,table:57,price:4455,x:6.66,y:6.7,z:4.22},{name:34751,carat:.41,cut:"Premium",color:"H",clarity:"SI1",depth:62,table:59,price:876,x:4.8,y:4.78,z:2.97},{name:45458,carat:.7,cut:"Good",color:"I",clarity:"SI2",depth:63.5,table:56,price:1675,x:5.59,y:5.63,z:3.56},{name:42691,carat:.5,cut:"Ideal",color:"E",clarity:"SI1",depth:61.6,table:57,price:1337,x:5.08,y:5.11,z:3.14},{name:10216,carat:1.26,cut:"Ideal",color:"J",clarity:"SI2",depth:62.5,table:53,price:4742,x:6.9,y:6.86,z:4.3},{name:2493,carat:.9,cut:"Good",color:"I",clarity:"SI1",depth:63,table:53,price:3196,x:6.08,y:6.15,z:3.85},{name:9911,carat:1.01,cut:"Premium",color:"E",clarity:"SI2",depth:62.9,table:59,price:4688,x:6.37,y:6.31,z:3.99},{name:38697,carat:.37,cut:"Ideal",color:"E",clarity:"VS2",depth:61.9,table:53,price:1041,x:4.65,y:4.62,z:2.87},{name:36243,carat:.54,cut:"Ideal",color:"I",clarity:"SI2",depth:60.9,table:57,price:935,x:5.26,y:5.31,z:3.22},{name:33880,carat:.3,cut:"Premium",color:"E",clarity:"VS2",depth:60.7,table:59,price:844,x:4.33,y:4.3,z:2.62},{name:1993,carat:.91,cut:"Premium",color:"F",clarity:"SI2",depth:62.1,table:56,price:3096,x:6.26,y:6.21,z:3.87},{name:235,carat:.64,cut:"Ideal",color:"D",clarity:"VS1",depth:61.5,table:56,price:2787,x:5.54,y:5.55,z:3.41},{name:5256,carat:1.01,cut:"Very-Good",color:"I",clarity:"SI2",depth:61.4,table:63,price:3792,x:6.33,y:6.38,z:3.9},{name:25643,carat:2.15,cut:"Ideal",color:"I",clarity:"SI1",depth:62.5,table:57,price:14534,x:8.2,y:8.16,z:5.11},{name:32459,carat:.38,cut:"Ideal",color:"H",clarity:"VVS2",depth:61.6,table:56,price:794,x:4.67,y:4.72,z:2.89},{name:29415,carat:.42,cut:"Very-Good",color:"E",clarity:"SI2",depth:62.9,table:56,price:700,x:4.77,y:4.8,z:3.01},{name:25732,carat:1.51,cut:"Good",color:"G",clarity:"IF",depth:62.8,table:60,price:14654,x:7.18,y:7.24,z:4.53},{name:31089,carat:.33,cut:"Very-Good",color:"G",clarity:"VVS2",depth:60,table:63,price:752,x:4.45,y:4.49,z:2.68},{name:1719,carat:.32,cut:"Good",color:"G",clarity:"VS2",depth:63.3,table:54,price:561,x:4.36,y:4.39,z:2.77},{name:40481,carat:.55,cut:"Very-Good",color:"G",clarity:"SI1",depth:60.7,table:56,price:1141,x:5.32,y:5.38,z:3.25},{name:24538,carat:1.62,cut:"Ideal",color:"F",clarity:"SI1",depth:62.7,table:56,price:12828,x:7.5,y:7.44,z:4.68},{name:29106,carat:.34,cut:"Ideal",color:"H",clarity:"VS2",depth:62.5,table:54,price:689,x:4.54,y:4.49,z:2.82},{name:16819,carat:1.21,cut:"Premium",color:"H",clarity:"VS2",depth:58.8,table:59,price:6708,x:7.01,y:6.98,z:4.11},{name:21432,carat:1.51,cut:"Good",color:"E",clarity:"SI1",depth:65.5,table:56,price:9539,x:7.12,y:7.16,z:4.68},{name:2845,carat:.56,cut:"Ideal",color:"D",clarity:"VVS1",depth:61.8,table:56,price:3270,x:5.28,y:5.31,z:3.27},{name:31546,carat:.3,cut:"Ideal",color:"E",clarity:"VVS2",depth:62.1,table:57,price:766,x:4.27,y:4.3,z:2.66},{name:22374,carat:.31,cut:"Premium",color:"H",clarity:"VS2",depth:62.5,table:60,price:628,x:4.36,y:4.31,z:2.71},{name:40311,carat:.4,cut:"Premium",color:"E",clarity:"VS1",depth:62.5,table:58,price:1125,x:4.72,y:4.69,z:2.94},{name:40891,carat:.5,cut:"Fair",color:"E",clarity:"SI1",depth:65,table:58,price:1176,x:4.98,y:4.9,z:3.21},{name:784,carat:.53,cut:"Ideal",color:"F",clarity:"VVS1",depth:61.4,table:57,price:2860,x:5.23,y:5.2,z:3.2},{name:44163,carat:.5,cut:"Very-Good",color:"D",clarity:"VS2",depth:61.1,table:58,price:1565,x:5.09,y:5.18,z:3.14},{name:22887,carat:1.36,cut:"Premium",color:"F",clarity:"VS2",depth:59.3,table:60,price:10929,x:7.23,y:7.2,z:4.28},{name:21716,carat:.28,cut:"Very-Good",color:"F",clarity:"VVS2",depth:60.2,table:58,price:628,x:4.26,y:4.28,z:2.57},{name:38412,carat:.35,cut:"Ideal",color:"G",clarity:"VVS2",depth:61,table:57,price:1024,x:4.58,y:4.54,z:2.78},{name:52284,carat:.59,cut:"Very-Good",color:"E",clarity:"VVS2",depth:61.7,table:59,price:2494,x:5.37,y:5.36,z:3.31},{name:15622,carat:1.01,cut:"Very-Good",color:"F",clarity:"VS2",depth:63.1,table:56,price:6267,x:6.41,y:6.37,z:4.03},{name:32858,carat:.4,cut:"Ideal",color:"H",clarity:"VS1",depth:61.8,table:56,price:807,x:4.74,y:4.78,z:2.94},{name:49842,carat:.71,cut:"Premium",color:"H",clarity:"VS2",depth:61.3,table:58,price:2169,x:5.76,y:5.82,z:3.55},{name:39854,carat:.57,cut:"Good",color:"J",clarity:"VS2",depth:63.3,table:56,price:1100,x:5.24,y:5.28,z:3.33},{name:13418,carat:1.5,cut:"Ideal",color:"I",clarity:"I1",depth:61.8,table:57,price:5510,x:7.39,y:7.31,z:4.54},{name:28687,carat:.36,cut:"Ideal",color:"G",clarity:"VS1",depth:62.3,table:57,price:678,x:4.55,y:4.57,z:2.84},{name:23642,carat:1.51,cut:"Premium",color:"F",clarity:"SI1",depth:62.8,table:59,price:11666,x:7.31,y:7.28,z:4.58},{name:42559,carat:.42,cut:"Ideal",color:"D",clarity:"VVS2",depth:62.1,table:55,price:1326,x:4.78,y:4.81,z:2.98},{name:53456,carat:.7,cut:"Very-Good",color:"D",clarity:"SI1",depth:61.1,table:57,price:2677,x:5.74,y:5.66,z:3.48},{name:36223,carat:.36,cut:"Ideal",color:"D",clarity:"VS2",depth:60,table:56,price:933,x:4.68,y:4.66,z:2.8},{name:10157,carat:1.02,cut:"Very-Good",color:"H",clarity:"SI1",depth:61.6,table:58,price:4727,x:6.49,y:6.54,z:4.01},{name:51812,carat:.71,cut:"Ideal",color:"F",clarity:"SI1",depth:61.6,table:56,price:2416,x:5.71,y:5.75,z:3.53},{name:47244,carat:.62,cut:"Premium",color:"G",clarity:"VS2",depth:61.1,table:59,price:1841,x:5.56,y:5.5,z:3.38},{name:15775,carat:1.28,cut:"Ideal",color:"I",clarity:"VS2",depth:61.4,table:57,price:6308,x:7.04,y:6.97,z:4.3},{name:44224,carat:.5,cut:"Ideal",color:"D",clarity:"VS1",depth:63,table:57,price:1571,x:5.06,y:5,z:3.17},{name:29997,carat:.43,cut:"Premium",color:"D",clarity:"SI2",depth:62.6,table:58,price:716,x:4.79,y:4.82,z:3.01},{name:53543,carat:.78,cut:"Fair",color:"H",clarity:"VS2",depth:54.7,table:67,price:2691,x:6.25,y:6.15,z:3.4},{name:11508,carat:1.01,cut:"Ideal",color:"I",clarity:"SI1",depth:62.5,table:56,price:5020,x:6.4,y:6.36,z:3.99},{name:37817,carat:.36,cut:"Very-Good",color:"G",clarity:"IF",depth:60.4,table:62,price:1002,x:4.6,y:4.64,z:2.79},{name:21203,carat:1.57,cut:"Ideal",color:"J",clarity:"VVS2",depth:61.4,table:57,price:9346,x:7.45,y:7.5,z:4.59},{name:38367,carat:.43,cut:"Premium",color:"D",clarity:"SI1",depth:62.4,table:60,price:1022,x:4.82,y:4.79,z:3},{name:39676,carat:.42,cut:"Premium",color:"G",clarity:"VS2",depth:62.6,table:57,price:1087,x:4.8,y:4.76,z:2.99},{name:51879,carat:.71,cut:"Very-Good",color:"H",clarity:"VS2",depth:59.2,table:63,price:2428,x:5.81,y:5.85,z:3.45},{name:50007,carat:.7,cut:"Very-Good",color:"F",clarity:"SI2",depth:60.7,table:58,price:2195,x:5.73,y:5.77,z:3.49},{name:19620,carat:1.03,cut:"Ideal",color:"F",clarity:"VS1",depth:62.8,table:54,price:8237,x:6.48,y:6.39,z:4.05},{name:43432,carat:.54,cut:"Very-Good",color:"E",clarity:"SI2",depth:60.7,table:56.5,price:1415,x:5.24,y:5.28,z:3.19},{name:15335,carat:1.36,cut:"Premium",color:"J",clarity:"VS2",depth:58.4,table:59,price:6157,x:7.4,y:7.27,z:4.28},{name:4350,carat:.72,cut:"Premium",color:"D",clarity:"VS1",depth:62.7,table:56,price:3601,x:5.76,y:5.69,z:3.59},{name:40304,carat:.4,cut:"Ideal",color:"E",clarity:"VS1",depth:61.2,table:57,price:1125,x:4.77,y:4.74,z:2.91},{name:51318,carat:.31,cut:"Ideal",color:"H",clarity:"VS1",depth:61.1,table:57,price:544,x:4.35,y:4.39,z:2.67},{name:41128,carat:.52,cut:"Premium",color:"G",clarity:"SI2",depth:61.5,table:59,price:1196,x:5.19,y:5.15,z:3.18},{name:49406,carat:.5,cut:"Very-Good",color:"E",clarity:"VVS2",depth:59.1,table:61,price:2106,x:5.19,y:5.23,z:3.08},{name:28924,carat:.3,cut:"Ideal",color:"H",clarity:"VVS1",depth:61.9,table:55,price:684,x:4.32,y:4.34,z:2.68},{name:32473,carat:.33,cut:"Very-Good",color:"G",clarity:"VVS1",depth:61.2,table:57,price:795,x:4.47,y:4.5,z:2.74},{name:42924,carat:.41,cut:"Very-Good",color:"D",clarity:"VVS2",depth:61.2,table:55,price:1364,x:4.79,y:4.82,z:2.95},{name:35346,carat:.42,cut:"Very-Good",color:"H",clarity:"SI1",depth:63.1,table:57,price:898,x:4.78,y:4.76,z:3.01},{name:12471,carat:1.08,cut:"Premium",color:"H",clarity:"VS2",depth:62.1,table:58,price:5250,x:6.63,y:6.51,z:4.08},{name:19807,carat:1.5,cut:"Ideal",color:"I",clarity:"SI1",depth:62.3,table:56,price:8371,x:7.35,y:7.41,z:4.6},{name:49271,carat:.64,cut:"Ideal",color:"E",clarity:"SI1",depth:62,table:56,price:2089,x:5.57,y:5.53,z:3.44},{name:2423,carat:.95,cut:"Premium",color:"G",clarity:"SI2",depth:62.6,table:58,price:3181,x:6.22,y:6.18,z:3.88},{name:24658,carat:1.72,cut:"Premium",color:"H",clarity:"SI1",depth:61.4,table:59,price:12998,x:7.71,y:7.64,z:4.71},{name:22254,carat:1.18,cut:"Ideal",color:"G",clarity:"VVS2",depth:61.3,table:55,price:10308,x:6.86,y:6.81,z:4.19},{name:11008,carat:.97,cut:"Premium",color:"E",clarity:"SI1",depth:61,table:61,price:4915,x:6.32,y:6.28,z:3.84},{name:40260,carat:.4,cut:"Premium",color:"H",clarity:"VVS2",depth:60.6,table:60,price:1125,x:4.79,y:4.75,z:2.89},{name:16242,carat:1.01,cut:"Premium",color:"G",clarity:"VS1",depth:62.6,table:59,price:6499,x:6.38,y:6.46,z:4.02},{name:28129,carat:.29,cut:"Very-Good",color:"F",clarity:"VVS2",depth:62.7,table:58,price:664,x:4.22,y:4.26,z:2.66},{name:21334,carat:1.53,cut:"Premium",color:"G",clarity:"SI1",depth:58.4,table:59,price:9476,x:7.62,y:7.55,z:4.43},{name:31566,carat:.31,cut:"Ideal",color:"D",clarity:"VVS2",depth:62,table:56,price:766,x:4.34,y:4.37,z:2.7},{name:17354,carat:1.33,cut:"Good",color:"I",clarity:"VS1",depth:63.7,table:56,price:6963,x:6.92,y:6.96,z:4.42},{name:19647,carat:1.52,cut:"Premium",color:"J",clarity:"VS1",depth:62.4,table:59,price:8258,x:7.36,y:7.31,z:4.58},{name:18829,carat:1.27,cut:"Very-Good",color:"H",clarity:"VS2",depth:62.6,table:57,price:7715,x:6.91,y:6.95,z:4.34},{name:19774,carat:1.52,cut:"Premium",color:"F",clarity:"SI2",depth:62.3,table:59,price:8342,x:7.37,y:7.33,z:4.58},{name:31682,carat:.26,cut:"Ideal",color:"E",clarity:"VVS2",depth:62,table:56,price:769,x:4.13,y:4.1,z:2.55},{name:8951,carat:1.19,cut:"Premium",color:"I",clarity:"SI2",depth:59.5,table:59,price:4498,x:6.95,y:6.89,z:4.12},{name:32729,carat:.31,cut:"Premium",color:"F",clarity:"VS2",depth:62,table:60,price:802,x:4.34,y:4.3,z:2.68},{name:46613,carat:.51,cut:"Ideal",color:"D",clarity:"VS2",depth:62.7,table:55,price:1787,x:5.09,y:5.12,z:3.2},{name:20765,carat:1.22,cut:"Ideal",color:"G",clarity:"VS1",depth:60.7,table:57,price:9002,x:6.93,y:6.94,z:4.21},{name:12363,carat:.26,cut:"Very-Good",color:"E",clarity:"VVS2",depth:62.6,table:58,price:597,x:4.07,y:4.11,z:2.56},{name:26640,carat:2.03,cut:"Very-Good",color:"E",clarity:"SI2",depth:63.7,table:58,price:16412,x:7.91,y:7.94,z:5.05},{name:17076,carat:1.24,cut:"Premium",color:"H",clarity:"SI1",depth:60.2,table:60,price:6808,x:6.94,y:6.91,z:4.17},{name:27719,carat:.32,cut:"Premium",color:"I",clarity:"VS1",depth:59.8,table:60,price:648,x:4.46,y:4.44,z:2.66},{name:37924,carat:.23,cut:"Very-Good",color:"D",clarity:"VVS1",depth:61.7,table:59,price:485,x:3.94,y:3.97,z:2.44},{name:14827,carat:1.21,cut:"Ideal",color:"H",clarity:"SI1",depth:61.2,table:57,price:5973,x:6.86,y:6.93,z:4.22},{name:16966,carat:1.22,cut:"Premium",color:"H",clarity:"SI1",depth:61.8,table:57,price:6776,x:6.86,y:6.82,z:4.23},{name:2789,carat:.81,cut:"Ideal",color:"H",clarity:"VS1",depth:61.8,table:58,price:3257,x:5.97,y:6.04,z:3.71},{name:14068,carat:.3,cut:"Ideal",color:"G",clarity:"VS1",depth:62.6,table:57,price:605,x:4.27,y:4.29,z:2.68},{name:16780,carat:1.02,cut:"Ideal",color:"G",clarity:"VS1",depth:62.2,table:56,price:6683,x:6.46,y:6.4,z:4},{name:50928,carat:.71,cut:"Ideal",color:"I",clarity:"SI1",depth:61.6,table:55,price:2319,x:5.72,y:5.74,z:3.53},{name:52609,carat:.7,cut:"Very-Good",color:"G",clarity:"SI1",depth:62.5,table:59,price:2545,x:5.69,y:5.73,z:3.57},{name:31166,carat:.41,cut:"Premium",color:"E",clarity:"SI1",depth:60.1,table:60,price:755,x:4.79,y:4.83,z:2.89},{name:2594,carat:.64,cut:"Ideal",color:"F",clarity:"VVS2",depth:60.9,table:56,price:3217,x:5.57,y:5.59,z:3.4},{name:41268,carat:.31,cut:"Ideal",color:"I",clarity:"VS1",depth:61.9,table:54.5,price:502,x:4.33,y:4.36,z:2.69},{name:17708,carat:.3,cut:"Very-Good",color:"F",clarity:"VVS2",depth:64.2,table:56,price:613,x:4.22,y:4.26,z:2.72},{name:15112,carat:1,cut:"Ideal",color:"D",clarity:"SI1",depth:62.7,table:57,price:6073,x:6.34,y:6.38,z:3.99},{name:39215,carat:.42,cut:"Very-Good",color:"D",clarity:"VS1",depth:60.7,table:60,price:1066,x:4.81,y:4.88,z:2.94},{name:43088,carat:.51,cut:"Premium",color:"E",clarity:"SI1",depth:62.4,table:59,price:1381,x:5.07,y:5.12,z:3.18},{name:48645,carat:.27,cut:"Ideal",color:"E",clarity:"VS2",depth:60.8,table:56,price:537,x:4.25,y:4.23,z:2.58},{name:41967,carat:.23,cut:"Very-Good",color:"E",clarity:"VVS2",depth:61.1,table:58,price:505,x:3.93,y:3.99,z:2.42},{name:37024,carat:.33,cut:"Premium",color:"G",clarity:"VVS2",depth:61.9,table:58,price:965,x:4.43,y:4.39,z:2.73},{name:33773,carat:.48,cut:"Ideal",color:"I",clarity:"SI1",depth:61.9,table:53,price:841,x:5.06,y:5.08,z:3.14},{name:21635,carat:1.02,cut:"Very-Good",color:"F",clarity:"VVS2",depth:63.7,table:59,price:9728,x:6.34,y:6.38,z:4.05},{name:2696,carat:.9,cut:"Very-Good",color:"G",clarity:"SI2",depth:63.4,table:59,price:3246,x:6.08,y:6.04,z:3.84},{name:6065,carat:1.01,cut:"Very-Good",color:"G",clarity:"SI2",depth:62.1,table:61,price:3966,x:6.27,y:6.38,z:3.93},{name:49421,carat:.55,cut:"Ideal",color:"E",clarity:"VS1",depth:61.2,table:57,price:2107,x:5.3,y:5.28,z:3.24},{name:48692,carat:.58,cut:"Ideal",color:"H",clarity:"VVS1",depth:61.6,table:56,price:2006,x:5.35,y:5.39,z:3.31},{name:6230,carat:.9,cut:"Good",color:"F",clarity:"SI1",depth:58.8,table:60,price:4004,x:6.22,y:6.26,z:3.67},{name:4418,carat:1.01,cut:"Good",color:"E",clarity:"SI2",depth:63.9,table:58,price:3611,x:6.37,y:6.31,z:4.05},{name:47490,carat:.72,cut:"Ideal",color:"J",clarity:"SI1",depth:62.3,table:56,price:1864,x:5.75,y:5.78,z:3.59},{name:35086,carat:.3,cut:"Ideal",color:"F",clarity:"IF",depth:61.1,table:58,price:886,x:4.32,y:4.36,z:2.65},{name:25518,carat:2.14,cut:"Ideal",color:"I",clarity:"SI2",depth:61.9,table:56,price:14321,x:8.22,y:8.26,z:5.1},{name:38319,carat:.52,cut:"Ideal",color:"I",clarity:"SI1",depth:62,table:54,price:1019,x:5.17,y:5.19,z:3.21},{name:30835,carat:.33,cut:"Ideal",color:"H",clarity:"VS1",depth:60.2,table:57,price:743,x:4.54,y:4.5,z:2.72},{name:39296,carat:.3,cut:"Ideal",color:"H",clarity:"VS2",depth:62.5,table:57,price:491,x:4.26,y:4.29,z:2.67},{name:18648,carat:1.03,cut:"Ideal",color:"F",clarity:"VS1",depth:59,table:55,price:7613,x:6.62,y:6.67,z:3.92},{name:38577,carat:.4,cut:"Premium",color:"G",clarity:"VS2",depth:62.8,table:61,price:1035,x:4.67,y:4.63,z:2.92},{name:3507,carat:.76,cut:"Ideal",color:"E",clarity:"SI1",depth:61.2,table:56,price:3401,x:5.88,y:5.91,z:3.61},{name:46196,carat:.5,cut:"Ideal",color:"F",clarity:"VS2",depth:60.9,table:57,price:1749,x:5.14,y:5.16,z:3.14},{name:36046,carat:.34,cut:"Very-Good",color:"G",clarity:"IF",depth:61,table:56,price:924,x:4.5,y:4.54,z:2.76},{name:2473,carat:.76,cut:"Ideal",color:"E",clarity:"VS2",depth:61.5,table:56,price:3192,x:5.92,y:5.89,z:3.63},{name:30749,carat:.34,cut:"Ideal",color:"H",clarity:"VVS1",depth:62.2,table:54,price:740,x:4.48,y:4.53,z:2.8},{name:1949,carat:.72,cut:"Ideal",color:"F",clarity:"VS1",depth:62.4,table:56,price:3084,x:5.76,y:5.72,z:3.58},{name:14586,carat:1.05,cut:"Premium",color:"H",clarity:"VS1",depth:60.1,table:57,price:5886,x:6.62,y:6.59,z:3.97},{name:47900,carat:.54,cut:"Ideal",color:"G",clarity:"VVS2",depth:61.7,table:57,price:1914,x:5.23,y:5.26,z:3.23},{name:8729,carat:.27,cut:"Ideal",color:"E",clarity:"VVS1",depth:62,table:56,price:586,x:4.16,y:4.19,z:2.59},{name:35578,carat:.35,cut:"Premium",color:"F",clarity:"VS2",depth:62,table:59,price:906,x:4.55,y:4.51,z:2.81},{name:52563,carat:.7,cut:"Ideal",color:"I",clarity:"VVS1",depth:62.3,table:55,price:2536,x:5.7,y:5.64,z:3.53},{name:30140,carat:.32,cut:"Premium",color:"G",clarity:"VS2",depth:62.6,table:60,price:720,x:4.36,y:4.33,z:2.72},{name:34915,carat:.34,cut:"Ideal",color:"F",clarity:"VS2",depth:62.9,table:55,price:880,x:4.48,y:4.46,z:2.81},{name:18768,carat:1.35,cut:"Premium",color:"H",clarity:"SI1",depth:62.4,table:58,price:7673,x:7.03,y:6.95,z:4.36},{name:903,carat:.72,cut:"Very-Good",color:"H",clarity:"VS1",depth:62.2,table:54,price:2877,x:5.74,y:5.76,z:3.57},{name:27807,carat:.3,cut:"Ideal",color:"G",clarity:"VVS2",depth:61.9,table:57,price:650,x:4.3,y:4.33,z:2.66},{name:2392,carat:.32,cut:"Ideal",color:"E",clarity:"SI1",depth:61.8,table:55,price:561,x:4.42,y:4.45,z:2.74},{name:50763,carat:.75,cut:"Very-Good",color:"I",clarity:"SI1",depth:63.7,table:56,price:2300,x:5.73,y:5.77,z:3.66},{name:35952,carat:.3,cut:"Ideal",color:"F",clarity:"SI1",depth:61.9,table:56,price:475,x:4.29,y:4.33,z:2.67},{name:30531,carat:.38,cut:"Premium",color:"D",clarity:"SI1",depth:62.2,table:58,price:733,x:4.57,y:4.63,z:2.86},{name:17233,carat:1.55,cut:"Premium",color:"J",clarity:"SI2",depth:62.6,table:57,price:6890,x:7.37,y:7.32,z:4.6},{name:3899,carat:.89,cut:"Premium",color:"H",clarity:"VS1",depth:60.5,table:59,price:3489,x:6.22,y:6.17,z:3.75},{name:44124,carat:.5,cut:"Premium",color:"E",clarity:"VS2",depth:62,table:58,price:1559,x:5.07,y:5.09,z:3.15},{name:46353,carat:.57,cut:"Ideal",color:"F",clarity:"SI1",depth:61.9,table:56,price:1759,x:5.33,y:5.37,z:3.31},{name:42806,carat:.59,cut:"Ideal",color:"J",clarity:"VS2",depth:60.8,table:57,price:1352,x:5.47,y:5.42,z:3.31},{name:13593,carat:1.01,cut:"Very-Good",color:"F",clarity:"VS2",depth:61,table:59,price:5560,x:6.39,y:6.46,z:3.92},{name:34268,carat:.29,cut:"Very-Good",color:"H",clarity:"VVS2",depth:62.2,table:54,price:466,x:4.23,y:4.26,z:2.64},{name:35461,carat:.33,cut:"Premium",color:"F",clarity:"VVS2",depth:62.3,table:60,price:901,x:4.43,y:4.4,z:2.75},{name:13886,carat:1.03,cut:"Premium",color:"D",clarity:"SI1",depth:63,table:59,price:5653,x:6.44,y:6.39,z:4.04},{name:38406,carat:.35,cut:"Premium",color:"H",clarity:"VVS1",depth:61.2,table:60,price:1024,x:4.55,y:4.5,z:2.77},{name:3705,carat:1,cut:"Ideal",color:"E",clarity:"SI2",depth:62.9,table:56,price:3450,x:6.32,y:6.3,z:3.97},{name:43649,carat:.51,cut:"Good",color:"E",clarity:"SI1",depth:63.6,table:58,price:1434,x:5,y:4.97,z:3.17},{name:41002,carat:.43,cut:"Ideal",color:"G",clarity:"VVS1",depth:61.8,table:55,price:1183,x:4.87,y:4.9,z:3.02},{name:51931,carat:.72,cut:"Very-Good",color:"F",clarity:"SI1",depth:62.6,table:55,price:2440,x:5.71,y:5.76,z:3.59},{name:22375,carat:.31,cut:"Ideal",color:"H",clarity:"VS2",depth:63,table:57,price:628,x:4.34,y:4.32,z:2.73},{name:23409,carat:2,cut:"Good",color:"I",clarity:"SI2",depth:64.2,table:52,price:11400,x:7.91,y:7.88,z:5.07},{name:50658,carat:.31,cut:"Very-Good",color:"E",clarity:"SI1",depth:62,table:58,price:544,x:4.3,y:4.35,z:2.68},{name:3106,carat:.72,cut:"Ideal",color:"D",clarity:"SI1",depth:62.2,table:56,price:3322,x:5.77,y:5.74,z:3.58},{name:11307,carat:1.09,cut:"Ideal",color:"F",clarity:"SI2",depth:61.2,table:57,price:4981,x:6.64,y:6.6,z:4.05},{name:39931,carat:.35,cut:"Very-Good",color:"I",clarity:"VS2",depth:61.7,table:57,price:491,x:4.52,y:4.56,z:2.8},{name:43833,carat:.59,cut:"Very-Good",color:"I",clarity:"VS2",depth:60.3,table:59,price:1445,x:5.41,y:5.43,z:3.27},{name:50106,carat:.51,cut:"Ideal",color:"F",clarity:"VVS1",depth:60.9,table:57,price:2208,x:5.16,y:5.21,z:3.16},{name:5353,carat:.74,cut:"Ideal",color:"D",clarity:"VS1",depth:61.7,table:55,price:3813,x:5.79,y:5.85,z:3.59},{name:16756,carat:1.45,cut:"Very-Good",color:"J",clarity:"VS2",depth:62.8,table:57,price:6671,x:7.14,y:7.17,z:4.49},{name:40205,carat:.53,cut:"Good",color:"J",clarity:"VS2",depth:63.8,table:57,price:1122,x:5.12,y:5.1,z:3.26},{name:52489,carat:.73,cut:"Very-Good",color:"E",clarity:"SI1",depth:63.3,table:60,price:2523,x:5.65,y:5.7,z:3.59},{name:1757,carat:.77,cut:"Very-Good",color:"F",clarity:"SI1",depth:59.6,table:60,price:3044,x:5.95,y:5.97,z:3.55},{name:5619,carat:1,cut:"Good",color:"H",clarity:"SI2",depth:63.2,table:59,price:3874,x:6.24,y:6.29,z:3.96},{name:49142,carat:1.05,cut:"Good",color:"E",clarity:"I1",depth:64.1,table:58,price:2066,x:6.46,y:6.32,z:4.09},{name:30970,carat:.38,cut:"Premium",color:"I",clarity:"SI1",depth:60.5,table:58,price:746,x:4.72,y:4.67,z:2.84},{name:17873,carat:1.15,cut:"Premium",color:"D",clarity:"SI1",depth:61.1,table:53,price:7213,x:6.83,y:6.76,z:4.15},{name:45024,carat:.54,cut:"Ideal",color:"H",clarity:"VS1",depth:61.5,table:56,price:1637,x:5.24,y:5.23,z:3.22},{name:51049,carat:.73,cut:"Fair",color:"I",clarity:"VS1",depth:55.9,table:66,price:2330,x:6.11,y:6.01,z:3.39},{name:24439,carat:1.5,cut:"Good",color:"F",clarity:"VS2",depth:60.2,table:58,price:12693,x:7.31,y:7.35,z:4.41},{name:53423,carat:.71,cut:"Premium",color:"G",clarity:"VS2",depth:60.3,table:60,price:2671,x:5.76,y:5.81,z:3.49},{name:21820,carat:1.51,cut:"Ideal",color:"I",clarity:"VS2",depth:62.6,table:55,price:9891,x:7.29,y:7.34,z:4.58},{name:10643,carat:.93,cut:"Premium",color:"G",clarity:"VS2",depth:62.2,table:59,price:4834,x:6.21,y:6.26,z:3.88},{name:21919,carat:1.5,cut:"Ideal",color:"F",clarity:"SI2",depth:62.9,table:55,price:9996,x:7.28,y:7.26,z:4.57},{name:14459,carat:1.06,cut:"Ideal",color:"F",clarity:"SI1",depth:61.9,table:57,price:5834,x:6.57,y:6.54,z:4.06},{name:10217,carat:1.21,cut:"Premium",color:"H",clarity:"SI1",depth:60.5,table:60,price:4743,x:6.81,y:6.72,z:4.09},{name:9804,carat:.9,cut:"Good",color:"G",clarity:"VVS2",depth:62.6,table:58,price:4668,x:6.1,y:6.13,z:3.83},{name:53268,carat:.7,cut:"Premium",color:"F",clarity:"VS2",depth:62.2,table:59,price:2648,x:5.68,y:5.64,z:3.52},{name:6773,carat:.9,cut:"Good",color:"G",clarity:"VS1",depth:65.8,table:59,price:4108,x:6,y:6.04,z:3.96},{name:10387,carat:.38,cut:"Ideal",color:"I",clarity:"SI1",depth:61.8,table:54,price:593,x:4.66,y:4.7,z:2.89},{name:35272,carat:.3,cut:"Ideal",color:"G",clarity:"IF",depth:61.4,table:57,price:895,x:4.33,y:4.37,z:2.67},{name:8344,carat:1.02,cut:"Very-Good",color:"E",clarity:"SI2",depth:60.5,table:58,price:4398,x:6.54,y:6.58,z:3.97},{name:7972,carat:.9,cut:"Very-Good",color:"H",clarity:"VS1",depth:62.2,table:57,price:4324,x:6.1,y:6.15,z:3.81},{name:593,carat:.7,cut:"Ideal",color:"E",clarity:"VS1",depth:61.8,table:56,price:2837,x:5.74,y:5.69,z:3.53},{name:51831,carat:.7,cut:"Good",color:"H",clarity:"VS1",depth:59.4,table:62,price:2421,x:5.71,y:5.74,z:3.4},{name:46596,carat:.54,cut:"Ideal",color:"F",clarity:"VS2",depth:61.4,table:57,price:1786,x:5.25,y:5.2,z:3.21},{name:47761,carat:.52,cut:"Ideal",color:"H",clarity:"VVS1",depth:61.7,table:53,price:1893,x:5.19,y:5.25,z:3.22},{name:10972,carat:1.2,cut:"Premium",color:"H",clarity:"SI2",depth:59.6,table:60,price:4906,x:6.91,y:6.84,z:4.1},{name:42703,carat:.52,cut:"Premium",color:"G",clarity:"SI1",depth:62.8,table:61,price:1338,x:5.14,y:5.11,z:3.22},{name:48210,carat:.62,cut:"Very-Good",color:"D",clarity:"SI1",depth:61.3,table:58,price:1949,x:5.47,y:5.49,z:3.36},{name:33775,carat:.41,cut:"Ideal",color:"D",clarity:"SI2",depth:62.6,table:57,price:841,x:4.77,y:4.72,z:2.97},{name:7478,carat:1.07,cut:"Premium",color:"H",clarity:"SI1",depth:58.9,table:59,price:4235,x:6.76,y:6.71,z:3.97},{name:29757,carat:.3,cut:"Premium",color:"D",clarity:"SI1",depth:62.6,table:56,price:709,x:4.29,y:4.24,z:2.67},{name:31575,carat:.4,cut:"Ideal",color:"F",clarity:"VS2",depth:62.3,table:54,price:767,x:4.74,y:4.77,z:2.96},{name:44462,carat:.55,cut:"Premium",color:"I",clarity:"VVS1",depth:61.3,table:59,price:1593,x:5.27,y:5.3,z:3.24},{name:38587,carat:.39,cut:"Ideal",color:"F",clarity:"VVS2",depth:61.9,table:54.8,price:1036,x:4.68,y:4.69,z:2.9},{name:27555,carat:1.7,cut:"Premium",color:"E",clarity:"VS2",depth:58.6,table:62,price:18342,x:7.92,y:7.84,z:4.62},{name:44242,carat:.51,cut:"Premium",color:"F",clarity:"VS2",depth:62.4,table:58,price:1574,x:5.13,y:5.1,z:3.19},{name:26898,carat:2.01,cut:"Premium",color:"F",clarity:"SI2",depth:61.3,table:61,price:16881,x:8.11,y:8.01,z:4.94},{name:17613,carat:1.3,cut:"Very-Good",color:"H",clarity:"VS2",depth:62.5,table:59,price:7092,x:6.93,y:6.96,z:4.34},{name:3654,carat:1.01,cut:"Ideal",color:"F",clarity:"I1",depth:62.2,table:54,price:3439,x:6.44,y:6.42,z:4},{name:36607,carat:.32,cut:"Very-Good",color:"G",clarity:"SI1",depth:63,table:56,price:477,x:4.35,y:4.38,z:2.75},{name:24304,carat:1.51,cut:"Very-Good",color:"G",clarity:"VS2",depth:58.7,table:63,price:12551,x:7.45,y:7.4,z:4.36},{name:35901,carat:.32,cut:"Ideal",color:"G",clarity:"IF",depth:61.9,table:55,price:918,x:4.38,y:4.44,z:2.73},{name:48842,carat:.55,cut:"Ideal",color:"D",clarity:"VS2",depth:62.3,table:55,price:2030,x:5.29,y:5.24,z:3.28},{name:198,carat:.7,cut:"Premium",color:"E",clarity:"SI1",depth:61,table:58,price:2777,x:5.78,y:5.72,z:3.51},{name:9850,carat:1.01,cut:"Premium",color:"F",clarity:"SI2",depth:61.9,table:58,price:4676,x:6.39,y:6.34,z:3.94},{name:16383,carat:1.04,cut:"Very-Good",color:"G",clarity:"VS1",depth:63.2,table:56,price:6541,x:6.39,y:6.46,z:4.06},{name:15196,carat:1.02,cut:"Very-Good",color:"I",clarity:"VS2",depth:61.5,table:57,price:6104,x:6.4,y:6.44,z:3.95},{name:21578,carat:1.51,cut:"Good",color:"H",clarity:"SI1",depth:61.8,table:62,price:9681,x:7.25,y:7.29,z:4.49},{name:24653,carat:1.7,cut:"Premium",color:"H",clarity:"VS2",depth:61.9,table:60,price:12992,x:7.61,y:7.57,z:4.7},{name:41641,carat:.4,cut:"Ideal",color:"H",clarity:"IF",depth:62.7,table:57,price:1238,x:4.7,y:4.68,z:2.94},{name:51041,carat:.82,cut:"Premium",color:"E",clarity:"SI2",depth:60,table:56,price:2329,x:6.11,y:6.08,z:3.66},{name:13187,carat:1.24,cut:"Ideal",color:"J",clarity:"VS2",depth:62.8,table:56,price:5451,x:6.83,y:6.8,z:4.28},{name:36299,carat:.34,cut:"Premium",color:"E",clarity:"SI2",depth:61.7,table:58,price:477,x:4.5,y:4.54,z:2.79},{name:5298,carat:.71,cut:"Ideal",color:"D",clarity:"VS1",depth:62.1,table:57,price:3801,x:5.7,y:5.73,z:3.55},{name:42092,carat:.7,cut:"Fair",color:"E",clarity:"I1",depth:66.1,table:58,price:1273,x:5.61,y:5.51,z:3.67},{name:44441,carat:.59,cut:"Premium",color:"D",clarity:"SI2",depth:62.6,table:61,price:1590,x:5.33,y:5.27,z:3.32},{name:7552,carat:1.01,cut:"Very-Good",color:"G",clarity:"SI2",depth:62,table:58,price:4249,x:6.37,y:6.41,z:3.96},{name:44034,carat:.42,cut:"Ideal",color:"D",clarity:"VVS1",depth:61.8,table:55,price:1547,x:4.83,y:4.85,z:2.99},{name:53637,carat:.3,cut:"Ideal",color:"D",clarity:"SI1",depth:61.6,table:57,price:552,x:4.28,y:4.32,z:2.65},{name:15094,carat:1.01,cut:"Ideal",color:"G",clarity:"VS1",depth:62.4,table:56,price:6066,x:6.37,y:6.42,z:3.99},{name:8085,carat:1.01,cut:"Premium",color:"D",clarity:"SI2",depth:62.6,table:60,price:4338,x:6.4,y:6.37,z:4},{name:11949,carat:1.01,cut:"Very-Good",color:"E",clarity:"SI1",depth:58.2,table:59,price:5132,x:6.54,y:6.59,z:3.82},{name:43274,carat:.3,cut:"Very-Good",color:"I",clarity:"SI1",depth:63.3,table:59,price:506,x:4.3,y:4.23,z:2.7},{name:42144,carat:.5,cut:"Very-Good",color:"E",clarity:"SI1",depth:60.7,table:59,price:1281,x:5.09,y:5.13,z:3.1},{name:48614,carat:.51,cut:"Ideal",color:"F",clarity:"VVS2",depth:61.7,table:56,price:1998,x:5.12,y:5.15,z:3.17},{name:36379,carat:.34,cut:"Ideal",color:"F",clarity:"IF",depth:62.2,table:55,price:941,x:4.47,y:4.5,z:2.79},{name:19343,carat:1.06,cut:"Premium",color:"E",clarity:"VS1",depth:63,table:58,price:8044,x:6.49,y:6.46,z:4.08},{name:13269,carat:1,cut:"Good",color:"G",clarity:"VS2",depth:63.7,table:57,price:5484,x:6.32,y:6.28,z:4.01},{name:51509,carat:.55,cut:"Ideal",color:"G",clarity:"IF",depth:61.1,table:57,price:2383,x:5.26,y:5.31,z:3.23},{name:13997,carat:1.19,cut:"Very-Good",color:"H",clarity:"SI1",depth:63.3,table:55,price:5698,x:6.76,y:6.69,z:4.26},{name:38677,carat:.3,cut:"Ideal",color:"D",clarity:"VVS2",depth:61.4,table:55,price:1041,x:4.34,y:4.36,z:2.67},{name:22495,carat:2,cut:"Premium",color:"I",clarity:"SI2",depth:62.3,table:57,price:10528,x:8.12,y:8.05,z:5.03},{name:23070,carat:1.18,cut:"Ideal",color:"E",clarity:"VS1",depth:61.4,table:57,price:11104,x:6.77,y:6.81,z:4.17},{name:26961,carat:1.54,cut:"Ideal",color:"F",clarity:"VS2",depth:61,table:56,price:17029,x:7.44,y:7.49,z:4.55},{name:35767,carat:.4,cut:"Premium",color:"E",clarity:"VS2",depth:60.7,table:60,price:912,x:4.7,y:4.75,z:2.87},{name:43689,carat:.5,cut:"Good",color:"D",clarity:"SI1",depth:62.9,table:59,price:1436,x:4.94,y:5.01,z:3.13},{name:35824,carat:.31,cut:"Ideal",color:"F",clarity:"IF",depth:62.2,table:54,price:914,x:4.37,y:4.41,z:2.73},{name:33982,carat:.41,cut:"Good",color:"G",clarity:"VS1",depth:63.3,table:62,price:847,x:4.67,y:4.71,z:2.97},{name:30468,carat:.31,cut:"Very-Good",color:"D",clarity:"SI1",depth:63.1,table:57,price:732,x:4.32,y:4.3,z:2.72},{name:28751,carat:.31,cut:"Premium",color:"E",clarity:"VS2",depth:60.3,table:58,price:680,x:4.37,y:4.42,z:2.65},{name:16066,carat:1.01,cut:"Ideal",color:"F",clarity:"VS2",depth:62,table:56,price:6416,x:6.46,y:6.51,z:4.02},{name:6640,carat:.85,cut:"Ideal",color:"E",clarity:"SI1",depth:63,table:56,price:4089,x:6,y:6.04,z:3.79}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-boxplot",name:"\u7BB1\u7EBF\u56FE",description:"\u5C55\u793A\u5206\u4F4D\u6570\u4E0E\u79BB\u7FA4\u503C\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u7BB1\u7EBF\u56FE",datasets:{main:[{Expt:1,Run:1,Speed:850},{Expt:1,Run:2,Speed:740},{Expt:1,Run:3,Speed:900},{Expt:1,Run:4,Speed:1070},{Expt:1,Run:5,Speed:930},{Expt:1,Run:6,Speed:850},{Expt:1,Run:7,Speed:950},{Expt:1,Run:8,Speed:980},{Expt:1,Run:9,Speed:980},{Expt:1,Run:10,Speed:880},{Expt:1,Run:11,Speed:1e3},{Expt:1,Run:12,Speed:980},{Expt:1,Run:13,Speed:930},{Expt:1,Run:14,Speed:650},{Expt:1,Run:15,Speed:760},{Expt:1,Run:16,Speed:810},{Expt:1,Run:17,Speed:1e3},{Expt:1,Run:18,Speed:1e3},{Expt:1,Run:19,Speed:960},{Expt:1,Run:20,Speed:960},{Expt:2,Run:1,Speed:960},{Expt:2,Run:2,Speed:940},{Expt:2,Run:3,Speed:960},{Expt:2,Run:4,Speed:940},{Expt:2,Run:5,Speed:880},{Expt:2,Run:6,Speed:800},{Expt:2,Run:7,Speed:850},{Expt:2,Run:8,Speed:880},{Expt:2,Run:9,Speed:900},{Expt:2,Run:10,Speed:840},{Expt:2,Run:11,Speed:830},{Expt:2,Run:12,Speed:790},{Expt:2,Run:13,Speed:810},{Expt:2,Run:14,Speed:880},{Expt:2,Run:15,Speed:880},{Expt:2,Run:16,Speed:830},{Expt:2,Run:17,Speed:800},{Expt:2,Run:18,Speed:790},{Expt:2,Run:19,Speed:760},{Expt:2,Run:20,Speed:800},{Expt:3,Run:1,Speed:880},{Expt:3,Run:2,Speed:880},{Expt:3,Run:3,Speed:880},{Expt:3,Run:4,Speed:860},{Expt:3,Run:5,Speed:720},{Expt:3,Run:6,Speed:720},{Expt:3,Run:7,Speed:620},{Expt:3,Run:8,Speed:860},{Expt:3,Run:9,Speed:970},{Expt:3,Run:10,Speed:950},{Expt:3,Run:11,Speed:880},{Expt:3,Run:12,Speed:910},{Expt:3,Run:13,Speed:850},{Expt:3,Run:14,Speed:870},{Expt:3,Run:15,Speed:840},{Expt:3,Run:16,Speed:840},{Expt:3,Run:17,Speed:850},{Expt:3,Run:18,Speed:840},{Expt:3,Run:19,Speed:840},{Expt:3,Run:20,Speed:840},{Expt:4,Run:1,Speed:890},{Expt:4,Run:2,Speed:810},{Expt:4,Run:3,Speed:810},{Expt:4,Run:4,Speed:820},{Expt:4,Run:5,Speed:800},{Expt:4,Run:6,Speed:770},{Expt:4,Run:7,Speed:760},{Expt:4,Run:8,Speed:740},{Expt:4,Run:9,Speed:750},{Expt:4,Run:10,Speed:760},{Expt:4,Run:11,Speed:910},{Expt:4,Run:12,Speed:920},{Expt:4,Run:13,Speed:890},{Expt:4,Run:14,Speed:860},{Expt:4,Run:15,Speed:880},{Expt:4,Run:16,Speed:720},{Expt:4,Run:17,Speed:840},{Expt:4,Run:18,Speed:850},{Expt:4,Run:19,Speed:850},{Expt:4,Run:20,Speed:780},{Expt:5,Run:1,Speed:890},{Expt:5,Run:2,Speed:840},{Expt:5,Run:3,Speed:780},{Expt:5,Run:4,Speed:810},{Expt:5,Run:5,Speed:760},{Expt:5,Run:6,Speed:810},{Expt:5,Run:7,Speed:790},{Expt:5,Run:8,Speed:810},{Expt:5,Run:9,Speed:820},{Expt:5,Run:10,Speed:850},{Expt:5,Run:11,Speed:870},{Expt:5,Run:12,Speed:870},{Expt:5,Run:13,Speed:810},{Expt:5,Run:14,Speed:740},{Expt:5,Run:15,Speed:810},{Expt:5,Run:16,Speed:940},{Expt:5,Run:17,Speed:950},{Expt:5,Run:18,Speed:800},{Expt:5,Run:19,Speed:810},{Expt:5,Run:20,Speed:870}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-violin",name:"\u5C0F\u63D0\u7434\u56FE",description:"\u53E0\u52A0\u5BC6\u5EA6\u4E0E\u5206\u5E03\u6458\u8981\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5C0F\u63D0\u7434\u56FE",datasets:{main:[{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.5},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.2},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.1},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.6},{species:"I. setosa",x:"PetalWidth",y:.4},{species:"I. setosa",x:"SepalWidth",y:3.9},{species:"I. setosa",x:"PetalWidth",y:.3},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:2.9},{species:"I. setosa",x:"PetalWidth",y:.1},{species:"I. setosa",x:"SepalWidth",y:3.1},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.7},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.1},{species:"I. setosa",x:"SepalWidth",y:3},{species:"I. setosa",x:"PetalWidth",y:.1},{species:"I. setosa",x:"SepalWidth",y:3},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:4},{species:"I. setosa",x:"PetalWidth",y:.4},{species:"I. setosa",x:"SepalWidth",y:4.4},{species:"I. setosa",x:"PetalWidth",y:.4},{species:"I. setosa",x:"SepalWidth",y:3.9},{species:"I. setosa",x:"PetalWidth",y:.3},{species:"I. setosa",x:"SepalWidth",y:3.5},{species:"I. setosa",x:"PetalWidth",y:.3},{species:"I. setosa",x:"SepalWidth",y:3.8},{species:"I. setosa",x:"PetalWidth",y:.3},{species:"I. setosa",x:"SepalWidth",y:3.8},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.4},{species:"I. setosa",x:"SepalWidth",y:3.7},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.6},{species:"I. setosa",x:"PetalWidth",y:.5},{species:"I. setosa",x:"SepalWidth",y:3.3},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3},{species:"I. setosa",x:"PetalWidth",y:.4},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.5},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.2},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.1},{species:"I. setosa",x:"PetalWidth",y:.4},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.1},{species:"I. setosa",x:"SepalWidth",y:4.1},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:4.2},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.1},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.2},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.5},{species:"I. setosa",x:"PetalWidth",y:.1},{species:"I. setosa",x:"SepalWidth",y:3.6},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.4},{species:"I. setosa",x:"PetalWidth",y:.3},{species:"I. setosa",x:"SepalWidth",y:3.5},{species:"I. setosa",x:"PetalWidth",y:.3},{species:"I. setosa",x:"SepalWidth",y:2.3},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.2},{species:"I. setosa",x:"PetalWidth",y:.6},{species:"I. setosa",x:"SepalWidth",y:3.5},{species:"I. setosa",x:"PetalWidth",y:.4},{species:"I. setosa",x:"SepalWidth",y:3.8},{species:"I. setosa",x:"PetalWidth",y:.3},{species:"I. setosa",x:"SepalWidth",y:3},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.8},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.2},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.7},{species:"I. setosa",x:"PetalWidth",y:.2},{species:"I. setosa",x:"SepalWidth",y:3.3},{species:"I. versicolor",x:"PetalWidth",y:1.4},{species:"I. versicolor",x:"SepalWidth",y:3.2},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:3.2},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:3.1},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.3},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:2.8},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.8},{species:"I. versicolor",x:"PetalWidth",y:1.6},{species:"I. versicolor",x:"SepalWidth",y:3.3},{species:"I. versicolor",x:"PetalWidth",y:1},{species:"I. versicolor",x:"SepalWidth",y:2.4},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.9},{species:"I. versicolor",x:"PetalWidth",y:1.4},{species:"I. versicolor",x:"SepalWidth",y:2.7},{species:"I. versicolor",x:"PetalWidth",y:1},{species:"I. versicolor",x:"SepalWidth",y:2},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1},{species:"I. versicolor",x:"SepalWidth",y:2.2},{species:"I. versicolor",x:"PetalWidth",y:1.4},{species:"I. versicolor",x:"SepalWidth",y:2.9},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.9},{species:"I. versicolor",x:"PetalWidth",y:1.4},{species:"I. versicolor",x:"SepalWidth",y:3.1},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1},{species:"I. versicolor",x:"SepalWidth",y:2.7},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:2.2},{species:"I. versicolor",x:"PetalWidth",y:1.1},{species:"I. versicolor",x:"SepalWidth",y:2.5},{species:"I. versicolor",x:"PetalWidth",y:1.8},{species:"I. versicolor",x:"SepalWidth",y:3.2},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.8},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:2.5},{species:"I. versicolor",x:"PetalWidth",y:1.2},{species:"I. versicolor",x:"SepalWidth",y:2.8},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.9},{species:"I. versicolor",x:"PetalWidth",y:1.4},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1.4},{species:"I. versicolor",x:"SepalWidth",y:2.8},{species:"I. versicolor",x:"PetalWidth",y:1.7},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:2.9},{species:"I. versicolor",x:"PetalWidth",y:1},{species:"I. versicolor",x:"SepalWidth",y:2.6},{species:"I. versicolor",x:"PetalWidth",y:1.1},{species:"I. versicolor",x:"SepalWidth",y:2.4},{species:"I. versicolor",x:"PetalWidth",y:1},{species:"I. versicolor",x:"SepalWidth",y:2.4},{species:"I. versicolor",x:"PetalWidth",y:1.2},{species:"I. versicolor",x:"SepalWidth",y:2.7},{species:"I. versicolor",x:"PetalWidth",y:1.6},{species:"I. versicolor",x:"SepalWidth",y:2.7},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1.6},{species:"I. versicolor",x:"SepalWidth",y:3.4},{species:"I. versicolor",x:"PetalWidth",y:1.5},{species:"I. versicolor",x:"SepalWidth",y:3.1},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.3},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.5},{species:"I. versicolor",x:"PetalWidth",y:1.2},{species:"I. versicolor",x:"SepalWidth",y:2.6},{species:"I. versicolor",x:"PetalWidth",y:1.4},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1.2},{species:"I. versicolor",x:"SepalWidth",y:2.6},{species:"I. versicolor",x:"PetalWidth",y:1},{species:"I. versicolor",x:"SepalWidth",y:2.3},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.7},{species:"I. versicolor",x:"PetalWidth",y:1.2},{species:"I. versicolor",x:"SepalWidth",y:3},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.9},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.9},{species:"I. versicolor",x:"PetalWidth",y:1.1},{species:"I. versicolor",x:"SepalWidth",y:2.5},{species:"I. versicolor",x:"PetalWidth",y:1.3},{species:"I. versicolor",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:2.5},{species:"I. virginica",x:"SepalWidth",y:3.3},{species:"I. virginica",x:"PetalWidth",y:1.9},{species:"I. virginica",x:"SepalWidth",y:2.7},{species:"I. virginica",x:"PetalWidth",y:2.1},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:2.9},{species:"I. virginica",x:"PetalWidth",y:2.2},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:2.1},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:1.7},{species:"I. virginica",x:"SepalWidth",y:2.5},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:2.9},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:2.5},{species:"I. virginica",x:"PetalWidth",y:2.5},{species:"I. virginica",x:"SepalWidth",y:3.6},{species:"I. virginica",x:"PetalWidth",y:2},{species:"I. virginica",x:"SepalWidth",y:3.2},{species:"I. virginica",x:"PetalWidth",y:1.9},{species:"I. virginica",x:"SepalWidth",y:2.7},{species:"I. virginica",x:"PetalWidth",y:2.1},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:2},{species:"I. virginica",x:"SepalWidth",y:2.5},{species:"I. virginica",x:"PetalWidth",y:2.4},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:3.2},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:2.2},{species:"I. virginica",x:"SepalWidth",y:3.8},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:2.6},{species:"I. virginica",x:"PetalWidth",y:1.5},{species:"I. virginica",x:"SepalWidth",y:2.2},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:3.2},{species:"I. virginica",x:"PetalWidth",y:2},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:2},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:2.7},{species:"I. virginica",x:"PetalWidth",y:2.1},{species:"I. virginica",x:"SepalWidth",y:3.3},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:3.2},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:2.1},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:1.6},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:1.9},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:2},{species:"I. virginica",x:"SepalWidth",y:3.8},{species:"I. virginica",x:"PetalWidth",y:2.2},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:1.5},{species:"I. virginica",x:"SepalWidth",y:2.8},{species:"I. virginica",x:"PetalWidth",y:1.4},{species:"I. virginica",x:"SepalWidth",y:2.6},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:2.4},{species:"I. virginica",x:"SepalWidth",y:3.4},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:3.1},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:2.1},{species:"I. virginica",x:"SepalWidth",y:3.1},{species:"I. virginica",x:"PetalWidth",y:2.4},{species:"I. virginica",x:"SepalWidth",y:3.1},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:3.1},{species:"I. virginica",x:"PetalWidth",y:1.9},{species:"I. virginica",x:"SepalWidth",y:2.7},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:3.2},{species:"I. virginica",x:"PetalWidth",y:2.5},{species:"I. virginica",x:"SepalWidth",y:3.3},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:1.9},{species:"I. virginica",x:"SepalWidth",y:2.5},{species:"I. virginica",x:"PetalWidth",y:2},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"PetalWidth",y:2.3},{species:"I. virginica",x:"SepalWidth",y:3.4},{species:"I. virginica",x:"PetalWidth",y:1.8},{species:"I. virginica",x:"SepalWidth",y:3},{species:"I. virginica",x:"SepalLength",y:5.9}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-distributioncurve",name:"\u5206\u5E03\u66F2\u7EBF",description:"\u89C2\u5BDF\u8FDE\u7EED\u6982\u7387\u6216\u5BC6\u5EA6\u5F62\u72B6\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5206\u5E03\u66F2\u7EBF",datasets:{main:[{value:121.72824144190116},{value:134.53005046206954},{value:90.79176705424099},{value:94.32573307805073},{value:77.42922286933072},{value:91.68029199768837},{value:120.88054342410787},{value:74.36588320567199},{value:108.58881642847071},{value:110.04307686849299},{value:125.13790134666284},{value:90.461174968711},{value:97.76157231111534},{value:101.22032183542008},{value:109.6275824086669},{value:113.7525616080301},{value:100.16933159981245},{value:140.2581759435272},{value:74.16556547120851},{value:108.16004214556074},{value:108.9069560773736},{value:95.71671217179536},{value:106.62235622748314},{value:114.38712001429866},{value:100.1170840428587},{value:88.44352205555762},{value:99.36127189260709},{value:131.5477714086248},{value:84.1637415049112},{value:91.5257190884416},{value:103.39730803316579},{value:106.91616741430411},{value:92.57699450501721},{value:100.61220412689394},{value:91.21982455760255},{value:103.61545760076058},{value:62.57573041661533},{value:84.02913052767195},{value:78.29906370432252},{value:102.52922037327333},{value:72.08999079190045},{value:88.8145054512117},{value:97.86918983094425},{value:96.75026337009419},{value:90.43792738177285},{value:106.43866791279318},{value:127.882707520433},{value:84.0295894694514},{value:86.62489759752766},{value:89.25187366133059},{value:78.86374910726573},{value:106.30467146214538},{value:75.23263150845114},{value:119.29264369657577},{value:99.21826135371124},{value:130.10011032751007},{value:88.98401556638301},{value:114.99126526790997},{value:93.67149648343995},{value:104.76060354081392},{value:94.5279475813098},{value:113.73000670051968},{value:95.07701112519686},{value:89.17612970638793},{value:78.3162833648096},{value:98.64425312797474},{value:97.79956603252444},{value:115.54447783418476},{value:73.99300531285854},{value:87.4699110406466},{value:100.02351362514105},{value:110.60274875151053},{value:118.90780444164409},{value:81.87747685987212},{value:107.36296685768916},{value:112.49540126022757},{value:89.5840694006615},{value:98.00357584824835},{value:77.26702373660035},{value:106.97187781508568},{value:92.17296152584319},{value:92.90206126114744},{value:108.33351235890882},{value:69.95501004009256},{value:94.26019035288286},{value:95.40203398029897},{value:120.59509417982552},{value:92.23262439972304},{value:107.31697332128222},{value:86.64602345126883},{value:116.59360080101901},{value:106.1230761724693},{value:82.42970628472428},{value:91.84309165637671},{value:93.44607953457057},{value:93.2631958994601},{value:113.58632676926469},{value:78.11109031805339},{value:97.55330291946062},{value:96.50248195787509},{value:106.26643965795635},{value:87.55909254345445},{value:124.26941868752695},{value:113.02592428550543},{value:87.82797389767532},{value:106.30508820995195},{value:127.47940635057554},{value:92.79591586141561},{value:117.07966619811934},{value:87.87378167772904},{value:98.11270468963106},{value:101.65315783351278},{value:95.40936324149689},{value:84.08629388797391},{value:74.88566678161553},{value:77.03266730396847},{value:108.8358359665808},{value:97.20045471088476},{value:134.71462438300512},{value:94.86269204120528},{value:98.67687398609858},{value:112.37128397602297},{value:114.77704149675215},{value:121.62656828836793},{value:120.72039384834005},{value:102.07071181905195},{value:102.82959039133931},{value:87.50952714207374},{value:128.3239796746725},{value:83.91628262526561},{value:82.81814963899538},{value:97.66981210814629},{value:90.18909376618582},{value:91.99477270552096},{value:100.22539404392082},{value:94.43197502316993},{value:101.48581298140851},{value:73.72571903137825},{value:96.77347625966117},{value:105.36701274552453},{value:106.47390851914908},{value:76.00983399952028},{value:73.74032751764395},{value:87.91598498987972},{value:112.65166837568749},{value:93.91867824022127},{value:98.78598711826324},{value:121.78281030860838},{value:91.19889222784529},{value:95.28879570903385},{value:85.06755406996346},{value:101.82718580958635},{value:86.63213940682716},{value:78.00950274748823},{value:89.31800807678192},{value:84.67474606129477},{value:88.68077925010479},{value:108.95633186895033},{value:107.09592152791517},{value:97.97200603096744},{value:73.60070254212062},{value:78.35374700113361},{value:81.91584973109242},{value:104.09835434798805},{value:79.48246157034407},{value:111.55144752067068},{value:92.52071828006203},{value:54.962797338269326},{value:94.95624315624552},{value:72.38101547186547},{value:88.72339098985601},{value:113.99768620466952},{value:68.08634488690531},{value:113.00541280383409},{value:111.68068754988113},{value:107.52896729282787},{value:90.35163810751992},{value:107.85814659756251},{value:99.14201321150904},{value:95.72717984037926},{value:86.41409452594857},{value:106.02891203477455},{value:90.00712756403499},{value:78.40263966783307},{value:93.26913293545442},{value:86.66895025903774},{value:99.63046447149537},{value:94.03798522688115},{value:106.07959786217037},{value:87.96048096192402},{value:119.36482430208369},{value:93.20280614261458},{value:102.43871066721645},{value:104.08906607577474},{value:108.71887210866358},{value:111.64706142624998},{value:111.87610521537646},{value:97.71825111365838},{value:90.5306888053288},{value:93.36681591431542},{value:77.26359513010738},{value:94.44315942703788},{value:118.77747539045373},{value:90.47240089809281},{value:112.76459928020087},{value:86.37020523429673},{value:86.98022879103034},{value:104.16397522004553},{value:105.76724221200554},{value:92.69296196698643},{value:97.42992792516843},{value:105.22568375170172},{value:105.37991018528483},{value:118.67492622720033},{value:70.16804872999876},{value:104.33622455699468},{value:125.32688223260942},{value:100.91351085285383},{value:105.19097273299396},{value:92.36309183724882},{value:85.16440891086876},{value:78.02740563387817},{value:115.70067445637883},{value:100.04342181965174},{value:79.16551650747961},{value:118.88388799956928},{value:94.2037615260092},{value:98.49408089891976},{value:93.66830106902061},{value:93.37052341316755},{value:87.09373073717643},{value:95.56889551711448},{value:102.59622254275912},{value:69.01153810228928},{value:100.62454181692758},{value:79.64541281686638},{value:89.78037459764009},{value:105.50407823152322},{value:121.30190387681455},{value:116.58661950936265},{value:124.90661411401557},{value:94.35298221669889},{value:68.77343453303801},{value:109.42604273380425},{value:63.2681006383366},{value:130.84257069837003},{value:109.59372549733757},{value:109.45756624536632},{value:100.27443137641856},{value:103.54239989382071},{value:91.67097255426597}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-heatmap",name:"\u5BC6\u5EA6\u70ED\u529B\u56FE",description:"\u89C2\u5BDF\u4E8C\u7EF4\u7A7A\u95F4\u7684\u70ED\u70B9\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5BC6\u5EA6\u70ED\u529B\u56FE",datasets:{"layer-1":[{g:541,l:85,tmp:858},{g:566,l:131,tmp:326},{g:85,l:207,tmp:184},{g:552,l:153,tmp:367},{g:409,l:440,tmp:754},{g:186,l:127,tmp:55},{g:990,l:29,tmp:549},{g:28,l:313,tmp:320},{g:257,l:327,tmp:540},{g:352,l:343,tmp:944},{g:969,l:160,tmp:934},{g:227,l:194,tmp:471},{g:910,l:98,tmp:289},{g:285,l:448,tmp:894},{g:900,l:195,tmp:132},{g:337,l:243,tmp:715},{g:238,l:11,tmp:244},{g:607,l:234,tmp:1},{g:85,l:435,tmp:548},{g:336,l:387,tmp:607},{g:320,l:342,tmp:635},{g:20,l:475,tmp:561},{g:42,l:412,tmp:115},{g:821,l:442,tmp:756},{g:810,l:180,tmp:834},{g:119,l:422,tmp:801},{g:980,l:168,tmp:44},{g:729,l:100,tmp:88},{g:40,l:384,tmp:441},{g:351,l:362,tmp:724},{g:515,l:245,tmp:567},{g:496,l:226,tmp:720},{g:43,l:51,tmp:622},{g:775,l:491,tmp:748},{g:302,l:202,tmp:489},{g:308,l:88,tmp:996},{g:793,l:96,tmp:759},{g:637,l:437,tmp:465},{g:586,l:172,tmp:202},{g:110,l:399,tmp:936},{g:54,l:442,tmp:692},{g:804,l:365,tmp:450},{g:730,l:139,tmp:520},{g:994,l:230,tmp:71},{g:394,l:210,tmp:945},{g:840,l:470,tmp:940},{g:260,l:427,tmp:986},{g:261,l:174,tmp:145},{g:377,l:363,tmp:979},{g:241,l:201,tmp:807},{g:11,l:413,tmp:102},{g:226,l:288,tmp:208},{g:224,l:386,tmp:263},{g:828,l:252,tmp:136},{g:376,l:227,tmp:914},{g:453,l:184,tmp:513},{g:327,l:188,tmp:498},{g:283,l:224,tmp:949},{g:948,l:123,tmp:57},{g:532,l:405,tmp:225},{g:810,l:170,tmp:57},{g:642,l:421,tmp:48},{g:45,l:39,tmp:642},{g:678,l:257,tmp:225},{g:807,l:372,tmp:673},{g:498,l:142,tmp:414},{g:176,l:143,tmp:577},{g:42,l:443,tmp:247},{g:497,l:463,tmp:842},{g:191,l:40,tmp:501},{g:877,l:157,tmp:70},{g:709,l:434,tmp:110},{g:406,l:322,tmp:716},{g:765,l:241,tmp:374},{g:316,l:284,tmp:147},{g:550,l:314,tmp:903},{g:711,l:408,tmp:938},{g:523,l:36,tmp:298},{g:40,l:125,tmp:91},{g:297,l:64,tmp:165},{g:785,l:93,tmp:614},{g:843,l:301,tmp:507},{g:84,l:225,tmp:358},{g:202,l:455,tmp:193},{g:199,l:62,tmp:182},{g:704,l:358,tmp:428},{g:655,l:363,tmp:213},{g:727,l:296,tmp:667},{g:920,l:39,tmp:776},{g:694,l:229,tmp:770},{g:757,l:375,tmp:441},{g:734,l:238,tmp:580},{g:688,l:37,tmp:685},{g:245,l:488,tmp:683},{g:783,l:45,tmp:573},{g:921,l:17,tmp:893},{g:555,l:31,tmp:424},{g:334,l:305,tmp:928},{g:610,l:446,tmp:123},{g:257,l:259,tmp:990},{g:351,l:130,tmp:625},{g:26,l:207,tmp:786},{g:218,l:311,tmp:981},{g:767,l:110,tmp:838},{g:988,l:241,tmp:109},{g:487,l:457,tmp:817},{g:424,l:228,tmp:517},{g:512,l:225,tmp:608},{g:598,l:148,tmp:755},{g:739,l:187,tmp:583},{g:99,l:61,tmp:891},{g:968,l:321,tmp:554},{g:998,l:414,tmp:133},{g:519,l:381,tmp:99},{g:563,l:422,tmp:5},{g:613,l:477,tmp:557},{g:441,l:161,tmp:447},{g:673,l:58,tmp:826},{g:451,l:225,tmp:116},{g:141,l:354,tmp:922},{g:521,l:145,tmp:193},{g:794,l:41,tmp:990},{g:241,l:98,tmp:81},{g:910,l:190,tmp:678},{g:310,l:133,tmp:523},{g:16,l:453,tmp:842},{g:953,l:370,tmp:261},{g:887,l:184,tmp:239},{g:63,l:360,tmp:199},{g:928,l:257,tmp:572},{g:266,l:309,tmp:350},{g:448,l:203,tmp:256},{g:238,l:31,tmp:231},{g:84,l:22,tmp:796},{g:431,l:86,tmp:21},{g:195,l:468,tmp:526},{g:816,l:326,tmp:696},{g:952,l:50,tmp:999},{g:670,l:437,tmp:440},{g:259,l:278,tmp:871},{g:15,l:50,tmp:17},{g:167,l:59,tmp:387},{g:393,l:110,tmp:162},{g:306,l:354,tmp:183},{g:214,l:249,tmp:611},{g:521,l:218,tmp:571},{g:841,l:379,tmp:510},{g:187,l:340,tmp:356},{g:340,l:184,tmp:597},{g:439,l:383,tmp:217},{g:916,l:99,tmp:703},{g:203,l:234,tmp:478},{g:876,l:20,tmp:636},{g:551,l:73,tmp:74},{g:278,l:219,tmp:387},{g:686,l:418,tmp:577},{g:921,l:317,tmp:593},{g:699,l:344,tmp:381},{g:233,l:60,tmp:462},{g:937,l:483,tmp:890},{g:246,l:270,tmp:467},{g:788,l:499,tmp:214},{g:366,l:315,tmp:909},{g:817,l:393,tmp:512},{g:761,l:50,tmp:361},{g:911,l:369,tmp:579},{g:646,l:92,tmp:5},{g:87,l:428,tmp:206},{g:454,l:483,tmp:996},{g:885,l:179,tmp:99},{g:348,l:154,tmp:997},{g:415,l:118,tmp:901},{g:532,l:346,tmp:216},{g:326,l:309,tmp:797},{g:243,l:189,tmp:725},{g:343,l:433,tmp:472},{g:947,l:137,tmp:966},{g:770,l:296,tmp:43},{g:66,l:178,tmp:392},{g:225,l:147,tmp:396},{g:757,l:66,tmp:94},{g:644,l:111,tmp:767},{g:669,l:409,tmp:43},{g:829,l:75,tmp:445},{g:761,l:496,tmp:771},{g:740,l:92,tmp:355},{g:964,l:196,tmp:332},{g:316,l:194,tmp:851},{g:694,l:458,tmp:876},{g:273,l:363,tmp:585},{g:225,l:56,tmp:520},{g:940,l:464,tmp:572},{g:100,l:60,tmp:283},{g:656,l:395,tmp:320},{g:87,l:79,tmp:488},{g:803,l:223,tmp:610},{g:468,l:133,tmp:827},{g:691,l:215,tmp:796},{g:776,l:29,tmp:859},{g:927,l:7,tmp:396},{g:330,l:463,tmp:468},{g:233,l:245,tmp:345},{g:780,l:247,tmp:946},{g:959,l:183,tmp:460},{g:494,l:318,tmp:795},{g:926,l:135,tmp:941},{g:197,l:318,tmp:763},{g:614,l:464,tmp:192},{g:399,l:261,tmp:473},{g:746,l:77,tmp:574},{g:23,l:83,tmp:615},{g:177,l:8,tmp:976},{g:95,l:265,tmp:208},{g:336,l:255,tmp:42},{g:669,l:171,tmp:124},{g:945,l:167,tmp:749},{g:979,l:0,tmp:745},{g:611,l:91,tmp:990},{g:335,l:51,tmp:487},{g:261,l:161,tmp:377},{g:726,l:344,tmp:208},{g:25,l:136,tmp:703},{g:181,l:19,tmp:311},{g:875,l:360,tmp:260},{g:885,l:335,tmp:294},{g:362,l:316,tmp:349},{g:767,l:184,tmp:985},{g:799,l:426,tmp:716},{g:305,l:85,tmp:451},{g:90,l:61,tmp:621},{g:693,l:208,tmp:123},{g:72,l:243,tmp:116},{g:65,l:199,tmp:147},{g:257,l:274,tmp:221},{g:979,l:432,tmp:344},{g:973,l:181,tmp:811},{g:645,l:357,tmp:89},{g:686,l:240,tmp:829},{g:869,l:365,tmp:455},{g:219,l:418,tmp:619},{g:26,l:427,tmp:922},{g:247,l:243,tmp:645},{g:757,l:273,tmp:81},{g:518,l:425,tmp:268},{g:841,l:426,tmp:530},{g:818,l:31,tmp:27},{g:251,l:185,tmp:462},{g:636,l:175,tmp:7},{g:380,l:442,tmp:609},{g:161,l:487,tmp:817},{g:596,l:320,tmp:718}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-color-map",name:"\u8272\u5757\u56FE",description:"\u7528\u989C\u8272\u7F16\u7801\u7F51\u683C\u4E2D\u7684\u6570\u503C\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u8272\u5757\u56FE",datasets:{main:[{month:"January",product:"Product A",sales:123},{month:"January",product:"Product B",sales:231},{month:"January",product:"Product C",sales:145},{month:"February",product:"Product A",sales:132},{month:"February",product:"Product B",sales:112},{month:"February",product:"Product C",sales:178},{month:"March",product:"Product A",sales:99},{month:"March",product:"Product B",sales:288},{month:"March",product:"Product C",sales:133},{month:"April",product:"Product A",sales:181},{month:"April",product:"Product B",sales:223},{month:"April",product:"Product C",sales:141},{month:"May",product:"Product A",sales:152},{month:"May",product:"Product B",sales:219},{month:"May",product:"Product C",sales:109},{month:"June",product:"Product A",sales:167},{month:"June",product:"Product B",sales:187},{month:"June",product:"Product C",sales:255}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-contourline",name:"\u7B49\u9AD8\u7EBF\u56FE",description:"\u7528\u7B49\u503C\u66F2\u7EBF\u8868\u8FBE\u8FDE\u7EED\u573A\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u7B49\u9AD8\u7EBF\u56FE",datasets:{main:[{x:30,y:25,level:20,lineId:"line_20"},{x:31.190083208180017,y:26.09147868243255,level:20,lineId:"line_20"},{x:31.549296260726187,y:27.383748894295273,level:20,lineId:"line_20"},{x:30.830127018922195,y:28.366025403784437,level:20,lineId:"line_20"},{x:29.35422747605366,y:28.653630669218604,level:20,lineId:"line_20"},{x:27.77424542764679,y:28.306216955136122,level:20,lineId:"line_20"},{x:26.633974596215563,y:27.830127018922195,level:20,lineId:"line_20"},{x:26.036452538961413,y:27.847629947132894,level:20,lineId:"line_20"},{x:25.645003094236753,y:28.657994321942063,level:20,lineId:"line_20"},{x:25,y:30,level:20,lineId:"line_20"},{x:23.90852131756745,y:31.190083208180017,level:20,lineId:"line_20"},{x:22.616251105704727,y:31.549296260726187,level:20,lineId:"line_20"},{x:21.633974596215563,y:30.830127018922195,level:20,lineId:"line_20"},{x:21.346369330781393,y:29.35422747605366,level:20,lineId:"line_20"},{x:21.693783044863878,y:27.77424542764679,level:20,lineId:"line_20"},{x:22.169872981077805,y:26.633974596215563,level:20,lineId:"line_20"},{x:22.152370052867106,y:26.036452538961413,level:20,lineId:"line_20"},{x:21.342005678057937,y:25.645003094236753,level:20,lineId:"line_20"},{x:20,y:25,level:20,lineId:"line_20"},{x:18.80991679181998,y:23.90852131756745,level:20,lineId:"line_20"},{x:18.450703739273813,y:22.616251105704727,level:20,lineId:"line_20"},{x:19.16987298107781,y:21.63397459621556,level:20,lineId:"line_20"},{x:20.645772523946338,y:21.346369330781396,level:20,lineId:"line_20"},{x:22.22575457235321,y:21.693783044863878,level:20,lineId:"line_20"},{x:23.366025403784437,y:22.169872981077805,level:20,lineId:"line_20"},{x:23.963547461038583,y:22.152370052867106,level:20,lineId:"line_20"},{x:24.354996905763247,y:21.342005678057937,level:20,lineId:"line_20"},{x:25,y:20,level:20,lineId:"line_20"},{x:26.091478682432548,y:18.809916791819983,level:20,lineId:"line_20"},{x:27.38374889429527,y:18.450703739273813,level:20,lineId:"line_20"},{x:28.36602540378444,y:19.16987298107781,level:20,lineId:"line_20"},{x:28.653630669218604,y:20.645772523946338,level:20,lineId:"line_20"},{x:28.306216955136122,y:22.22575457235321,level:20,lineId:"line_20"},{x:27.830127018922195,y:23.366025403784437,level:20,lineId:"line_20"},{x:27.847629947132894,y:23.963547461038587,level:20,lineId:"line_20"},{x:28.657994321942056,y:24.354996905763244,level:20,lineId:"line_20"},{x:30,y:25,level:20,lineId:"line_20"},{x:34.647189589668926,y:25.84401972398134,level:40,lineId:"line_40"},{x:35.36636504407723,y:27.777659142006712,level:40,lineId:"line_40"},{x:34.94184795390791,y:29.635959837119863,level:40,lineId:"line_40"},{x:33.425449967637654,y:30.89956358014864,level:40,lineId:"line_40"},{x:31.36396103067893,y:31.36396103067893,level:40,lineId:"line_40"},{x:29.42481227417019,y:31.3192868295642,level:40,lineId:"line_40"},{x:27.97116887421273,y:31.37169221275179,level:40,lineId:"line_40"},{x:26.88108366983866,y:32.020299829126,level:40,lineId:"line_40"},{x:25.724783645476506,y:33.28431497598249,level:40,lineId:"line_40"},{x:24.155980276018656,y:34.64718958966893,level:40,lineId:"line_40"},{x:22.222340857993284,y:35.366365044077234,level:40,lineId:"line_40"},{x:20.36404016288014,y:34.94184795390791,level:40,lineId:"line_40"},{x:19.100436419851363,y:33.42544996763766,level:40,lineId:"line_40"},{x:18.63603896932107,y:31.36396103067893,level:40,lineId:"line_40"},{x:18.6807131704358,y:29.424812274170193,level:40,lineId:"line_40"},{x:18.62830778724821,y:27.97116887421273,level:40,lineId:"line_40"},{x:17.979700170874004,y:26.881083669838663,level:40,lineId:"line_40"},{x:16.715685024017514,y:25.72478364547651,level:40,lineId:"line_40"},{x:15.352810410331072,y:24.15598027601866,level:40,lineId:"line_40"},{x:14.633634955922771,y:22.22234085799329,level:40,lineId:"line_40"},{x:15.05815204609209,y:20.36404016288014,level:40,lineId:"line_40"},{x:16.574550032362342,y:19.100436419851363,level:40,lineId:"line_40"},{x:18.63603896932107,y:18.63603896932107,level:40,lineId:"line_40"},{x:20.575187725829807,y:18.6807131704358,level:40,lineId:"line_40"},{x:22.028831125787267,y:18.62830778724821,level:40,lineId:"line_40"},{x:23.11891633016134,y:17.979700170874,level:40,lineId:"line_40"},{x:24.275216354523494,y:16.71568502401751,level:40,lineId:"line_40"},{x:25.84401972398134,y:15.352810410331072,level:40,lineId:"line_40"},{x:27.77765914200672,y:14.63363495592277,level:40,lineId:"line_40"},{x:29.635959837119863,y:15.058152046092092,level:40,lineId:"line_40"},{x:30.89956358014864,y:16.574550032362346,level:40,lineId:"line_40"},{x:31.36396103067893,y:18.63603896932107,level:40,lineId:"line_40"},{x:31.3192868295642,y:20.575187725829807,level:40,lineId:"line_40"},{x:31.37169221275179,y:22.028831125787267,level:40,lineId:"line_40"},{x:32.020299829126,y:23.11891633016134,level:40,lineId:"line_40"},{x:33.28431497598249,y:24.275216354523494,level:40,lineId:"line_40"},{x:38,y:25,level:60,lineId:"line_60"},{x:39.068545232277685,y:27.480664103767992,level:60,lineId:"line_60"},{x:39.06683722701346,y:30.119910040900624,level:60,lineId:"line_60"},{x:37.758330249197705,y:32.366025403784434,level:60,lineId:"line_60"},{x:35.48258302100548,y:33.79593154671092,level:60,lineId:"line_60"},{x:32.91654630513911,y:34.434572500087945,level:60,lineId:"line_60"},{x:30.633974596215563,y:34.7583302491977,level:60,lineId:"line_60"},{x:28.772613685566764,y:35.36517091342016,level:60,lineId:"line_60"},{x:27.034188515572197,y:36.53645634603973,level:60,lineId:"line_60"},{x:25,y:38,level:60,lineId:"line_60"},{x:22.519335896232008,y:39.068545232277685,level:60,lineId:"line_60"},{x:19.880089959099376,y:39.06683722701346,level:60,lineId:"line_60"},{x:17.633974596215566,y:37.758330249197705,level:60,lineId:"line_60"},{x:16.204068453289082,y:35.48258302100548,level:60,lineId:"line_60"},{x:15.565427499912055,y:32.91654630513911,level:60,lineId:"line_60"},{x:15.241669750802297,y:30.63397459621556,level:60,lineId:"line_60"},{x:14.634829086579838,y:28.772613685566764,level:60,lineId:"line_60"},{x:13.463543653960272,y:27.034188515572193,level:60,lineId:"line_60"},{x:12.000000000000002,y:25,level:60,lineId:"line_60"},{x:10.931454767722316,y:22.519335896232004,level:60,lineId:"line_60"},{x:10.933162772986543,y:19.88008995909938,level:60,lineId:"line_60"},{x:12.241669750802298,y:17.63397459621556,level:60,lineId:"line_60"},{x:14.517416978994513,y:16.204068453289082,level:60,lineId:"line_60"},{x:17.083453694860893,y:15.565427499912055,level:60,lineId:"line_60"},{x:19.366025403784434,y:15.241669750802297,level:60,lineId:"line_60"},{x:21.22738631443323,y:14.634829086579842,level:60,lineId:"line_60"},{x:22.965811484427803,y:13.463543653960274,level:60,lineId:"line_60"},{x:24.999999999999996,y:12.000000000000002,level:60,lineId:"line_60"},{x:27.48066410376799,y:10.931454767722318,level:60,lineId:"line_60"},{x:30.119910040900614,y:10.933162772986543,level:60,lineId:"line_60"},{x:32.36602540378444,y:12.241669750802298,level:60,lineId:"line_60"},{x:33.79593154671092,y:14.517416978994513,level:60,lineId:"line_60"},{x:34.434572500087945,y:17.083453694860893,level:60,lineId:"line_60"},{x:34.7583302491977,y:19.366025403784434,level:60,lineId:"line_60"},{x:35.365170913420165,y:21.22738631443324,level:60,lineId:"line_60"},{x:36.53645634603972,y:22.965811484427796,level:60,lineId:"line_60"},{x:38,y:24.999999999999996,level:60,lineId:"line_60"},{x:42.616747174402896,y:26.54126566596261,level:80,lineId:"line_80"},{x:43.09377165438978,y:29.848211502826878,level:80,lineId:"line_80"},{x:42.1923102502011,y:33.01690593104546,level:80,lineId:"line_80"},{x:39.97866632194959,y:35.488175070957006,level:80,lineId:"line_80"},{x:37.020815280171306,y:37.020815280171306,level:80,lineId:"line_80"},{x:34.013423764978555,y:37.872503183876134,level:80,lineId:"line_80"},{x:31.352114968138324,y:38.62215450904499,level:80,lineId:"line_80"},{x:28.951636030658825,y:39.747706439438545,level:80,lineId:"line_80"},{x:26.42202958745777,y:41.25387256071645,level:80,lineId:"line_80"},{x:23.45873433403739,y:42.616747174402896,level:80,lineId:"line_80"},{x:20.15178849717312,y:43.09377165438978,level:80,lineId:"line_80"},{x:16.983094068954543,y:42.19231025020112,level:80,lineId:"line_80"},{x:14.511824929042996,y:39.97866632194959,level:80,lineId:"line_80"},{x:12.979184719828693,y:37.020815280171306,level:80,lineId:"line_80"},{x:12.127496816123868,y:34.01342376497856,level:80,lineId:"line_80"},{x:11.37784549095501,y:31.352114968138324,level:80,lineId:"line_80"},{x:10.252293560561457,y:28.95163603065883,level:80,lineId:"line_80"},{x:8.746127439283551,y:26.42202958745778,level:80,lineId:"line_80"},{x:7.383252825597108,y:23.4587343340374,level:80,lineId:"line_80"},{x:6.906228345610224,y:20.15178849717313,level:80,lineId:"line_80"},{x:7.807689749798886,y:16.983094068954543,level:80,lineId:"line_80"},{x:10.021333678050409,y:14.511824929042996,level:80,lineId:"line_80"},{x:12.97918471982869,y:12.979184719828693,level:80,lineId:"line_80"},{x:15.986576235021435,y:12.127496816123868,level:80,lineId:"line_80"},{x:18.64788503186167,y:11.377845490955012,level:80,lineId:"line_80"},{x:21.048363969341175,y:10.252293560561453,level:80,lineId:"line_80"},{x:23.57797041254223,y:8.746127439283548,level:80,lineId:"line_80"},{x:26.5412656659626,y:7.383252825597108,level:80,lineId:"line_80"},{x:29.848211502826885,y:6.906228345610224,level:80,lineId:"line_80"},{x:33.01690593104546,y:7.807689749798893,level:80,lineId:"line_80"},{x:35.488175070957006,y:10.021333678050413,level:80,lineId:"line_80"},{x:37.020815280171306,y:12.97918471982869,level:80,lineId:"line_80"},{x:37.872503183876134,y:15.986576235021433,level:80,lineId:"line_80"},{x:38.62215450904499,y:18.64788503186167,level:80,lineId:"line_80"},{x:39.747706439438545,y:21.048363969341175,level:80,lineId:"line_80"},{x:41.25387256071645,y:23.57797041254223,level:80,lineId:"line_80"},{x:46,y:25,level:100,lineId:"line_100"},{x:46.94700725637534,y:28.869849525103437,level:100,lineId:"line_100"},{x:46.58437819330072,y:32.856071187505975,level:100,lineId:"line_100"},{x:44.68653347947321,y:36.366025403784434,level:100,lineId:"line_100"},{x:41.61093856595731,y:38.938232424203235,level:100,lineId:"line_100"},{x:38.05884718263142,y:40.56292804503977,level:100,lineId:"line_100"},{x:34.633974596215566,y:41.68653347947321,level:100,lineId:"line_100"},{x:31.508774832172115,y:42.88271187970743,level:100,lineId:"line_100"},{x:28.423373936907637,y:44.414918370137386,level:100,lineId:"line_100"},{x:25,y:46,level:100,lineId:"line_100"},{x:21.130150474896563,y:46.94700725637534,level:100,lineId:"line_100"},{x:17.14392881249403,y:46.58437819330072,level:100,lineId:"line_100"},{x:13.633974596215566,y:44.68653347947321,level:100,lineId:"line_100"},{x:11.061767575796765,y:41.61093856595731,level:100,lineId:"line_100"},{x:9.437071954960231,y:38.058847182631425,level:100,lineId:"line_100"},{x:8.313466520526788,y:34.63397459621556,level:100,lineId:"line_100"},{x:7.117288120292574,y:31.508774832172115,level:100,lineId:"line_100"},{x:5.585081629862611,y:28.423373936907637,level:100,lineId:"line_100"},{x:4,y:25.000000000000004,level:100,lineId:"line_100"},{x:3.052992743624653,y:21.13015047489656,level:100,lineId:"line_100"},{x:3.415621806699278,y:17.14392881249403,level:100,lineId:"line_100"},{x:5.3134665205267915,y:13.63397459621556,level:100,lineId:"line_100"},{x:8.389061434042688,y:11.061767575796766,level:100,lineId:"line_100"},{x:11.941152817368579,y:9.437071954960231,level:100,lineId:"line_100"},{x:15.366025403784429,y:8.313466520526788,level:100,lineId:"line_100"},{x:18.491225167827874,y:7.117288120292574,level:100,lineId:"line_100"},{x:21.576626063092363,y:5.585081629862611,level:100,lineId:"line_100"},{x:24.999999999999996,y:4,level:100,lineId:"line_100"},{x:28.869849525103426,y:3.052992743624653,level:100,lineId:"line_100"},{x:32.85607118750596,y:3.4156218066992743,level:100,lineId:"line_100"},{x:36.36602540378444,y:5.313466520526788,level:100,lineId:"line_100"},{x:38.938232424203235,y:8.389061434042688,level:100,lineId:"line_100"},{x:40.56292804503977,y:11.941152817368575,level:100,lineId:"line_100"},{x:41.68653347947321,y:15.366025403784429,level:100,lineId:"line_100"},{x:42.88271187970743,y:18.49122516782789,level:100,lineId:"line_100"},{x:44.414918370137386,y:21.576626063092345,level:100,lineId:"line_100"},{x:46,y:24.999999999999996,level:100,lineId:"line_100"}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-stem-leaf",name:"\u830E\u53F6\u56FE",description:"\u4FDD\u7559\u6570\u503C\u7EC6\u8282\u5E76\u5C55\u793A\u5206\u5E03\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u830E\u53F6\u56FE",datasets:{main:[{x:.4,y:0,text:"9",type:"stem",fill:"#333",fontSize:18,fontWeight:"bold"},{x:.47,y:0,text:"2",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.51,y:0,text:"3",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.5499999999999999,y:0,text:"5",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.4,y:1,text:"8",type:"stem",fill:"#333",fontSize:18,fontWeight:"bold"},{x:.47,y:1,text:"1",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.51,y:1,text:"2",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.5499999999999999,y:1,text:"3",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.59,y:1,text:"5",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.63,y:1,text:"7",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.6699999999999999,y:1,text:"9",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.4,y:2,text:"7",type:"stem",fill:"#333",fontSize:18,fontWeight:"bold"},{x:.47,y:2,text:"1",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.51,y:2,text:"2",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.5499999999999999,y:2,text:"3",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.59,y:2,text:"4",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.63,y:2,text:"5",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.6699999999999999,y:2,text:"6",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.71,y:2,text:"8",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.75,y:2,text:"9",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.4,y:3,text:"6",type:"stem",fill:"#333",fontSize:18,fontWeight:"bold"},{x:.47,y:3,text:"5",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.51,y:3,text:"7",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"},{x:.5499999999999999,y:3,text:"9",type:"leaf",fill:"#1890ff",fontSize:14,fontWeight:"normal"}],"layer-1":[.45]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-sankey",name:"\u6851\u57FA\u56FE",description:"\u8FDE\u63A5\u5BBD\u5EA6\u8868\u8FBE\u6D41\u91CF\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u6851\u57FA\u56FE",datasets:{main:[{source:"Agricultural 'waste'",target:"Bio-conversion",value:124.729},{source:"Bio-conversion",target:"Liquid",value:.597},{source:"Bio-conversion",target:"Losses",value:26.862},{source:"Bio-conversion",target:"Solid",value:280.322},{source:"Bio-conversion",target:"Gas",value:81.144},{source:"Biofuel imports",target:"Liquid",value:35},{source:"Biomass imports",target:"Solid",value:35},{source:"Coal imports",target:"Coal",value:11.606},{source:"Coal reserves",target:"Coal",value:63.965},{source:"Coal",target:"Solid",value:75.571},{source:"District heating",target:"Industry",value:10.639},{source:"District heating",target:"Heating and cooling - commercial",value:22.505},{source:"District heating",target:"Heating and cooling - homes",value:46.184},{source:"Electricity grid",target:"Over generation / exports",value:104.453},{source:"Electricity grid",target:"Heating and cooling - homes",value:113.726},{source:"Electricity grid",target:"H2 conversion",value:27.14},{source:"Electricity grid",target:"Industry",value:342.165},{source:"Electricity grid",target:"Road transport",value:37.797},{source:"Electricity grid",target:"Agriculture",value:4.412},{source:"Electricity grid",target:"Heating and cooling - commercial",value:40.858},{source:"Electricity grid",target:"Losses",value:56.691},{source:"Electricity grid",target:"Rail transport",value:7.863},{source:"Electricity grid",target:"Lighting & appliances - commercial",value:90.008},{source:"Electricity grid",target:"Lighting & appliances - homes",value:93.494},{source:"Gas imports",target:"Ngas",value:40.719},{source:"Gas reserves",target:"Ngas",value:82.233},{source:"Gas",target:"Heating and cooling - commercial",value:.129},{source:"Gas",target:"Losses",value:1.401},{source:"Gas",target:"Thermal generation",value:151.891},{source:"Gas",target:"Agriculture",value:2.096},{source:"Gas",target:"Industry",value:48.58},{source:"Geothermal",target:"Electricity grid",value:7.013},{source:"H2 conversion",target:"H2",value:20.897},{source:"H2 conversion",target:"Losses",value:6.242},{source:"H2",target:"Road transport",value:20.897},{source:"Hydro",target:"Electricity grid",value:6.995},{source:"Liquid",target:"Industry",value:121.066},{source:"Liquid",target:"International shipping",value:128.69},{source:"Liquid",target:"Road transport",value:135.835},{source:"Liquid",target:"Domestic aviation",value:14.458},{source:"Liquid",target:"International aviation",value:206.267},{source:"Liquid",target:"Agriculture",value:3.64},{source:"Liquid",target:"National navigation",value:33.218},{source:"Liquid",target:"Rail transport",value:4.413},{source:"Marine algae",target:"Bio-conversion",value:4.375},{source:"Ngas",target:"Gas",value:122.952},{source:"Nuclear",target:"Thermal generation",value:839.978},{source:"Oil imports",target:"Oil",value:504.287},{source:"Oil reserves",target:"Oil",value:107.703},{source:"Oil",target:"Liquid",value:611.99},{source:"Other waste",target:"Solid",value:56.587},{source:"Other waste",target:"Bio-conversion",value:77.81},{source:"Pumped heat",target:"Heating and cooling - homes",value:193.026},{source:"Pumped heat",target:"Heating and cooling - commercial",value:70.672},{source:"Solar PV",target:"Electricity grid",value:59.901},{source:"Solar Thermal",target:"Heating and cooling - homes",value:19.263},{source:"Solar",target:"Solar Thermal",value:19.263},{source:"Solar",target:"Solar PV",value:59.901},{source:"Solid",target:"Agriculture",value:.882},{source:"Solid",target:"Thermal generation",value:400.12},{source:"Solid",target:"Industry",value:46.477},{source:"Thermal generation",target:"Electricity grid",value:525.531},{source:"Thermal generation",target:"Losses",value:787.129},{source:"Thermal generation",target:"District heating",value:79.329},{source:"Tidal",target:"Electricity grid",value:9.452},{source:"UK land based bioenergy",target:"Bio-conversion",value:182.01},{source:"Wave",target:"Electricity grid",value:19.013},{source:"Wind",target:"Electricity grid",value:289.366}]},theme:"indigo",height:320,legend:!1,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-chord",name:"\u5F26\u56FE",description:"\u5706\u73AF\u5185\u5C55\u793A\u5173\u7CFB\u5F3A\u5EA6\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5F26\u56FE",datasets:{main:{links:[{source:"Beijing",target:"Shanghai",value:100},{source:"Beijing",target:"Guangzhou",value:80},{source:"Beijing",target:"Shenzhen",value:60},{source:"Shanghai",target:"Beijing",value:70},{source:"Shanghai",target:"Guangzhou",value:90},{source:"Shanghai",target:"Shenzhen",value:50},{source:"Guangzhou",target:"Beijing",value:40},{source:"Guangzhou",target:"Shanghai",value:85},{source:"Guangzhou",target:"Shenzhen",value:120},{source:"Shenzhen",target:"Beijing",value:35},{source:"Shenzhen",target:"Shanghai",value:45},{source:"Shenzhen",target:"Guangzhou",value:110}]}},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-arcdiagram",name:"\u5F27\u56FE",description:"\u5728\u7EBF\u6027\u8282\u70B9\u4E4B\u95F4\u8FDE\u63A5\u5F27\u7EBF\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5F27\u56FE",datasets:{main:{nodes:[{id:0,label:"Myriel",modularity_class:"0",size:28.685715},{id:1,label:"Napoleon",modularity_class:"0",size:4},{id:2,label:"MlleBaptistine",modularity_class:"1",size:9.485714},{id:3,label:"MmeMagloire",modularity_class:"1",size:9.485714},{id:4,label:"CountessDeLo",modularity_class:"0",size:4},{id:5,label:"Geborand",modularity_class:"0",size:4},{id:6,label:"Champtercier",modularity_class:"0",size:4},{id:7,label:"Cravatte",modularity_class:"0",size:4},{id:8,label:"Count",modularity_class:"0",size:4},{id:9,label:"OldMan",modularity_class:"0",size:4},{id:10,label:"Labarre",modularity_class:"1",size:4},{id:11,label:"Valjean",modularity_class:"1",size:100},{id:12,label:"Marguerite",modularity_class:"1",size:6.742859},{id:13,label:"MmeDeR",modularity_class:"1",size:4},{id:14,label:"Isabeau",modularity_class:"1",size:4},{id:15,label:"Gervais",modularity_class:"1",size:4},{id:16,label:"Tholomyes",modularity_class:"2",size:25.942856},{id:17,label:"Listolier",modularity_class:"2",size:20.457146},{id:18,label:"Fameuil",modularity_class:"2",size:20.457146},{id:19,label:"Blacheville",modularity_class:"2",size:20.457146},{id:20,label:"Favourite",modularity_class:"2",size:20.457146},{id:21,label:"Dahlia",modularity_class:"2",size:20.457146},{id:22,label:"Zephine",modularity_class:"2",size:20.457146},{id:23,label:"Fantine",modularity_class:"2",size:42.4},{id:24,label:"MmeThenardier",modularity_class:"7",size:31.428574},{id:25,label:"Thenardier",modularity_class:"7",size:45.142853},{id:26,label:"Cosette",modularity_class:"6",size:31.428574},{id:27,label:"Javert",modularity_class:"7",size:47.88571},{id:28,label:"Fauchelevent",modularity_class:"4",size:12.228573},{id:29,label:"Bamatabois",modularity_class:"3",size:23.2},{id:30,label:"Perpetue",modularity_class:"2",size:6.742859},{id:31,label:"Simplice",modularity_class:"2",size:12.228573},{id:32,label:"Scaufflaire",modularity_class:"1",size:4},{id:33,label:"Woman1",modularity_class:"1",size:6.742859},{id:34,label:"Judge",modularity_class:"3",size:17.714287},{id:35,label:"Champmathieu",modularity_class:"3",size:17.714287},{id:36,label:"Brevet",modularity_class:"3",size:17.714287},{id:37,label:"Chenildieu",modularity_class:"3",size:17.714287},{id:38,label:"Cochepaille",modularity_class:"3",size:17.714287},{id:39,label:"Pontmercy",modularity_class:"6",size:9.485714},{id:40,label:"Boulatruelle",modularity_class:"7",size:4},{id:41,label:"Eponine",modularity_class:"7",size:31.428574},{id:42,label:"Anzelma",modularity_class:"7",size:9.485714},{id:43,label:"Woman2",modularity_class:"6",size:9.485714},{id:44,label:"MotherInnocent",modularity_class:"4",size:6.742859},{id:45,label:"Gribier",modularity_class:"4",size:4},{id:46,label:"Jondrette",modularity_class:"5",size:4},{id:47,label:"MmeBurgon",modularity_class:"5",size:6.742859},{id:48,label:"Gavroche",modularity_class:"8",size:61.600006},{id:49,label:"Gillenormand",modularity_class:"6",size:20.457146},{id:50,label:"Magnon",modularity_class:"6",size:6.742859},{id:51,label:"MlleGillenormand",modularity_class:"6",size:20.457146},{id:52,label:"MmePontmercy",modularity_class:"6",size:6.742859},{id:53,label:"MlleVaubois",modularity_class:"6",size:4},{id:54,label:"LtGillenormand",modularity_class:"6",size:12.228573},{id:55,label:"Marius",modularity_class:"6",size:53.37143},{id:56,label:"BaronessT",modularity_class:"6",size:6.742859},{id:57,label:"Mabeuf",modularity_class:"8",size:31.428574},{id:58,label:"Enjolras",modularity_class:"8",size:42.4},{id:59,label:"Combeferre",modularity_class:"8",size:31.428574},{id:60,label:"Prouvaire",modularity_class:"8",size:25.942856},{id:61,label:"Feuilly",modularity_class:"8",size:31.428574},{id:62,label:"Courfeyrac",modularity_class:"8",size:36.91429},{id:63,label:"Bahorel",modularity_class:"8",size:34.17143},{id:64,label:"Bossuet",modularity_class:"8",size:36.91429},{id:65,label:"Joly",modularity_class:"8",size:34.17143},{id:66,label:"Grantaire",modularity_class:"8",size:28.685715},{id:67,label:"MotherPlutarch",modularity_class:"8",size:4},{id:68,label:"Gueulemer",modularity_class:"7",size:28.685715},{id:69,label:"Babet",modularity_class:"7",size:28.685715},{id:70,label:"Claquesous",modularity_class:"7",size:28.685715},{id:71,label:"Montparnasse",modularity_class:"7",size:25.942856},{id:72,label:"Toussaint",modularity_class:"1",size:9.485714},{id:73,label:"Child1",modularity_class:"8",size:6.742859},{id:74,label:"Child2",modularity_class:"8",size:6.742859},{id:75,label:"Brujon",modularity_class:"7",size:20.457146},{id:76,label:"MmeHucheloup",modularity_class:"8",size:20.457146}],links:[{source:"1",target:"0"},{source:"2",target:"0"},{source:"3",target:"0"},{source:"3",target:"2"},{source:"4",target:"0"},{source:"5",target:"0"},{source:"6",target:"0"},{source:"7",target:"0"},{source:"8",target:"0"},{source:"9",target:"0"},{source:"11",target:"0"},{source:"11",target:"2"},{source:"11",target:"3"},{source:"11",target:"10"},{source:"12",target:"11"},{source:"13",target:"11"},{source:"14",target:"11"},{source:"15",target:"11"},{source:"17",target:"16"},{source:"18",target:"16"},{source:"18",target:"17"},{source:"19",target:"16"},{source:"19",target:"17"},{source:"19",target:"18"},{source:"20",target:"16"},{source:"20",target:"17"},{source:"20",target:"18"},{source:"20",target:"19"},{source:"21",target:"16"},{source:"21",target:"17"},{source:"21",target:"18"},{source:"21",target:"19"},{source:"21",target:"20"},{source:"22",target:"16"},{source:"22",target:"17"},{source:"22",target:"18"},{source:"22",target:"19"},{source:"22",target:"20"},{source:"22",target:"21"},{source:"23",target:"11"},{source:"23",target:"12"},{source:"23",target:"16"},{source:"23",target:"17"},{source:"23",target:"18"},{source:"23",target:"19"},{source:"23",target:"20"},{source:"23",target:"21"},{source:"23",target:"22"},{source:"24",target:"11"},{source:"24",target:"23"},{source:"25",target:"11"},{source:"25",target:"23"},{source:"25",target:"24"},{source:"26",target:"11"},{source:"26",target:"16"},{source:"26",target:"24"},{source:"26",target:"25"},{source:"27",target:"11"},{source:"27",target:"23"},{source:"27",target:"24"},{source:"27",target:"25"},{source:"27",target:"26"},{source:"28",target:"11"},{source:"28",target:"27"},{source:"29",target:"11"},{source:"29",target:"23"},{source:"29",target:"27"},{source:"30",target:"23"},{source:"31",target:"11"},{source:"31",target:"23"},{source:"31",target:"27"},{source:"31",target:"30"},{source:"32",target:"11"},{source:"33",target:"11"},{source:"33",target:"27"},{source:"34",target:"11"},{source:"34",target:"29"},{source:"35",target:"11"},{source:"35",target:"29"},{source:"35",target:"34"},{source:"36",target:"11"},{source:"36",target:"29"},{source:"36",target:"34"},{source:"36",target:"35"},{source:"37",target:"11"},{source:"37",target:"29"},{source:"37",target:"34"},{source:"37",target:"35"},{source:"37",target:"36"},{source:"38",target:"11"},{source:"38",target:"29"},{source:"38",target:"34"},{source:"38",target:"35"},{source:"38",target:"36"},{source:"38",target:"37"},{source:"39",target:"25"},{source:"40",target:"25"},{source:"41",target:"24"},{source:"41",target:"25"},{source:"42",target:"24"},{source:"42",target:"25"},{source:"42",target:"41"},{source:"43",target:"11"},{source:"43",target:"26"},{source:"43",target:"27"},{source:"44",target:"11"},{source:"44",target:"28"},{source:"45",target:"28"},{source:"47",target:"46"},{source:"48",target:"11"},{source:"48",target:"25"},{source:"48",target:"27"},{source:"48",target:"47"},{source:"49",target:"11"},{source:"49",target:"26"},{source:"50",target:"24"},{source:"50",target:"49"},{source:"51",target:"11"},{source:"51",target:"26"},{source:"51",target:"49"},{source:"52",target:"39"},{source:"52",target:"51"},{source:"53",target:"51"},{source:"54",target:"26"},{source:"54",target:"49"},{source:"54",target:"51"},{source:"55",target:"11"},{source:"55",target:"16"},{source:"55",target:"25"},{source:"55",target:"26"},{source:"55",target:"39"},{source:"55",target:"41"},{source:"55",target:"48"},{source:"55",target:"49"},{source:"55",target:"51"},{source:"55",target:"54"},{source:"56",target:"49"},{source:"56",target:"55"},{source:"57",target:"41"},{source:"57",target:"48"},{source:"57",target:"55"},{source:"58",target:"11"},{source:"58",target:"27"},{source:"58",target:"48"},{source:"58",target:"55"},{source:"58",target:"57"},{source:"59",target:"48"},{source:"59",target:"55"},{source:"59",target:"57"},{source:"59",target:"58"},{source:"60",target:"48"},{source:"60",target:"58"},{source:"60",target:"59"},{source:"61",target:"48"},{source:"61",target:"55"},{source:"61",target:"57"},{source:"61",target:"58"},{source:"61",target:"59"},{source:"61",target:"60"},{source:"62",target:"41"},{source:"62",target:"48"},{source:"62",target:"55"},{source:"62",target:"57"},{source:"62",target:"58"},{source:"62",target:"59"},{source:"62",target:"60"},{source:"62",target:"61"},{source:"63",target:"48"},{source:"63",target:"55"},{source:"63",target:"57"},{source:"63",target:"58"},{source:"63",target:"59"},{source:"63",target:"60"},{source:"63",target:"61"},{source:"63",target:"62"},{source:"64",target:"11"},{source:"64",target:"48"},{source:"64",target:"55"},{source:"64",target:"57"},{source:"64",target:"58"},{source:"64",target:"59"},{source:"64",target:"60"},{source:"64",target:"61"},{source:"64",target:"62"},{source:"64",target:"63"},{source:"65",target:"48"},{source:"65",target:"55"},{source:"65",target:"57"},{source:"65",target:"58"},{source:"65",target:"59"},{source:"65",target:"60"},{source:"65",target:"61"},{source:"65",target:"62"},{source:"65",target:"63"},{source:"65",target:"64"},{source:"66",target:"48"},{source:"66",target:"58"},{source:"66",target:"59"},{source:"66",target:"60"},{source:"66",target:"61"},{source:"66",target:"62"},{source:"66",target:"63"},{source:"66",target:"64"},{source:"66",target:"65"},{source:"67",target:"57"},{source:"68",target:"11"},{source:"68",target:"24"},{source:"68",target:"25"},{source:"68",target:"27"},{source:"68",target:"41"},{source:"68",target:"48"},{source:"69",target:"11"},{source:"69",target:"24"},{source:"69",target:"25"},{source:"69",target:"27"},{source:"69",target:"41"},{source:"69",target:"48"},{source:"69",target:"68"},{source:"70",target:"11"},{source:"70",target:"24"},{source:"70",target:"25"},{source:"70",target:"27"},{source:"70",target:"41"},{source:"70",target:"58"},{source:"70",target:"68"},{source:"70",target:"69"},{source:"71",target:"11"},{source:"71",target:"25"},{source:"71",target:"27"},{source:"71",target:"41"},{source:"71",target:"48"},{source:"71",target:"68"},{source:"71",target:"69"},{source:"71",target:"70"},{source:"72",target:"11"},{source:"72",target:"26"},{source:"72",target:"27"},{source:"73",target:"48"},{source:"74",target:"48"},{source:"74",target:"73"},{source:"75",target:"25"},{source:"75",target:"41"},{source:"75",target:"48"},{source:"75",target:"68"},{source:"75",target:"69"},{source:"75",target:"70"},{source:"75",target:"71"},{source:"76",target:"48"},{source:"76",target:"58"},{source:"76",target:"62"},{source:"76",target:"63"},{source:"76",target:"64"},{source:"76",target:"65"},{source:"76",target:"66"}]}},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-pack",name:"\u5706\u5F62\u6253\u5305\u56FE",description:"\u7528\u5305\u542B\u5173\u7CFB\u8868\u8FBE\u5C42\u7EA7\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5706\u5F62\u6253\u5305\u56FE",datasets:{main:{name:"flare",children:[{name:"analytics",children:[{name:"cluster",children:[{name:"AgglomerativeCluster",value:3938},{name:"CommunityStructure",value:3812},{name:"HierarchicalCluster",value:6714},{name:"MergeEdge",value:743}]},{name:"graph",children:[{name:"BetweennessCentrality",value:3534},{name:"LinkDistance",value:5731},{name:"MaxFlowMinCut",value:7840},{name:"ShortestPaths",value:5914},{name:"SpanningTree",value:3416}]},{name:"optimization",children:[{name:"AspectRatioBanker",value:7074}]}]},{name:"animate",children:[{name:"Easing",value:17010},{name:"FunctionSequence",value:5842},{name:"interpolate",children:[{name:"ArrayInterpolator",value:1983},{name:"ColorInterpolator",value:2047},{name:"DateInterpolator",value:1375},{name:"Interpolator",value:8746},{name:"MatrixInterpolator",value:2202},{name:"NumberInterpolator",value:1382},{name:"ObjectInterpolator",value:1629},{name:"PointInterpolator",value:1675},{name:"RectangleInterpolator",value:2042}]},{name:"ISchedulable",value:1041},{name:"Parallel",value:5176},{name:"Pause",value:449},{name:"Scheduler",value:5593},{name:"Sequence",value:5534},{name:"Transition",value:9201},{name:"Transitioner",value:19975},{name:"TransitionEvent",value:1116},{name:"Tween",value:6006}]},{name:"data",children:[{name:"converters",children:[{name:"Converters",value:721},{name:"DelimitedTextConverter",value:4294},{name:"GraphMLConverter",value:9800},{name:"IDataConverter",value:1314},{name:"JSONConverter",value:2220}]},{name:"DataField",value:1759},{name:"DataSchema",value:2165},{name:"DataSet",value:586},{name:"DataSource",value:3331},{name:"DataTable",value:772},{name:"DataUtil",value:3322}]},{name:"display",children:[{name:"DirtySprite",value:8833},{name:"LineSprite",value:1732},{name:"RectSprite",value:3623},{name:"TextSprite",value:10066}]},{name:"flex",children:[{name:"FlareVis",value:4116}]},{name:"physics",children:[{name:"DragForce",value:1082},{name:"GravityForce",value:1336},{name:"IForce",value:319},{name:"NBodyForce",value:10498},{name:"Particle",value:2822},{name:"Simulation",value:9983},{name:"Spring",value:2213},{name:"SpringForce",value:1681}]},{name:"query",children:[{name:"AggregateExpression",value:1616},{name:"And",value:1027},{name:"Arithmetic",value:3891},{name:"Average",value:891},{name:"BinaryExpression",value:2893},{name:"Comparison",value:5103},{name:"CompositeExpression",value:3677},{name:"Count",value:781},{name:"DateUtil",value:4141},{name:"Distinct",value:933},{name:"Expression",value:5130},{name:"ExpressionIterator",value:3617},{name:"Fn",value:3240},{name:"If",value:2732},{name:"IsA",value:2039},{name:"Literal",value:1214},{name:"Match",value:3748},{name:"Maximum",value:843},{name:"methods",children:[{name:"add",value:593},{name:"and",value:330},{name:"average",value:287},{name:"count",value:277},{name:"distinct",value:292},{name:"div",value:595},{name:"eq",value:594},{name:"fn",value:460},{name:"gt",value:603},{name:"gte",value:625},{name:"iff",value:748},{name:"isa",value:461},{name:"lt",value:597},{name:"lte",value:619},{name:"max",value:283},{name:"min",value:283},{name:"mod",value:591},{name:"mul",value:603},{name:"neq",value:599},{name:"not",value:386},{name:"or",value:323},{name:"orderby",value:307},{name:"range",value:772},{name:"select",value:296},{name:"stddev",value:363},{name:"sub",value:600},{name:"sum",value:280},{name:"update",value:307},{name:"variance",value:335},{name:"where",value:299},{name:"xor",value:354},{name:"_",value:264}]},{name:"Minimum",value:843},{name:"Not",value:1554},{name:"Or",value:970},{name:"Query",value:13896},{name:"Range",value:1594},{name:"StringUtil",value:4130},{name:"Sum",value:791},{name:"Variable",value:1124},{name:"Variance",value:1876},{name:"Xor",value:1101}]},{name:"scale",children:[{name:"IScaleMap",value:2105},{name:"LinearScale",value:1316},{name:"LogScale",value:3151},{name:"OrdinalScale",value:3770},{name:"QuantileScale",value:2435},{name:"QuantitativeScale",value:4839},{name:"RootScale",value:1756},{name:"Scale",value:4268},{name:"ScaleType",value:1821},{name:"TimeScale",value:5833}]},{name:"util",children:[{name:"Arrays",value:8258},{name:"Colors",value:10001},{name:"Dates",value:8217},{name:"Displays",value:12555},{name:"Filter",value:2324},{name:"Geometry",value:10993},{name:"heap",children:[{name:"FibonacciHeap",value:9354},{name:"HeapNode",value:1233}]},{name:"IEvaluable",value:335},{name:"IPredicate",value:383},{name:"IValueProxy",value:874},{name:"math",children:[{name:"DenseMatrix",value:3165},{name:"IMatrix",value:2815},{name:"SparseMatrix",value:3366}]},{name:"Maths",value:17705},{name:"Orientation",value:1486},{name:"palette",children:[{name:"ColorPalette",value:6367},{name:"Palette",value:1229},{name:"ShapePalette",value:2059},{name:"SizePalette",value:2291}]},{name:"Property",value:5559},{name:"Shapes",value:19118},{name:"Sort",value:6887},{name:"Stats",value:6557},{name:"Strings",value:22026}]},{name:"vis",children:[{name:"axis",children:[{name:"Axes",value:1302},{name:"Axis",value:24593},{name:"AxisGridLine",value:652},{name:"AxisLabel",value:636},{name:"CartesianAxes",value:6703}]},{name:"controls",children:[{name:"AnchorControl",value:2138},{name:"ClickControl",value:3824},{name:"Control",value:1353},{name:"ControlList",value:4665},{name:"DragControl",value:2649},{name:"ExpandControl",value:2832},{name:"HoverControl",value:4896},{name:"IControl",value:763},{name:"PanZoomControl",value:5222},{name:"SelectionControl",value:7862},{name:"TooltipControl",value:8435}]},{name:"data",children:[{name:"Data",value:20544},{name:"DataList",value:19788},{name:"DataSprite",value:10349},{name:"EdgeSprite",value:3301},{name:"NodeSprite",value:19382},{name:"render",children:[{name:"ArrowType",value:698},{name:"EdgeRenderer",value:5569},{name:"IRenderer",value:353},{name:"ShapeRenderer",value:2247}]},{name:"ScaleBinding",value:11275},{name:"Tree",value:7147},{name:"TreeBuilder",value:9930}]},{name:"events",children:[{name:"DataEvent",value:2313},{name:"SelectionEvent",value:1880},{name:"TooltipEvent",value:1701},{name:"VisualizationEvent",value:1117}]},{name:"legend",children:[{name:"Legend",value:20859},{name:"LegendItem",value:4614},{name:"LegendRange",value:10530}]},{name:"operator",children:[{name:"distortion",children:[{name:"BifocalDistortion",value:4461},{name:"Distortion",value:6314},{name:"FisheyeDistortion",value:3444}]},{name:"encoder",children:[{name:"ColorEncoder",value:3179},{name:"Encoder",value:4060},{name:"PropertyEncoder",value:4138},{name:"ShapeEncoder",value:1690},{name:"SizeEncoder",value:1830}]},{name:"filter",children:[{name:"FisheyeTreeFilter",value:5219},{name:"GraphDistanceFilter",value:3165},{name:"VisibilityFilter",value:3509}]},{name:"IOperator",value:1286},{name:"label",children:[{name:"Labeler",value:9956},{name:"RadialLabeler",value:3899},{name:"StackedAreaLabeler",value:3202}]},{name:"layout",children:[{name:"AxisLayout",value:6725},{name:"BundledEdgeRouter",value:3727},{name:"CircleLayout",value:9317},{name:"CirclePackingLayout",value:12003},{name:"DendrogramLayout",value:4853},{name:"ForceDirectedLayout",value:8411},{name:"IcicleTreeLayout",value:4864},{name:"IndentedTreeLayout",value:3174},{name:"Layout",value:7881},{name:"NodeLinkTreeLayout",value:12870},{name:"PieLayout",value:2728},{name:"RadialTreeLayout",value:12348},{name:"RandomLayout",value:870},{name:"StackedAreaLayout",value:9121},{name:"TreeMapLayout",value:9191}]},{name:"Operator",value:2490},{name:"OperatorList",value:5248},{name:"OperatorSequence",value:4190},{name:"OperatorSwitch",value:2581},{name:"SortOperator",value:2023}]},{name:"Visualization",value:16540}]}]}},theme:"indigo",height:320,legend:!1,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-venn",name:"\u97E6\u6069\u56FE",description:"\u5C55\u793A\u96C6\u5408\u53CA\u4EA4\u96C6\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u97E6\u6069\u56FE",datasets:{main:[{sets:["WeChat"],size:1200,label:"WeChat"},{sets:["Weibo"],size:800,label:"Weibo"},{sets:["TikTok"],size:1e3,label:"TikTok"},{sets:["WeChat","Weibo"],size:300,label:"WeChat&Weibo"},{sets:["WeChat","TikTok"],size:400,label:"WeChat&TikTok"},{sets:["Weibo","TikTok"],size:200,label:"Weibo&TikTok"},{sets:["WeChat","Weibo","TikTok"],size:150}]},theme:"indigo",height:320,legend:!1,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-gantt",name:"\u7518\u7279\u56FE",description:"\u5C55\u793A\u4EFB\u52A1\u7684\u5F00\u59CB\u4E0E\u7ED3\u675F\u533A\u95F4\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u7518\u7279\u56FE",datasets:{main:[{name:"Event Planning",startTime:1,endTime:4},{name:"Venue Logistics Planning",startTime:3,endTime:13},{name:"Select Vendors",startTime:5,endTime:8},{name:"Venue Rental",startTime:9,endTime:13},{name:"Book Catering Service",startTime:10,endTime:14},{name:"Hire Event Decoration Team",startTime:12,endTime:17},{name:"Rehearsal",startTime:14,endTime:16},{name:"Event Celebration",startTime:17,endTime:18}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-k-chart",name:"K \u7EBF\u56FE",description:"\u5C55\u793A\u5F00\u76D8\u3001\u6536\u76D8\u4E0E\u9AD8\u4F4E\u503C\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"K \u7EBF\u56FE",datasets:{main:[{time:"2015-11-19",start:8.18,max:8.33,min:7.98,end:8.32},{time:"2015-11-18",start:8.37,max:8.6,min:8.03,end:8.09},{time:"2015-11-17",start:8.7,max:8.78,min:8.32,end:8.37},{time:"2015-11-16",start:8.48,max:8.85,min:8.43,end:8.7},{time:"2015-11-13",start:8.01,max:8.75,min:7.97,end:8.41},{time:"2015-11-12",start:7.76,max:8.18,min:7.61,end:8.15},{time:"2015-11-11",start:7.55,max:7.81,min:7.49,end:7.8},{time:"2015-11-10",start:7.5,max:7.68,min:7.44,end:7.57}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-kagi",name:"Kagi \u8F6C\u5411\u56FE",description:"\u6309\u4EF7\u683C\u53CD\u8F6C\u5F62\u6210\u7AD6\u7EBF\u4E0E\u7C97\u7EC6\u53D8\u5316\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"Kagi \u8F6C\u5411\u56FE",datasets:{main:[7.57,7.8,8.15,8.41,8.7,8.37,8.09,8.32]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-spiral",name:"\u87BA\u65CB\u56FE",description:"\u628A\u8FDE\u7EED\u5E8F\u5217\u6392\u5217\u5728\u87BA\u65CB\u5750\u6807\u4E0A\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u87BA\u65CB\u56FE",datasets:{main:[{time:"2023-01",category:"\u4EA7\u54C1A",sales:82.38780839834362},{time:"2023-02",category:"\u4EA7\u54C1A",sales:89.13493264699355},{time:"2023-03",category:"\u4EA7\u54C1A",sales:86.12491666339338},{time:"2023-04",category:"\u4EA7\u54C1A",sales:89.26981459138915},{time:"2023-05",category:"\u4EA7\u54C1A",sales:80.49341175239533},{time:"2023-06",category:"\u4EA7\u54C1A",sales:88.55783556820825},{time:"2023-07",category:"\u4EA7\u54C1A",sales:83.60985156148672},{time:"2023-08",category:"\u4EA7\u54C1A",sales:80.5310634127818},{time:"2023-09",category:"\u4EA7\u54C1A",sales:80.68784036207944},{time:"2023-10",category:"\u4EA7\u54C1A",sales:89.83937001088634},{time:"2023-11",category:"\u4EA7\u54C1A",sales:89.72805031575263},{time:"2023-12",category:"\u4EA7\u54C1A",sales:85.31250786734745},{time:"2023-01",category:"\u4EA7\u54C1B",sales:89.51857624109834},{time:"2023-02",category:"\u4EA7\u54C1B",sales:90.47839395003393},{time:"2023-03",category:"\u4EA7\u54C1B",sales:91.05035996064544},{time:"2023-04",category:"\u4EA7\u54C1B",sales:92.77417307486758},{time:"2023-05",category:"\u4EA7\u54C1B",sales:92.79812368098646},{time:"2023-06",category:"\u4EA7\u54C1B",sales:89.18077372247353},{time:"2023-07",category:"\u4EA7\u54C1B",sales:89.74107998423278},{time:"2023-08",category:"\u4EA7\u54C1B",sales:93.52143480209634},{time:"2023-09",category:"\u4EA7\u54C1B",sales:88.62463913392276},{time:"2023-10",category:"\u4EA7\u54C1B",sales:89.81507250340655},{time:"2023-11",category:"\u4EA7\u54C1B",sales:85.91941252350807},{time:"2023-12",category:"\u4EA7\u54C1B",sales:92.49137200182304},{time:"2023-01",category:"\u4EA7\u54C1C",sales:98.3420142205432},{time:"2023-02",category:"\u4EA7\u54C1C",sales:93.58112940797582},{time:"2023-03",category:"\u4EA7\u54C1C",sales:91.78849068470299},{time:"2023-04",category:"\u4EA7\u54C1C",sales:99.81763497693464},{time:"2023-05",category:"\u4EA7\u54C1C",sales:91.22066186275333},{time:"2023-06",category:"\u4EA7\u54C1C",sales:94.54777921782807},{time:"2023-07",category:"\u4EA7\u54C1C",sales:94.56323498860002},{time:"2023-08",category:"\u4EA7\u54C1C",sales:91.08007916947827},{time:"2023-09",category:"\u4EA7\u54C1C",sales:91.14025554154068},{time:"2023-10",category:"\u4EA7\u54C1C",sales:96.21596273267642},{time:"2023-11",category:"\u4EA7\u54C1C",sales:97.7282879408449},{time:"2023-12",category:"\u4EA7\u54C1C",sales:90.84541457472369},{time:"2023-01",category:"\u4EA7\u54C1D",sales:101.05567167978734},{time:"2023-02",category:"\u4EA7\u54C1D",sales:104.26347774686292},{time:"2023-03",category:"\u4EA7\u54C1D",sales:97.65727672725916},{time:"2023-04",category:"\u4EA7\u54C1D",sales:100.90512078022584},{time:"2023-05",category:"\u4EA7\u54C1D",sales:98.52738515008241},{time:"2023-06",category:"\u4EA7\u54C1D",sales:98.12762065092102},{time:"2023-07",category:"\u4EA7\u54C1D",sales:100.12465403415263},{time:"2023-08",category:"\u4EA7\u54C1D",sales:102.11687762988731},{time:"2023-09",category:"\u4EA7\u54C1D",sales:98.09756790753454},{time:"2023-10",category:"\u4EA7\u54C1D",sales:96.58196865813807},{time:"2023-11",category:"\u4EA7\u54C1D",sales:103.74136699363589},{time:"2023-12",category:"\u4EA7\u54C1D",sales:101.25576151302084}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-choropleth-map",name:"\u5206\u7EA7\u8BBE\u8272\u5730\u56FE",description:"\u6309\u533A\u57DF\u6570\u503C\u8BBE\u7F6E\u989C\u8272\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5206\u7EA7\u8BBE\u8272\u5730\u56FE",description:"\u793A\u4F8B\u4E3A\u5DDE\u5185\u53BF\u5931\u4E1A\u7387\u7684\u672A\u52A0\u6743\u5E73\u5747\u503C\uFF1B\u8FB9\u754C\u5DF2\u7B80\u5316\u3002",datasets:{"us-10m":{type:"Topology",transform:{scale:[.003589294092944858,.0005371535195261037],translate:[-179.1473400003406,17.67439566600018]},objects:{states:{type:"GeometryCollection",geometries:[{type:"MultiPolygon",arcs:[[[2170]],[[2171]],[[2172]],[[2173]],[[2174]],[[2175]],[[2176]],[[2177]],[[2178]],[[2179]],[[2180]],[[2181]],[[2182]],[[2183]],[[2184]],[[2185]],[[2186]],[[2187]],[[2188]],[[2189]],[[2190]],[[2193]],[[2194]],[[2195]],[[2196]],[[2331]],[[2197]],[[2332]],[[2198]],[[2199]],[[2200]],[[2333]],[[2201]],[[2334]],[[2335]],[[2202]],[[2336]],[[2203]],[[2204]],[[2208]],[[2337]],[[2205]],[[2338]],[[2339]],[[2340]],[[2341]],[[2221]],[[2342]],[[2242]],[[2209]],[[2343]],[[2243]],[[2344,2345]],[[2244]],[[2245]],[[2222]],[[2217]],[[2223]],[[2224]],[[2191]],[[2246]],[[2247]],[[2248]],[[2249]],[[2225]],[[2192]],[[2275]],[[2276,2394,2277]],[[2226]],[[2227]],[[2228]],[[2254]],[[2229]],[[2260,2261,2262,2280,2278,2252,2395,2253,2279,2263]],[[2237]],[[2236,2258,2396,2259,2234,2235,2264]],[[2230]],[[2231]],[[2211]],[[2309]],[[2310]],[[2293]],[[2294]],[[2295]],[[2296]],[[2297]],[[2285]],[[2298]],[[2311]],[[2299]],[[2286]],[[2301]],[[2302]],[[2303]],[[2287]],[[2305]],[[2281]],[[2282]],[[2283]],[[2327]],[[2328]],[[2322]],[[2265,2319,2316,2317,2308,2306,2312,2304,2313,2300,2314,2292,2291,2315,2397,2232,2233,2218,2207,2398,2206,2219,2210,2220,2216,2213,2214,2215,2289,2212,2290,2288,2284,2330,2329,2325,2326,2324,2323,2320,2321,2307,2318,2266,2274,2269,2272,2238,2257,2250,2347,2346,2251,2255,2399,2256,2239,2400,2401,2240,2270,2241,2271,2268,2273,2267]]],id:2},{type:"MultiPolygon",arcs:[[[2162]],[[2166]],[[2165]],[[2167]],[[2402,2164]],[[2168]],[[2169]],[[2163]]],id:15},{type:"MultiPolygon",arcs:[[[2391]],[[2372,2353,2350,2356,2373,2355,2357,2362,2393,2380,2403,2360,2359,2374,2358,2384,2386,2383,2388,2389,2387,2390,2379,2385,2366,2404,2375,2370,2371,2352,2361,2377,2354,2369,2376,2351,2364,2365,2349,2363,2405,2348,2367,2368,2378]]],id:72},{type:"MultiPolygon",arcs:[[[-1500,-1499,-1502,-1501,-1508,1544,-1548,-1549,1557,-1581,-1582,1584,-1618,1628,1629,-1640,1662,1663,-1682,1684,-1700,1712,-1731,-1734,1735,-1755,1755,1756,-1768,1768,-1780,1803,1804,1808,1809,1810,1777,1778,1805,1806,1807,1799,1800,1801,2406,1802,1815,1816,1817,-1789,1772,-1765,1739,1740,-1733,1694,1695,-1681,1659,-1645,1625,-1619,1602,-1595,1583,-1543,-1544,1541,-1484,-1466,-1467,-1472,-1471]]],id:1},{type:"Polygon",arcs:[[-1305,-1304,-1291,-1358,-1357,-1356,-1365,-1364,-1363,-1265,-1332,-1331,-1330,-1355,-1354,-1317,-1379,-1378,-1377,-1376,-1409,-1424,1432,1433,1434,1435,-1454,1474,1475,1476,1554,-1557,1574,1575,-1617,-1616,1654,1655,1656,1657,1658,1672,1676,1677,1669,1670,1665,1666,1646,1647,1648,-1646,1630,-1590,-1589,-1588,1573,-1498,-1497,1472,1473,-1455,1444,-1427,1417,1406,-1372,-1368]],id:5},{type:"Polygon",arcs:[[-1074,-1272,1272,1273,1274,-1583,1642,1643,-1702,1736,1771,1734,1667,1668,1603,1604,-1443,-1442,-1350,-1055,-1176,-1195,-1194,-1076,-1075]],id:4},{type:"MultiPolygon",arcs:[[[1561]],[[1562]],[[1528]],[[1529]],[[-424,-423,-426,611,-616,-615,-614,-613,932,933,-976,-975,-974,-874,-977,1044,-1078,-963,1207,-1351,1441,1442,-1605,-1604,-1669,1671,1661,1631,1632,1633,1634,1635,1563,1564,1565,1566,1567,1568,1555,1530,1443,1320,1242,1162,1149,1161,1197,1143,1121,1093,1042,1062,1027,1061,1028,1029,1092,1030,852,666,667,610,-486,-499,-498,-484]]],id:6},{type:"Polygon",arcs:[[-539,-538,-650,-649,-675,-674,-670,-669,-693,-709,-708,751,-757,780,781,-852,903,904,-969,982,-1049,-1048,1100,1101,-1158,1167,1168,1169,1150,1151,1165,1166,1213,1214,1211,1212,1171,1170,-1073,-1072,-1071,1055,-916,840,-743,-742,709,710,-570,-537,-536,-535]],id:8},{type:"MultiPolygon",arcs:[[[-550,-549,-548,-508,-507,-506,602,603,-625,635,636,651,652,2407,653,643,644,645,646,-588,-587,-500]]],id:9},{type:"MultiPolygon",arcs:[[[992,993,-929,-973]]],id:11},{type:"MultiPolygon",arcs:[[[863,927,994,995,996,997,998,999,-966,925,926,-923,864,865,-816,-846,-867,-845]]],id:10},{type:"MultiPolygon",arcs:[[[2108,2109,2110,2111,2112,2113,2114,2115,2116,2117,2118]],[[2071]],[[1980]],[[1932]],[[2408,2409,1966,1967,1968,1969,2410,2411,2412,2413,1965,2414]],[[1892]],[[1906,1903,1904,1905,1866,1867,1868,1869,1870]],[[2103,2415,2416,2417,2418,2104,2419,2420,2105,2106,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2137,2138,2139,2140,2141,2142,2143,2144,2145,2083,-2085,2085,2086,2087,2088,2089,2090,2091,2092,2093,2094,2095,2096,2097,2098,2099,2072,2069,2043,2068,2044,2045,2046,2047,2048,2049,2035,2030,2028,2029,2016,2013,1996,1997,1998,1999,2e3,2001,2002,2421,1976,1977,1978,2146,1889,1854,1890,1934,1909,1933,1910,1885,1911,1886,1887,1841,2422,1842,1840,1839,1837,1838,-1800,-1808,-1807,-1806,-1779,-1778,-1811,-1810,-1809,-1805,-1831,-1824,-1826,-1825,-1830,-1829,-1828,-1827,-1835,-1858,-1834,-1845,-1844,-1815,-1814,-1781,-1833,-1832,-1823,1845,1846,1847,1848,1871,1872,1873,1874,1875,1876,-1878,1878,1879,1880,1881,1882,1883,1884,1914,1954,1979,1987,1986,1983,1984,1953,1900,1865,1861,1862,1863,1864,1901,1902,1893,1894,1895,1896,1897,1898,2423,2424,1899,1962,1963,1964,1985,1981,2004,2425,2005,2006,1982,2003,2034,2040,2426,2041,2042,2062,2063,2064,2427,2065,2428,2066,2067,2070,2102,2107]]],id:12},{type:"MultiPolygon",arcs:[[[1818]],[[2429,1781]],[[1773]],[[-1758,1758]],[[1745]],[[1746,-1748,1748,1749,1750]],[[1759,1774,1775,1776,1782,2430,2431,2432,1783,1784,1785,1786,1787,1819,1820,1821,1822,1831,1832,1780,1813,1814,1843,1844,1833,1857,1834,1826,1827,1828,1829,1824,1825,1823,1830,-1804,1779,-1769,1767,-1757,-1756,1754,-1736,1733,1730,-1713,1699,-1685,1681,-1664,-1663,1639,-1630,-1629,1617,-1585,1581,1580,-1558,1548,1547,-1545,-1507,-1470,-1469,-1468,-1504,-1503,-1513,-1512,-1510,-1509,-1523,-1522,-1521,-1505,-1537,-1536,-1535,-1534,-1533,-1532,-1571,-1570,-1594,1608,-1622,-1621,-1620,-1628,-1627,-1638,-1637,-1665,1679,-1684,1687,-1689,-1712,-1711,-1710,1751,1752,1753,1744,1760]]],id:13},{type:"Polygon",arcs:[[-417,439,-449,-467,-466,-465,510,-529,544,-577,600,601,-622,-621,-620,671,-682,703,-705,745,746,728,729,730,731,738,739,736,737,734,735,732,733,726,727,724,725,722,723,-706,696,-696,-695,662,663,-641,617,-600,575,-569,520,521,-478,-477,462,-441,438,-410,-391,-394,-393,-407,-406,-405,-412,-411,-409,-408,-396,-395,-399,-398,-397,-404,-403,-402,-401]],id:19},{type:"Polygon",arcs:[[32,-38,63,-151,158,-167,-164,-163,188,-191,-255,-254,-253,-257,-233,336,-343,-342,421,-454,-453,515,539,529,530,508,509,487,419,420,-355,353,-353,-352,333,-301,294,-250,189,192,193,194,-173,-172,168,-161,-160,64,-52,33,34]],id:16},{type:"Polygon",arcs:[[-497,-496,-491,-490,-493,-492,-495,-494,-513,-512,531,-533,577,578,634,-638,686,-694,706,-754,773,774,-833,858,-901,916,-949,-948,-947,961,-1025,-1024,1059,-1064,1106,-1113,-1112,1140,-1146,1179,1180,1181,1182,-1211,1233,1237,1238,1234,1235,1236,-1179,-1178,-1177,-1145,1139,1113,1114,1064,1065,-1027,-1026,-1037,989,990,991,943,920,921,-902,861,862,-856,820,-815,758,759,-746,704,-704,681,-672,619,620,621,-602,-601,576,-545,528,-511,-464]],id:17},{type:"Polygon",arcs:[[-597,-596,-592,-591,-595,628,-639,659,-671,689,690,-712,714,-756,769,-784,-783,850,-857,878,-903,-938,938,939,-965,-964,1019,1020,1021,1022,-1044,1056,1057,1088,1083,1084,1085,1082,1103,1104,1105,1115,1116,1107,1108,1117,1118,1109,1110,1111,1112,-1107,1063,-1060,1023,1024,-962,946,947,948,-917,900,-859,832,-775,-774,753,-707,693,-687,637,-635,-579,-578,-627,-626,-628,-575,-574,-599,-598]],id:18},{type:"Polygon",arcs:[[-791,-799,-798,-797,-794,-793,-800,-788,-787,-786,-785,-790,-789,-795,-796,-773,-772,-809,-808,-813,-812,-811,-814,-838,853,-868,895,-913,-912,-919,-959,-958,978,-1036,1041,-1077,1091,-1124,-1123,1163,1164,-1230,1230,1231,1232,1226,1227,1220,1221,1240,1241,1198,1199,1200,1201,1222,1223,1205,1206,1224,1225,1203,1204,1202,1218,1219,1217,1215,1216,-1168,1157,-1102,-1101,1047,1048,-983,968,-905,-904,851,-782,-792]],id:20},{type:"MultiPolygon",arcs:[[[-936,-935,-943,-942,-941,-951,-950,981,-981,-980,-989,-988,-987,-986,-1035,-1034,1069,1068,-1088,-1087,-1137,-1136,1153,1154,1155,1156,1243,-1248,1268,1296,1297,1291,1292,1294,1295,1288,1289,1327,1328,1300,1351,1352,1301,1302,1335,1336,1255,1256,1257,1248,1249,1269,1369,1370,1298,1299,1365,1366,1372,1373,-1340,-1261,-1260,-1259,1245,-1235,-1239,-1238,-1234,1210,-1183,-1182,-1181,-1180,1145,-1141,-1111,-1110,-1119,-1118,-1109,-1108,-1117,-1116,-1106,-1105,-1104,-1083,-1086,-1085,-1084,-1089,-1058,-1057,1043,-1023,-1022,-1021,-1020,963,964,-940,-939,-937]]],id:21},{type:"MultiPolygon",arcs:[[[1955]],[[1944]],[[1929]],[[1918,1919,1920,1921,1922,1923,2433,1924,1950,1945,1946,1947,1948,1949,1908,1943,1936,1937,1938,2434,1939,1940,2435,1941,2436,2437,1942,1961,1956,1957,1958,1959,1960,1935,1930,1928,1931,-1916,-1908,1888,-1813,-1812,1792,1765,1766,-1764,1738,-1738,1689,1690,1691,-1679,-1648,-1647,-1667,-1666,-1671,-1670,-1678,-1677,-1673,-1659,-1658,-1657,-1693,1693,-1730,-1729,-1728,-1727,1741,1742,1743,1769,1770,-1792,-1791,-1796,-1795,-1794,-1798,-1797,-1799,-1790,-1837,-1836,1851,1852,1912,1925,1926,1913,1927]]],id:22},{type:"MultiPolygon",arcs:[[[672]],[[661]],[[588,564,579,580,581,582,583,546,504,505,506,507,547,548,549,499,500,501,-485,-456,-455,-462,-473,-472,-471,-470,-469,-468,-460,488,2438,502,2439,503,533,545,565,2440,563,589]]],id:25},{type:"MultiPolygon",arcs:[[[944]],[[1078,1079,1080,1095,1096,1094,1060,1046,1045,966,967,1003,1004,945,923,889,890,891,892,924,955,2441,956,953,954,1037,1038,969,970,1049,1067,1066,1050,971,972,928,929,930,893,879,880,881,882,883,884,885,886,887,888,-834,-807,-806,-801,-832,-831,-805,-804,-843,-842,-820,-819,-818,-803,-802,-817,-866,-865,922,-927,-926,965,-1e3,-999,-998,1081]]],id:24},{type:"MultiPolygon",arcs:[[[296]],[[297]],[[377,378,362,338,380,373,376,375,374,412,413,-369,-368,285,286,287,288,264,202,167,263,298,210,335,359,360,361,379]]],id:23},{type:"MultiPolygon",arcs:[[[-150]],[[-149]],[[-99,-98,-97,-96,-95,-94,-93,-92,-91,-90,-89,-88,-87,-86,-630,584,585,592,593,594,590,591,595,596,597,598,573,574,-113,-112,-111,-110,-109,-108,-107,-106,-105,-104,-103,-102,-101,-100]],[[-148]],[[-146,-147]],[[-145,-144]],[[-143]],[[-130,-129,-128,-127,-126,-125,-124,-123,-122,-121,-120,-119,-118,-117,-116,-115,-114,250,251,227,228,229,205,206,207,178,179,180,181,-133,-132,-131]],[[-142,-141,-140,-139,-138,-137,-136]],[[-135]]],id:26},{type:"MultiPolygon",arcs:[[[65,81,152,2149,2148,151,67,68,69,70,71,72,73,74,75,76,77,78,79,80,176,177,208,209,-237,261,-263,292,293,331,-333,339,-341,-348,-347,-346,-349,371,-383,-382,399,400,401,402,403,396,397,398,394,395,407,408,410,411,404,405,406,392,393,390,391,-371,369,343,-331,-330,295,-290,267,-256,248,-197,195,174,-174,165,-162,154,-154,82,83,-45,46,60,2147]]],id:27},{type:"Polygon",arcs:[[-747,-760,-759,814,-821,855,-863,-862,901,-922,-921,-944,-992,-991,-990,1036,1025,1026,-1066,-1065,-1115,-1114,-1140,1144,1176,1177,1178,-1237,-1236,-1246,1258,1259,1260,1339,1340,1341,1342,-1405,1407,1408,1375,1376,1377,1378,1316,1353,1354,1329,1330,1331,1264,1362,1363,1364,1355,1356,1357,1290,1303,1304,1367,1368,-1271,1265,-1231,1229,-1165,-1164,1122,1123,-1092,1076,-1042,1035,-979,957,958,918,911,912,-896,867,-854,837,813,-810,-771,768,-751,-723,-726,-725,-728,-727,-734,-733,-736,-735,-738,-737,-740,-739,-732,-731,-730,-729]],id:29},{type:"MultiPolygon",arcs:[[[-1485,-1542,1543,1542,-1584,1594,-1603,1618,-1626,1644,-1660,1680,-1696,-1695,1732,-1741,-1740,1764,-1773,1788,-1818,-1817,1849,1850,1853,1858,1859,-1852,1835,1836,1789,1798,1796,1797,1793,1794,1795,1790,1791,-1771,-1770,-1744,-1743,-1742,1726,1727,1728,1729,-1694,1692,-1656,-1655,1615,1616,-1576,-1575,1556,-1555,-1477,-1476,-1491,-1490,-1495,-1494,-1480,-1479,-1478,-1496,-1486]]],id:28},{type:"Polygon",arcs:[[40,58,54,41,42,35,30,43,62,-56,61,-67,155,-157,169,-171,185,186,187,237,238,239,257,258,259,246,247,265,266,233,230,231,232,256,252,253,254,190,-189,162,163,166,-159,150,-64,37,-33,38,31]],id:30},{type:"MultiPolygon",arcs:[[[1418,2442,1419]],[[1420]],[[-1306,1388,1422,1389,1390]],[[-1308,1391,-1393,1393]],[[1386,1394,1395,1396,1397,1401,1402,-1396,1403,1410,1411,1385,1398,1416,1437,1436,1449,1421,1450,1448,1440,1447,1505,1488,1513,1487,1527,1523,1524,1525,1526,1545,1546,1571,1572,1595,2443,1596,1597,1598,1599,1600,1601,1592,1549,1550,1551,1537,1519,1514,1515,1516,1461,1462,1486,1458,1459,1456,1457,1491,1492,1464,1480,1481,1482,1460,1504,1520,1521,1522,1508,1509,1510,-1453,-1452,-1440,-1439,-1431,-1430,-1426,-1425,-1410,-1416,-1415,-1414,-1413,-1401,-1400,-1383,-1382,-1381,-1361,-1360,-1359,-1313,-1339,-1338,-1349,-1348,-1254,-1253,-1375,-1252,-1264,-1263,-1262,-1327,-1326,-1325,-1268,-1267,-1322,-1288,-1287,-1286,-1319,-1318,-1347,-1346,-1310,1387]]],id:37},{type:"Polygon",arcs:[[44,-84,-83,153,-155,161,-166,173,-175,-196,196,197,220,221,224,225,222,223,191,204,218,219,226,-187,-186,170,-170,156,-156,66,-62,55,56,57,59,39,36,47,48,45]],id:38},{type:"Polygon",arcs:[[-451,-416,-446,-445,-444,-443,-442,-476,-475,-474,-482,-481,-480,-479,-522,-521,568,-576,599,-618,640,-664,-663,694,695,-697,705,-724,750,-769,770,809,810,811,812,807,808,771,772,795,794,788,789,784,785,786,787,799,792,793,796,797,798,790,791,-781,756,-752,707,708,692,668,669,673,674,-648,639,-515,-514,482,-438,-448,-447,-419,-418,-450]],id:31},{type:"MultiPolygon",arcs:[[[-287,-286,367,368,-414,435,457,458,459,467,468,469,470,471,472,-461,434,-386,356,357,-335,-320,290,291,-288]]],id:33},{type:"MultiPolygon",arcs:[[[905,2444,906,868,-870,870,-872,872,857,854,824,825,-765,-764,-763,749,700,701,-692,680,-658,-656,-655,-684,-683,697,744,721,754,765,779,778,827,828,829,822,823,874,875,876,877,931,907]]],id:34},{type:"Polygon",arcs:[[1275,1276,1277,-1429,1445,1446,-1518,1552,1553,1578,1579,-1639,1649,1650,1651,1652,1653,1696,1697,1698,1673,1674,1675,1685,1686,1731,1700,1701,-1644,-1643,1582,-1275,-1274,-1273,1271,-1171,-1172,-1213,-1212,-1215,-1214,-1167,-1166,-1152,-1151,-1170]],id:35},{type:"Polygon",arcs:[[-510,-609,609,-703,838,839,-910,1051,1052,1053,1054,1349,1350,-1208,962,1077,-1045,976,873,973,974,975,-934,-933,612,613,614,615,-612,-425,-385,-384,-356,-421,-420,-488]],id:32},{type:"MultiPolygon",arcs:[[[757]],[[687]],[[717,718,2445,719,747,752,748,720,688]],[[-318]],[[675,715,740,716,676,660,684,685,682,683,654,655,656,605,606,526,540,541,542,543,566,567,516,517,524,525,522,523,518,519,-316,-315,-314,-313,-312,-311,-310,-309,-308,-307,-306,-305,-304,-317,358,326,327,324,-322,323,-338,349,-364,-389,414,-457,484,-502,-501,586,587,-647,-646,677,678,679]]],id:36},{type:"MultiPolygon",arcs:[[[616,-619,664,-666,698,-700,712,713,-762,766,767,-822,826,-847,859,860,896,897,898,908,-920,960,959,983,984,1031,1032,1033,1034,985,986,987,988,979,980,981,949,950,940,941,942,934,935,936,937,902,-879,856,-851,782,783,-770,755,-715,711,-691,-690,670,-660,638,-629,-594,-593,-586,-585,629,-631,631,-633,633,-562,-561,-560,-559,-558,-557,-556,-555,-554,-553,-552,-551,-563,-573]]],id:39},{type:"Polygon",arcs:[[-1205,-1204,-1226,-1225,-1207,-1206,-1224,-1223,-1202,-1201,-1200,-1199,-1242,-1241,-1222,-1221,-1228,-1227,-1233,-1232,-1266,1270,-1369,1371,-1407,-1418,1426,-1445,1454,-1474,-1473,1496,1497,-1574,1587,1588,1589,1590,1591,1613,1614,1610,1611,1612,1609,1622,1623,1624,1606,1607,1585,1586,1576,1577,1558,1559,1560,1538,1539,1540,-1519,1463,-1456,1431,-1428,1383,1384,1283,1284,1280,1281,1282,1278,1279,-1276,-1169,-1217,-1216,-1218,-1220,-1219,-1203]],id:40},{type:"MultiPolygon",arcs:[[[216,235,-214,234,-241,-213,-212,-246,-245,-244,-243,-242,-184,-183,-201,-200,-199,-185,-204,-193,-190,249,-295,300,-334,351,352,353,354,355,383,384,424,425,422,423,483,497,498,485,486,426,-428,428,429,430,431,432,433,386,387,364,365,366,301,302,260,217]]],id:41},{type:"MultiPolygon",arcs:[[[-519,-524,-523,-526,-525,-518,-517,-568,-567,-544,-543,-542,-541,-527,-607,-606,-657,657,-681,691,-702,-701,-750,762,763,764,-826,836,843,844,866,845,815,816,801,802,817,818,819,841,842,803,804,830,831,800,805,806,833,834,835,848,849,-848,775,776,777,-761,743,-713,699,-699,665,-665,618,-617,572,-528,-520]]],id:42},{type:"MultiPolygon",arcs:[[[641]],[[642,-581]],[[-584,-583,622,604,623,650,-636,624,-604,-603,-505,-547]]],id:44},{type:"MultiPolygon",arcs:[[[1713]],[[1722]],[[1723]],[[2158,2159,1660,2155,2156,2446,2157,1682,1724,1725,1702,2447,1703,2448,1704,1721,1714,1715,1716,1717,1718,1719,1720,1705,1706,1707,1708,1709,1710,1711,1688,-1688,1683,-1680,1664,1636,1637,1626,1627,1619,1620,1621,-1609,1593,1569,1570,1531,1532,1533,1534,1535,1536,-1461,-1483,-1482,-1481,-1465,-1493,-1492,-1458,-1457,-1460,-1459,-1487,-1463,-1462,-1517,-1516,-1515,-1520,-1538,-1552,-1551,-1550,-1593,-1602,1605,1640,1641,2160,2161]]],id:45},{type:"Polygon",arcs:[[-205,-192,-224,-223,-226,-225,-222,-221,-198,-249,255,-268,289,-296,329,330,-344,-370,370,-392,409,-439,440,-463,476,477,478,479,480,481,473,474,475,441,442,443,444,445,415,450,449,417,418,446,447,-437,389,-373,350,344,-329,299,-239,-238,-188,-227,-220,-219]],id:46},{type:"Polygon",arcs:[[-1250,-1249,-1258,-1257,-1256,-1337,-1336,-1303,-1302,-1353,-1352,-1301,-1329,-1328,-1290,-1289,-1296,-1295,-1293,-1292,-1298,-1324,-1323,-1335,-1334,-1333,-1314,-1380,-1316,-1315,-1362,1380,1381,1382,1399,1400,1412,1413,1414,1415,1409,1424,1425,1429,1430,1438,1439,1451,1452,-1511,1511,1512,1502,1503,1467,1468,1469,1506,1507,1500,1501,1498,1499,1470,1471,1466,1465,1483,1484,1485,1495,1477,1478,1479,1493,1494,1489,1490,-1475,1453,-1436,-1435,-1434,-1433,1423,-1408,1404,-1343,-1406,-1341,-1374,-1373,-1367,-1366,-1300,-1299,-1371,-1370,-1270]],id:47},{type:"MultiPolygon",arcs:[[[2449,2078,2075,2076,2077,2450,2451]],[[2051,2052,2053,2054]],[[2055,2056,2036,2452,2037,2057]],[[2031]],[[2017]],[[2007,2453,2008]],[[1971]],[[1972,1975,1993,1992,2454,1988,2012,2010,2011,1989,1990,2455,1991,1994,2009,2014,2022,2456,2457,2458,2023,2021,2015,2018,2025,2020,2019,2026,2459,2027,2033,2032,2038,2039,2060,2061,2058,2059,2082,2079,2080,2081,2101,2100,2074,2073,2050,2024,1995,1970,1891,1856,1855,1860,1761,1762,-1686,-1676,-1675,-1674,-1699,-1698,-1697,-1654,-1653,-1652,-1651,-1650,1638,-1580,-1579,-1554,-1553,1517,-1447,-1446,1428,-1278,-1277,-1280,-1279,-1283,-1282,-1281,-1285,-1284,-1385,-1384,1427,-1432,1455,-1464,1518,-1541,1539,-1539,-1561,-1560,-1559,-1578,-1577,-1587,-1586,-1608,-1607,-1625,-1624,-1623,-1610,-1613,-1612,-1611,-1615,-1614,-1592,-1591,-1631,1645,-1649,1678,-1692,-1691,-1690,1737,-1739,1763,-1767,-1766,-1793,1811,1812,-1889,1907,1915,1916,1951,1974,1952,1917,1973]]],id:48},{type:"Polygon",arcs:[[-452,607,-659,-572,-571,-711,-710,741,742,-841,915,-1056,1070,1071,1072,1073,1074,1075,1193,1194,1175,-1054,-1053,-1052,909,-840,-839,702,-610,608,-509,-531,-530,-540,-516]],id:49},{type:"MultiPolygon",arcs:[[[1124,1125,1126,1189,1190,1127,1128,1129,-1080,1130]],[[1147,1120,1097,1089,1119,1152,1183,1195,1184,1137,1141,1142,1172,1173,1174,1209,2460,1228,2461,2462,1254,1246,1208,1196,1160,1188,2463,1239,1244,1250,1319,2464,1343,2465,2466,1344,1310,1293,1311,1305,1306,1307,1308,1309,1345,1346,1317,1318,1285,1286,1287,1321,1266,1267,1324,1325,1326,1261,1262,1263,1251,1374,1252,1253,1347,1348,1337,1338,1312,1358,1359,1360,1361,1314,1315,1379,1313,1332,1333,1334,1322,1323,-1297,-1269,1247,-1244,-1157,-1156,-1155,-1154,-1135,-1193,-1192,-1188,-1187,-1186,-1147,-1160,-1159,1138,-1103,1099,-1041,-1040,-1003,-1002,-1001,-953,-952,917,-911,-895,-900,-915,-914,-880,-894,-931,-930,-994,1018,-1007,1007,1008,1009,1010,-1012,1012,1013,1014,1015,1016,1017,2467,2468,977,1005,1058,1090,1098,1133,1131,1132,1148]]],id:51},{type:"Polygon",arcs:[[325,320,-291,319,334,-358,-357,385,-435,460,461,454,455,456,-415,388,363,-350,337,-324,321,322,318]],id:50},{type:"MultiPolygon",arcs:[[[-29]],[[-28]],[[-27]],[[-26]],[[-23]],[[-24]],[[-25]],[[-22,-21,29,49,53,50,52,-34,51,-65,159,160,-169,171,172,-195,-194,203,184,198,199,200,182,183,241,242,243,244,245,211,212,240,-235,213,214,215,175,164,157,84,-20,-19,-18,-17,-16,-15,-14,-13,-12,-11,-10,-9,-8,-7,-6,-5,-4,2,-2,-1]]],id:53},{type:"MultiPolygon",arcs:[[[-285]],[[-2155]],[[-2154,201,-134,-182,-181,-180,-179,-208,-207,-206,-230,228,-228,-252,-284,-283,-282,-281,-280,-279,-278,-277,-276,-275,-274,-273,-272,-271,-270,-269,511,512,493,494,491,492,489,490,495,496,463,464,465,466,448,-440,416,-400,381,382,-372,348,345,346,347,340,-340,332,-332,-294,-293,262,-262,236,-210,-209,-178,-177,-81,2150,2151,2152]]],id:55},{type:"Polygon",arcs:[[760,-778,-777,-776,847,-850,-849,-836,-835,-889,-888,-887,-886,-885,-884,-883,-882,-881,913,914,899,894,910,-918,951,952,1e3,1001,1002,1039,1040,-1100,1102,-1139,1158,1159,1146,1185,1186,1187,1191,1192,1134,1135,1136,1086,1087,1068,-1070,-1033,-1032,-985,-984,-960,-961,919,-909,-899,-898,-897,-861,-860,846,-827,821,-768,-767,761,-714,-744]],id:54},{type:"Polygon",arcs:[[-266,-248,-247,-260,-259,-258,-240,-300,328,-345,-351,372,-390,436,437,-483,513,514,-640,647,648,649,537,538,534,535,536,569,570,571,658,-608,451,452,453,-422,341,342,-337,-232,-231,-234,-267]],id:56},{type:"MultiPolygon",arcs:[[[2392]],[[2382]],[[2381]]],id:78}]}},arcs:[[[15739,57220],[76,-211]],[[15815,57009],[-6,-86]],[[15809,56923],[0,0]],[[15809,56923],[2,-40]],[[15811,56883],[0,-840]],[[15811,56043],[14,-387]],[[15825,55656],[-2,1]],[[15823,55657],[-19,-466]],[[15804,55191],[-77,-416]],[[15727,54775],[-105,3]],[[15622,54778],[67,428]],[[15689,55206],[0,16]],[[15689,55222],[9,41]],[[15698,55263],[46,83]],[[15744,55346],[3,0]],[[15747,55346],[21,-2]],[[15768,55344],[7,949],[-138,-730]],[[15637,55563],[9,159]],[[15646,55722],[52,899],[-35,-44]],[[15663,56577],[-309,205],[-193,385]],[[15711,58322],[59,-420],[15,-244]],[[15785,57658],[-46,-438]],[[15675,57235],[0,0]],[[15644,57453],[0,0]],[[15674,57553],[0,0]],[[15815,56278],[-62,564],[-45,21],[107,-585]],[[15777,55663],[0,0]],[[15782,55209],[0,0]],[[15677,54897],[0,0]],[[15711,58322],[530,-4]],[[20051,58318],[297,-2]],[[17947,58319],[184,-3]],[[17580,58319],[0,-929]],[[17304,58032],[0,284]],[[17304,58316],[276,3]],[[19756,58316],[295,2]],[[21999,58316],[184,0]],[[17579,56857],[1,533]],[[17580,58319],[367,0]],[[21634,58316],[365,0]],[[18131,58316],[523,-1]],[[19058,58315],[349,3]],[[19407,58318],[349,-2]],[[20348,58316],[294,0]],[[22823,58319],[19,-852]],[[22622,58319],[201,0]],[[22823,58319],[229,-1]],[[22183,58316],[147,2]],[[22330,58318],[292,1]],[[16241,58318],[562,0]],[[16981,58318],[213,1]],[[17304,58032],[-1,-1491]],[[17194,58319],[110,-3]],[[16803,58318],[178,0]],[[18911,58313],[147,2]],[[20923,57637],[0,681]],[[20923,58318],[308,-2]],[[21231,58316],[257,0]],[[18654,58315],[257,-2]],[[21488,58316],[146,0]],[[23052,58318],[302,-2]],[[20923,57637],[0,-456]],[[20642,58316],[281,2]],[[17579,56857],[0,-441]],[[17303,56413],[0,128]],[[23603,57761],[177,-344],[197,208]],[[20924,56449],[-1,732]],[[24337,54483],[-77,-352]],[[24260,54131],[15,-81]],[[24275,54050],[0,-1]],[[24275,54049],[-15,82]],[[24260,54131],[-8,0]],[[24252,54131],[-1,0]],[[24251,54131],[-18,-59]],[[24233,54072],[-1,0]],[[24232,54072],[-8,-20]],[[24224,54052],[0,-4]],[[24224,54048],[-1,-71]],[[24223,53977],[0,-16]],[[24223,53961],[0,1]],[[24223,53962],[-25,6]],[[23977,57625],[161,-336],[126,-164],[72,-292]],[[22846,56780],[1,35]],[[22847,56815],[-5,652]],[[15194,56234],[-33,933]],[[26653,44788],[79,561]],[[26732,45349],[91,777]],[[26823,46126],[46,438]],[[26869,46564],[57,898]],[[26926,47462],[-29,971]],[[26897,48433],[-130,578],[-110,-508]],[[26657,48503],[-65,-257]],[[26592,48246],[-58,597]],[[26534,48843],[96,470]],[[26630,49313],[68,649]],[[26698,49962],[0,646]],[[26698,50608],[-19,649]],[[26679,51257],[-202,558],[-25,222]],[[26452,52037],[-147,301]],[[26305,52338],[-54,-681],[-48,-105]],[[26203,51552],[-81,-294]],[[26122,51258],[-15,-648]],[[26107,50610],[-42,-169],[-14,12]],[[26051,50453],[-46,322],[-74,-316]],[[25931,50459],[-45,-485]],[[25886,49974],[-43,-632]],[[25843,49342],[-12,-669]],[[25831,48673],[-8,-647]],[[25823,48026],[53,-658]],[[25876,47368],[17,-653]],[[25893,46715],[-18,-648]],[[25875,46067],[-25,-328]],[[25850,45739],[-128,-899]],[[25508,51049],[91,846]],[[25599,51895],[83,221],[69,-1],[72,166]],[[25823,52281],[149,314],[17,79]],[[25989,52674],[236,82],[219,-51]],[[26444,52705],[5,0]],[[26449,52705],[28,-6]],[[26477,52699],[-31,339],[-19,564]],[[26427,53602],[-2,11]],[[26425,53613],[-2,9]],[[26423,53622],[-136,-59],[-123,575]],[[26164,54138],[-175,-122]],[[25989,54016],[-258,-395],[-91,33]],[[25640,53654],[-217,770],[-41,6]],[[25382,54430],[-114,50]],[[25268,54480],[5,96]],[[25273,54576],[-51,389]],[[25222,54965],[-2,47]],[[25220,55012],[-86,-359]],[[25134,54653],[-239,-397],[-27,-98]],[[24868,54158],[-147,-373]],[[24721,53785],[0,1]],[[25213,56702],[-143,-575],[206,676],[-63,-101]],[[25436,55477],[-184,-350]],[[25252,55127],[-1,0]],[[25251,55127],[-31,-115]],[[25220,55012],[2,-47]],[[25222,54965],[51,-389]],[[25273,54576],[58,390]],[[25331,54966],[105,511]],[[25764,53572],[0,0]],[[26475,53363],[-40,289]],[[26435,53652],[40,-289]],[[26551,52665],[78,-77]],[[26629,52588],[-29,210],[-49,-133]],[[26392,52213],[0,0]],[[26073,51936],[-17,22],[17,-22]],[[25950,50972],[0,0]],[[17697,55487],[-57,512],[-61,417]],[[24552,55460],[-215,-977]],[[24336,56833],[153,-220],[60,196]],[[22846,56780],[70,-930]],[[22927,55525],[-11,325]],[[20924,56449],[0,-1115]],[[20924,55209],[0,125]],[[15266,55588],[-72,646]],[[17697,55487],[86,-415],[100,-602]],[[17303,56413],[0,-1137]],[[17303,55276],[0,-200]],[[22927,55525],[6,-488]],[[18058,53962],[-73,-49]],[[17985,53913],[-23,192]],[[15337,54211],[-14,442],[-57,935]],[[22931,54875],[2,162]],[[17962,54105],[-79,365]],[[30403,53801],[271,1268],[194,191],[159,-2633],[-8,-489]],[[17303,54831],[0,245]],[[20924,55209],[0,-1283]],[[20924,53739],[0,187]],[[17303,54831],[0,-1090]],[[17303,53741],[0,-214]],[[22931,54875],[12,-968]],[[22947,53906],[-4,1]],[[15440,53274],[-83,542],[19,54],[-39,341]],[[24198,53968],[0,0]],[[24198,53968],[0,-459]],[[25118,52914],[-261,377]],[[24857,53291],[0,-23]],[[24857,53268],[0,23]],[[24857,53291],[-136,494]],[[16761,52732],[-124,-152]],[[16637,52580],[-121,-153]],[[17181,52729],[-34,2]],[[20924,53739],[0,-486]],[[20924,53253],[0,-622]],[[20924,52631],[0,-118]],[[18058,53962],[-46,-1769],[-19,-284]],[[17402,51370],[-31,1094]],[[18168,52166],[-175,-257]],[[22084,52624],[-177,4]],[[17371,52464],[-33,259]],[[17338,52723],[-35,803]],[[17303,53526],[0,1]],[[23005,52773],[-58,1133]],[[23005,52773],[3,-161]],[[23008,52612],[-185,0]],[[17147,52731],[-105,3]],[[17042,52734],[-5,0]],[[17037,52734],[-276,-2]],[[24684,53819],[37,-33]],[[30255,52113],[66,658],[72,735],[10,295]],[[17338,52723],[-157,6]],[[21907,52628],[-413,2]],[[25362,52586],[-158,173]],[[25204,52759],[-70,110]],[[25134,52869],[-16,45]],[[24198,53509],[0,-483]],[[24198,53026],[-153,-797]],[[30740,50284],[-1,-3]],[[16055,52220],[-113,-140]],[[15942,52080],[-90,-189]],[[15703,52455],[-119,599]],[[15584,53054],[0,6]],[[15584,53060],[-144,214]],[[15457,53056],[84,-60]],[[15374,52329],[56,784],[27,-57]],[[21494,52630],[-263,0]],[[21231,52630],[-15,1]],[[22823,52612],[-209,1]],[[22614,52613],[-8,0]],[[22328,52621],[-200,1]],[[22128,52622],[-44,2]],[[22606,52613],[-200,6]],[[22406,52619],[-78,2]],[[21216,52631],[-292,0]],[[25437,52216],[-59,108]],[[25378,52324],[0,0]],[[25378,52324],[-16,262]],[[18974,50874],[-4,-624]],[[18970,50250],[3,-359]],[[18973,49891],[-92,518]],[[19321,50875],[-347,-1]],[[15703,52455],[5,-229]],[[15541,52996],[43,58]],[[24033,52070],[12,159]],[[20924,52513],[1,-1246]],[[20925,51267],[-5,-401]],[[20920,50866],[-273,6]],[[15852,51891],[-144,335]],[[16516,52427],[-37,-43]],[[16479,52384],[-183,-140]],[[16296,52244],[-72,-179]],[[16224,52065],[-148,104]],[[16076,52169],[-21,51]],[[20306,50859],[-459,15]],[[19847,50874],[-94,-4]],[[22933,51962],[75,650]],[[17402,51370],[-27,-352]],[[25508,51049],[-7,11]],[[25501,51060],[-49,749],[-15,407]],[[18855,50330],[-41,-296]],[[18814,50034],[-178,38],[-146,-160],[-10,-203]],[[18480,49709],[-120,831],[-124,821],[-68,805]],[[22933,51962],[101,-484]],[[18881,50409],[-26,-79]],[[20647,50872],[-14,0]],[[20633,50872],[-261,-13]],[[20372,50859],[-66,0]],[[15364,50954],[10,1375]],[[24033,52070],[39,-648]],[[24069,51261],[3,161]],[[31019,52138],[91,-726],[120,-670],[-31,-498],[-109,-43],[-77,-103],[-44,-154]],[[30177,51386],[78,727]],[[19753,50870],[-104,2]],[[19649,50872],[-328,3]],[[23039,51371],[-5,107]],[[25449,46203],[-1,327]],[[25448,46530],[-6,323]],[[25442,46853],[-18,652]],[[25424,47505],[28,654]],[[25452,48159],[17,650]],[[25469,48809],[52,810]],[[25521,49619],[47,647]],[[25568,50266],[83,717],[-149,-417],[-34,-297]],[[25468,50269],[-8,-60]],[[25460,50209],[-64,54]],[[25396,50263],[0,8]],[[25396,50271],[1,0]],[[25397,50271],[-1,-8]],[[25396,50263],[1,8]],[[25397,50271],[63,537]],[[25460,50808],[41,252]],[[25708,51489],[0,0]],[[30134,48619],[0,5]],[[30134,48624],[-6,915]],[[30128,49539],[-21,1901]],[[30107,51440],[70,-54]],[[23039,51371],[0,-542]],[[29918,49765],[75,942],[-2,189]],[[29991,50896],[116,544]],[[24069,51261],[-4,-647]],[[24065,50614],[-9,-214]],[[17343,50573],[32,445]],[[23040,50510],[-1,319]],[[30776,49283],[0,0]],[[30872,49423],[46,197],[-46,-197]],[[30969,49944],[-58,33],[-102,-223],[-72,16],[3,514]],[[20921,50072],[-1,794]],[[17343,50573],[-90,-1002]],[[15331,49524],[33,1430]],[[15364,50954],[0,0]],[[28659,49030],[-5,-322],[28,-294]],[[28682,48414],[2,-1]],[[28684,48413],[3,-1]],[[28687,48412],[-121,-487]],[[28566,47925],[-30,-143]],[[28536,47782],[0,-9]],[[28536,47773],[-182,-111]],[[28354,47662],[-172,165]],[[28182,47827],[-131,11]],[[28051,47838],[-117,-646]],[[27934,47192],[-70,-846]],[[27864,46346],[0,-2]],[[27864,46344],[-175,-557]],[[28626,49219],[33,-189]],[[27913,47070],[0,0]],[[29520,50896],[178,-10]],[[29918,49765],[-21,-108]],[[29881,50886],[110,10]],[[29473,50059],[5,832]],[[29478,50891],[42,5]],[[29473,50059],[6,-31]],[[29287,50863],[191,28]],[[29698,50886],[183,0]],[[28776,49760],[316,1101]],[[29092,50861],[195,2]],[[20921,50072],[0,-727]],[[23040,50510],[0,-325]],[[23040,50185],[-1,-164]],[[24056,50400],[20,-61]],[[24192,50016],[-116,323]],[[17343,49292],[-90,279]],[[29897,49657],[-56,-357]],[[30739,50281],[-59,-807]],[[18973,49891],[0,-912]],[[29486,49501],[-7,527]],[[30477,49268],[-1,0]],[[24192,50016],[19,-161]],[[24256,49769],[-45,86]],[[18974,47736],[0,344]],[[18974,48080],[-1,899]],[[23039,49376],[0,645]],[[20921,49271],[0,74]],[[24403,49057],[-84,312]],[[24319,49369],[-62,399]],[[24257,49768],[-1,1]],[[24440,48980],[-37,77]],[[29486,49501],[-18,-849]],[[20921,48737],[0,534]],[[17343,49292],[-24,-506]],[[17319,48786],[-12,-371]],[[17307,48415],[0,0]],[[17307,48415],[0,-3129]],[[17307,45286],[-326,-6]],[[29760,48265],[35,318]],[[29795,48583],[46,717]],[[28626,49219],[150,541]],[[30680,49474],[-91,-436]],[[30589,49038],[-83,-425],[-6,346]],[[30500,48959],[-14,-60]],[[30463,49054],[14,214]],[[29472,48550],[-4,102]],[[15319,48755],[29,203]],[[15348,48958],[0,7]],[[15348,48965],[-17,559]],[[30134,48619],[0,0]],[[30134,48619],[7,-464]],[[23039,48729],[0,647]],[[23039,48729],[0,0]],[[24440,48980],[39,-255]],[[20921,48737],[0,-652]],[[30431,48860],[16,54]],[[30443,48813],[-88,-234],[-44,-434]],[[30446,48583],[-3,230]],[[30447,48914],[-1,-331]],[[30474,48571],[-3,0]],[[30471,48571],[-8,483]],[[30486,48899],[-12,-328]],[[30476,49268],[-45,-408]],[[24487,48499],[0,4]],[[24487,48503],[-8,222]],[[16981,45280],[-314,-6]],[[16667,45274],[-10,0]],[[29760,48265],[-29,-683]],[[15304,48284],[27,234]],[[15331,48518],[-12,237]],[[29502,47734],[-48,596],[18,220]],[[20921,48037],[0,48]],[[23151,48079],[-112,0]],[[23039,48079],[0,650]],[[23317,48080],[-113,-1]],[[23204,48079],[-53,0]],[[23988,48077],[-125,0]],[[23863,48077],[-43,0]],[[24155,48079],[-30,0]],[[24125,48079],[-131,-2]],[[23994,48077],[-6,0]],[[24487,48499],[11,-419]],[[24498,48080],[-110,0]],[[24388,48080],[-33,0]],[[24355,48080],[-97,0]],[[24258,48080],[-103,-1]],[[23484,48080],[-16,-1]],[[23468,48079],[-132,0]],[[23336,48079],[-19,1]],[[23820,48077],[-89,0]],[[23731,48077],[-77,2]],[[23039,48079],[-40,0]],[[23654,48079],[-55,0]],[[23599,48079],[-115,1]],[[30311,48145],[-62,-584],[-71,-163]],[[30178,47398],[-37,757]],[[29502,47734],[-5,-691]],[[22181,47144],[-185,1]],[[24501,47934],[-3,146]],[[21471,47147],[-198,1]],[[21273,47148],[-58,0]],[[17861,45279],[-551,4]],[[17310,45283],[-3,3]],[[18974,47736],[0,-551]],[[16234,45274],[-158,6]],[[16076,45280],[-235,21]],[[16657,45274],[-178,3]],[[16479,45277],[-245,-3]],[[15231,47064],[86,757]],[[15317,47824],[0,-3]],[[15317,47824],[1,12]],[[15318,47836],[0,3]],[[15318,47839],[0,2]],[[15318,47841],[-1,7]],[[15317,47848],[-1,9]],[[15316,47857],[-12,427]],[[29726,47448],[5,134]],[[30178,47398],[-16,-97]],[[20921,48037],[1,-881]],[[20922,47156],[0,-732]],[[23011,47630],[-12,449]],[[24501,47934],[8,-637]],[[23011,47630],[28,-327]],[[22566,46849],[0,-2]],[[22566,46847],[-44,82]],[[22522,46929],[-53,216]],[[22469,47145],[-211,-1]],[[22258,47144],[-77,0]],[[21215,47148],[-140,0]],[[21075,47148],[-153,8]],[[24515,47126],[-6,171]],[[21709,47144],[-238,3]],[[21996,47145],[-287,-1]],[[18974,44503],[-1,786]],[[18973,45289],[0,952]],[[18973,46241],[1,944]],[[29593,46662],[-26,3]],[[29567,46665],[-67,9]],[[29500,46674],[-3,369]],[[30162,47301],[-1,1]],[[30161,47302],[20,-393]],[[30181,46909],[-119,-241]],[[29726,47448],[-2,-809]],[[29724,46639],[-131,23]],[[23015,46978],[24,325]],[[24718,46230],[-60,2]],[[24658,46232],[-72,310]],[[24586,46542],[0,1]],[[24586,46543],[-71,583]],[[30062,46668],[-3,-12]],[[30059,46656],[0,-3]],[[30059,46653],[-179,-42]],[[29880,46611],[-8,1]],[[29872,46612],[-99,17]],[[29773,46629],[-49,10]],[[22842,46775],[-90,93]],[[22752,46868],[-42,3]],[[22710,46871],[-144,-22]],[[23015,46978],[11,-649]],[[23026,46329],[15,-131]],[[23041,46198],[-52,64]],[[22989,46262],[-48,335]],[[22941,46597],[-59,107]],[[22882,46704],[-40,71]],[[20922,45289],[0,1135]],[[15841,45301],[-262,-9]],[[29500,46674],[-25,-438]],[[15414,45277],[-109,6]],[[15305,45283],[-98,1555],[24,226]],[[18072,45274],[-211,5]],[[30181,46909],[34,-547],[-80,-272]],[[25014,46217],[-10,1]],[[25004,46218],[-122,10]],[[25178,46202],[-46,6]],[[25132,46208],[-118,9]],[[25309,46207],[-112,-2]],[[25197,46205],[-19,-3]],[[24882,46228],[-24,0]],[[24858,46228],[-140,2]],[[15579,45292],[-81,-4]],[[15498,45288],[-84,-11]],[[29558,45360],[-120,19]],[[29438,45379],[-3,0]],[[29435,45379],[40,857]],[[30117,46018],[-7,-5]],[[30113,45974],[-1,-1]],[[29992,45318],[-85,-17]],[[29907,45301],[-84,39]],[[29823,45340],[-9,2]],[[29814,45342],[0,1]],[[18429,45283],[-290,-9]],[[18139,45274],[-67,0]],[[24658,46232],[47,-237]],[[25449,46203],[-110,5]],[[25339,46208],[-30,-1]],[[20922,45289],[0,-565]],[[20922,44724],[0,-249]],[[18973,45289],[-128,-4]],[[28468,45286],[-179,0]],[[28289,45286],[-39,-6]],[[27885,45286],[-153,-6]],[[27732,45280],[-43,507]],[[23066,45686],[0,115]],[[23066,45801],[-25,397]],[[28095,45286],[-171,-6]],[[27924,45280],[-39,6]],[[28250,45280],[-127,6]],[[28123,45286],[-28,0]],[[28977,45011],[-62,275]],[[27689,45787],[-211,-543]],[[24748,45647],[-43,348]],[[18677,45280],[-16,2]],[[18661,45282],[-232,1]],[[25449,46203],[12,-634]],[[25526,44741],[-65,828]],[[30112,45973],[7,-161]],[[20290,43422],[-150,6]],[[20140,43428],[-128,2]],[[20012,43430],[-167,-2]],[[20581,43421],[-255,0]],[[20326,43421],[-36,1]],[[18845,45285],[-168,-5]],[[28915,45286],[-33,-3]],[[28882,45283],[-174,3]],[[28708,45286],[-11,0]],[[28697,45286],[-115,0]],[[24748,45647],[46,-301]],[[30119,45812],[31,-65]],[[30024,45258],[-32,60]],[[29814,45343],[-104,6]],[[29710,45349],[-139,9]],[[29571,45358],[-13,2]],[[27344,45012],[-136,-412]],[[27208,44600],[-133,-235]],[[27075,44365],[-106,-146]],[[26969,44219],[-154,7]],[[26815,44226],[-45,50]],[[26770,44276],[1,0]],[[26771,44276],[5,0]],[[26776,44276],[63,197]],[[26839,44473],[0,0]],[[26839,44473],[-1,11]],[[26838,44484],[-97,101]],[[26741,44585],[-80,204]],[[27478,45244],[-134,-232]],[[30191,45733],[68,-801]],[[30236,44813],[-62,-218]],[[30150,45747],[29,31]],[[28582,45286],[-103,0]],[[28479,45286],[-11,0]],[[23066,45686],[23,-312]],[[19845,43428],[-316,-3]],[[19529,43425],[-264,-6]],[[19265,43419],[-14,0]],[[27478,45006],[0,238]],[[25888,44840],[-83,-1]],[[25805,44839],[-83,1]],[[23127,45036],[-38,338]],[[24795,45154],[-1,192]],[[25526,44741],[0,0]],[[25526,44741],[0,-448]],[[30174,44595],[-77,-245]],[[30097,44350],[-21,331]],[[30076,44681],[-9,71]],[[30067,44752],[-25,117]],[[30042,44869],[-18,389]],[[26575,44771],[-33,-6]],[[26542,44765],[-134,-25]],[[29438,45379],[-9,-713]],[[29429,44666],[-3,-261]],[[30299,44585],[-63,228]],[[30259,44932],[123,420],[-83,-767]],[[26279,44839],[-104,0]],[[26175,44839],[-26,0]],[[26408,44740],[-11,-2]],[[26397,44738],[-113,-18]],[[26284,44720],[-5,119]],[[26149,44839],[-103,-1]],[[26046,44838],[-35,0]],[[26011,44838],[-77,2]],[[25934,44840],[-46,0]],[[23127,45036],[4,-340]],[[24795,45154],[-26,-273]],[[24769,44881],[-20,-101]],[[29907,45301],[4,-528]],[[29911,44773],[0,-157]],[[30033,44826],[-12,21]],[[29085,44214],[-88,331]],[[28997,44545],[-20,466]],[[18974,44503],[-1,-610]],[[18139,43424],[0,1850]],[[18139,43424],[-2,-1644]],[[15345,44290],[-40,993]],[[16479,45277],[0,-1510]],[[16478,40009],[-1,280]],[[16477,40289],[1,246]],[[16478,40535],[1,510]],[[16479,41045],[0,2722]],[[27478,45006],[0,-652]],[[23166,44368],[-35,328]],[[27478,44335],[0,19]],[[24538,44044],[0,2]],[[24538,44046],[80,222]],[[24618,44268],[131,512]],[[30067,44752],[-34,74]],[[30021,44847],[-10,-211]],[[29911,44536],[0,80]],[[25692,44746],[-81,-160]],[[25611,44586],[-85,155]],[[25722,44840],[-30,-94]],[[26284,44720],[0,-309]],[[26575,44771],[78,17]],[[26653,44788],[0,0]],[[26653,44788],[3,0]],[[26658,44788],[-2,0]],[[26658,44788],[3,1]],[[25526,44293],[0,-314]],[[29911,44536],[-17,-498]],[[29894,44038],[-162,175]],[[25526,43734],[0,245]],[[26285,44217],[-1,194]],[[20922,44156],[0,319]],[[23166,44368],[17,-216]],[[30040,44368],[0,0]],[[30097,44350],[-21,331]],[[29543,43856],[-153,-449]],[[29390,43407],[0,3]],[[29390,43410],[32,697]],[[29422,44107],[4,298]],[[20922,44156],[0,-729]],[[20922,43427],[-248,-6]],[[20674,43421],[-93,0]],[[30011,44636],[-117,-598]],[[29732,44213],[-34,-300]],[[29698,43913],[2,-6]],[[29702,43899],[-159,-43]],[[29230,43692],[-37,105]],[[29193,43797],[-93,288]],[[29100,44085],[-15,129]],[[29100,44085],[-82,-489]],[[19251,43419],[-278,474]],[[26285,44217],[0,-289]],[[29300,44024],[-1,-1]],[[30193,43985],[9,62],[-9,-62]],[[23199,43722],[-12,57]],[[23187,43779],[-4,373]],[[27478,44335],[0,-663]],[[27478,43656],[0,16]],[[15357,41565],[-69,1300],[33,203]],[[15321,43068],[14,782],[10,440]],[[21321,43428],[-10,0]],[[21311,43428],[-202,0]],[[26285,43895],[0,33]],[[24538,44044],[35,-485]],[[30405,43867],[0,0]],[[21109,43428],[-54,0]],[[21055,43428],[-133,-1]],[[29390,43379],[-38,-171]],[[29320,43267],[-20,757]],[[29390,43410],[0,-3]],[[29390,43407],[-1,-24]],[[29389,43383],[1,-4]],[[29025,43600],[-7,-4]],[[24573,43556],[0,3]],[[29322,43422],[-87,253]],[[29235,43675],[-5,17]],[[29299,44023],[0,-1]],[[29299,44022],[23,-600]],[[25526,43734],[0,-291]],[[29776,43471],[0,0]],[[29444,43163],[68,89],[252,435],[-14,-266],[137,101],[-239,-447],[-193,-288]],[[26285,43895],[0,-491]],[[26285,43404],[0,-125]],[[29025,43600],[-42,-235]],[[21479,43428],[-158,0]],[[25526,42935],[0,508]],[[23199,43722],[-1,-193]],[[23198,43529],[1,-6]],[[23217,43240],[-18,283]],[[29322,43422],[-25,-368]],[[27478,43656],[0,-419]],[[27479,43148],[-1,89]],[[28963,42664],[-2,31]],[[28961,42695],[22,670]],[[18137,41388],[0,392]],[[24573,43556],[-46,-697]],[[24506,42749],[21,110]],[[23217,43240],[-5,-218]],[[25526,42935],[0,-458]],[[21479,42861],[0,96]],[[21479,42957],[0,471]],[[19529,41977],[0,803]],[[19529,42780],[0,645]],[[26285,42918],[0,361]],[[27479,43148],[-1,-396]],[[27478,42752],[-41,-105]],[[26285,42918],[0,-290]],[[29352,43208],[-35,-161]],[[29316,43199],[4,68]],[[29455,42787],[-70,-74]],[[29385,42713],[-17,-43]],[[29360,42716],[6,33]],[[29365,43014],[79,149]],[[29262,42930],[-12,-89]],[[23340,42643],[-109,9]],[[23231,42652],[-19,370]],[[23468,42633],[-80,7]],[[23388,42640],[-48,3]],[[23591,42624],[-44,2]],[[23547,42626],[-79,7]],[[24359,42677],[-63,14]],[[24296,42691],[-66,-11]],[[24230,42680],[-48,-6]],[[24182,42674],[-80,-11]],[[23718,42631],[-60,-4]],[[23658,42627],[-67,-3]],[[23846,42643],[-61,-5]],[[23785,42638],[-67,-7]],[[23974,42650],[-77,-7]],[[23897,42643],[-51,0]],[[24102,42663],[-21,-3]],[[24081,42660],[-107,-10]],[[29317,43047],[-1,152]],[[19529,41977],[0,-1046]],[[19529,40931],[0,-303]],[[27478,42451],[0,301]],[[29297,43054],[-35,-124]],[[24506,42749],[-64,-483]],[[24442,42266],[-83,411]],[[29366,42749],[-31,25]],[[29306,42935],[59,79]],[[29032,42198],[-69,466]],[[23231,42652],[15,-115]],[[21479,42861],[0,-479]],[[29335,42774],[-29,161]],[[25526,42451],[0,26]],[[29250,42841],[-13,-170]],[[26285,42220],[0,408]],[[21479,42213],[0,169]],[[29225,42487],[0,0]],[[24418,41936],[2,89]],[[24420,42025],[22,241]],[[27478,42451],[1,-146]],[[27448,42299],[-11,348]],[[29032,42198],[61,-361]],[[29093,41837],[0,-1]],[[29093,41836],[-71,-183]],[[29237,42671],[-4,-268]],[[27448,42299],[-15,-391]],[[27433,41908],[-6,-53]],[[23289,42055],[-43,482]],[[26285,42220],[0,-80]],[[23289,42055],[1,-6]],[[23036,41565],[-95,1]],[[22941,41566],[-31,0]],[[25526,42451],[-1,-613]],[[25525,41838],[-1,-493]],[[27478,41492],[1,101]],[[27479,41593],[-1,267]],[[27478,41860],[1,445]],[[29271,41744],[-3,49]],[[29233,42403],[38,-659]],[[21479,42213],[0,-644]],[[21479,41569],[1,-799]],[[26282,41408],[1,164]],[[26283,41572],[2,568]],[[22532,41568],[-64,-1]],[[22468,41567],[-62,0]],[[22406,41567],[-95,0]],[[22311,41567],[-31,0]],[[22658,41567],[-31,0]],[[22627,41567],[-95,1]],[[21682,41568],[-24,-1]],[[21658,41567],[-179,2]],[[22155,41566],[-154,0]],[[22001,41566],[-4,0]],[[22784,41566],[-126,1]],[[22910,41566],[-126,0]],[[21997,41566],[-152,1]],[[21845,41567],[-5,0]],[[21840,41567],[-158,1]],[[22280,41567],[-125,-1]],[[28074,41045],[-119,2]],[[28700,41044],[-28,0]],[[28672,41044],[-1,0]],[[28331,41041],[-3,1]],[[28328,41042],[-175,3]],[[27955,41047],[-34,0]],[[27921,41047],[-129,-3]],[[23162,41564],[-63,0]],[[23099,41564],[-63,1]],[[23290,42049],[67,-486]],[[23357,41563],[-8,0]],[[23349,41563],[-125,1]],[[23224,41564],[-62,0]],[[23446,41373],[-89,190]],[[24418,41936],[19,-475]],[[28850,41260],[-54,-215]],[[28796,41045],[-96,-1]],[[28671,41044],[-92,0]],[[28579,41044],[-61,-2]],[[28518,41042],[-59,0]],[[24456,41114],[-19,347]],[[27419,41625],[8,230]],[[29179,40745],[0,-4]],[[29179,40741],[-1,-2]],[[29001,41545],[-1,5]],[[29e3,41550],[22,103]],[[27419,41625],[-25,-344]],[[29268,41793],[3,-49]],[[29271,41744],[-71,-994],[-21,-9]],[[29179,40741],[0,4]],[[28153,41045],[-68,0]],[[28085,41045],[-11,0]],[[25525,40831],[-1,514]],[[27792,41044],[-23,0]],[[27769,41044],[-80,-2]],[[27689,41042],[-43,0]],[[29e3,41550],[-44,-229]],[[23478,41229],[-32,144]],[[18137,41388],[0,-676]],[[18137,40712],[0,-1612]],[[19529,40384],[0,244]],[[28459,41042],[-60,-1]],[[28399,41041],[-68,0]],[[28956,41321],[-58,-118]],[[28898,41203],[-43,60]],[[28850,41260],[0,0]],[[27391,41042],[3,239]],[[27478,41492],[0,-448]],[[27646,41042],[-140,2]],[[27506,41044],[-28,0]],[[26282,41408],[0,-354]],[[21480,40759],[0,11]],[[15493,39270],[-65,1424],[-71,871]],[[23478,41229],[-49,-367]],[[28979,41348],[22,197]],[[24456,41114],[17,-140]],[[26282,40758],[0,296]],[[28897,41161],[82,187]],[[25525,40831],[0,-242]],[[27391,41042],[-31,-211]],[[27360,40831],[-26,-125]],[[24576,40445],[-67,370]],[[24509,40815],[-36,159]],[[28898,41203],[-26,-825]],[[28804,40253],[-1,151]],[[28803,40404],[-7,641]],[[28855,41263],[-5,-3]],[[23415,40694],[14,168]],[[28900,40423],[-35,202]],[[28866,40625],[-1,0]],[[28866,40625],[-5,206]],[[28860,40874],[1,-43]],[[28860,40874],[37,287]],[[16714,38612],[-48,225]],[[29178,40739],[-11,-297]],[[29167,40442],[-17,-94]],[[29150,40348],[-38,-96]],[[29112,40252],[0,-14]],[[26282,40758],[-1,-85]],[[28270,40305],[-11,-7]],[[28259,40298],[-30,321]],[[28229,40619],[-55,236]],[[28174,40855],[-87,32]],[[28087,40887],[-37,-224]],[[28050,40663],[-54,34]],[[27996,40697],[-113,-102]],[[27883,40595],[-57,-283]],[[27826,40312],[-60,-227]],[[27766,40085],[3,959]],[[28784,40396],[-69,317]],[[28715,40713],[-78,-279]],[[28637,40434],[0,-126]],[[28637,40308],[-47,-159]],[[28331,40116],[-61,189]],[[28117,40429],[-33,140]],[[23415,40694],[38,-213]],[[27334,40706],[-23,-152]],[[27311,40554],[-70,-216]],[[27241,40338],[-86,-130],[-13,-105]],[[28171,40194],[-54,235]],[[25505,40184],[20,405]],[[24576,40445],[59,-327]],[[26280,40268],[1,405]],[[21480,40759],[1,-810]],[[21481,39949],[0,-161]],[[28914,40342],[-11,69]],[[28901,40416],[-1,7]],[[29040,40031],[-126,311]],[[27142,40103],[-8,-66]],[[18136,38906],[1,194]],[[28084,40569],[-45,-703]],[[23555,39997],[-48,74]],[[23507,40071],[-54,410]],[[28259,40298],[-31,-352]],[[28228,39946],[-57,248]],[[19529,40384],[-2,-1614]],[[25505,40184],[-7,-190]],[[28029,39806],[10,60]],[[23553,39912],[2,85]],[[27136,39881],[-2,156]],[[24711,39640],[-59,-61]],[[24652,39579],[-17,539]],[[28804,40253],[1,-94]],[[28742,40159],[-56,139],[98,98]],[[28590,40149],[-15,-63]],[[28815,39382],[-8,585]],[[28807,39967],[-2,192]],[[28872,40378],[57,-769]],[[28458,39638],[-32,-59]],[[28426,39579],[-58,227]],[[28368,39806],[-37,310]],[[29112,40238],[-86,-665],[14,458]],[[16478,40009],[0,-98]],[[16478,39911],[0,-84]],[[26420,39741],[-52,137]],[[26368,39878],[-33,-39]],[[26335,39839],[-55,58]],[[26280,39897],[0,371]],[[26280,39897],[-16,-138]],[[26264,39759],[0,-1]],[[26494,39275],[-50,105]],[[26444,39380],[0,87]],[[26444,39467],[-24,274]],[[24760,39559],[-49,81]],[[28635,39395],[0,0]],[[28706,39561],[36,598]],[[25526,39519],[0,1]],[[25526,39520],[-32,474]],[[25494,39994],[4,0]],[[26591,39026],[-56,243]],[[26535,39269],[-41,6]],[[28029,39806],[-91,-546]],[[27938,39260],[-52,-2]],[[28607,39535],[-17,-366]],[[28590,39169],[0,-3]],[[28575,40086],[2,-3]],[[28589,40088],[18,-553]],[[23553,39416],[0,367]],[[23553,39783],[0,129]],[[27091,39475],[-53,155]],[[27136,39881],[-45,-406]],[[25526,39519],[-1,-92]],[[17623,34118],[-355,1806]],[[26287,39436],[-21,81]],[[26266,39517],[-2,241]],[[28815,39382],[4,-360]],[[28755,39100],[-16,112]],[[28739,39212],[17,109]],[[21481,39138],[0,650]],[[28543,39077],[4,-10]],[[28547,39067],[-4,-218]],[[28437,39124],[17,222]],[[28454,39346],[4,292]],[[16666,38837],[-70,323]],[[16596,39160],[-91,417]],[[16505,39577],[-27,250]],[[16917,37646],[-203,966]],[[28445,39309],[-54,-223]],[[23553,39416],[0,-202]],[[26713,38990],[-105,35]],[[26608,39025],[-17,1]],[[26591,39026],[0,0]],[[21481,39138],[0,-154]],[[27038,39630],[-32,-689]],[[27006,38941],[-20,-17]],[[26839,38901],[-60,288]],[[26779,39189],[0,1]],[[26779,39190],[-66,-197]],[[26713,38993],[0,-3]],[[24786,39069],[5,209]],[[24791,39278],[13,61]],[[24804,39339],[-44,220]],[[28454,39346],[-22,183]],[[28432,39529],[-6,50]],[[28929,39609],[44,-479],[29,-450]],[[29002,38680],[-5,0]],[[28997,38680],[-5,0]],[[28992,38680],[-71,1]],[[28921,38681],[-100,202]],[[28821,38883],[-2,139]],[[27886,39258],[-47,-530]],[[27839,38728],[-25,-122]],[[27814,38606],[-93,334]],[[28756,39321],[-17,-109]],[[28739,39212],[-76,198],[43,151]],[[28391,39086],[-16,-307]],[[28441,39500],[0,3]],[[28441,39500],[0,-4]],[[28441,39496],[0,-2]],[[28441,39494],[0,-2]],[[28441,39492],[1,-5]],[[28442,39486],[0,1]],[[28442,39486],[0,-5]],[[28442,39481],[2,-3]],[[28444,39478],[0,-2]],[[28444,39476],[2,-7]],[[28446,39469],[0,-65]],[[28446,39404],[0,2]],[[28432,39529],[9,-26]],[[26287,39436],[-64,-179]],[[26223,39257],[-49,-131]],[[26174,39126],[-37,84]],[[26137,39210],[-26,-279]],[[25466,38611],[25,286]],[[25491,38897],[34,530]],[[24764,38829],[-1,-16]],[[24763,38813],[-21,-253]],[[15840,38131],[-3,0]],[[15809,38129],[-2,4]],[[15807,38133],[-39,1]],[[15641,38391],[-148,879]],[[26986,38924],[-61,-318]],[[26925,38606],[-25,18]],[[26900,38624],[-20,157]],[[26880,38781],[-41,120]],[[23552,38728],[1,486]],[[24786,39069],[-22,-240]],[[28590,39166],[9,-599],[-52,500]],[[28547,39067],[-4,10]],[[27721,38940],[-41,-605]],[[27680,38335],[-46,-375]],[[23552,38728],[0,-165]],[[16040,38042],[-23,137]],[[26109,38815],[2,116]],[[16917,37646],[165,-803]],[[28691,38439],[-29,547],[93,114]],[[28785,38627],[-94,-188]],[[21481,38328],[0,12]],[[21481,38340],[0,644]],[[28543,38849],[0,-85]],[[28495,38564],[-94,-54],[36,614]],[[18136,38906],[1,-790]],[[18137,38116],[-1,-1012]],[[18136,37104],[0,-1125]],[[18136,35979],[0,-293]],[[19532,38124],[-5,646]],[[26109,38815],[-57,-267]],[[26052,38548],[-42,-171]],[[28375,38779],[-7,-313]],[[25466,38611],[-69,-294]],[[28795,38335],[-10,292]],[[15837,38131],[-28,-2]],[[16017,38179],[-132,-258],[-45,210]],[[25399,38268],[-2,49]],[[24779,38004],[-12,72]],[[24767,38076],[-25,484]],[[28603,38436],[-31,-192],[-77,320]],[[28543,38764],[60,-328]],[[26898,38299],[0,0]],[[26900,38624],[-2,-325]],[[19532,38124],[0,-507]],[[19532,37617],[-1,-737]],[[19531,36880],[0,-904]],[[19531,35976],[-266,-3]],[[19265,35973],[-209,11]],[[19056,35984],[-185,-3]],[[23552,37951],[0,612]],[[17268,35924],[-186,919]],[[28986,38582],[-75,-715]],[[28911,37867],[-68,-38]],[[28843,37829],[0,3]],[[28992,38680],[-6,-98]],[[25860,38177],[-37,-113]],[[25979,38171],[-13,-319]],[[25966,37852],[-14,-13]],[[25952,37839],[-92,338]],[[26950,37569],[-23,169]],[[26927,37738],[-29,561]],[[26010,38377],[-31,-206]],[[28442,38144],[-1,-3]],[[28368,38466],[83,-128]],[[23552,37951],[-1,-43]],[[15768,38134],[6,-631],[-119,557],[-14,331]],[[16038,37915],[2,127]],[[28778,37969],[17,366]],[[28843,37832],[-1,-3]],[[28842,37829],[-64,140]],[[28477,37991],[-35,153]],[[28451,38338],[125,-469]],[[27607,37750],[27,210]],[[21481,38328],[1,-976]],[[21482,37352],[0,-175]],[[27607,37750],[-66,-484]],[[25823,38064],[-8,-140]],[[25815,37924],[-46,-378]],[[25769,37546],[-44,290]],[[25399,38268],[-31,-631]],[[25598,37614],[-9,36]],[[25589,37650],[-42,80]],[[25478,37649],[-63,7]],[[25415,37656],[-29,-191]],[[25386,37465],[-17,170]],[[25369,37635],[-1,2]],[[24928,37473],[-74,134]],[[24854,37607],[-75,397]],[[25725,37836],[-46,-126]],[[25679,37710],[-81,-96]],[[25547,37730],[-69,-80]],[[25478,37650],[0,-1]],[[28441,38141],[75,-497],[31,-232]],[[28566,37480],[-89,511]],[[15835,37649],[78,298],[125,-32]],[[23550,37194],[0,36]],[[23550,37230],[1,678]],[[28887,37650],[0,-27]],[[28887,37623],[-59,-670]],[[28828,36953],[-33,-42]],[[28782,37012],[13,397]],[[28795,37409],[47,420]],[[28842,37829],[1,0]],[[28911,37867],[-24,-217]],[[28637,37553],[1,-1]],[[28638,37552],[2,-269]],[[28576,37869],[61,-316]],[[27086,36932],[-11,47]],[[27075,36979],[-102,379]],[[26973,37358],[-23,211]],[[28541,36813],[-25,262]],[[27562,37146],[-21,120]],[[24970,37042],[-42,431]],[[25386,37465],[-29,-418]],[[28516,37075],[-45,-36]],[[28471,37039],[-2,24]],[[15925,36839],[-90,810]],[[24970,37042],[0,-10]],[[25377,36917],[-20,130]],[[27384,36774],[0,3]],[[28640,37134],[-74,346]],[[28640,37283],[0,-149]],[[15782,37296],[29,0]],[[21191,35978],[-257,-8]],[[20934,35970],[-319,-1]],[[28547,37412],[38,-377]],[[27075,36979],[-95,-443]],[[26980,36536],[-1,-3]],[[26979,36533],[-67,-179]],[[26912,36354],[-4,-11]],[[21482,36702],[0,475]],[[27562,37146],[-71,-381]],[[27491,36765],[-107,9]],[[28390,36690],[-19,6]],[[15811,37296],[78,-451]],[[15840,36178],[-62,763],[4,355]],[[23550,37194],[1,-539]],[[23551,36655],[-1,-47]],[[20615,35969],[-19,0]],[[20596,35969],[-138,1]],[[21482,36702],[0,-736]],[[21482,35966],[-267,12]],[[21215,35978],[-24,0]],[[19716,35976],[-185,0]],[[19966,35978],[-250,-2]],[[28469,37063],[2,-24]],[[28471,37039],[55,-208]],[[28526,36831],[1,-3]],[[18457,35979],[-321,0]],[[24970,37032],[11,-429]],[[24981,36603],[0,-1]],[[24981,36602],[-2,-156]],[[25377,36917],[-83,-186]],[[25294,36731],[-15,37]],[[25279,36768],[0,-3]],[[25279,36765],[-21,-661]],[[28585,37035],[31,-106]],[[28614,36816],[-73,-3]],[[27384,36777],[-34,-253]],[[27350,36524],[-68,-110]],[[27282,36414],[-38,192]],[[28371,36696],[0,-145]],[[28795,36911],[-5,-59]],[[28790,36852],[-33,152],[25,8]],[[27244,36606],[-106,-186]],[[27138,36420],[-52,512]],[[18871,35981],[-314,-2]],[[18557,35979],[-100,0]],[[28616,36929],[-2,-113]],[[28493,36664],[-108,-81],[5,107]],[[15889,36845],[36,-6]],[[23019,35975],[-63,1]],[[22956,35976],[-110,0]],[[22846,35976],[-88,-1]],[[22758,35975],[-95,0]],[[22026,35982],[-151,-4]],[[22179,35976],[-129,5]],[[22050,35981],[-24,1]],[[22511,35973],[-55,2]],[[22456,35975],[-127,1]],[[17623,34118],[67,-355]],[[28568,36291],[-75,373]],[[28527,36828],[22,-165]],[[25236,36127],[22,-23]],[[20247,35966],[-264,12]],[[19983,35978],[-17,0]],[[20458,35970],[-81,-1]],[[20377,35969],[-130,-3]],[[21618,35969],[-132,-5]],[[21486,35964],[-4,2]],[[21754,35973],[-136,-4]],[[21875,35978],[-87,-3]],[[21788,35975],[-34,-2]],[[23298,35976],[-73,0]],[[23225,35976],[-50,0]],[[22663,35975],[-86,-2]],[[22577,35973],[-66,0]],[[22329,35976],[-127,0]],[[22202,35976],[-23,0]],[[23424,35976],[-94,0]],[[23330,35976],[-32,0]],[[28549,36663],[73,-426]],[[23550,36083],[0,525]],[[23550,36083],[0,-107]],[[23550,35976],[-108,0]],[[23442,35976],[-18,0]],[[25236,36127],[-100,272]],[[25069,36098],[9,-156]],[[25078,35942],[-50,55]],[[25028,35997],[-49,449]],[[25136,36399],[-2,-3]],[[25134,36396],[-65,-298]],[[28388,36521],[68,-110]],[[23175,35976],[-10,0]],[[23165,35976],[-146,-1]],[[15976,35708],[-136,470]],[[26908,36343],[-84,-413]],[[28456,36411],[93,-173]],[[25087,35872],[-9,70]],[[28629,35958],[-61,333]],[[26821,35778],[3,152]],[[25579,35309],[-85,-6]],[[25494,35303],[-15,-1]],[[28549,36238],[42,-432]],[[27841,35124],[-35,0]],[[27771,35123],[-12,0]],[[27759,35123],[-56,1]],[[28631,36186],[-2,-228]],[[25739,35324],[-84,-10]],[[25655,35314],[-14,-2]],[[25641,35312],[-62,-3]],[[25087,35872],[-6,-295]],[[25081,35577],[-15,-247]],[[25066,35330],[-42,-37]],[[27976,35124],[-18,0]],[[27958,35124],[-95,0]],[[27863,35124],[-22,0]],[[24371,35046],[-125,-2]],[[23550,35543],[0,433]],[[28245,35132],[-37,-2]],[[28208,35130],[-41,-1]],[[26821,35778],[-162,-424]],[[25479,35302],[-104,77]],[[23550,35543],[0,-184]],[[19531,34120],[0,1856]],[[19531,34120],[0,-1941]],[[19531,32179],[0,-709]],[[19531,31470],[-2,-1490]],[[21215,35978],[-1,-931]],[[21214,35047],[-10,-828]],[[21204,34219],[0,-588]],[[21485,35047],[-37,0]],[[21448,35047],[-234,0]],[[21784,35046],[-35,0]],[[21749,35046],[-150,0]],[[21599,35046],[-114,1]],[[22050,35046],[-151,0]],[[21899,35046],[-115,0]],[[28482,35144],[0,-15]],[[28482,35129],[-69,4]],[[28413,35133],[-37,-3]],[[26292,35239],[-2,0]],[[26290,35239],[-53,22]],[[23913,35043],[-75,1]],[[26528,35210],[-22,4]],[[26506,35214],[-61,4]],[[28678,35667],[9,165]],[[26445,35218],[-9,0]],[[26436,35218],[-144,21]],[[26659,35354],[-60,-119]],[[26599,35235],[-71,-25]],[[25258,35049],[-8,1]],[[25250,35050],[-83,2]],[[26148,35281],[-40,-14]],[[25959,35285],[-65,21]],[[25894,35306],[-57,21]],[[23838,35044],[-78,0]],[[23760,35044],[-59,0]],[[28775,35141],[-7,0]],[[28768,35141],[-25,0]],[[28743,35141],[-9,0]],[[28734,35141],[-6,0]],[[28728,35141],[-25,0]],[[28675,35672],[3,-5]],[[28687,35832],[88,-691]],[[27453,35154],[-63,3]],[[26998,35225],[-14,0]],[[27164,35255],[-50,5]],[[27114,35260],[-89,-37]],[[24776,35043],[-100,1]],[[28601,35141],[-14,0]],[[28587,35141],[-105,3]],[[28591,35806],[33,-21]],[[16104,33735],[-103,743],[-25,1230]],[[28376,35130],[-131,2]],[[26791,35221],[-135,7]],[[26656,35228],[-57,7]],[[28167,35129],[-77,0]],[[28090,35129],[-37,-3]],[[28053,35126],[-77,-2]],[[26237,35261],[-84,21]],[[26153,35282],[-5,-1]],[[24523,35043],[-78,-2]],[[24445,35041],[-12,2]],[[24433,35043],[-62,3]],[[26984,35225],[-88,-3]],[[26896,35222],[-62,0]],[[26834,35222],[-43,-1]],[[25837,35327],[-42,-31]],[[25795,35296],[-56,28]],[[27608,35126],[-108,15]],[[27500,35141],[-47,13]],[[25024,35293],[-25,-249]],[[24999,35044],[-18,-1]],[[24981,35043],[-16,1]],[[24965,35044],[-1,-301]],[[28629,35680],[-4,-47]],[[28669,35668],[6,4]],[[28703,35141],[-53,0]],[[28650,35141],[-49,0]],[[27703,35124],[-88,2]],[[27615,35126],[-7,0]],[[18136,35686],[-100,-1297],[-70,-515],[19,-1013],[-11,-605]],[[17974,32256],[-284,1507]],[[26108,35267],[-98,6]],[[26010,35273],[-51,12]],[[24676,35044],[-58,0]],[[24618,35044],[-95,-1]],[[24065,35043],[-23,0]],[[24042,35043],[-123,1]],[[23919,35044],[-6,-1]],[[27390,35157],[-18,5]],[[27372,35162],[-126,24]],[[27246,35186],[-90,25]],[[27156,35211],[8,44]],[[24246,35044],[-8,0]],[[24238,35044],[-106,0]],[[24132,35044],[-67,-1]],[[25167,35052],[-3,1]],[[25164,35053],[-2,-1]],[[23701,35044],[-151,2]],[[23550,35046],[0,313]],[[25375,35379],[4,-336]],[[25379,35043],[-121,6]],[[23550,35046],[16,-628]],[[25162,35052],[-143,1]],[[25019,35053],[-20,-9]],[[27806,35124],[-35,-1]],[[24848,34115],[-91,-6]],[[24757,34109],[-25,-1]],[[24732,34108],[52,382]],[[24784,34490],[-8,553]],[[27025,35223],[-27,2]],[[27156,35211],[-14,-367]],[[27142,34844],[-53,-194]],[[27089,34650],[-4,-41]],[[22051,33894],[0,325]],[[22051,34219],[-1,827]],[[28548,34675],[-72,196]],[[28752,34612],[-19,143]],[[28728,35141],[24,-529]],[[28775,35141],[26,-594]],[[28800,34546],[-30,549]],[[28770,35095],[-2,46]],[[28743,35141],[5,0]],[[28760,35141],[-12,0]],[[28760,35141],[-26,0]],[[28733,34755],[-46,-43]],[[28687,34712],[0,3]],[[28687,34715],[-13,49]],[[28674,34764],[-2,44]],[[28476,34871],[60,-301]],[[27085,34609],[-42,-301]],[[27043,34308],[-39,100]],[[28672,34808],[2,-44]],[[28674,34764],[13,-49]],[[28687,34712],[-7,-341],[-22,149]],[[24940,34460],[24,283]],[[24981,35043],[-16,1]],[[23569,34305],[-3,113]],[[24940,34460],[-21,-340]],[[24919,34120],[-71,-5]],[[26898,34189],[-82,-175]],[[28658,34520],[-57,-245]],[[28601,34275],[-64,214],[11,186]],[[27004,34408],[-54,-157]],[[26950,34251],[0,-2]],[[26950,34249],[-25,-174]],[[26925,34075],[-27,114]],[[28536,34570],[6,-596]],[[23585,33668],[-16,637]],[[28882,33504],[-75,-902]],[[28807,32613],[75,891]],[[28843,33756],[0,0]],[[28734,33500],[78,-82],[-43,26]],[[28801,34547],[-1,-1]],[[24936,33938],[-17,182]],[[26816,34014],[-18,-287]],[[26798,33727],[-82,-139]],[[23585,33668],[6,-225]],[[22051,33894],[0,-488]],[[21204,33412],[0,219]],[[26716,33588],[0,-39]],[[26716,33549],[-113,-235]],[[22051,33041],[0,365]],[[24936,33938],[-60,-512],[-14,-170]],[[24862,33256],[-37,-264]],[[24825,32992],[-3,-13]],[[24822,32979],[-25,84]],[[28635,33989],[84,-187],[-27,-253]],[[28542,33974],[93,15]],[[26603,33314],[-81,-203]],[[26522,33111],[-2,6]],[[28434,33295],[-3,-15]],[[17974,32256],[138,-1299]],[[18112,30957],[-82,-401]],[[16298,32208],[-72,882],[-122,645]],[[23602,32994],[-11,449]],[[21204,33412],[-1,-817]],[[21203,32595],[0,-426]],[[28431,33280],[136,-511]],[[28600,33319],[-166,-24]],[[28692,33549],[42,-49]],[[28769,33444],[-93,-556],[-69,315],[-7,116]],[[26520,33117],[-19,-319]],[[26501,32798],[-74,-159]],[[24816,32970],[-19,93]],[[23602,32994],[0,-32]],[[22051,33041],[0,-446]],[[27130,32590],[-29,6]],[[27101,32596],[-27,6]],[[27253,32559],[-11,1]],[[27242,32560],[-112,30]],[[26785,32306],[-28,-50]],[[27389,32256],[-18,140]],[[27371,32396],[-36,134]],[[22051,32313],[0,282]],[[26967,32610],[-62,-86]],[[25504,32261],[-107,4]],[[25610,32253],[-106,8]],[[26236,32231],[-80,-4]],[[26156,32227],[-28,-3]],[[26128,32224],[-30,-1]],[[25719,32238],[-105,15]],[[25614,32253],[-4,0]],[[23598,32131],[4,828]],[[23602,32959],[0,3]],[[24816,32970],[-27,-496],[-38,-228]],[[24751,32246],[1,-252]],[[24752,31994],[-29,-50]],[[25175,32246],[-10,0]],[[25165,32246],[-54,-2]],[[25111,32244],[-52,0]],[[26905,32524],[-52,-143]],[[26853,32381],[-37,-23]],[[26816,32358],[-31,-52]],[[25397,32265],[-59,-19]],[[25338,32246],[-45,0]],[[25293,32246],[-5,0]],[[27335,32530],[-82,29]],[[28426,32387],[121,-324]],[[28476,32416],[-54,-29]],[[24936,32246],[-22,-2]],[[24914,32244],[-163,2]],[[27074,32602],[-68,17]],[[27006,32619],[-39,-9]],[[25059,32244],[-43,-1]],[[25016,32243],[-80,3]],[[25288,32246],[-113,0]],[[23598,32131],[-2,-381]],[[23596,31750],[-2,-412]],[[25863,32238],[-130,0]],[[25733,32238],[-14,0]],[[25989,32233],[-125,5]],[[25864,32238],[-1,0]],[[26292,32232],[-10,-1]],[[26282,32231],[-46,0]],[[26757,32256],[-104,-15]],[[28567,32769],[21,-236],[-112,-117]],[[26098,32223],[-37,3]],[[26061,32226],[-72,7]],[[26507,32231],[-35,0]],[[26472,32231],[-53,2]],[[26419,32233],[8,406]],[[26419,32233],[-83,0]],[[26336,32233],[-44,-1]],[[28422,32387],[4,0]],[[27643,31895],[-109,13]],[[27534,31908],[-68,6]],[[27466,31914],[-77,342]],[[21203,31783],[0,386]],[[22051,32313],[0,-531]],[[27710,31890],[-67,5]],[[26653,32241],[-19,0]],[[26634,32241],[-108,-10]],[[26526,32231],[-19,0]],[[28596,31771],[1,-6]],[[28597,31765],[0,-3]],[[28597,31762],[-51,125],[-130,-68]],[[28416,31819],[0,-1]],[[28547,32063],[63,79],[-14,-371]],[[16447,30195],[0,0]],[[16544,30316],[0,0]],[[16625,31089],[-228,180],[-87,448],[-12,491]],[[26790,31290],[-17,21]],[[26773,31311],[-15,81]],[[26758,31392],[-66,275]],[[26692,31667],[1,5]],[[26693,31672],[-4,53]],[[26689,31725],[68,531]],[[27773,31565],[-63,325]],[[22095,31335],[-43,101]],[[22052,31436],[0,0]],[[22052,31436],[-1,346]],[[25367,32054],[-29,192]],[[25354,31476],[-3,-221]],[[25367,32054],[-13,-578]],[[26061,32226],[7,-232]],[[28416,31818],[0,1]],[[28416,31819],[-53,-450],[-48,-156]],[[26081,31553],[-13,441]],[[26083,31488],[-2,65]],[[27882,30949],[-1,3]],[[27881,30952],[-105,597]],[[27776,31549],[-3,16]],[[21203,31783],[0,-808]],[[21203,30975],[0,-20]],[[24723,31944],[-48,-358]],[[16772,30477],[-147,612]],[[24678,31369],[-3,217]],[[26083,31488],[4,-119]],[[22271,31020],[-74,109]],[[22197,31129],[0,1]],[[22197,31130],[-102,205]],[[16917,28163],[0,0]],[[16946,29088],[0,0]],[[17003,29918],[0,12]],[[17003,29930],[-3,11]],[[17e3,29941],[0,-8]],[[17e3,29933],[-26,23]],[[16974,29956],[-14,-67]],[[16960,29889],[-75,574],[-113,14]],[[26859,30781],[-9,150]],[[26850,30931],[-60,359]],[[28315,31213],[-62,-271]],[[28253,30942],[0,-3]],[[23592,30746],[2,592]],[[24678,31369],[-78,-590],[-29,-164]],[[24571,30615],[0,-1]],[[22438,30684],[-95,104]],[[22343,30788],[-72,232]],[[21203,30955],[-1,-888]],[[21202,30067],[-2,-474]],[[26101,30925],[-14,444]],[[26113,30543],[-12,382]],[[19529,28920],[0,1060]],[[25346,30990],[5,265]],[[26113,30543],[6,-217]],[[22570,30659],[-80,-112]],[[22490,30547],[-52,137]],[[23592,30746],[-2,-464]],[[23590,30282],[0,-1]],[[23590,30281],[-3,-562]],[[23587,29719],[-72,121]],[[23515,29840],[-115,435]],[[27999,30290],[-117,659]],[[26900,30419],[-41,362]],[[25346,30990],[-9,-437]],[[28253,30939],[6,1]],[[28260,30934],[-41,-278]],[[28219,30656],[-27,96]],[[28192,30752],[-167,-607]],[[28025,30145],[-4,18]],[[28021,30163],[-1,7]],[[28020,30170],[-21,120]],[[25336,30501],[1,52]],[[18007,28580],[-60,520],[29,244]],[[17976,29344],[53,1100],[1,112]],[[28020,30170],[-119,-574]],[[22730,30207],[-116,-19]],[[22614,30188],[-44,471]],[[26900,30419],[8,-106]],[[23001,30197],[-96,111]],[[23232,30157],[-24,-63]],[[23208,30094],[-148,-212]],[[23060,29882],[-59,315]],[[23400,30275],[-43,-109]],[[23357,30166],[-125,-9]],[[24499,29515],[-5,61]],[[24494,29576],[68,417],[24,446],[-15,175]],[[26122,30210],[-3,116]],[[25336,30501],[-11,-583]],[[27034,29642],[-33,180]],[[27001,29822],[-92,488]],[[26909,30310],[-1,3]],[[22905,30308],[-3,-11]],[[22902,30297],[-69,-352],[-81,291]],[[22752,30236],[-22,-29]],[[25317,29524],[8,394]],[[27062,29521],[-4,24]],[[27058,29545],[-24,97]],[[26122,30210],[14,-464]],[[26136,29746],[9,-316]],[[23710,29558],[-123,161]],[[17149,29251],[-81,408]],[[17068,29659],[-1,5]],[[17067,29664],[-10,15]],[[17057,29679],[0,-3]],[[17057,29676],[-54,242]],[[27134,28900],[-27,91]],[[27107,28991],[-45,530]],[[21199,29253],[1,340]],[[26148,29328],[-3,102]],[[27901,29596],[-50,-711],[-61,-15]],[[27790,28870],[0,0]],[[19529,28920],[0,-803]],[[19529,28117],[0,-654]],[[25317,29524],[-8,-457]],[[23710,29558],[1,-522]],[[23777,28566],[-3,0]],[[23774,28566],[-63,0]],[[23711,28566],[0,470]],[[21199,29253],[-2,-798]],[[21197,28455],[0,-813]],[[21197,27642],[0,-810]],[[21197,26832],[-73,-163]],[[21124,26669],[-110,0]],[[24499,29515],[7,-722],[6,-241]],[[24512,28552],[0,-13]],[[24512,28539],[-27,2]],[[24485,28541],[-48,0]],[[24437,28541],[-7,0]],[[25299,28515],[10,552]],[[27680,28409],[-43,-45]],[[17564,27821],[-328,418],[-87,1012]],[[26148,29328],[16,-556]],[[26164,28772],[1,-40]],[[27173,28708],[-39,192]],[[23865,28565],[-9,0]],[[23856,28565],[-79,1]],[[18336,26742],[-386,1265]],[[17950,28007],[57,573]],[[24004,28563],[-69,2]],[[23935,28565],[-70,0]],[[17950,28007],[-386,-186]],[[24430,28541],[-169,5]],[[20700,26669],[-19,0]],[[20681,26669],[-301,5]],[[20380,26674],[-106,-2]],[[24261,28546],[-183,11]],[[24078,28557],[-74,6]],[[23711,28566],[0,-257]],[[27173,28708],[21,-92]],[[25299,28515],[-2,-116]],[[26179,28289],[-14,443]],[[27506,27795],[-43,-73]],[[27232,28056],[-38,560]],[[26179,28289],[13,-230]],[[20274,26672],[-42,-405]],[[20232,26267],[-214,0]],[[27232,28056],[4,-279]],[[27266,27706],[-30,71]],[[23711,27034],[0,365]],[[23711,27399],[0,560]],[[23711,27959],[0,350]],[[24546,27741],[-28,477],[-6,321]],[[24546,27741],[-7,-25]],[[25277,27244],[9,502]],[[25286,27746],[11,653]],[[21014,26669],[-72,0]],[[20942,26669],[-12,0]],[[20930,26669],[-230,0]],[[26208,27801],[-16,258]],[[19764,26267],[-235,-841]],[[19529,25426],[0,2037]],[[27391,27734],[0,-210]],[[27390,27442],[2,-9]],[[27390,27414],[-6,-39]],[[27359,26910],[6,8]],[[27365,26918],[-4,-100]],[[27361,26818],[-42,56]],[[27319,26874],[-7,14]],[[27312,26888],[-8,203]],[[27304,27091],[-38,614]],[[27266,27705],[0,1]],[[26208,27801],[22,-182]],[[27394,26872],[0,0]],[[27381,27086],[-9,-128]],[[27372,26958],[0,-3]],[[27372,26955],[2,-9]],[[27374,26946],[0,-12]],[[27374,26934],[-5,-4]],[[27369,26930],[-4,-12]],[[27365,26918],[-6,-8]],[[27384,27375],[-3,-289]],[[27447,27145],[0,0]],[[27436,27222],[0,0]],[[27463,27722],[-6,-37]],[[27457,27685],[-66,49]],[[24549,26882],[0,12]],[[24549,26894],[-5,6]],[[24544,26900],[-20,161]],[[24524,27061],[33,302],[-18,353]],[[26238,27372],[-8,247]],[[20018,26267],[-254,0]],[[25277,27244],[-3,-152]],[[26251,27098],[-13,274]],[[18884,25600],[-548,1142]],[[26251,27098],[-37,-311]],[[19529,25426],[-392,0]],[[23711,27034],[7,-402]],[[23756,26379],[-38,253]],[[25265,26107],[-3,365]],[[25262,26472],[12,620]],[[24549,26882],[-60,-455]],[[24489,26427],[-19,-223]],[[24470,26204],[-17,-29]],[[27280,26467],[-25,-152]],[[27306,26150],[0,0]],[[27349,26782],[2,-6]],[[27351,26775],[0,1]],[[27351,26775],[4,-31]],[[27355,26744],[-23,-10]],[[27332,26734],[17,48]],[[27312,26888],[31,-85]],[[27343,26803],[-11,-69]],[[27332,26734],[-52,-267]],[[26211,26653],[3,134]],[[26211,26653],[-20,-392]],[[26191,26261],[4,-34]],[[27292,26017],[0,-3]],[[27292,26017],[0,-3]],[[27282,26175],[-36,-149]],[[27255,26315],[27,-140]],[[20664,24117],[-162,673],[-122,739]],[[20380,25529],[-148,738]],[[23756,26379],[13,-481]],[[25265,26107],[3,-489]],[[23847,25152],[-13,-16]],[[23834,25136],[-65,762]],[[26217,25770],[-22,457]],[[26217,25770],[-11,-388]],[[24453,26175],[-39,-381],[-38,-520],[18,-110]],[[24394,25164],[-13,-357]],[[19137,25426],[-253,174]],[[25274,25021],[-6,597]],[[27267,25513],[0,0]],[[27246,26026],[22,-179]],[[27268,25847],[-55,-393]],[[27213,25454],[-1,-15]],[[25899,24796],[-56,0]],[[25843,24796],[-83,2]],[[26222,24948],[-16,434]],[[27006,24004],[-57,25]],[[27254,25381],[-16,11],[14,-13]],[[27212,25439],[0,-5]],[[27220,25420],[3,3]],[[27223,25423],[-3,-308]],[[27220,25115],[4,-151]],[[27224,24964],[1,-25]],[[27225,24939],[-35,18]],[[25274,25021],[2,-216]],[[24913,24811],[-30,0]],[[24542,24805],[-33,0]],[[24509,24805],[-128,2]],[[23846,24564],[1,588]],[[24684,24807],[-6,0]],[[24678,24807],[-71,0]],[[24607,24807],[-65,-2]],[[24764,24808],[-24,0]],[[24740,24808],[-56,-1]],[[24883,24811],[-119,-3]],[[25506,24802],[46,-954]],[[25552,23848],[-113,-480],[-40,902]],[[25399,24270],[-10,63]],[[25389,24375],[5,36]],[[26222,24948],[7,-140]],[[26229,24808],[-135,-6]],[[25760,24798],[-27,4]],[[25733,24802],[-106,3]],[[25627,24805],[-121,-3]],[[26094,24802],[-3,0]],[[26091,24802],[-149,-7]],[[25942,24795],[-43,1]],[[23846,24564],[-51,-870]],[[23795,23694],[9,-293]],[[26949,24029],[-11,5]],[[26938,24034],[-35,13]],[[25394,24411],[-110,-744]],[[25284,23667],[-5,648]],[[25279,24315],[-3,490]],[[27211,24430],[0,0]],[[27190,24957],[22,-103]],[[27212,24854],[-36,-569]],[[27176,24285],[-1,-3]],[[27175,24282],[-83,206]],[[26403,24230],[-135,41]],[[26485,24204],[-55,17]],[[26430,24221],[-27,9]],[[26688,24133],[-71,26]],[[26617,24159],[-37,13]],[[26580,24172],[-73,25]],[[26507,24197],[-22,7]],[[26268,24271],[-39,537]],[[27092,24488],[-40,-867]],[[27052,23621],[-46,383]],[[26749,24108],[-48,18]],[[26692,24131],[-4,2]],[[24923,23801],[-42,386]],[[24881,24187],[32,624]],[[25623,23959],[-1,2]],[[25622,23961],[-68,-267],[-2,154]],[[25729,23702],[-75,79],[-31,178]],[[25841,23791],[-112,-89]],[[25953,23447],[-112,205]],[[25841,23687],[0,104]],[[26903,24047],[-29,12]],[[26874,24059],[-125,49]],[[27175,24282],[1,3]],[[27176,24285],[6,-15]],[[27182,24270],[23,0]],[[27205,24270],[-28,-281]],[[25284,23667],[-47,-34]],[[25237,23633],[-89,107]],[[24923,23801],[47,-522]],[[24970,23279],[-29,-45]],[[25148,23740],[-127,-99]],[[26511,23122],[-24,8]],[[21403,22720],[-156,-987],[-152,-563],[-101,404]],[[21560,22539],[-157,181]],[[26701,24126],[-9,5]],[[25021,23641],[0,-2]],[[25021,23639],[-51,-360]],[[20994,21574],[-152,479],[-102,1013],[-46,832],[-30,219]],[[27222,23603],[4,-74]],[[27226,23529],[1,-43]],[[27227,23486],[0,-3]],[[27227,23483],[-2,-67]],[[27180,23180],[-5,490],[47,-67]],[[27225,23416],[2,67]],[[27227,23483],[0,3]],[[27227,23486],[-1,43]],[[27226,23529],[-4,74]],[[27222,23603],[17,-186]],[[27177,23989],[0,0]],[[27177,23989],[16,-85]],[[27193,23904],[1,-24]],[[27194,23880],[1,2]],[[27195,23882],[6,-2]],[[27201,23880],[1,-3]],[[27202,23877],[0,0]],[[27202,23877],[0,0]],[[27202,23877],[1,8]],[[27203,23885],[1,-5]],[[27204,23880],[2,64]],[[27206,23944],[10,-81]],[[27216,23863],[-2,-148]],[[27214,23715],[-62,-414]],[[26122,22808],[-1,194]],[[26121,23015],[0,29]],[[26121,23044],[-95,230],[-73,173]],[[23800,23042],[4,359]],[[26678,22333],[-167,789]],[[26487,23130],[-104,-234]],[[21830,21535],[-128,716],[-142,288]],[[27281,22397],[0,0]],[[27243,23122],[0,-12]],[[27243,23110],[34,-710]],[[27277,22400],[4,-22]],[[27281,22378],[1,-11]],[[27282,22367],[0,-3]],[[27282,22364],[1,-31]],[[27282,22333],[-6,-21]],[[27198,22498],[-18,682]],[[27225,23416],[0,-5]],[[27225,23411],[18,-289]],[[27243,23110],[0,12]],[[27243,23122],[-18,289]],[[27225,23411],[0,5]],[[27239,23417],[4,-307]],[[23800,23042],[-37,-347]],[[24843,21940],[-54,417]],[[26217,22536],[-1,-5]],[[26169,22376],[-47,432]],[[26121,23002],[0,13]],[[24941,23234],[-65,-283]],[[24875,22939],[0,0]],[[27152,23301],[24,-654]],[[23763,22695],[4,-322]],[[23767,22373],[-143,-244]],[[23464,22353],[-25,-248]],[[24998,22831],[5,-70]],[[25003,22761],[16,-209]],[[25019,22552],[-27,-70]],[[24992,22482],[-36,-158]],[[24956,22324],[1,-1]],[[24957,22323],[6,-23]],[[24960,22312],[-1,0]],[[24876,22951],[0,-3]],[[24876,22948],[-1,-9]],[[24875,22939],[79,-12],[44,-96]],[[24288,22636],[-96,-558],[-84,85]],[[24329,21970],[0,0]],[[24320,22458],[-32,178]],[[24108,22163],[-341,210]],[[26195,22254],[0,0]],[[26216,22531],[-47,-155]],[[26383,22896],[-113,-331],[-53,-29]],[[24498,22178],[-115,125],[-63,155]],[[24824,21885],[-1,-197]],[[24823,21688],[-9,-46]],[[24814,21642],[5,-172]],[[24812,21395],[-49,-51]],[[24763,21344],[-40,151]],[[24723,21521],[0,11]],[[24724,21563],[2,9]],[[24789,22357],[35,-472]],[[24930,21618],[0,0]],[[24936,22296],[-1,-48]],[[24935,22248],[-19,-58]],[[24916,22190],[87,-374],[99,-513],[-99,-349],[-26,734],[-88,173]],[[24889,21861],[-16,57]],[[24873,21918],[-30,22]],[[24959,22312],[-23,-16]],[[23624,22129],[-5,-12]],[[23592,22122],[-94,382],[-34,-151]],[[27185,21734],[-15,654],[28,110]],[[27176,22647],[-22,-452],[4,-419]],[[24520,21484],[-10,206],[10,-206]],[[24676,21534],[-9,-59]],[[24667,21475],[-8,24]],[[24659,21499],[-20,-170]],[[24639,21329],[-35,9]],[[24604,21338],[-60,97],[-46,743]],[[24726,21572],[-50,-38]],[[27276,22312],[12,-92]],[[27288,22220],[7,-92]],[[27295,22128],[19,-249]],[[27285,22333],[31,-453]],[[27314,21879],[-19,249]],[[27295,22128],[-7,92]],[[27288,22220],[-4,107]],[[27284,22327],[0,6]],[[21864,21242],[-34,293]],[[23410,21245],[0,0]],[[23471,21642],[-43,-185]],[[23439,22105],[32,-463]],[[23619,22117],[-27,5]],[[23428,21457],[-94,-622],[-31,-76]],[[26855,21078],[3,53]],[[26858,21131],[-92,361]],[[26766,21492],[-9,198]],[[27158,21776],[8,-176]],[[27407,20820],[0,0]],[[27354,21322],[50,-627]],[[27390,20695],[-4,0]],[[27190,21440],[-1,12]],[[27189,21452],[-4,282]],[[27314,21879],[40,-557]],[[27189,21452],[1,-12]],[[27166,21600],[23,-148]],[[23056,20479],[-10,61]],[[23006,20536],[-1,-8]],[[23005,20528],[-22,36]],[[22982,20563],[-1,3]],[[23153,20311],[-38,241],[-40,-132]],[[23303,20759],[-127,-372],[-23,-76]],[[22981,20566],[1,-38]],[[21992,19589],[-82,1012],[-46,641]],[[26889,20516],[-9,134]],[[26880,20650],[4,230]],[[26884,20880],[0,-6]],[[26884,20874],[3,-11]],[[26887,20863],[1,5]],[[26888,20868],[-13,56]],[[26875,20924],[-19,157]],[[27386,20695],[98,-1780]],[[27404,20695],[13,0]],[[27419,20695],[40,-400],[-24,-392]],[[27435,19903],[-19,662],[-26,130]],[[22999,19753],[-68,-364]],[[22933,19426],[66,327]],[[22982,20528],[4,-700],[-39,228]],[[23012,20417],[-7,111]],[[23005,20528],[1,8]],[[23046,20540],[-34,-123]],[[26879,20029],[10,487]],[[22947,20056],[-2,-239]],[[22882,19600],[-63,-260]],[[26847,19544],[32,485]],[[22874,18926],[0,0]],[[22819,19340],[16,-164]],[[22849,19042],[0,2]],[[22835,19167],[14,-125]],[[22931,19572],[-49,28]],[[22945,19817],[-2,-81]],[[22940,19633],[-9,-61]],[[22203,17855],[-75,740],[-101,901],[-35,93]],[[22835,19176],[0,-9]],[[22849,19044],[0,-2]],[[22847,19026],[-97,-101]],[[26884,19257],[-25,-498]],[[26859,18759],[-12,785]],[[26912,18563],[21,330],[-49,364]],[[22840,18709],[0,0]],[[22795,18697],[1,-292]],[[22750,18925],[45,-228]],[[27484,18915],[39,-516]],[[26908,18086],[4,477]],[[22786,17879],[32,565]],[[22825,18434],[-35,-555]],[[22796,18405],[-79,-513],[-43,-10]],[[22674,17882],[-4,7]],[[27523,18399],[35,-548]],[[27544,17791],[0,-40]],[[27544,17751],[0,-6]],[[26995,17371],[0,-12]],[[26967,17261],[-31,320]],[[26936,17581],[-1,12]],[[26935,17593],[0,3]],[[26935,17596],[-9,143]],[[26926,17739],[-8,94]],[[26918,17833],[-10,253]],[[22282,16564],[-79,1291]],[[22801,16709],[-14,138]],[[22787,16847],[-6,304]],[[22781,17151],[3,18]],[[22784,17169],[17,-460]],[[22784,17169],[-1,646]],[[22783,17815],[3,64]],[[22790,17879],[-6,-710]],[[22761,17577],[-29,-264]],[[22732,17313],[31,-697]],[[22670,17889],[4,-7]],[[22674,17882],[87,-305]],[[27544,17745],[37,-149]],[[27581,17596],[0,0]],[[27581,17596],[18,-289]],[[27593,17307],[-1,0]],[[27588,17307],[0,0]],[[27588,17307],[-2,0]],[[26995,17359],[-28,-98]],[[27049,16934],[-54,437]],[[27586,17307],[16,-1210]],[[27015,16397],[0,0]],[[27109,16114],[-54,365],[-6,455]],[[22445,15979],[-108,267],[-55,318]],[[22647,15629],[-202,350]],[[22816,16443],[-3,13]],[[22813,16456],[-19,86]],[[22794,16542],[7,74]],[[22807,16616],[9,-173]],[[22768,16458],[0,-137]],[[22768,16321],[-7,-58]],[[22761,16263],[17,0]],[[22763,16616],[5,-158]],[[27249,15133],[-46,155]],[[27203,15290],[0,-2]],[[27203,15290],[0,7]],[[27203,15297],[-21,1]],[[27182,15298],[-4,48]],[[27178,15346],[-1,5]],[[27177,15351],[-4,13]],[[27173,15364],[0,-1]],[[27173,15363],[-1,-15]],[[27172,15348],[0,-9]],[[27172,15339],[-10,55]],[[27162,15394],[-34,199]],[[27128,15593],[0,29]],[[27128,15622],[-1,7]],[[27127,15629],[-5,48]],[[27122,15677],[0,-3]],[[27122,15674],[-13,440]],[[22828,15617],[-19,-207],[-102,140],[-60,79]],[[22778,16263],[50,-646]],[[27602,16097],[-12,-644]],[[27588,15313],[-60,-1055],[-25,-181]],[[27502,14077],[-16,-43]],[[27486,14028],[0,-3]],[[27486,14025],[-102,-58]],[[27590,15453],[-2,-140]],[[27521,13940],[-4,-28]],[[27517,13912],[-1,-7]],[[27516,13905],[0,-3]],[[27516,13902],[-5,-43]],[[27511,13859],[-3,-27]],[[27508,13832],[-3,64]],[[27505,13896],[10,83]],[[27515,13979],[0,2]],[[27515,13981],[0,1]],[[27515,13982],[0,17]],[[27515,13999],[6,-59]],[[27384,13967],[-82,277],[17,12]],[[27319,14256],[1,-7]],[[27320,14249],[6,-95]],[[27326,14154],[0,-18]],[[27326,14136],[0,-14]],[[27326,14122],[2,-18]],[[27328,14104],[0,-6]],[[27328,14098],[16,-58]],[[27344,14040],[-10,197]],[[27334,14237],[-12,50]],[[27322,14287],[-2,0]],[[27320,14287],[-4,15]],[[27316,14302],[-5,404]],[[27311,14706],[0,-4]],[[27311,14702],[2,-7]],[[27313,14695],[0,-16]],[[27313,14679],[18,-34]],[[27331,14645],[0,4]],[[27331,14649],[0,5]],[[27331,14654],[-18,82]],[[27313,14736],[-9,-11]],[[27304,14725],[-30,224]],[[27274,14949],[10,40]],[[27284,14989],[1,4]],[[27285,14993],[0,2]],[[27285,14995],[-20,3]],[[27265,14998],[-16,135]],[[26757,21690],[-79,643]],[[23354,58316],[139,550],[110,-1105]],[[24957,56455],[-324,-694],[-81,-301]],[[24549,56809],[324,-378],[84,24]],[[24223,53962],[7,61]],[[24230,54023],[175,117]],[[24405,54140],[162,349],[32,-468],[-20,-199]],[[24684,53819],[-105,3]],[[24619,54132],[0,0]],[[27637,28364],[-4,-462]],[[27633,27902],[-92,-111],[12,-133]],[[27527,27594],[-21,201]],[[27690,28249],[2,-64]],[[27692,28185],[-12,224]],[[27790,28870],[-7,-299]],[[27783,28571],[-93,-322]],[[6538,2301],[-58,813],[-2,1446],[122,-47],[126,-676],[-42,-874],[-146,-662]],[[5489,7808],[-81,498],[122,-55],[-41,-443]],[[6194,6504],[-45,-122],[18,148]],[[6181,5693],[36,57],[-36,-57]],[[6263,5263],[0,0]],[[6344,5400],[-88,696],[124,-23],[55,-530],[-91,-143]],[[5945,6665],[-86,608],[131,-516],[-45,-92]],[[5278,7638],[15,167],[-15,-167]],[[99849,62690],[-75,447],[75,-447]],[[778,63398],[0,0]],[[833,63475],[0,0]],[[886,63617],[0,0]],[[344,63153],[-79,572],[105,-215],[-26,-357]],[[540,63363],[0,206],[0,-206]],[[99643,63716],[0,0]],[[614,63140],[52,393],[81,99],[-102,-407],[-31,-85]],[[99953,63664],[43,190],[-43,-190]],[[857,63843],[0,0]],[[99312,63579],[70,549],[-43,-354],[-27,-195]],[[1574,63946],[-110,220],[208,-146],[-98,-74]],[[1841,64363],[65,153],[-65,-153]],[[1129,63904],[161,256],[100,524],[21,-543],[-157,-194],[-125,-43]],[[98292,64565],[21,3],[-21,-3]],[[2329,64909],[0,0]],[[2627,65344],[3,209],[-3,-209]],[[98084,65292],[-77,334],[133,126],[19,-377],[-75,-83]],[[2802,65454],[207,800],[94,564],[-125,-948],[-176,-416]],[[3604,67078],[0,0]],[[3201,66211],[50,385],[88,296],[43,279],[91,488],[134,-161],[-86,-521],[-320,-766]],[[2663,72349],[0,0]],[[2465,73417],[0,0]],[[3929,67750],[0,0]],[[3695,67690],[41,208],[-41,-208]],[[3784,67824],[42,197],[-42,-197]],[[4605,68312],[0,0]],[[4689,69168],[0,0]],[[4039,68354],[24,902],[287,332],[28,-631],[-182,-176],[-157,-427]],[[5487,69379],[0,0]],[[4849,69589],[0,0]],[[5436,69558],[0,0]],[[5271,69235],[67,345],[-67,-345]],[[5241,69942],[0,0]],[[5106,69709],[101,128],[-101,-128]],[[5293,70190],[0,0]],[[5642,72970],[0,-127]],[[5456,70676],[-115,328],[-177,-435],[-107,-262],[-101,260],[-91,-320],[-105,-623],[-129,79],[-36,-209],[-152,239],[-27,-293],[115,548],[91,375],[413,879],[79,-404],[148,76],[-22,978],[402,1095]],[[13205,69728],[0,0]],[[13355,69846],[-28,487],[-115,332],[131,633],[12,-1452]],[[6096,76208],[78,519]],[[5035,76091],[0,0]],[[5035,76603],[-74,-161]],[[5589,76635],[89,-511]],[[5678,76124],[-175,368],[-112,85],[-127,337],[-165,-226]],[[5099,76688],[-54,-52]],[[6125,76674],[-331,-247],[-75,346],[-130,-138]],[[6115,72321],[0,0]],[[6349,73509],[-124,-473],[-111,-258],[-73,-264],[-184,-179],[-1,-127],[-21,-313],[-109,-391],[-75,-146],[-152,-400],[-43,-282]],[[5642,72843],[219,1026],[142,501],[54,1023],[39,815]],[[6174,76727],[-49,-53]],[[6561,70864],[0,0]],[[6992,72274],[0,0]],[[6794,72099],[0,0]],[[6984,72435],[0,0]],[[7199,73194],[34,190],[-34,-190]],[[7462,74857],[0,0]],[[7226,74697],[0,0]],[[6968,72731],[69,699],[-95,81],[33,-64],[-117,106],[-27,608],[235,-355],[26,659],[33,299],[94,111],[121,39],[94,-42],[86,-512],[-204,-244],[-35,-272],[-158,-459],[-155,-654]],[[7297,75038],[-38,200],[38,-200]],[[7476,75855],[65,-494],[-196,-167],[-108,282],[108,111],[112,66],[19,202]],[[7381,76133],[0,0]],[[7214,76666],[-22,-1]],[[7192,76665],[-175,-684],[-52,-323],[-117,-537],[-200,-497],[-117,-218],[-120,-316],[-62,-581]],[[12366,75252],[5,175]],[[12371,75427],[0,-3]],[[12381,75492],[103,-178]],[[12498,75431],[0,0]],[[12484,76871],[267,-997],[57,-517]],[[12715,74938],[-33,-160]],[[12655,74703],[-69,962],[-69,-212],[-203,853],[0,575]],[[12311,76882],[-61,4]],[[12500,71022],[0,0]],[[13038,71188],[-70,608],[98,-87],[-28,-521]],[[12892,71782],[71,296],[-71,-296]],[[13083,71690],[12,293],[-12,-293]],[[13006,72478],[0,0]],[[12908,72271],[-2,556],[2,-556]],[[12615,72742],[-8,-441],[-33,-793],[-77,498],[-9,396],[28,684],[99,-344]],[[12660,72704],[84,521],[112,-753],[-24,-147],[-158,-160],[-14,539]],[[13033,73861],[67,-885],[295,-875]],[[13073,70867],[127,867],[-165,610],[-114,565],[-115,629],[-93,4]],[[11922,74760],[-12,-1]],[[11903,74758],[110,9]],[[11893,74787],[0,0]],[[12713,73542],[38,429],[-81,403],[26,263],[2,222]],[[12708,74912],[7,26]],[[12808,75357],[225,-1496]],[[12484,75314],[2,2]],[[12529,75370],[57,-872],[-100,567],[62,-912],[-13,-553],[-99,201],[-62,754],[-8,697]],[[12108,75160],[-28,-110]],[[12080,75050],[126,246]],[[12206,75296],[31,-310],[-188,89]],[[12015,74776],[-60,586],[182,108],[-29,-310]],[[12371,75424],[10,68]],[[12062,75988],[-32,784],[-78,-298],[-169,378],[83,-342],[46,-884],[-145,90],[-288,850]],[[11595,76760],[289,658]],[[12161,76003],[-99,-15]],[[12201,77569],[-9,22]],[[12099,78291],[172,-561],[19,-151]],[[12314,76881],[-3,1]],[[12250,76886],[-49,683]],[[12290,77579],[153,-400],[41,-308]],[[12192,77591],[-5,-716],[86,-1362],[-112,490]],[[11884,77418],[38,633],[177,240]],[[12070,73189],[-7,651],[7,-651]],[[12285,72715],[-93,388],[-43,549],[26,596],[167,-274],[60,-1268],[-9,-883]],[[12393,71662],[-108,1053]],[[11934,74683],[-12,77]],[[12013,74767],[2,9]],[[12049,75075],[220,-449],[4,-547],[-126,16],[-213,588]],[[4001,83653],[0,0]],[[4259,83451],[-234,958],[203,-704],[31,-254]],[[4192,84190],[-67,628],[157,-398],[-90,-230]],[[3903,80509],[38,343],[-153,-28],[-95,611],[-68,401],[149,393],[155,1298],[337,-141],[-74,789],[213,267],[210,447]],[[3609,78331],[-256,445],[77,525],[208,100],[140,-781],[-169,-289]],[[1910,79346],[-184,574],[184,-574]],[[4013,79338],[-125,385],[91,689],[184,-355],[-95,-543],[-55,-176]],[[4902,77138],[-111,505],[-40,940],[-64,908],[-72,-97],[-51,-610],[-325,-353],[-126,507],[-38,874],[167,449],[141,-114],[-67,257],[-95,340],[-184,-211],[-134,-24]],[[5045,76636],[-10,-33]],[[4961,76442],[-203,-214],[79,631],[65,279]],[[8332,81549],[-208,-449],[-275,-85]],[[8387,80363],[-287,581],[232,605]],[[9624,78418],[0,0]],[[8666,78680],[0,0]],[[8662,78874],[0,0]],[[8602,78821],[0,0]],[[8713,78358],[259,1026],[-139,-823],[-120,-203]],[[9058,79230],[7,463],[84,-259],[-91,-204]],[[8702,79277],[0,0]],[[8492,79649],[195,-79],[-95,-558],[-102,-363]],[[9173,79634],[0,0]],[[8697,80017],[0,0]],[[8630,79964],[0,0]],[[8494,80038],[105,161],[-105,-475]],[[8668,80254],[0,0]],[[8747,80338],[8,836],[-187,-517],[-29,-359],[-45,-148]],[[10627,82337],[0,-2812]],[[9823,78789],[-225,511],[-84,480],[-205,-102],[-51,437],[-112,111],[24,227],[-108,355],[-75,-222],[-175,-124],[-65,-124]],[[7140,77530],[0,0]],[[7918,77470],[0,0]],[[7543,79429],[0,0]],[[8494,80150],[0,-112]],[[8494,79724],[-2,-75]],[[8490,78649],[-168,-14],[-100,-30],[-87,-455],[-95,-12],[-126,-413],[-182,-329],[-70,443],[123,277],[-175,159],[125,1195],[90,792],[278,233],[284,-132]],[[7849,81015],[-203,-855],[-148,-630],[-94,-637],[-197,-449],[-24,-218],[-120,-300],[-102,-962],[231,-176],[7,-124]],[[11073,77696],[-82,343]],[[10991,78039],[52,861],[-540,-320],[22,268],[-635,15],[-67,-74]],[[10627,79525],[285,-390],[258,-349],[432,-1879],[-7,-147]],[[11479,76566],[-145,717],[-261,413]],[[10627,94617],[0,-4941]],[[10627,89676],[0,-7339]],[[7949,98194],[0,0]],[[4758,97701],[370,402],[175,-96],[2,557],[311,274],[606,970],[194,-236],[17,-374],[344,250],[250,-395],[474,-101],[-106,-527],[387,-340],[310,131],[449,-119],[364,-405],[538,-298],[697,98],[384,-761],[103,-2114]],[[3841,93742],[-270,690],[566,984],[356,1130],[153,835],[227,476],[-115,-156]],[[4108,91048],[160,-570],[21,-388]],[[4289,90090],[385,-72],[228,394],[-97,219],[-200,911],[153,-374],[356,-517],[38,410],[-231,-116],[2,807],[-409,131],[-439,1287],[-234,572]],[[4620,85381],[0,0]],[[2649,84266],[-265,848],[-321,-46],[70,419],[336,171],[203,-604],[70,-329],[-93,-459]],[[5052,87977],[-187,-281],[-238,-465],[-182,218],[-113,-158],[-396,-240],[-408,675],[-24,608],[255,-141],[-71,188],[-416,469],[-52,574],[200,411],[349,342],[50,538],[289,333]],[[4615,84889],[121,292],[385,633],[-138,1144],[131,438],[-62,581]],[[12956,69029],[0,0]],[[13317,69219],[0,0]],[[12925,69473],[-21,387],[21,-387]],[[12930,68872],[-132,1072],[123,-767],[9,-305]],[[13247,69478],[75,326],[-75,-326]],[[12761,69871],[30,109],[-30,-109]],[[12684,69935],[12,183],[-12,-183]],[[12707,70286],[0,0]],[[12629,70305],[0,0]],[[12756,70325],[0,0]],[[12710,70782],[0,0]],[[12785,70929],[0,0]],[[12656,71166],[119,461],[-119,-461]],[[12877,71377],[0,5]],[[12877,71382],[120,-652],[9,-203],[84,-353],[38,-171],[14,-713],[-147,209],[-122,497],[-22,327],[-102,319],[33,987],[-50,326],[145,-578]],[[13062,70861],[11,6]],[[13395,72101],[178,-488],[119,-436],[-28,-1331],[-192,-647],[-82,655],[-85,1424],[-107,-283],[-136,-134]],[[31178,1304],[23,73]],[[31195,919],[-2,184]],[[31290,1513],[20,-8]],[[31284,522],[-34,-5]],[[31429,566],[-31,6]],[[31271,1506],[19,7]],[[31329,564],[-16,40]],[[31375,1499],[25,12]],[[31310,1505],[50,3]],[[31400,1511],[26,-5]],[[31513,1444],[13,14]],[[31493,1404],[0,0]],[[31492,1426],[1,-22]],[[31398,572],[-25,-14]],[[31426,1506],[10,-15]],[[31193,1103],[-11,55]],[[31250,517],[-36,-12]],[[31214,505],[-19,414]],[[31549,569],[-31,-3]],[[31201,1377],[0,2]],[[31201,1379],[15,182]],[[31313,604],[-27,-82]],[[31466,535],[-8,-54]],[[31458,481],[-29,85]],[[31257,1516],[14,-10]],[[31360,1508],[15,-9]],[[31493,1404],[20,40]],[[31504,544],[-38,-9]],[[31286,522],[-2,0]],[[31373,558],[-44,6]],[[31216,1561],[41,-45]],[[31580,736],[-15,-109]],[[31464,1471],[21,-4]],[[31837,1170],[0,0]],[[31885,1161],[0,0]],[[31593,1322],[22,-42]],[[31526,1458],[45,-64]],[[31565,627],[-16,-58]],[[31571,1394],[22,-72]],[[31618,992],[-22,-62]],[[31615,1280],[10,-145]],[[31625,1135],[-7,-143]],[[31596,930],[-16,-194]],[[31654,755],[0,0]],[[31830,0],[51,45],[-51,-45]],[[31436,1491],[28,-20]],[[12393,71823],[0,-161]],[[11910,74759],[-7,-1]],[[12486,75316],[43,54]],[[7199,76664],[15,2]],[[5642,72987],[0,-17]],[[12698,74859],[10,53]],[[12682,74778],[-19,-87]],[[12663,74691],[-8,12]],[[6167,6530],[27,-26]],[[31485,1467],[7,-41]],[[31518,566],[-14,-22]],[[31182,1158],[-4,146]],[[25389,24333],[0,42]],[[29700,43907],[2,-8]],[[27362,21240],[-8,82]],[[27354,21322],[-40,557]],[[27284,22333],[-2,31]],[[27282,22364],[0,3]],[[27282,22367],[-1,11]],[[27281,22378],[4,-45]],[[27316,21880],[46,-640]],[[27503,14077],[12,-78]],[[27515,13999],[0,-17]],[[27515,13982],[0,-3]],[[27515,13979],[-13,98]],[[27486,14034],[19,-138]],[[27505,13896],[-19,132]],[[26856,21081],[-1,-3]],[[25841,23652],[0,35]],[[27283,22333],[1,-6]],[[27284,22327],[-2,6]],[[27417,20695],[2,0]],[[27558,17851],[-14,-60]],[[27599,17307],[-6,0]],[[27592,17307],[-4,0]],[[27252,25379],[2,2]],[[27212,25434],[1,20]],[[27213,25454],[8,-22]],[[27221,25432],[-1,-12]],[[24963,22300],[-3,12]],[[24819,21470],[-7,-75]],[[24723,21495],[0,26]],[[24723,21532],[1,24]],[[24724,21556],[0,7]],[[30135,46090],[-18,-72]],[[30110,46013],[3,-39]],[[30179,45778],[12,-45]],[[28577,40083],[12,5]],[[28807,32602],[0,11]],[[28259,30940],[1,-6]],[[28903,40411],[-2,5]],[[29368,42670],[-8,46]],[[27553,27658],[-26,-64]],[[27391,27524],[-1,-82]],[[27392,27433],[-2,-19]],[[22801,16709],[6,-93]],[[22801,16616],[-7,140]],[[22794,16756],[7,-47]],[[22818,18444],[7,-10]],[[22931,19389],[2,37]],[[23075,20420],[-19,59]],[[22983,20564],[-1,-1]],[[22943,19736],[0,-10]],[[22943,19726],[0,-84]],[[22943,19642],[-3,-9]],[[22849,19042],[-2,-16]],[[28549,36663],[0,0]],[[28622,36237],[15,43]],[[28637,36280],[-6,-94]],[[28371,36551],[17,-30]],[[28624,35785],[5,-105]],[[28625,35633],[31,31]],[[28656,35664],[13,4]],[[28446,39406],[0,-2]],[[28446,39404],[-1,-95]]]},unemployment2:[{id:1,state:"Alabama",rate:6.45},{id:2,state:"Alaska",rate:7.45},{id:4,state:"Arizona",rate:8.53},{id:5,state:"Arkansas",rate:4.5},{id:6,state:"California",rate:6.53},{id:8,state:"Colorado",rate:3.3},{id:9,state:"Connecticut",rate:5.36},{id:10,state:"Delaware",rate:4.43},{id:11,state:"District of Columbia",rate:6.5},{id:12,state:"Florida",rate:5.2},{id:13,state:"Georgia",rate:5.91},{id:15,state:"Hawaii",rate:3.48},{id:16,state:"Idaho",rate:3.84},{id:17,state:"Illinois",rate:5.76},{id:18,state:"Indiana",rate:4.6},{id:19,state:"Iowa",rate:4.1},{id:20,state:"Kansas",rate:4.44},{id:21,state:"Kentucky",rate:5.96},{id:22,state:"Louisiana",rate:7.62},{id:23,state:"Maine",rate:3.64},{id:24,state:"Maryland",rate:4.82},{id:25,state:"Massachusetts",rate:3.64},{id:26,state:"Michigan",rate:4.92},{id:27,state:"Minnesota",rate:4.13},{id:28,state:"Mississippi",rate:6.69},{id:29,state:"Missouri",rate:5.94},{id:30,state:"Montana",rate:4.15},{id:31,state:"Nebraska",rate:3.16},{id:32,state:"Nevada",rate:5.81},{id:33,state:"New Hampshire",rate:2.83},{id:34,state:"New Jersey",rate:5.51},{id:35,state:"New Mexico",rate:7.14},{id:36,state:"New York",rate:4.56},{id:37,state:"North Carolina",rate:5.47},{id:38,state:"North Dakota",rate:3.05},{id:39,state:"Ohio",rate:4.9},{id:40,state:"Oklahoma",rate:5.59},{id:41,state:"Oregon",rate:5.97},{id:42,state:"Pennsylvania",rate:6.42},{id:44,state:"Rhode Island",rate:5.28},{id:45,state:"South Carolina",rate:6.42},{id:46,state:"South Dakota",rate:3.26},{id:47,state:"Tennessee",rate:5.72},{id:48,state:"Texas",rate:5.58},{id:49,state:"Utah",rate:4.34},{id:50,state:"Vermont",rate:3.62},{id:51,state:"Virginia",rate:4.74},{id:53,state:"Washington",rate:6.46},{id:54,state:"West Virginia",rate:6.48},{id:55,state:"Wisconsin",rate:4.13},{id:56,state:"Wyoming",rate:4.57},{id:72,state:"Puerto Rico",rate:14.02}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-dot-map",name:"\u70B9\u5730\u56FE",description:"\u5728\u5730\u56FE\u4E0A\u6807\u8BB0\u771F\u5B9E\u4F4D\u7F6E\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u70B9\u5730\u56FE",datasets:{"us-10m":{type:"Topology",transform:{scale:[.003589294092944858,.0005371535195261037],translate:[-179.1473400003406,17.67439566600018]},objects:{states:{type:"GeometryCollection",geometries:[{type:"MultiPolygon",arcs:[[[2170]],[[2171]],[[2172]],[[2173]],[[2174]],[[2175]],[[2176]],[[2177]],[[2178]],[[2179]],[[2180]],[[2181]],[[2182]],[[2183]],[[2184]],[[2185]],[[2186]],[[2187]],[[2188]],[[2189]],[[2190]],[[2193]],[[2194]],[[2195]],[[2196]],[[2331]],[[2197]],[[2332]],[[2198]],[[2199]],[[2200]],[[2333]],[[2201]],[[2334]],[[2335]],[[2202]],[[2336]],[[2203]],[[2204]],[[2208]],[[2337]],[[2205]],[[2338]],[[2339]],[[2340]],[[2341]],[[2221]],[[2342]],[[2242]],[[2209]],[[2343]],[[2243]],[[2344,2345]],[[2244]],[[2245]],[[2222]],[[2217]],[[2223]],[[2224]],[[2191]],[[2246]],[[2247]],[[2248]],[[2249]],[[2225]],[[2192]],[[2275]],[[2276,2394,2277]],[[2226]],[[2227]],[[2228]],[[2254]],[[2229]],[[2260,2261,2262,2280,2278,2252,2395,2253,2279,2263]],[[2237]],[[2236,2258,2396,2259,2234,2235,2264]],[[2230]],[[2231]],[[2211]],[[2309]],[[2310]],[[2293]],[[2294]],[[2295]],[[2296]],[[2297]],[[2285]],[[2298]],[[2311]],[[2299]],[[2286]],[[2301]],[[2302]],[[2303]],[[2287]],[[2305]],[[2281]],[[2282]],[[2283]],[[2327]],[[2328]],[[2322]],[[2265,2319,2316,2317,2308,2306,2312,2304,2313,2300,2314,2292,2291,2315,2397,2232,2233,2218,2207,2398,2206,2219,2210,2220,2216,2213,2214,2215,2289,2212,2290,2288,2284,2330,2329,2325,2326,2324,2323,2320,2321,2307,2318,2266,2274,2269,2272,2238,2257,2250,2347,2346,2251,2255,2399,2256,2239,2400,2401,2240,2270,2241,2271,2268,2273,2267]]],id:2},{type:"MultiPolygon",arcs:[[[2162]],[[2166]],[[2165]],[[2167]],[[2402,2164]],[[2168]],[[2169]],[[2163]]],id:15},{type:"MultiPolygon",arcs:[[[2391]],[[2372,2353,2350,2356,2373,2355,2357,2362,2393,2380,2403,2360,2359,2374,2358,2384,2386,2383,2388,2389,2387,2390,2379,2385,2366,2404,2375,2370,2371,2352,2361,2377,2354,2369,2376,2351,2364,2365,2349,2363,2405,2348,2367,2368,2378]]],id:72},{type:"MultiPolygon",arcs:[[[-1500,-1499,-1502,-1501,-1508,1544,-1548,-1549,1557,-1581,-1582,1584,-1618,1628,1629,-1640,1662,1663,-1682,1684,-1700,1712,-1731,-1734,1735,-1755,1755,1756,-1768,1768,-1780,1803,1804,1808,1809,1810,1777,1778,1805,1806,1807,1799,1800,1801,2406,1802,1815,1816,1817,-1789,1772,-1765,1739,1740,-1733,1694,1695,-1681,1659,-1645,1625,-1619,1602,-1595,1583,-1543,-1544,1541,-1484,-1466,-1467,-1472,-1471]]],id:1},{type:"Polygon",arcs:[[-1305,-1304,-1291,-1358,-1357,-1356,-1365,-1364,-1363,-1265,-1332,-1331,-1330,-1355,-1354,-1317,-1379,-1378,-1377,-1376,-1409,-1424,1432,1433,1434,1435,-1454,1474,1475,1476,1554,-1557,1574,1575,-1617,-1616,1654,1655,1656,1657,1658,1672,1676,1677,1669,1670,1665,1666,1646,1647,1648,-1646,1630,-1590,-1589,-1588,1573,-1498,-1497,1472,1473,-1455,1444,-1427,1417,1406,-1372,-1368]],id:5},{type:"Polygon",arcs:[[-1074,-1272,1272,1273,1274,-1583,1642,1643,-1702,1736,1771,1734,1667,1668,1603,1604,-1443,-1442,-1350,-1055,-1176,-1195,-1194,-1076,-1075]],id:4},{type:"MultiPolygon",arcs:[[[1561]],[[1562]],[[1528]],[[1529]],[[-424,-423,-426,611,-616,-615,-614,-613,932,933,-976,-975,-974,-874,-977,1044,-1078,-963,1207,-1351,1441,1442,-1605,-1604,-1669,1671,1661,1631,1632,1633,1634,1635,1563,1564,1565,1566,1567,1568,1555,1530,1443,1320,1242,1162,1149,1161,1197,1143,1121,1093,1042,1062,1027,1061,1028,1029,1092,1030,852,666,667,610,-486,-499,-498,-484]]],id:6},{type:"Polygon",arcs:[[-539,-538,-650,-649,-675,-674,-670,-669,-693,-709,-708,751,-757,780,781,-852,903,904,-969,982,-1049,-1048,1100,1101,-1158,1167,1168,1169,1150,1151,1165,1166,1213,1214,1211,1212,1171,1170,-1073,-1072,-1071,1055,-916,840,-743,-742,709,710,-570,-537,-536,-535]],id:8},{type:"MultiPolygon",arcs:[[[-550,-549,-548,-508,-507,-506,602,603,-625,635,636,651,652,2407,653,643,644,645,646,-588,-587,-500]]],id:9},{type:"MultiPolygon",arcs:[[[992,993,-929,-973]]],id:11},{type:"MultiPolygon",arcs:[[[863,927,994,995,996,997,998,999,-966,925,926,-923,864,865,-816,-846,-867,-845]]],id:10},{type:"MultiPolygon",arcs:[[[2108,2109,2110,2111,2112,2113,2114,2115,2116,2117,2118]],[[2071]],[[1980]],[[1932]],[[2408,2409,1966,1967,1968,1969,2410,2411,2412,2413,1965,2414]],[[1892]],[[1906,1903,1904,1905,1866,1867,1868,1869,1870]],[[2103,2415,2416,2417,2418,2104,2419,2420,2105,2106,2119,2120,2121,2122,2123,2124,2125,2126,2127,2128,2129,2130,2131,2132,2133,2134,2135,2136,2137,2138,2139,2140,2141,2142,2143,2144,2145,2083,-2085,2085,2086,2087,2088,2089,2090,2091,2092,2093,2094,2095,2096,2097,2098,2099,2072,2069,2043,2068,2044,2045,2046,2047,2048,2049,2035,2030,2028,2029,2016,2013,1996,1997,1998,1999,2e3,2001,2002,2421,1976,1977,1978,2146,1889,1854,1890,1934,1909,1933,1910,1885,1911,1886,1887,1841,2422,1842,1840,1839,1837,1838,-1800,-1808,-1807,-1806,-1779,-1778,-1811,-1810,-1809,-1805,-1831,-1824,-1826,-1825,-1830,-1829,-1828,-1827,-1835,-1858,-1834,-1845,-1844,-1815,-1814,-1781,-1833,-1832,-1823,1845,1846,1847,1848,1871,1872,1873,1874,1875,1876,-1878,1878,1879,1880,1881,1882,1883,1884,1914,1954,1979,1987,1986,1983,1984,1953,1900,1865,1861,1862,1863,1864,1901,1902,1893,1894,1895,1896,1897,1898,2423,2424,1899,1962,1963,1964,1985,1981,2004,2425,2005,2006,1982,2003,2034,2040,2426,2041,2042,2062,2063,2064,2427,2065,2428,2066,2067,2070,2102,2107]]],id:12},{type:"MultiPolygon",arcs:[[[1818]],[[2429,1781]],[[1773]],[[-1758,1758]],[[1745]],[[1746,-1748,1748,1749,1750]],[[1759,1774,1775,1776,1782,2430,2431,2432,1783,1784,1785,1786,1787,1819,1820,1821,1822,1831,1832,1780,1813,1814,1843,1844,1833,1857,1834,1826,1827,1828,1829,1824,1825,1823,1830,-1804,1779,-1769,1767,-1757,-1756,1754,-1736,1733,1730,-1713,1699,-1685,1681,-1664,-1663,1639,-1630,-1629,1617,-1585,1581,1580,-1558,1548,1547,-1545,-1507,-1470,-1469,-1468,-1504,-1503,-1513,-1512,-1510,-1509,-1523,-1522,-1521,-1505,-1537,-1536,-1535,-1534,-1533,-1532,-1571,-1570,-1594,1608,-1622,-1621,-1620,-1628,-1627,-1638,-1637,-1665,1679,-1684,1687,-1689,-1712,-1711,-1710,1751,1752,1753,1744,1760]]],id:13},{type:"Polygon",arcs:[[-417,439,-449,-467,-466,-465,510,-529,544,-577,600,601,-622,-621,-620,671,-682,703,-705,745,746,728,729,730,731,738,739,736,737,734,735,732,733,726,727,724,725,722,723,-706,696,-696,-695,662,663,-641,617,-600,575,-569,520,521,-478,-477,462,-441,438,-410,-391,-394,-393,-407,-406,-405,-412,-411,-409,-408,-396,-395,-399,-398,-397,-404,-403,-402,-401]],id:19},{type:"Polygon",arcs:[[32,-38,63,-151,158,-167,-164,-163,188,-191,-255,-254,-253,-257,-233,336,-343,-342,421,-454,-453,515,539,529,530,508,509,487,419,420,-355,353,-353,-352,333,-301,294,-250,189,192,193,194,-173,-172,168,-161,-160,64,-52,33,34]],id:16},{type:"Polygon",arcs:[[-497,-496,-491,-490,-493,-492,-495,-494,-513,-512,531,-533,577,578,634,-638,686,-694,706,-754,773,774,-833,858,-901,916,-949,-948,-947,961,-1025,-1024,1059,-1064,1106,-1113,-1112,1140,-1146,1179,1180,1181,1182,-1211,1233,1237,1238,1234,1235,1236,-1179,-1178,-1177,-1145,1139,1113,1114,1064,1065,-1027,-1026,-1037,989,990,991,943,920,921,-902,861,862,-856,820,-815,758,759,-746,704,-704,681,-672,619,620,621,-602,-601,576,-545,528,-511,-464]],id:17},{type:"Polygon",arcs:[[-597,-596,-592,-591,-595,628,-639,659,-671,689,690,-712,714,-756,769,-784,-783,850,-857,878,-903,-938,938,939,-965,-964,1019,1020,1021,1022,-1044,1056,1057,1088,1083,1084,1085,1082,1103,1104,1105,1115,1116,1107,1108,1117,1118,1109,1110,1111,1112,-1107,1063,-1060,1023,1024,-962,946,947,948,-917,900,-859,832,-775,-774,753,-707,693,-687,637,-635,-579,-578,-627,-626,-628,-575,-574,-599,-598]],id:18},{type:"Polygon",arcs:[[-791,-799,-798,-797,-794,-793,-800,-788,-787,-786,-785,-790,-789,-795,-796,-773,-772,-809,-808,-813,-812,-811,-814,-838,853,-868,895,-913,-912,-919,-959,-958,978,-1036,1041,-1077,1091,-1124,-1123,1163,1164,-1230,1230,1231,1232,1226,1227,1220,1221,1240,1241,1198,1199,1200,1201,1222,1223,1205,1206,1224,1225,1203,1204,1202,1218,1219,1217,1215,1216,-1168,1157,-1102,-1101,1047,1048,-983,968,-905,-904,851,-782,-792]],id:20},{type:"MultiPolygon",arcs:[[[-936,-935,-943,-942,-941,-951,-950,981,-981,-980,-989,-988,-987,-986,-1035,-1034,1069,1068,-1088,-1087,-1137,-1136,1153,1154,1155,1156,1243,-1248,1268,1296,1297,1291,1292,1294,1295,1288,1289,1327,1328,1300,1351,1352,1301,1302,1335,1336,1255,1256,1257,1248,1249,1269,1369,1370,1298,1299,1365,1366,1372,1373,-1340,-1261,-1260,-1259,1245,-1235,-1239,-1238,-1234,1210,-1183,-1182,-1181,-1180,1145,-1141,-1111,-1110,-1119,-1118,-1109,-1108,-1117,-1116,-1106,-1105,-1104,-1083,-1086,-1085,-1084,-1089,-1058,-1057,1043,-1023,-1022,-1021,-1020,963,964,-940,-939,-937]]],id:21},{type:"MultiPolygon",arcs:[[[1955]],[[1944]],[[1929]],[[1918,1919,1920,1921,1922,1923,2433,1924,1950,1945,1946,1947,1948,1949,1908,1943,1936,1937,1938,2434,1939,1940,2435,1941,2436,2437,1942,1961,1956,1957,1958,1959,1960,1935,1930,1928,1931,-1916,-1908,1888,-1813,-1812,1792,1765,1766,-1764,1738,-1738,1689,1690,1691,-1679,-1648,-1647,-1667,-1666,-1671,-1670,-1678,-1677,-1673,-1659,-1658,-1657,-1693,1693,-1730,-1729,-1728,-1727,1741,1742,1743,1769,1770,-1792,-1791,-1796,-1795,-1794,-1798,-1797,-1799,-1790,-1837,-1836,1851,1852,1912,1925,1926,1913,1927]]],id:22},{type:"MultiPolygon",arcs:[[[672]],[[661]],[[588,564,579,580,581,582,583,546,504,505,506,507,547,548,549,499,500,501,-485,-456,-455,-462,-473,-472,-471,-470,-469,-468,-460,488,2438,502,2439,503,533,545,565,2440,563,589]]],id:25},{type:"MultiPolygon",arcs:[[[944]],[[1078,1079,1080,1095,1096,1094,1060,1046,1045,966,967,1003,1004,945,923,889,890,891,892,924,955,2441,956,953,954,1037,1038,969,970,1049,1067,1066,1050,971,972,928,929,930,893,879,880,881,882,883,884,885,886,887,888,-834,-807,-806,-801,-832,-831,-805,-804,-843,-842,-820,-819,-818,-803,-802,-817,-866,-865,922,-927,-926,965,-1e3,-999,-998,1081]]],id:24},{type:"MultiPolygon",arcs:[[[296]],[[297]],[[377,378,362,338,380,373,376,375,374,412,413,-369,-368,285,286,287,288,264,202,167,263,298,210,335,359,360,361,379]]],id:23},{type:"MultiPolygon",arcs:[[[-150]],[[-149]],[[-99,-98,-97,-96,-95,-94,-93,-92,-91,-90,-89,-88,-87,-86,-630,584,585,592,593,594,590,591,595,596,597,598,573,574,-113,-112,-111,-110,-109,-108,-107,-106,-105,-104,-103,-102,-101,-100]],[[-148]],[[-146,-147]],[[-145,-144]],[[-143]],[[-130,-129,-128,-127,-126,-125,-124,-123,-122,-121,-120,-119,-118,-117,-116,-115,-114,250,251,227,228,229,205,206,207,178,179,180,181,-133,-132,-131]],[[-142,-141,-140,-139,-138,-137,-136]],[[-135]]],id:26},{type:"MultiPolygon",arcs:[[[65,81,152,2149,2148,151,67,68,69,70,71,72,73,74,75,76,77,78,79,80,176,177,208,209,-237,261,-263,292,293,331,-333,339,-341,-348,-347,-346,-349,371,-383,-382,399,400,401,402,403,396,397,398,394,395,407,408,410,411,404,405,406,392,393,390,391,-371,369,343,-331,-330,295,-290,267,-256,248,-197,195,174,-174,165,-162,154,-154,82,83,-45,46,60,2147]]],id:27},{type:"Polygon",arcs:[[-747,-760,-759,814,-821,855,-863,-862,901,-922,-921,-944,-992,-991,-990,1036,1025,1026,-1066,-1065,-1115,-1114,-1140,1144,1176,1177,1178,-1237,-1236,-1246,1258,1259,1260,1339,1340,1341,1342,-1405,1407,1408,1375,1376,1377,1378,1316,1353,1354,1329,1330,1331,1264,1362,1363,1364,1355,1356,1357,1290,1303,1304,1367,1368,-1271,1265,-1231,1229,-1165,-1164,1122,1123,-1092,1076,-1042,1035,-979,957,958,918,911,912,-896,867,-854,837,813,-810,-771,768,-751,-723,-726,-725,-728,-727,-734,-733,-736,-735,-738,-737,-740,-739,-732,-731,-730,-729]],id:29},{type:"MultiPolygon",arcs:[[[-1485,-1542,1543,1542,-1584,1594,-1603,1618,-1626,1644,-1660,1680,-1696,-1695,1732,-1741,-1740,1764,-1773,1788,-1818,-1817,1849,1850,1853,1858,1859,-1852,1835,1836,1789,1798,1796,1797,1793,1794,1795,1790,1791,-1771,-1770,-1744,-1743,-1742,1726,1727,1728,1729,-1694,1692,-1656,-1655,1615,1616,-1576,-1575,1556,-1555,-1477,-1476,-1491,-1490,-1495,-1494,-1480,-1479,-1478,-1496,-1486]]],id:28},{type:"Polygon",arcs:[[40,58,54,41,42,35,30,43,62,-56,61,-67,155,-157,169,-171,185,186,187,237,238,239,257,258,259,246,247,265,266,233,230,231,232,256,252,253,254,190,-189,162,163,166,-159,150,-64,37,-33,38,31]],id:30},{type:"MultiPolygon",arcs:[[[1418,2442,1419]],[[1420]],[[-1306,1388,1422,1389,1390]],[[-1308,1391,-1393,1393]],[[1386,1394,1395,1396,1397,1401,1402,-1396,1403,1410,1411,1385,1398,1416,1437,1436,1449,1421,1450,1448,1440,1447,1505,1488,1513,1487,1527,1523,1524,1525,1526,1545,1546,1571,1572,1595,2443,1596,1597,1598,1599,1600,1601,1592,1549,1550,1551,1537,1519,1514,1515,1516,1461,1462,1486,1458,1459,1456,1457,1491,1492,1464,1480,1481,1482,1460,1504,1520,1521,1522,1508,1509,1510,-1453,-1452,-1440,-1439,-1431,-1430,-1426,-1425,-1410,-1416,-1415,-1414,-1413,-1401,-1400,-1383,-1382,-1381,-1361,-1360,-1359,-1313,-1339,-1338,-1349,-1348,-1254,-1253,-1375,-1252,-1264,-1263,-1262,-1327,-1326,-1325,-1268,-1267,-1322,-1288,-1287,-1286,-1319,-1318,-1347,-1346,-1310,1387]]],id:37},{type:"Polygon",arcs:[[44,-84,-83,153,-155,161,-166,173,-175,-196,196,197,220,221,224,225,222,223,191,204,218,219,226,-187,-186,170,-170,156,-156,66,-62,55,56,57,59,39,36,47,48,45]],id:38},{type:"Polygon",arcs:[[-451,-416,-446,-445,-444,-443,-442,-476,-475,-474,-482,-481,-480,-479,-522,-521,568,-576,599,-618,640,-664,-663,694,695,-697,705,-724,750,-769,770,809,810,811,812,807,808,771,772,795,794,788,789,784,785,786,787,799,792,793,796,797,798,790,791,-781,756,-752,707,708,692,668,669,673,674,-648,639,-515,-514,482,-438,-448,-447,-419,-418,-450]],id:31},{type:"MultiPolygon",arcs:[[[-287,-286,367,368,-414,435,457,458,459,467,468,469,470,471,472,-461,434,-386,356,357,-335,-320,290,291,-288]]],id:33},{type:"MultiPolygon",arcs:[[[905,2444,906,868,-870,870,-872,872,857,854,824,825,-765,-764,-763,749,700,701,-692,680,-658,-656,-655,-684,-683,697,744,721,754,765,779,778,827,828,829,822,823,874,875,876,877,931,907]]],id:34},{type:"Polygon",arcs:[[1275,1276,1277,-1429,1445,1446,-1518,1552,1553,1578,1579,-1639,1649,1650,1651,1652,1653,1696,1697,1698,1673,1674,1675,1685,1686,1731,1700,1701,-1644,-1643,1582,-1275,-1274,-1273,1271,-1171,-1172,-1213,-1212,-1215,-1214,-1167,-1166,-1152,-1151,-1170]],id:35},{type:"Polygon",arcs:[[-510,-609,609,-703,838,839,-910,1051,1052,1053,1054,1349,1350,-1208,962,1077,-1045,976,873,973,974,975,-934,-933,612,613,614,615,-612,-425,-385,-384,-356,-421,-420,-488]],id:32},{type:"MultiPolygon",arcs:[[[757]],[[687]],[[717,718,2445,719,747,752,748,720,688]],[[-318]],[[675,715,740,716,676,660,684,685,682,683,654,655,656,605,606,526,540,541,542,543,566,567,516,517,524,525,522,523,518,519,-316,-315,-314,-313,-312,-311,-310,-309,-308,-307,-306,-305,-304,-317,358,326,327,324,-322,323,-338,349,-364,-389,414,-457,484,-502,-501,586,587,-647,-646,677,678,679]]],id:36},{type:"MultiPolygon",arcs:[[[616,-619,664,-666,698,-700,712,713,-762,766,767,-822,826,-847,859,860,896,897,898,908,-920,960,959,983,984,1031,1032,1033,1034,985,986,987,988,979,980,981,949,950,940,941,942,934,935,936,937,902,-879,856,-851,782,783,-770,755,-715,711,-691,-690,670,-660,638,-629,-594,-593,-586,-585,629,-631,631,-633,633,-562,-561,-560,-559,-558,-557,-556,-555,-554,-553,-552,-551,-563,-573]]],id:39},{type:"Polygon",arcs:[[-1205,-1204,-1226,-1225,-1207,-1206,-1224,-1223,-1202,-1201,-1200,-1199,-1242,-1241,-1222,-1221,-1228,-1227,-1233,-1232,-1266,1270,-1369,1371,-1407,-1418,1426,-1445,1454,-1474,-1473,1496,1497,-1574,1587,1588,1589,1590,1591,1613,1614,1610,1611,1612,1609,1622,1623,1624,1606,1607,1585,1586,1576,1577,1558,1559,1560,1538,1539,1540,-1519,1463,-1456,1431,-1428,1383,1384,1283,1284,1280,1281,1282,1278,1279,-1276,-1169,-1217,-1216,-1218,-1220,-1219,-1203]],id:40},{type:"MultiPolygon",arcs:[[[216,235,-214,234,-241,-213,-212,-246,-245,-244,-243,-242,-184,-183,-201,-200,-199,-185,-204,-193,-190,249,-295,300,-334,351,352,353,354,355,383,384,424,425,422,423,483,497,498,485,486,426,-428,428,429,430,431,432,433,386,387,364,365,366,301,302,260,217]]],id:41},{type:"MultiPolygon",arcs:[[[-519,-524,-523,-526,-525,-518,-517,-568,-567,-544,-543,-542,-541,-527,-607,-606,-657,657,-681,691,-702,-701,-750,762,763,764,-826,836,843,844,866,845,815,816,801,802,817,818,819,841,842,803,804,830,831,800,805,806,833,834,835,848,849,-848,775,776,777,-761,743,-713,699,-699,665,-665,618,-617,572,-528,-520]]],id:42},{type:"MultiPolygon",arcs:[[[641]],[[642,-581]],[[-584,-583,622,604,623,650,-636,624,-604,-603,-505,-547]]],id:44},{type:"MultiPolygon",arcs:[[[1713]],[[1722]],[[1723]],[[2158,2159,1660,2155,2156,2446,2157,1682,1724,1725,1702,2447,1703,2448,1704,1721,1714,1715,1716,1717,1718,1719,1720,1705,1706,1707,1708,1709,1710,1711,1688,-1688,1683,-1680,1664,1636,1637,1626,1627,1619,1620,1621,-1609,1593,1569,1570,1531,1532,1533,1534,1535,1536,-1461,-1483,-1482,-1481,-1465,-1493,-1492,-1458,-1457,-1460,-1459,-1487,-1463,-1462,-1517,-1516,-1515,-1520,-1538,-1552,-1551,-1550,-1593,-1602,1605,1640,1641,2160,2161]]],id:45},{type:"Polygon",arcs:[[-205,-192,-224,-223,-226,-225,-222,-221,-198,-249,255,-268,289,-296,329,330,-344,-370,370,-392,409,-439,440,-463,476,477,478,479,480,481,473,474,475,441,442,443,444,445,415,450,449,417,418,446,447,-437,389,-373,350,344,-329,299,-239,-238,-188,-227,-220,-219]],id:46},{type:"Polygon",arcs:[[-1250,-1249,-1258,-1257,-1256,-1337,-1336,-1303,-1302,-1353,-1352,-1301,-1329,-1328,-1290,-1289,-1296,-1295,-1293,-1292,-1298,-1324,-1323,-1335,-1334,-1333,-1314,-1380,-1316,-1315,-1362,1380,1381,1382,1399,1400,1412,1413,1414,1415,1409,1424,1425,1429,1430,1438,1439,1451,1452,-1511,1511,1512,1502,1503,1467,1468,1469,1506,1507,1500,1501,1498,1499,1470,1471,1466,1465,1483,1484,1485,1495,1477,1478,1479,1493,1494,1489,1490,-1475,1453,-1436,-1435,-1434,-1433,1423,-1408,1404,-1343,-1406,-1341,-1374,-1373,-1367,-1366,-1300,-1299,-1371,-1370,-1270]],id:47},{type:"MultiPolygon",arcs:[[[2449,2078,2075,2076,2077,2450,2451]],[[2051,2052,2053,2054]],[[2055,2056,2036,2452,2037,2057]],[[2031]],[[2017]],[[2007,2453,2008]],[[1971]],[[1972,1975,1993,1992,2454,1988,2012,2010,2011,1989,1990,2455,1991,1994,2009,2014,2022,2456,2457,2458,2023,2021,2015,2018,2025,2020,2019,2026,2459,2027,2033,2032,2038,2039,2060,2061,2058,2059,2082,2079,2080,2081,2101,2100,2074,2073,2050,2024,1995,1970,1891,1856,1855,1860,1761,1762,-1686,-1676,-1675,-1674,-1699,-1698,-1697,-1654,-1653,-1652,-1651,-1650,1638,-1580,-1579,-1554,-1553,1517,-1447,-1446,1428,-1278,-1277,-1280,-1279,-1283,-1282,-1281,-1285,-1284,-1385,-1384,1427,-1432,1455,-1464,1518,-1541,1539,-1539,-1561,-1560,-1559,-1578,-1577,-1587,-1586,-1608,-1607,-1625,-1624,-1623,-1610,-1613,-1612,-1611,-1615,-1614,-1592,-1591,-1631,1645,-1649,1678,-1692,-1691,-1690,1737,-1739,1763,-1767,-1766,-1793,1811,1812,-1889,1907,1915,1916,1951,1974,1952,1917,1973]]],id:48},{type:"Polygon",arcs:[[-452,607,-659,-572,-571,-711,-710,741,742,-841,915,-1056,1070,1071,1072,1073,1074,1075,1193,1194,1175,-1054,-1053,-1052,909,-840,-839,702,-610,608,-509,-531,-530,-540,-516]],id:49},{type:"MultiPolygon",arcs:[[[1124,1125,1126,1189,1190,1127,1128,1129,-1080,1130]],[[1147,1120,1097,1089,1119,1152,1183,1195,1184,1137,1141,1142,1172,1173,1174,1209,2460,1228,2461,2462,1254,1246,1208,1196,1160,1188,2463,1239,1244,1250,1319,2464,1343,2465,2466,1344,1310,1293,1311,1305,1306,1307,1308,1309,1345,1346,1317,1318,1285,1286,1287,1321,1266,1267,1324,1325,1326,1261,1262,1263,1251,1374,1252,1253,1347,1348,1337,1338,1312,1358,1359,1360,1361,1314,1315,1379,1313,1332,1333,1334,1322,1323,-1297,-1269,1247,-1244,-1157,-1156,-1155,-1154,-1135,-1193,-1192,-1188,-1187,-1186,-1147,-1160,-1159,1138,-1103,1099,-1041,-1040,-1003,-1002,-1001,-953,-952,917,-911,-895,-900,-915,-914,-880,-894,-931,-930,-994,1018,-1007,1007,1008,1009,1010,-1012,1012,1013,1014,1015,1016,1017,2467,2468,977,1005,1058,1090,1098,1133,1131,1132,1148]]],id:51},{type:"Polygon",arcs:[[325,320,-291,319,334,-358,-357,385,-435,460,461,454,455,456,-415,388,363,-350,337,-324,321,322,318]],id:50},{type:"MultiPolygon",arcs:[[[-29]],[[-28]],[[-27]],[[-26]],[[-23]],[[-24]],[[-25]],[[-22,-21,29,49,53,50,52,-34,51,-65,159,160,-169,171,172,-195,-194,203,184,198,199,200,182,183,241,242,243,244,245,211,212,240,-235,213,214,215,175,164,157,84,-20,-19,-18,-17,-16,-15,-14,-13,-12,-11,-10,-9,-8,-7,-6,-5,-4,2,-2,-1]]],id:53},{type:"MultiPolygon",arcs:[[[-285]],[[-2155]],[[-2154,201,-134,-182,-181,-180,-179,-208,-207,-206,-230,228,-228,-252,-284,-283,-282,-281,-280,-279,-278,-277,-276,-275,-274,-273,-272,-271,-270,-269,511,512,493,494,491,492,489,490,495,496,463,464,465,466,448,-440,416,-400,381,382,-372,348,345,346,347,340,-340,332,-332,-294,-293,262,-262,236,-210,-209,-178,-177,-81,2150,2151,2152]]],id:55},{type:"Polygon",arcs:[[760,-778,-777,-776,847,-850,-849,-836,-835,-889,-888,-887,-886,-885,-884,-883,-882,-881,913,914,899,894,910,-918,951,952,1e3,1001,1002,1039,1040,-1100,1102,-1139,1158,1159,1146,1185,1186,1187,1191,1192,1134,1135,1136,1086,1087,1068,-1070,-1033,-1032,-985,-984,-960,-961,919,-909,-899,-898,-897,-861,-860,846,-827,821,-768,-767,761,-714,-744]],id:54},{type:"Polygon",arcs:[[-266,-248,-247,-260,-259,-258,-240,-300,328,-345,-351,372,-390,436,437,-483,513,514,-640,647,648,649,537,538,534,535,536,569,570,571,658,-608,451,452,453,-422,341,342,-337,-232,-231,-234,-267]],id:56},{type:"MultiPolygon",arcs:[[[2392]],[[2382]],[[2381]]],id:78}]}},arcs:[[[15739,57220],[76,-211]],[[15815,57009],[-6,-86]],[[15809,56923],[0,0]],[[15809,56923],[2,-40]],[[15811,56883],[0,-840]],[[15811,56043],[14,-387]],[[15825,55656],[-2,1]],[[15823,55657],[-19,-466]],[[15804,55191],[-77,-416]],[[15727,54775],[-105,3]],[[15622,54778],[67,428]],[[15689,55206],[0,16]],[[15689,55222],[9,41]],[[15698,55263],[46,83]],[[15744,55346],[3,0]],[[15747,55346],[21,-2]],[[15768,55344],[7,949],[-138,-730]],[[15637,55563],[9,159]],[[15646,55722],[52,899],[-35,-44]],[[15663,56577],[-309,205],[-193,385]],[[15711,58322],[59,-420],[15,-244]],[[15785,57658],[-46,-438]],[[15675,57235],[0,0]],[[15644,57453],[0,0]],[[15674,57553],[0,0]],[[15815,56278],[-62,564],[-45,21],[107,-585]],[[15777,55663],[0,0]],[[15782,55209],[0,0]],[[15677,54897],[0,0]],[[15711,58322],[530,-4]],[[20051,58318],[297,-2]],[[17947,58319],[184,-3]],[[17580,58319],[0,-929]],[[17304,58032],[0,284]],[[17304,58316],[276,3]],[[19756,58316],[295,2]],[[21999,58316],[184,0]],[[17579,56857],[1,533]],[[17580,58319],[367,0]],[[21634,58316],[365,0]],[[18131,58316],[523,-1]],[[19058,58315],[349,3]],[[19407,58318],[349,-2]],[[20348,58316],[294,0]],[[22823,58319],[19,-852]],[[22622,58319],[201,0]],[[22823,58319],[229,-1]],[[22183,58316],[147,2]],[[22330,58318],[292,1]],[[16241,58318],[562,0]],[[16981,58318],[213,1]],[[17304,58032],[-1,-1491]],[[17194,58319],[110,-3]],[[16803,58318],[178,0]],[[18911,58313],[147,2]],[[20923,57637],[0,681]],[[20923,58318],[308,-2]],[[21231,58316],[257,0]],[[18654,58315],[257,-2]],[[21488,58316],[146,0]],[[23052,58318],[302,-2]],[[20923,57637],[0,-456]],[[20642,58316],[281,2]],[[17579,56857],[0,-441]],[[17303,56413],[0,128]],[[23603,57761],[177,-344],[197,208]],[[20924,56449],[-1,732]],[[24337,54483],[-77,-352]],[[24260,54131],[15,-81]],[[24275,54050],[0,-1]],[[24275,54049],[-15,82]],[[24260,54131],[-8,0]],[[24252,54131],[-1,0]],[[24251,54131],[-18,-59]],[[24233,54072],[-1,0]],[[24232,54072],[-8,-20]],[[24224,54052],[0,-4]],[[24224,54048],[-1,-71]],[[24223,53977],[0,-16]],[[24223,53961],[0,1]],[[24223,53962],[-25,6]],[[23977,57625],[161,-336],[126,-164],[72,-292]],[[22846,56780],[1,35]],[[22847,56815],[-5,652]],[[15194,56234],[-33,933]],[[26653,44788],[79,561]],[[26732,45349],[91,777]],[[26823,46126],[46,438]],[[26869,46564],[57,898]],[[26926,47462],[-29,971]],[[26897,48433],[-130,578],[-110,-508]],[[26657,48503],[-65,-257]],[[26592,48246],[-58,597]],[[26534,48843],[96,470]],[[26630,49313],[68,649]],[[26698,49962],[0,646]],[[26698,50608],[-19,649]],[[26679,51257],[-202,558],[-25,222]],[[26452,52037],[-147,301]],[[26305,52338],[-54,-681],[-48,-105]],[[26203,51552],[-81,-294]],[[26122,51258],[-15,-648]],[[26107,50610],[-42,-169],[-14,12]],[[26051,50453],[-46,322],[-74,-316]],[[25931,50459],[-45,-485]],[[25886,49974],[-43,-632]],[[25843,49342],[-12,-669]],[[25831,48673],[-8,-647]],[[25823,48026],[53,-658]],[[25876,47368],[17,-653]],[[25893,46715],[-18,-648]],[[25875,46067],[-25,-328]],[[25850,45739],[-128,-899]],[[25508,51049],[91,846]],[[25599,51895],[83,221],[69,-1],[72,166]],[[25823,52281],[149,314],[17,79]],[[25989,52674],[236,82],[219,-51]],[[26444,52705],[5,0]],[[26449,52705],[28,-6]],[[26477,52699],[-31,339],[-19,564]],[[26427,53602],[-2,11]],[[26425,53613],[-2,9]],[[26423,53622],[-136,-59],[-123,575]],[[26164,54138],[-175,-122]],[[25989,54016],[-258,-395],[-91,33]],[[25640,53654],[-217,770],[-41,6]],[[25382,54430],[-114,50]],[[25268,54480],[5,96]],[[25273,54576],[-51,389]],[[25222,54965],[-2,47]],[[25220,55012],[-86,-359]],[[25134,54653],[-239,-397],[-27,-98]],[[24868,54158],[-147,-373]],[[24721,53785],[0,1]],[[25213,56702],[-143,-575],[206,676],[-63,-101]],[[25436,55477],[-184,-350]],[[25252,55127],[-1,0]],[[25251,55127],[-31,-115]],[[25220,55012],[2,-47]],[[25222,54965],[51,-389]],[[25273,54576],[58,390]],[[25331,54966],[105,511]],[[25764,53572],[0,0]],[[26475,53363],[-40,289]],[[26435,53652],[40,-289]],[[26551,52665],[78,-77]],[[26629,52588],[-29,210],[-49,-133]],[[26392,52213],[0,0]],[[26073,51936],[-17,22],[17,-22]],[[25950,50972],[0,0]],[[17697,55487],[-57,512],[-61,417]],[[24552,55460],[-215,-977]],[[24336,56833],[153,-220],[60,196]],[[22846,56780],[70,-930]],[[22927,55525],[-11,325]],[[20924,56449],[0,-1115]],[[20924,55209],[0,125]],[[15266,55588],[-72,646]],[[17697,55487],[86,-415],[100,-602]],[[17303,56413],[0,-1137]],[[17303,55276],[0,-200]],[[22927,55525],[6,-488]],[[18058,53962],[-73,-49]],[[17985,53913],[-23,192]],[[15337,54211],[-14,442],[-57,935]],[[22931,54875],[2,162]],[[17962,54105],[-79,365]],[[30403,53801],[271,1268],[194,191],[159,-2633],[-8,-489]],[[17303,54831],[0,245]],[[20924,55209],[0,-1283]],[[20924,53739],[0,187]],[[17303,54831],[0,-1090]],[[17303,53741],[0,-214]],[[22931,54875],[12,-968]],[[22947,53906],[-4,1]],[[15440,53274],[-83,542],[19,54],[-39,341]],[[24198,53968],[0,0]],[[24198,53968],[0,-459]],[[25118,52914],[-261,377]],[[24857,53291],[0,-23]],[[24857,53268],[0,23]],[[24857,53291],[-136,494]],[[16761,52732],[-124,-152]],[[16637,52580],[-121,-153]],[[17181,52729],[-34,2]],[[20924,53739],[0,-486]],[[20924,53253],[0,-622]],[[20924,52631],[0,-118]],[[18058,53962],[-46,-1769],[-19,-284]],[[17402,51370],[-31,1094]],[[18168,52166],[-175,-257]],[[22084,52624],[-177,4]],[[17371,52464],[-33,259]],[[17338,52723],[-35,803]],[[17303,53526],[0,1]],[[23005,52773],[-58,1133]],[[23005,52773],[3,-161]],[[23008,52612],[-185,0]],[[17147,52731],[-105,3]],[[17042,52734],[-5,0]],[[17037,52734],[-276,-2]],[[24684,53819],[37,-33]],[[30255,52113],[66,658],[72,735],[10,295]],[[17338,52723],[-157,6]],[[21907,52628],[-413,2]],[[25362,52586],[-158,173]],[[25204,52759],[-70,110]],[[25134,52869],[-16,45]],[[24198,53509],[0,-483]],[[24198,53026],[-153,-797]],[[30740,50284],[-1,-3]],[[16055,52220],[-113,-140]],[[15942,52080],[-90,-189]],[[15703,52455],[-119,599]],[[15584,53054],[0,6]],[[15584,53060],[-144,214]],[[15457,53056],[84,-60]],[[15374,52329],[56,784],[27,-57]],[[21494,52630],[-263,0]],[[21231,52630],[-15,1]],[[22823,52612],[-209,1]],[[22614,52613],[-8,0]],[[22328,52621],[-200,1]],[[22128,52622],[-44,2]],[[22606,52613],[-200,6]],[[22406,52619],[-78,2]],[[21216,52631],[-292,0]],[[25437,52216],[-59,108]],[[25378,52324],[0,0]],[[25378,52324],[-16,262]],[[18974,50874],[-4,-624]],[[18970,50250],[3,-359]],[[18973,49891],[-92,518]],[[19321,50875],[-347,-1]],[[15703,52455],[5,-229]],[[15541,52996],[43,58]],[[24033,52070],[12,159]],[[20924,52513],[1,-1246]],[[20925,51267],[-5,-401]],[[20920,50866],[-273,6]],[[15852,51891],[-144,335]],[[16516,52427],[-37,-43]],[[16479,52384],[-183,-140]],[[16296,52244],[-72,-179]],[[16224,52065],[-148,104]],[[16076,52169],[-21,51]],[[20306,50859],[-459,15]],[[19847,50874],[-94,-4]],[[22933,51962],[75,650]],[[17402,51370],[-27,-352]],[[25508,51049],[-7,11]],[[25501,51060],[-49,749],[-15,407]],[[18855,50330],[-41,-296]],[[18814,50034],[-178,38],[-146,-160],[-10,-203]],[[18480,49709],[-120,831],[-124,821],[-68,805]],[[22933,51962],[101,-484]],[[18881,50409],[-26,-79]],[[20647,50872],[-14,0]],[[20633,50872],[-261,-13]],[[20372,50859],[-66,0]],[[15364,50954],[10,1375]],[[24033,52070],[39,-648]],[[24069,51261],[3,161]],[[31019,52138],[91,-726],[120,-670],[-31,-498],[-109,-43],[-77,-103],[-44,-154]],[[30177,51386],[78,727]],[[19753,50870],[-104,2]],[[19649,50872],[-328,3]],[[23039,51371],[-5,107]],[[25449,46203],[-1,327]],[[25448,46530],[-6,323]],[[25442,46853],[-18,652]],[[25424,47505],[28,654]],[[25452,48159],[17,650]],[[25469,48809],[52,810]],[[25521,49619],[47,647]],[[25568,50266],[83,717],[-149,-417],[-34,-297]],[[25468,50269],[-8,-60]],[[25460,50209],[-64,54]],[[25396,50263],[0,8]],[[25396,50271],[1,0]],[[25397,50271],[-1,-8]],[[25396,50263],[1,8]],[[25397,50271],[63,537]],[[25460,50808],[41,252]],[[25708,51489],[0,0]],[[30134,48619],[0,5]],[[30134,48624],[-6,915]],[[30128,49539],[-21,1901]],[[30107,51440],[70,-54]],[[23039,51371],[0,-542]],[[29918,49765],[75,942],[-2,189]],[[29991,50896],[116,544]],[[24069,51261],[-4,-647]],[[24065,50614],[-9,-214]],[[17343,50573],[32,445]],[[23040,50510],[-1,319]],[[30776,49283],[0,0]],[[30872,49423],[46,197],[-46,-197]],[[30969,49944],[-58,33],[-102,-223],[-72,16],[3,514]],[[20921,50072],[-1,794]],[[17343,50573],[-90,-1002]],[[15331,49524],[33,1430]],[[15364,50954],[0,0]],[[28659,49030],[-5,-322],[28,-294]],[[28682,48414],[2,-1]],[[28684,48413],[3,-1]],[[28687,48412],[-121,-487]],[[28566,47925],[-30,-143]],[[28536,47782],[0,-9]],[[28536,47773],[-182,-111]],[[28354,47662],[-172,165]],[[28182,47827],[-131,11]],[[28051,47838],[-117,-646]],[[27934,47192],[-70,-846]],[[27864,46346],[0,-2]],[[27864,46344],[-175,-557]],[[28626,49219],[33,-189]],[[27913,47070],[0,0]],[[29520,50896],[178,-10]],[[29918,49765],[-21,-108]],[[29881,50886],[110,10]],[[29473,50059],[5,832]],[[29478,50891],[42,5]],[[29473,50059],[6,-31]],[[29287,50863],[191,28]],[[29698,50886],[183,0]],[[28776,49760],[316,1101]],[[29092,50861],[195,2]],[[20921,50072],[0,-727]],[[23040,50510],[0,-325]],[[23040,50185],[-1,-164]],[[24056,50400],[20,-61]],[[24192,50016],[-116,323]],[[17343,49292],[-90,279]],[[29897,49657],[-56,-357]],[[30739,50281],[-59,-807]],[[18973,49891],[0,-912]],[[29486,49501],[-7,527]],[[30477,49268],[-1,0]],[[24192,50016],[19,-161]],[[24256,49769],[-45,86]],[[18974,47736],[0,344]],[[18974,48080],[-1,899]],[[23039,49376],[0,645]],[[20921,49271],[0,74]],[[24403,49057],[-84,312]],[[24319,49369],[-62,399]],[[24257,49768],[-1,1]],[[24440,48980],[-37,77]],[[29486,49501],[-18,-849]],[[20921,48737],[0,534]],[[17343,49292],[-24,-506]],[[17319,48786],[-12,-371]],[[17307,48415],[0,0]],[[17307,48415],[0,-3129]],[[17307,45286],[-326,-6]],[[29760,48265],[35,318]],[[29795,48583],[46,717]],[[28626,49219],[150,541]],[[30680,49474],[-91,-436]],[[30589,49038],[-83,-425],[-6,346]],[[30500,48959],[-14,-60]],[[30463,49054],[14,214]],[[29472,48550],[-4,102]],[[15319,48755],[29,203]],[[15348,48958],[0,7]],[[15348,48965],[-17,559]],[[30134,48619],[0,0]],[[30134,48619],[7,-464]],[[23039,48729],[0,647]],[[23039,48729],[0,0]],[[24440,48980],[39,-255]],[[20921,48737],[0,-652]],[[30431,48860],[16,54]],[[30443,48813],[-88,-234],[-44,-434]],[[30446,48583],[-3,230]],[[30447,48914],[-1,-331]],[[30474,48571],[-3,0]],[[30471,48571],[-8,483]],[[30486,48899],[-12,-328]],[[30476,49268],[-45,-408]],[[24487,48499],[0,4]],[[24487,48503],[-8,222]],[[16981,45280],[-314,-6]],[[16667,45274],[-10,0]],[[29760,48265],[-29,-683]],[[15304,48284],[27,234]],[[15331,48518],[-12,237]],[[29502,47734],[-48,596],[18,220]],[[20921,48037],[0,48]],[[23151,48079],[-112,0]],[[23039,48079],[0,650]],[[23317,48080],[-113,-1]],[[23204,48079],[-53,0]],[[23988,48077],[-125,0]],[[23863,48077],[-43,0]],[[24155,48079],[-30,0]],[[24125,48079],[-131,-2]],[[23994,48077],[-6,0]],[[24487,48499],[11,-419]],[[24498,48080],[-110,0]],[[24388,48080],[-33,0]],[[24355,48080],[-97,0]],[[24258,48080],[-103,-1]],[[23484,48080],[-16,-1]],[[23468,48079],[-132,0]],[[23336,48079],[-19,1]],[[23820,48077],[-89,0]],[[23731,48077],[-77,2]],[[23039,48079],[-40,0]],[[23654,48079],[-55,0]],[[23599,48079],[-115,1]],[[30311,48145],[-62,-584],[-71,-163]],[[30178,47398],[-37,757]],[[29502,47734],[-5,-691]],[[22181,47144],[-185,1]],[[24501,47934],[-3,146]],[[21471,47147],[-198,1]],[[21273,47148],[-58,0]],[[17861,45279],[-551,4]],[[17310,45283],[-3,3]],[[18974,47736],[0,-551]],[[16234,45274],[-158,6]],[[16076,45280],[-235,21]],[[16657,45274],[-178,3]],[[16479,45277],[-245,-3]],[[15231,47064],[86,757]],[[15317,47824],[0,-3]],[[15317,47824],[1,12]],[[15318,47836],[0,3]],[[15318,47839],[0,2]],[[15318,47841],[-1,7]],[[15317,47848],[-1,9]],[[15316,47857],[-12,427]],[[29726,47448],[5,134]],[[30178,47398],[-16,-97]],[[20921,48037],[1,-881]],[[20922,47156],[0,-732]],[[23011,47630],[-12,449]],[[24501,47934],[8,-637]],[[23011,47630],[28,-327]],[[22566,46849],[0,-2]],[[22566,46847],[-44,82]],[[22522,46929],[-53,216]],[[22469,47145],[-211,-1]],[[22258,47144],[-77,0]],[[21215,47148],[-140,0]],[[21075,47148],[-153,8]],[[24515,47126],[-6,171]],[[21709,47144],[-238,3]],[[21996,47145],[-287,-1]],[[18974,44503],[-1,786]],[[18973,45289],[0,952]],[[18973,46241],[1,944]],[[29593,46662],[-26,3]],[[29567,46665],[-67,9]],[[29500,46674],[-3,369]],[[30162,47301],[-1,1]],[[30161,47302],[20,-393]],[[30181,46909],[-119,-241]],[[29726,47448],[-2,-809]],[[29724,46639],[-131,23]],[[23015,46978],[24,325]],[[24718,46230],[-60,2]],[[24658,46232],[-72,310]],[[24586,46542],[0,1]],[[24586,46543],[-71,583]],[[30062,46668],[-3,-12]],[[30059,46656],[0,-3]],[[30059,46653],[-179,-42]],[[29880,46611],[-8,1]],[[29872,46612],[-99,17]],[[29773,46629],[-49,10]],[[22842,46775],[-90,93]],[[22752,46868],[-42,3]],[[22710,46871],[-144,-22]],[[23015,46978],[11,-649]],[[23026,46329],[15,-131]],[[23041,46198],[-52,64]],[[22989,46262],[-48,335]],[[22941,46597],[-59,107]],[[22882,46704],[-40,71]],[[20922,45289],[0,1135]],[[15841,45301],[-262,-9]],[[29500,46674],[-25,-438]],[[15414,45277],[-109,6]],[[15305,45283],[-98,1555],[24,226]],[[18072,45274],[-211,5]],[[30181,46909],[34,-547],[-80,-272]],[[25014,46217],[-10,1]],[[25004,46218],[-122,10]],[[25178,46202],[-46,6]],[[25132,46208],[-118,9]],[[25309,46207],[-112,-2]],[[25197,46205],[-19,-3]],[[24882,46228],[-24,0]],[[24858,46228],[-140,2]],[[15579,45292],[-81,-4]],[[15498,45288],[-84,-11]],[[29558,45360],[-120,19]],[[29438,45379],[-3,0]],[[29435,45379],[40,857]],[[30117,46018],[-7,-5]],[[30113,45974],[-1,-1]],[[29992,45318],[-85,-17]],[[29907,45301],[-84,39]],[[29823,45340],[-9,2]],[[29814,45342],[0,1]],[[18429,45283],[-290,-9]],[[18139,45274],[-67,0]],[[24658,46232],[47,-237]],[[25449,46203],[-110,5]],[[25339,46208],[-30,-1]],[[20922,45289],[0,-565]],[[20922,44724],[0,-249]],[[18973,45289],[-128,-4]],[[28468,45286],[-179,0]],[[28289,45286],[-39,-6]],[[27885,45286],[-153,-6]],[[27732,45280],[-43,507]],[[23066,45686],[0,115]],[[23066,45801],[-25,397]],[[28095,45286],[-171,-6]],[[27924,45280],[-39,6]],[[28250,45280],[-127,6]],[[28123,45286],[-28,0]],[[28977,45011],[-62,275]],[[27689,45787],[-211,-543]],[[24748,45647],[-43,348]],[[18677,45280],[-16,2]],[[18661,45282],[-232,1]],[[25449,46203],[12,-634]],[[25526,44741],[-65,828]],[[30112,45973],[7,-161]],[[20290,43422],[-150,6]],[[20140,43428],[-128,2]],[[20012,43430],[-167,-2]],[[20581,43421],[-255,0]],[[20326,43421],[-36,1]],[[18845,45285],[-168,-5]],[[28915,45286],[-33,-3]],[[28882,45283],[-174,3]],[[28708,45286],[-11,0]],[[28697,45286],[-115,0]],[[24748,45647],[46,-301]],[[30119,45812],[31,-65]],[[30024,45258],[-32,60]],[[29814,45343],[-104,6]],[[29710,45349],[-139,9]],[[29571,45358],[-13,2]],[[27344,45012],[-136,-412]],[[27208,44600],[-133,-235]],[[27075,44365],[-106,-146]],[[26969,44219],[-154,7]],[[26815,44226],[-45,50]],[[26770,44276],[1,0]],[[26771,44276],[5,0]],[[26776,44276],[63,197]],[[26839,44473],[0,0]],[[26839,44473],[-1,11]],[[26838,44484],[-97,101]],[[26741,44585],[-80,204]],[[27478,45244],[-134,-232]],[[30191,45733],[68,-801]],[[30236,44813],[-62,-218]],[[30150,45747],[29,31]],[[28582,45286],[-103,0]],[[28479,45286],[-11,0]],[[23066,45686],[23,-312]],[[19845,43428],[-316,-3]],[[19529,43425],[-264,-6]],[[19265,43419],[-14,0]],[[27478,45006],[0,238]],[[25888,44840],[-83,-1]],[[25805,44839],[-83,1]],[[23127,45036],[-38,338]],[[24795,45154],[-1,192]],[[25526,44741],[0,0]],[[25526,44741],[0,-448]],[[30174,44595],[-77,-245]],[[30097,44350],[-21,331]],[[30076,44681],[-9,71]],[[30067,44752],[-25,117]],[[30042,44869],[-18,389]],[[26575,44771],[-33,-6]],[[26542,44765],[-134,-25]],[[29438,45379],[-9,-713]],[[29429,44666],[-3,-261]],[[30299,44585],[-63,228]],[[30259,44932],[123,420],[-83,-767]],[[26279,44839],[-104,0]],[[26175,44839],[-26,0]],[[26408,44740],[-11,-2]],[[26397,44738],[-113,-18]],[[26284,44720],[-5,119]],[[26149,44839],[-103,-1]],[[26046,44838],[-35,0]],[[26011,44838],[-77,2]],[[25934,44840],[-46,0]],[[23127,45036],[4,-340]],[[24795,45154],[-26,-273]],[[24769,44881],[-20,-101]],[[29907,45301],[4,-528]],[[29911,44773],[0,-157]],[[30033,44826],[-12,21]],[[29085,44214],[-88,331]],[[28997,44545],[-20,466]],[[18974,44503],[-1,-610]],[[18139,43424],[0,1850]],[[18139,43424],[-2,-1644]],[[15345,44290],[-40,993]],[[16479,45277],[0,-1510]],[[16478,40009],[-1,280]],[[16477,40289],[1,246]],[[16478,40535],[1,510]],[[16479,41045],[0,2722]],[[27478,45006],[0,-652]],[[23166,44368],[-35,328]],[[27478,44335],[0,19]],[[24538,44044],[0,2]],[[24538,44046],[80,222]],[[24618,44268],[131,512]],[[30067,44752],[-34,74]],[[30021,44847],[-10,-211]],[[29911,44536],[0,80]],[[25692,44746],[-81,-160]],[[25611,44586],[-85,155]],[[25722,44840],[-30,-94]],[[26284,44720],[0,-309]],[[26575,44771],[78,17]],[[26653,44788],[0,0]],[[26653,44788],[3,0]],[[26658,44788],[-2,0]],[[26658,44788],[3,1]],[[25526,44293],[0,-314]],[[29911,44536],[-17,-498]],[[29894,44038],[-162,175]],[[25526,43734],[0,245]],[[26285,44217],[-1,194]],[[20922,44156],[0,319]],[[23166,44368],[17,-216]],[[30040,44368],[0,0]],[[30097,44350],[-21,331]],[[29543,43856],[-153,-449]],[[29390,43407],[0,3]],[[29390,43410],[32,697]],[[29422,44107],[4,298]],[[20922,44156],[0,-729]],[[20922,43427],[-248,-6]],[[20674,43421],[-93,0]],[[30011,44636],[-117,-598]],[[29732,44213],[-34,-300]],[[29698,43913],[2,-6]],[[29702,43899],[-159,-43]],[[29230,43692],[-37,105]],[[29193,43797],[-93,288]],[[29100,44085],[-15,129]],[[29100,44085],[-82,-489]],[[19251,43419],[-278,474]],[[26285,44217],[0,-289]],[[29300,44024],[-1,-1]],[[30193,43985],[9,62],[-9,-62]],[[23199,43722],[-12,57]],[[23187,43779],[-4,373]],[[27478,44335],[0,-663]],[[27478,43656],[0,16]],[[15357,41565],[-69,1300],[33,203]],[[15321,43068],[14,782],[10,440]],[[21321,43428],[-10,0]],[[21311,43428],[-202,0]],[[26285,43895],[0,33]],[[24538,44044],[35,-485]],[[30405,43867],[0,0]],[[21109,43428],[-54,0]],[[21055,43428],[-133,-1]],[[29390,43379],[-38,-171]],[[29320,43267],[-20,757]],[[29390,43410],[0,-3]],[[29390,43407],[-1,-24]],[[29389,43383],[1,-4]],[[29025,43600],[-7,-4]],[[24573,43556],[0,3]],[[29322,43422],[-87,253]],[[29235,43675],[-5,17]],[[29299,44023],[0,-1]],[[29299,44022],[23,-600]],[[25526,43734],[0,-291]],[[29776,43471],[0,0]],[[29444,43163],[68,89],[252,435],[-14,-266],[137,101],[-239,-447],[-193,-288]],[[26285,43895],[0,-491]],[[26285,43404],[0,-125]],[[29025,43600],[-42,-235]],[[21479,43428],[-158,0]],[[25526,42935],[0,508]],[[23199,43722],[-1,-193]],[[23198,43529],[1,-6]],[[23217,43240],[-18,283]],[[29322,43422],[-25,-368]],[[27478,43656],[0,-419]],[[27479,43148],[-1,89]],[[28963,42664],[-2,31]],[[28961,42695],[22,670]],[[18137,41388],[0,392]],[[24573,43556],[-46,-697]],[[24506,42749],[21,110]],[[23217,43240],[-5,-218]],[[25526,42935],[0,-458]],[[21479,42861],[0,96]],[[21479,42957],[0,471]],[[19529,41977],[0,803]],[[19529,42780],[0,645]],[[26285,42918],[0,361]],[[27479,43148],[-1,-396]],[[27478,42752],[-41,-105]],[[26285,42918],[0,-290]],[[29352,43208],[-35,-161]],[[29316,43199],[4,68]],[[29455,42787],[-70,-74]],[[29385,42713],[-17,-43]],[[29360,42716],[6,33]],[[29365,43014],[79,149]],[[29262,42930],[-12,-89]],[[23340,42643],[-109,9]],[[23231,42652],[-19,370]],[[23468,42633],[-80,7]],[[23388,42640],[-48,3]],[[23591,42624],[-44,2]],[[23547,42626],[-79,7]],[[24359,42677],[-63,14]],[[24296,42691],[-66,-11]],[[24230,42680],[-48,-6]],[[24182,42674],[-80,-11]],[[23718,42631],[-60,-4]],[[23658,42627],[-67,-3]],[[23846,42643],[-61,-5]],[[23785,42638],[-67,-7]],[[23974,42650],[-77,-7]],[[23897,42643],[-51,0]],[[24102,42663],[-21,-3]],[[24081,42660],[-107,-10]],[[29317,43047],[-1,152]],[[19529,41977],[0,-1046]],[[19529,40931],[0,-303]],[[27478,42451],[0,301]],[[29297,43054],[-35,-124]],[[24506,42749],[-64,-483]],[[24442,42266],[-83,411]],[[29366,42749],[-31,25]],[[29306,42935],[59,79]],[[29032,42198],[-69,466]],[[23231,42652],[15,-115]],[[21479,42861],[0,-479]],[[29335,42774],[-29,161]],[[25526,42451],[0,26]],[[29250,42841],[-13,-170]],[[26285,42220],[0,408]],[[21479,42213],[0,169]],[[29225,42487],[0,0]],[[24418,41936],[2,89]],[[24420,42025],[22,241]],[[27478,42451],[1,-146]],[[27448,42299],[-11,348]],[[29032,42198],[61,-361]],[[29093,41837],[0,-1]],[[29093,41836],[-71,-183]],[[29237,42671],[-4,-268]],[[27448,42299],[-15,-391]],[[27433,41908],[-6,-53]],[[23289,42055],[-43,482]],[[26285,42220],[0,-80]],[[23289,42055],[1,-6]],[[23036,41565],[-95,1]],[[22941,41566],[-31,0]],[[25526,42451],[-1,-613]],[[25525,41838],[-1,-493]],[[27478,41492],[1,101]],[[27479,41593],[-1,267]],[[27478,41860],[1,445]],[[29271,41744],[-3,49]],[[29233,42403],[38,-659]],[[21479,42213],[0,-644]],[[21479,41569],[1,-799]],[[26282,41408],[1,164]],[[26283,41572],[2,568]],[[22532,41568],[-64,-1]],[[22468,41567],[-62,0]],[[22406,41567],[-95,0]],[[22311,41567],[-31,0]],[[22658,41567],[-31,0]],[[22627,41567],[-95,1]],[[21682,41568],[-24,-1]],[[21658,41567],[-179,2]],[[22155,41566],[-154,0]],[[22001,41566],[-4,0]],[[22784,41566],[-126,1]],[[22910,41566],[-126,0]],[[21997,41566],[-152,1]],[[21845,41567],[-5,0]],[[21840,41567],[-158,1]],[[22280,41567],[-125,-1]],[[28074,41045],[-119,2]],[[28700,41044],[-28,0]],[[28672,41044],[-1,0]],[[28331,41041],[-3,1]],[[28328,41042],[-175,3]],[[27955,41047],[-34,0]],[[27921,41047],[-129,-3]],[[23162,41564],[-63,0]],[[23099,41564],[-63,1]],[[23290,42049],[67,-486]],[[23357,41563],[-8,0]],[[23349,41563],[-125,1]],[[23224,41564],[-62,0]],[[23446,41373],[-89,190]],[[24418,41936],[19,-475]],[[28850,41260],[-54,-215]],[[28796,41045],[-96,-1]],[[28671,41044],[-92,0]],[[28579,41044],[-61,-2]],[[28518,41042],[-59,0]],[[24456,41114],[-19,347]],[[27419,41625],[8,230]],[[29179,40745],[0,-4]],[[29179,40741],[-1,-2]],[[29001,41545],[-1,5]],[[29e3,41550],[22,103]],[[27419,41625],[-25,-344]],[[29268,41793],[3,-49]],[[29271,41744],[-71,-994],[-21,-9]],[[29179,40741],[0,4]],[[28153,41045],[-68,0]],[[28085,41045],[-11,0]],[[25525,40831],[-1,514]],[[27792,41044],[-23,0]],[[27769,41044],[-80,-2]],[[27689,41042],[-43,0]],[[29e3,41550],[-44,-229]],[[23478,41229],[-32,144]],[[18137,41388],[0,-676]],[[18137,40712],[0,-1612]],[[19529,40384],[0,244]],[[28459,41042],[-60,-1]],[[28399,41041],[-68,0]],[[28956,41321],[-58,-118]],[[28898,41203],[-43,60]],[[28850,41260],[0,0]],[[27391,41042],[3,239]],[[27478,41492],[0,-448]],[[27646,41042],[-140,2]],[[27506,41044],[-28,0]],[[26282,41408],[0,-354]],[[21480,40759],[0,11]],[[15493,39270],[-65,1424],[-71,871]],[[23478,41229],[-49,-367]],[[28979,41348],[22,197]],[[24456,41114],[17,-140]],[[26282,40758],[0,296]],[[28897,41161],[82,187]],[[25525,40831],[0,-242]],[[27391,41042],[-31,-211]],[[27360,40831],[-26,-125]],[[24576,40445],[-67,370]],[[24509,40815],[-36,159]],[[28898,41203],[-26,-825]],[[28804,40253],[-1,151]],[[28803,40404],[-7,641]],[[28855,41263],[-5,-3]],[[23415,40694],[14,168]],[[28900,40423],[-35,202]],[[28866,40625],[-1,0]],[[28866,40625],[-5,206]],[[28860,40874],[1,-43]],[[28860,40874],[37,287]],[[16714,38612],[-48,225]],[[29178,40739],[-11,-297]],[[29167,40442],[-17,-94]],[[29150,40348],[-38,-96]],[[29112,40252],[0,-14]],[[26282,40758],[-1,-85]],[[28270,40305],[-11,-7]],[[28259,40298],[-30,321]],[[28229,40619],[-55,236]],[[28174,40855],[-87,32]],[[28087,40887],[-37,-224]],[[28050,40663],[-54,34]],[[27996,40697],[-113,-102]],[[27883,40595],[-57,-283]],[[27826,40312],[-60,-227]],[[27766,40085],[3,959]],[[28784,40396],[-69,317]],[[28715,40713],[-78,-279]],[[28637,40434],[0,-126]],[[28637,40308],[-47,-159]],[[28331,40116],[-61,189]],[[28117,40429],[-33,140]],[[23415,40694],[38,-213]],[[27334,40706],[-23,-152]],[[27311,40554],[-70,-216]],[[27241,40338],[-86,-130],[-13,-105]],[[28171,40194],[-54,235]],[[25505,40184],[20,405]],[[24576,40445],[59,-327]],[[26280,40268],[1,405]],[[21480,40759],[1,-810]],[[21481,39949],[0,-161]],[[28914,40342],[-11,69]],[[28901,40416],[-1,7]],[[29040,40031],[-126,311]],[[27142,40103],[-8,-66]],[[18136,38906],[1,194]],[[28084,40569],[-45,-703]],[[23555,39997],[-48,74]],[[23507,40071],[-54,410]],[[28259,40298],[-31,-352]],[[28228,39946],[-57,248]],[[19529,40384],[-2,-1614]],[[25505,40184],[-7,-190]],[[28029,39806],[10,60]],[[23553,39912],[2,85]],[[27136,39881],[-2,156]],[[24711,39640],[-59,-61]],[[24652,39579],[-17,539]],[[28804,40253],[1,-94]],[[28742,40159],[-56,139],[98,98]],[[28590,40149],[-15,-63]],[[28815,39382],[-8,585]],[[28807,39967],[-2,192]],[[28872,40378],[57,-769]],[[28458,39638],[-32,-59]],[[28426,39579],[-58,227]],[[28368,39806],[-37,310]],[[29112,40238],[-86,-665],[14,458]],[[16478,40009],[0,-98]],[[16478,39911],[0,-84]],[[26420,39741],[-52,137]],[[26368,39878],[-33,-39]],[[26335,39839],[-55,58]],[[26280,39897],[0,371]],[[26280,39897],[-16,-138]],[[26264,39759],[0,-1]],[[26494,39275],[-50,105]],[[26444,39380],[0,87]],[[26444,39467],[-24,274]],[[24760,39559],[-49,81]],[[28635,39395],[0,0]],[[28706,39561],[36,598]],[[25526,39519],[0,1]],[[25526,39520],[-32,474]],[[25494,39994],[4,0]],[[26591,39026],[-56,243]],[[26535,39269],[-41,6]],[[28029,39806],[-91,-546]],[[27938,39260],[-52,-2]],[[28607,39535],[-17,-366]],[[28590,39169],[0,-3]],[[28575,40086],[2,-3]],[[28589,40088],[18,-553]],[[23553,39416],[0,367]],[[23553,39783],[0,129]],[[27091,39475],[-53,155]],[[27136,39881],[-45,-406]],[[25526,39519],[-1,-92]],[[17623,34118],[-355,1806]],[[26287,39436],[-21,81]],[[26266,39517],[-2,241]],[[28815,39382],[4,-360]],[[28755,39100],[-16,112]],[[28739,39212],[17,109]],[[21481,39138],[0,650]],[[28543,39077],[4,-10]],[[28547,39067],[-4,-218]],[[28437,39124],[17,222]],[[28454,39346],[4,292]],[[16666,38837],[-70,323]],[[16596,39160],[-91,417]],[[16505,39577],[-27,250]],[[16917,37646],[-203,966]],[[28445,39309],[-54,-223]],[[23553,39416],[0,-202]],[[26713,38990],[-105,35]],[[26608,39025],[-17,1]],[[26591,39026],[0,0]],[[21481,39138],[0,-154]],[[27038,39630],[-32,-689]],[[27006,38941],[-20,-17]],[[26839,38901],[-60,288]],[[26779,39189],[0,1]],[[26779,39190],[-66,-197]],[[26713,38993],[0,-3]],[[24786,39069],[5,209]],[[24791,39278],[13,61]],[[24804,39339],[-44,220]],[[28454,39346],[-22,183]],[[28432,39529],[-6,50]],[[28929,39609],[44,-479],[29,-450]],[[29002,38680],[-5,0]],[[28997,38680],[-5,0]],[[28992,38680],[-71,1]],[[28921,38681],[-100,202]],[[28821,38883],[-2,139]],[[27886,39258],[-47,-530]],[[27839,38728],[-25,-122]],[[27814,38606],[-93,334]],[[28756,39321],[-17,-109]],[[28739,39212],[-76,198],[43,151]],[[28391,39086],[-16,-307]],[[28441,39500],[0,3]],[[28441,39500],[0,-4]],[[28441,39496],[0,-2]],[[28441,39494],[0,-2]],[[28441,39492],[1,-5]],[[28442,39486],[0,1]],[[28442,39486],[0,-5]],[[28442,39481],[2,-3]],[[28444,39478],[0,-2]],[[28444,39476],[2,-7]],[[28446,39469],[0,-65]],[[28446,39404],[0,2]],[[28432,39529],[9,-26]],[[26287,39436],[-64,-179]],[[26223,39257],[-49,-131]],[[26174,39126],[-37,84]],[[26137,39210],[-26,-279]],[[25466,38611],[25,286]],[[25491,38897],[34,530]],[[24764,38829],[-1,-16]],[[24763,38813],[-21,-253]],[[15840,38131],[-3,0]],[[15809,38129],[-2,4]],[[15807,38133],[-39,1]],[[15641,38391],[-148,879]],[[26986,38924],[-61,-318]],[[26925,38606],[-25,18]],[[26900,38624],[-20,157]],[[26880,38781],[-41,120]],[[23552,38728],[1,486]],[[24786,39069],[-22,-240]],[[28590,39166],[9,-599],[-52,500]],[[28547,39067],[-4,10]],[[27721,38940],[-41,-605]],[[27680,38335],[-46,-375]],[[23552,38728],[0,-165]],[[16040,38042],[-23,137]],[[26109,38815],[2,116]],[[16917,37646],[165,-803]],[[28691,38439],[-29,547],[93,114]],[[28785,38627],[-94,-188]],[[21481,38328],[0,12]],[[21481,38340],[0,644]],[[28543,38849],[0,-85]],[[28495,38564],[-94,-54],[36,614]],[[18136,38906],[1,-790]],[[18137,38116],[-1,-1012]],[[18136,37104],[0,-1125]],[[18136,35979],[0,-293]],[[19532,38124],[-5,646]],[[26109,38815],[-57,-267]],[[26052,38548],[-42,-171]],[[28375,38779],[-7,-313]],[[25466,38611],[-69,-294]],[[28795,38335],[-10,292]],[[15837,38131],[-28,-2]],[[16017,38179],[-132,-258],[-45,210]],[[25399,38268],[-2,49]],[[24779,38004],[-12,72]],[[24767,38076],[-25,484]],[[28603,38436],[-31,-192],[-77,320]],[[28543,38764],[60,-328]],[[26898,38299],[0,0]],[[26900,38624],[-2,-325]],[[19532,38124],[0,-507]],[[19532,37617],[-1,-737]],[[19531,36880],[0,-904]],[[19531,35976],[-266,-3]],[[19265,35973],[-209,11]],[[19056,35984],[-185,-3]],[[23552,37951],[0,612]],[[17268,35924],[-186,919]],[[28986,38582],[-75,-715]],[[28911,37867],[-68,-38]],[[28843,37829],[0,3]],[[28992,38680],[-6,-98]],[[25860,38177],[-37,-113]],[[25979,38171],[-13,-319]],[[25966,37852],[-14,-13]],[[25952,37839],[-92,338]],[[26950,37569],[-23,169]],[[26927,37738],[-29,561]],[[26010,38377],[-31,-206]],[[28442,38144],[-1,-3]],[[28368,38466],[83,-128]],[[23552,37951],[-1,-43]],[[15768,38134],[6,-631],[-119,557],[-14,331]],[[16038,37915],[2,127]],[[28778,37969],[17,366]],[[28843,37832],[-1,-3]],[[28842,37829],[-64,140]],[[28477,37991],[-35,153]],[[28451,38338],[125,-469]],[[27607,37750],[27,210]],[[21481,38328],[1,-976]],[[21482,37352],[0,-175]],[[27607,37750],[-66,-484]],[[25823,38064],[-8,-140]],[[25815,37924],[-46,-378]],[[25769,37546],[-44,290]],[[25399,38268],[-31,-631]],[[25598,37614],[-9,36]],[[25589,37650],[-42,80]],[[25478,37649],[-63,7]],[[25415,37656],[-29,-191]],[[25386,37465],[-17,170]],[[25369,37635],[-1,2]],[[24928,37473],[-74,134]],[[24854,37607],[-75,397]],[[25725,37836],[-46,-126]],[[25679,37710],[-81,-96]],[[25547,37730],[-69,-80]],[[25478,37650],[0,-1]],[[28441,38141],[75,-497],[31,-232]],[[28566,37480],[-89,511]],[[15835,37649],[78,298],[125,-32]],[[23550,37194],[0,36]],[[23550,37230],[1,678]],[[28887,37650],[0,-27]],[[28887,37623],[-59,-670]],[[28828,36953],[-33,-42]],[[28782,37012],[13,397]],[[28795,37409],[47,420]],[[28842,37829],[1,0]],[[28911,37867],[-24,-217]],[[28637,37553],[1,-1]],[[28638,37552],[2,-269]],[[28576,37869],[61,-316]],[[27086,36932],[-11,47]],[[27075,36979],[-102,379]],[[26973,37358],[-23,211]],[[28541,36813],[-25,262]],[[27562,37146],[-21,120]],[[24970,37042],[-42,431]],[[25386,37465],[-29,-418]],[[28516,37075],[-45,-36]],[[28471,37039],[-2,24]],[[15925,36839],[-90,810]],[[24970,37042],[0,-10]],[[25377,36917],[-20,130]],[[27384,36774],[0,3]],[[28640,37134],[-74,346]],[[28640,37283],[0,-149]],[[15782,37296],[29,0]],[[21191,35978],[-257,-8]],[[20934,35970],[-319,-1]],[[28547,37412],[38,-377]],[[27075,36979],[-95,-443]],[[26980,36536],[-1,-3]],[[26979,36533],[-67,-179]],[[26912,36354],[-4,-11]],[[21482,36702],[0,475]],[[27562,37146],[-71,-381]],[[27491,36765],[-107,9]],[[28390,36690],[-19,6]],[[15811,37296],[78,-451]],[[15840,36178],[-62,763],[4,355]],[[23550,37194],[1,-539]],[[23551,36655],[-1,-47]],[[20615,35969],[-19,0]],[[20596,35969],[-138,1]],[[21482,36702],[0,-736]],[[21482,35966],[-267,12]],[[21215,35978],[-24,0]],[[19716,35976],[-185,0]],[[19966,35978],[-250,-2]],[[28469,37063],[2,-24]],[[28471,37039],[55,-208]],[[28526,36831],[1,-3]],[[18457,35979],[-321,0]],[[24970,37032],[11,-429]],[[24981,36603],[0,-1]],[[24981,36602],[-2,-156]],[[25377,36917],[-83,-186]],[[25294,36731],[-15,37]],[[25279,36768],[0,-3]],[[25279,36765],[-21,-661]],[[28585,37035],[31,-106]],[[28614,36816],[-73,-3]],[[27384,36777],[-34,-253]],[[27350,36524],[-68,-110]],[[27282,36414],[-38,192]],[[28371,36696],[0,-145]],[[28795,36911],[-5,-59]],[[28790,36852],[-33,152],[25,8]],[[27244,36606],[-106,-186]],[[27138,36420],[-52,512]],[[18871,35981],[-314,-2]],[[18557,35979],[-100,0]],[[28616,36929],[-2,-113]],[[28493,36664],[-108,-81],[5,107]],[[15889,36845],[36,-6]],[[23019,35975],[-63,1]],[[22956,35976],[-110,0]],[[22846,35976],[-88,-1]],[[22758,35975],[-95,0]],[[22026,35982],[-151,-4]],[[22179,35976],[-129,5]],[[22050,35981],[-24,1]],[[22511,35973],[-55,2]],[[22456,35975],[-127,1]],[[17623,34118],[67,-355]],[[28568,36291],[-75,373]],[[28527,36828],[22,-165]],[[25236,36127],[22,-23]],[[20247,35966],[-264,12]],[[19983,35978],[-17,0]],[[20458,35970],[-81,-1]],[[20377,35969],[-130,-3]],[[21618,35969],[-132,-5]],[[21486,35964],[-4,2]],[[21754,35973],[-136,-4]],[[21875,35978],[-87,-3]],[[21788,35975],[-34,-2]],[[23298,35976],[-73,0]],[[23225,35976],[-50,0]],[[22663,35975],[-86,-2]],[[22577,35973],[-66,0]],[[22329,35976],[-127,0]],[[22202,35976],[-23,0]],[[23424,35976],[-94,0]],[[23330,35976],[-32,0]],[[28549,36663],[73,-426]],[[23550,36083],[0,525]],[[23550,36083],[0,-107]],[[23550,35976],[-108,0]],[[23442,35976],[-18,0]],[[25236,36127],[-100,272]],[[25069,36098],[9,-156]],[[25078,35942],[-50,55]],[[25028,35997],[-49,449]],[[25136,36399],[-2,-3]],[[25134,36396],[-65,-298]],[[28388,36521],[68,-110]],[[23175,35976],[-10,0]],[[23165,35976],[-146,-1]],[[15976,35708],[-136,470]],[[26908,36343],[-84,-413]],[[28456,36411],[93,-173]],[[25087,35872],[-9,70]],[[28629,35958],[-61,333]],[[26821,35778],[3,152]],[[25579,35309],[-85,-6]],[[25494,35303],[-15,-1]],[[28549,36238],[42,-432]],[[27841,35124],[-35,0]],[[27771,35123],[-12,0]],[[27759,35123],[-56,1]],[[28631,36186],[-2,-228]],[[25739,35324],[-84,-10]],[[25655,35314],[-14,-2]],[[25641,35312],[-62,-3]],[[25087,35872],[-6,-295]],[[25081,35577],[-15,-247]],[[25066,35330],[-42,-37]],[[27976,35124],[-18,0]],[[27958,35124],[-95,0]],[[27863,35124],[-22,0]],[[24371,35046],[-125,-2]],[[23550,35543],[0,433]],[[28245,35132],[-37,-2]],[[28208,35130],[-41,-1]],[[26821,35778],[-162,-424]],[[25479,35302],[-104,77]],[[23550,35543],[0,-184]],[[19531,34120],[0,1856]],[[19531,34120],[0,-1941]],[[19531,32179],[0,-709]],[[19531,31470],[-2,-1490]],[[21215,35978],[-1,-931]],[[21214,35047],[-10,-828]],[[21204,34219],[0,-588]],[[21485,35047],[-37,0]],[[21448,35047],[-234,0]],[[21784,35046],[-35,0]],[[21749,35046],[-150,0]],[[21599,35046],[-114,1]],[[22050,35046],[-151,0]],[[21899,35046],[-115,0]],[[28482,35144],[0,-15]],[[28482,35129],[-69,4]],[[28413,35133],[-37,-3]],[[26292,35239],[-2,0]],[[26290,35239],[-53,22]],[[23913,35043],[-75,1]],[[26528,35210],[-22,4]],[[26506,35214],[-61,4]],[[28678,35667],[9,165]],[[26445,35218],[-9,0]],[[26436,35218],[-144,21]],[[26659,35354],[-60,-119]],[[26599,35235],[-71,-25]],[[25258,35049],[-8,1]],[[25250,35050],[-83,2]],[[26148,35281],[-40,-14]],[[25959,35285],[-65,21]],[[25894,35306],[-57,21]],[[23838,35044],[-78,0]],[[23760,35044],[-59,0]],[[28775,35141],[-7,0]],[[28768,35141],[-25,0]],[[28743,35141],[-9,0]],[[28734,35141],[-6,0]],[[28728,35141],[-25,0]],[[28675,35672],[3,-5]],[[28687,35832],[88,-691]],[[27453,35154],[-63,3]],[[26998,35225],[-14,0]],[[27164,35255],[-50,5]],[[27114,35260],[-89,-37]],[[24776,35043],[-100,1]],[[28601,35141],[-14,0]],[[28587,35141],[-105,3]],[[28591,35806],[33,-21]],[[16104,33735],[-103,743],[-25,1230]],[[28376,35130],[-131,2]],[[26791,35221],[-135,7]],[[26656,35228],[-57,7]],[[28167,35129],[-77,0]],[[28090,35129],[-37,-3]],[[28053,35126],[-77,-2]],[[26237,35261],[-84,21]],[[26153,35282],[-5,-1]],[[24523,35043],[-78,-2]],[[24445,35041],[-12,2]],[[24433,35043],[-62,3]],[[26984,35225],[-88,-3]],[[26896,35222],[-62,0]],[[26834,35222],[-43,-1]],[[25837,35327],[-42,-31]],[[25795,35296],[-56,28]],[[27608,35126],[-108,15]],[[27500,35141],[-47,13]],[[25024,35293],[-25,-249]],[[24999,35044],[-18,-1]],[[24981,35043],[-16,1]],[[24965,35044],[-1,-301]],[[28629,35680],[-4,-47]],[[28669,35668],[6,4]],[[28703,35141],[-53,0]],[[28650,35141],[-49,0]],[[27703,35124],[-88,2]],[[27615,35126],[-7,0]],[[18136,35686],[-100,-1297],[-70,-515],[19,-1013],[-11,-605]],[[17974,32256],[-284,1507]],[[26108,35267],[-98,6]],[[26010,35273],[-51,12]],[[24676,35044],[-58,0]],[[24618,35044],[-95,-1]],[[24065,35043],[-23,0]],[[24042,35043],[-123,1]],[[23919,35044],[-6,-1]],[[27390,35157],[-18,5]],[[27372,35162],[-126,24]],[[27246,35186],[-90,25]],[[27156,35211],[8,44]],[[24246,35044],[-8,0]],[[24238,35044],[-106,0]],[[24132,35044],[-67,-1]],[[25167,35052],[-3,1]],[[25164,35053],[-2,-1]],[[23701,35044],[-151,2]],[[23550,35046],[0,313]],[[25375,35379],[4,-336]],[[25379,35043],[-121,6]],[[23550,35046],[16,-628]],[[25162,35052],[-143,1]],[[25019,35053],[-20,-9]],[[27806,35124],[-35,-1]],[[24848,34115],[-91,-6]],[[24757,34109],[-25,-1]],[[24732,34108],[52,382]],[[24784,34490],[-8,553]],[[27025,35223],[-27,2]],[[27156,35211],[-14,-367]],[[27142,34844],[-53,-194]],[[27089,34650],[-4,-41]],[[22051,33894],[0,325]],[[22051,34219],[-1,827]],[[28548,34675],[-72,196]],[[28752,34612],[-19,143]],[[28728,35141],[24,-529]],[[28775,35141],[26,-594]],[[28800,34546],[-30,549]],[[28770,35095],[-2,46]],[[28743,35141],[5,0]],[[28760,35141],[-12,0]],[[28760,35141],[-26,0]],[[28733,34755],[-46,-43]],[[28687,34712],[0,3]],[[28687,34715],[-13,49]],[[28674,34764],[-2,44]],[[28476,34871],[60,-301]],[[27085,34609],[-42,-301]],[[27043,34308],[-39,100]],[[28672,34808],[2,-44]],[[28674,34764],[13,-49]],[[28687,34712],[-7,-341],[-22,149]],[[24940,34460],[24,283]],[[24981,35043],[-16,1]],[[23569,34305],[-3,113]],[[24940,34460],[-21,-340]],[[24919,34120],[-71,-5]],[[26898,34189],[-82,-175]],[[28658,34520],[-57,-245]],[[28601,34275],[-64,214],[11,186]],[[27004,34408],[-54,-157]],[[26950,34251],[0,-2]],[[26950,34249],[-25,-174]],[[26925,34075],[-27,114]],[[28536,34570],[6,-596]],[[23585,33668],[-16,637]],[[28882,33504],[-75,-902]],[[28807,32613],[75,891]],[[28843,33756],[0,0]],[[28734,33500],[78,-82],[-43,26]],[[28801,34547],[-1,-1]],[[24936,33938],[-17,182]],[[26816,34014],[-18,-287]],[[26798,33727],[-82,-139]],[[23585,33668],[6,-225]],[[22051,33894],[0,-488]],[[21204,33412],[0,219]],[[26716,33588],[0,-39]],[[26716,33549],[-113,-235]],[[22051,33041],[0,365]],[[24936,33938],[-60,-512],[-14,-170]],[[24862,33256],[-37,-264]],[[24825,32992],[-3,-13]],[[24822,32979],[-25,84]],[[28635,33989],[84,-187],[-27,-253]],[[28542,33974],[93,15]],[[26603,33314],[-81,-203]],[[26522,33111],[-2,6]],[[28434,33295],[-3,-15]],[[17974,32256],[138,-1299]],[[18112,30957],[-82,-401]],[[16298,32208],[-72,882],[-122,645]],[[23602,32994],[-11,449]],[[21204,33412],[-1,-817]],[[21203,32595],[0,-426]],[[28431,33280],[136,-511]],[[28600,33319],[-166,-24]],[[28692,33549],[42,-49]],[[28769,33444],[-93,-556],[-69,315],[-7,116]],[[26520,33117],[-19,-319]],[[26501,32798],[-74,-159]],[[24816,32970],[-19,93]],[[23602,32994],[0,-32]],[[22051,33041],[0,-446]],[[27130,32590],[-29,6]],[[27101,32596],[-27,6]],[[27253,32559],[-11,1]],[[27242,32560],[-112,30]],[[26785,32306],[-28,-50]],[[27389,32256],[-18,140]],[[27371,32396],[-36,134]],[[22051,32313],[0,282]],[[26967,32610],[-62,-86]],[[25504,32261],[-107,4]],[[25610,32253],[-106,8]],[[26236,32231],[-80,-4]],[[26156,32227],[-28,-3]],[[26128,32224],[-30,-1]],[[25719,32238],[-105,15]],[[25614,32253],[-4,0]],[[23598,32131],[4,828]],[[23602,32959],[0,3]],[[24816,32970],[-27,-496],[-38,-228]],[[24751,32246],[1,-252]],[[24752,31994],[-29,-50]],[[25175,32246],[-10,0]],[[25165,32246],[-54,-2]],[[25111,32244],[-52,0]],[[26905,32524],[-52,-143]],[[26853,32381],[-37,-23]],[[26816,32358],[-31,-52]],[[25397,32265],[-59,-19]],[[25338,32246],[-45,0]],[[25293,32246],[-5,0]],[[27335,32530],[-82,29]],[[28426,32387],[121,-324]],[[28476,32416],[-54,-29]],[[24936,32246],[-22,-2]],[[24914,32244],[-163,2]],[[27074,32602],[-68,17]],[[27006,32619],[-39,-9]],[[25059,32244],[-43,-1]],[[25016,32243],[-80,3]],[[25288,32246],[-113,0]],[[23598,32131],[-2,-381]],[[23596,31750],[-2,-412]],[[25863,32238],[-130,0]],[[25733,32238],[-14,0]],[[25989,32233],[-125,5]],[[25864,32238],[-1,0]],[[26292,32232],[-10,-1]],[[26282,32231],[-46,0]],[[26757,32256],[-104,-15]],[[28567,32769],[21,-236],[-112,-117]],[[26098,32223],[-37,3]],[[26061,32226],[-72,7]],[[26507,32231],[-35,0]],[[26472,32231],[-53,2]],[[26419,32233],[8,406]],[[26419,32233],[-83,0]],[[26336,32233],[-44,-1]],[[28422,32387],[4,0]],[[27643,31895],[-109,13]],[[27534,31908],[-68,6]],[[27466,31914],[-77,342]],[[21203,31783],[0,386]],[[22051,32313],[0,-531]],[[27710,31890],[-67,5]],[[26653,32241],[-19,0]],[[26634,32241],[-108,-10]],[[26526,32231],[-19,0]],[[28596,31771],[1,-6]],[[28597,31765],[0,-3]],[[28597,31762],[-51,125],[-130,-68]],[[28416,31819],[0,-1]],[[28547,32063],[63,79],[-14,-371]],[[16447,30195],[0,0]],[[16544,30316],[0,0]],[[16625,31089],[-228,180],[-87,448],[-12,491]],[[26790,31290],[-17,21]],[[26773,31311],[-15,81]],[[26758,31392],[-66,275]],[[26692,31667],[1,5]],[[26693,31672],[-4,53]],[[26689,31725],[68,531]],[[27773,31565],[-63,325]],[[22095,31335],[-43,101]],[[22052,31436],[0,0]],[[22052,31436],[-1,346]],[[25367,32054],[-29,192]],[[25354,31476],[-3,-221]],[[25367,32054],[-13,-578]],[[26061,32226],[7,-232]],[[28416,31818],[0,1]],[[28416,31819],[-53,-450],[-48,-156]],[[26081,31553],[-13,441]],[[26083,31488],[-2,65]],[[27882,30949],[-1,3]],[[27881,30952],[-105,597]],[[27776,31549],[-3,16]],[[21203,31783],[0,-808]],[[21203,30975],[0,-20]],[[24723,31944],[-48,-358]],[[16772,30477],[-147,612]],[[24678,31369],[-3,217]],[[26083,31488],[4,-119]],[[22271,31020],[-74,109]],[[22197,31129],[0,1]],[[22197,31130],[-102,205]],[[16917,28163],[0,0]],[[16946,29088],[0,0]],[[17003,29918],[0,12]],[[17003,29930],[-3,11]],[[17e3,29941],[0,-8]],[[17e3,29933],[-26,23]],[[16974,29956],[-14,-67]],[[16960,29889],[-75,574],[-113,14]],[[26859,30781],[-9,150]],[[26850,30931],[-60,359]],[[28315,31213],[-62,-271]],[[28253,30942],[0,-3]],[[23592,30746],[2,592]],[[24678,31369],[-78,-590],[-29,-164]],[[24571,30615],[0,-1]],[[22438,30684],[-95,104]],[[22343,30788],[-72,232]],[[21203,30955],[-1,-888]],[[21202,30067],[-2,-474]],[[26101,30925],[-14,444]],[[26113,30543],[-12,382]],[[19529,28920],[0,1060]],[[25346,30990],[5,265]],[[26113,30543],[6,-217]],[[22570,30659],[-80,-112]],[[22490,30547],[-52,137]],[[23592,30746],[-2,-464]],[[23590,30282],[0,-1]],[[23590,30281],[-3,-562]],[[23587,29719],[-72,121]],[[23515,29840],[-115,435]],[[27999,30290],[-117,659]],[[26900,30419],[-41,362]],[[25346,30990],[-9,-437]],[[28253,30939],[6,1]],[[28260,30934],[-41,-278]],[[28219,30656],[-27,96]],[[28192,30752],[-167,-607]],[[28025,30145],[-4,18]],[[28021,30163],[-1,7]],[[28020,30170],[-21,120]],[[25336,30501],[1,52]],[[18007,28580],[-60,520],[29,244]],[[17976,29344],[53,1100],[1,112]],[[28020,30170],[-119,-574]],[[22730,30207],[-116,-19]],[[22614,30188],[-44,471]],[[26900,30419],[8,-106]],[[23001,30197],[-96,111]],[[23232,30157],[-24,-63]],[[23208,30094],[-148,-212]],[[23060,29882],[-59,315]],[[23400,30275],[-43,-109]],[[23357,30166],[-125,-9]],[[24499,29515],[-5,61]],[[24494,29576],[68,417],[24,446],[-15,175]],[[26122,30210],[-3,116]],[[25336,30501],[-11,-583]],[[27034,29642],[-33,180]],[[27001,29822],[-92,488]],[[26909,30310],[-1,3]],[[22905,30308],[-3,-11]],[[22902,30297],[-69,-352],[-81,291]],[[22752,30236],[-22,-29]],[[25317,29524],[8,394]],[[27062,29521],[-4,24]],[[27058,29545],[-24,97]],[[26122,30210],[14,-464]],[[26136,29746],[9,-316]],[[23710,29558],[-123,161]],[[17149,29251],[-81,408]],[[17068,29659],[-1,5]],[[17067,29664],[-10,15]],[[17057,29679],[0,-3]],[[17057,29676],[-54,242]],[[27134,28900],[-27,91]],[[27107,28991],[-45,530]],[[21199,29253],[1,340]],[[26148,29328],[-3,102]],[[27901,29596],[-50,-711],[-61,-15]],[[27790,28870],[0,0]],[[19529,28920],[0,-803]],[[19529,28117],[0,-654]],[[25317,29524],[-8,-457]],[[23710,29558],[1,-522]],[[23777,28566],[-3,0]],[[23774,28566],[-63,0]],[[23711,28566],[0,470]],[[21199,29253],[-2,-798]],[[21197,28455],[0,-813]],[[21197,27642],[0,-810]],[[21197,26832],[-73,-163]],[[21124,26669],[-110,0]],[[24499,29515],[7,-722],[6,-241]],[[24512,28552],[0,-13]],[[24512,28539],[-27,2]],[[24485,28541],[-48,0]],[[24437,28541],[-7,0]],[[25299,28515],[10,552]],[[27680,28409],[-43,-45]],[[17564,27821],[-328,418],[-87,1012]],[[26148,29328],[16,-556]],[[26164,28772],[1,-40]],[[27173,28708],[-39,192]],[[23865,28565],[-9,0]],[[23856,28565],[-79,1]],[[18336,26742],[-386,1265]],[[17950,28007],[57,573]],[[24004,28563],[-69,2]],[[23935,28565],[-70,0]],[[17950,28007],[-386,-186]],[[24430,28541],[-169,5]],[[20700,26669],[-19,0]],[[20681,26669],[-301,5]],[[20380,26674],[-106,-2]],[[24261,28546],[-183,11]],[[24078,28557],[-74,6]],[[23711,28566],[0,-257]],[[27173,28708],[21,-92]],[[25299,28515],[-2,-116]],[[26179,28289],[-14,443]],[[27506,27795],[-43,-73]],[[27232,28056],[-38,560]],[[26179,28289],[13,-230]],[[20274,26672],[-42,-405]],[[20232,26267],[-214,0]],[[27232,28056],[4,-279]],[[27266,27706],[-30,71]],[[23711,27034],[0,365]],[[23711,27399],[0,560]],[[23711,27959],[0,350]],[[24546,27741],[-28,477],[-6,321]],[[24546,27741],[-7,-25]],[[25277,27244],[9,502]],[[25286,27746],[11,653]],[[21014,26669],[-72,0]],[[20942,26669],[-12,0]],[[20930,26669],[-230,0]],[[26208,27801],[-16,258]],[[19764,26267],[-235,-841]],[[19529,25426],[0,2037]],[[27391,27734],[0,-210]],[[27390,27442],[2,-9]],[[27390,27414],[-6,-39]],[[27359,26910],[6,8]],[[27365,26918],[-4,-100]],[[27361,26818],[-42,56]],[[27319,26874],[-7,14]],[[27312,26888],[-8,203]],[[27304,27091],[-38,614]],[[27266,27705],[0,1]],[[26208,27801],[22,-182]],[[27394,26872],[0,0]],[[27381,27086],[-9,-128]],[[27372,26958],[0,-3]],[[27372,26955],[2,-9]],[[27374,26946],[0,-12]],[[27374,26934],[-5,-4]],[[27369,26930],[-4,-12]],[[27365,26918],[-6,-8]],[[27384,27375],[-3,-289]],[[27447,27145],[0,0]],[[27436,27222],[0,0]],[[27463,27722],[-6,-37]],[[27457,27685],[-66,49]],[[24549,26882],[0,12]],[[24549,26894],[-5,6]],[[24544,26900],[-20,161]],[[24524,27061],[33,302],[-18,353]],[[26238,27372],[-8,247]],[[20018,26267],[-254,0]],[[25277,27244],[-3,-152]],[[26251,27098],[-13,274]],[[18884,25600],[-548,1142]],[[26251,27098],[-37,-311]],[[19529,25426],[-392,0]],[[23711,27034],[7,-402]],[[23756,26379],[-38,253]],[[25265,26107],[-3,365]],[[25262,26472],[12,620]],[[24549,26882],[-60,-455]],[[24489,26427],[-19,-223]],[[24470,26204],[-17,-29]],[[27280,26467],[-25,-152]],[[27306,26150],[0,0]],[[27349,26782],[2,-6]],[[27351,26775],[0,1]],[[27351,26775],[4,-31]],[[27355,26744],[-23,-10]],[[27332,26734],[17,48]],[[27312,26888],[31,-85]],[[27343,26803],[-11,-69]],[[27332,26734],[-52,-267]],[[26211,26653],[3,134]],[[26211,26653],[-20,-392]],[[26191,26261],[4,-34]],[[27292,26017],[0,-3]],[[27292,26017],[0,-3]],[[27282,26175],[-36,-149]],[[27255,26315],[27,-140]],[[20664,24117],[-162,673],[-122,739]],[[20380,25529],[-148,738]],[[23756,26379],[13,-481]],[[25265,26107],[3,-489]],[[23847,25152],[-13,-16]],[[23834,25136],[-65,762]],[[26217,25770],[-22,457]],[[26217,25770],[-11,-388]],[[24453,26175],[-39,-381],[-38,-520],[18,-110]],[[24394,25164],[-13,-357]],[[19137,25426],[-253,174]],[[25274,25021],[-6,597]],[[27267,25513],[0,0]],[[27246,26026],[22,-179]],[[27268,25847],[-55,-393]],[[27213,25454],[-1,-15]],[[25899,24796],[-56,0]],[[25843,24796],[-83,2]],[[26222,24948],[-16,434]],[[27006,24004],[-57,25]],[[27254,25381],[-16,11],[14,-13]],[[27212,25439],[0,-5]],[[27220,25420],[3,3]],[[27223,25423],[-3,-308]],[[27220,25115],[4,-151]],[[27224,24964],[1,-25]],[[27225,24939],[-35,18]],[[25274,25021],[2,-216]],[[24913,24811],[-30,0]],[[24542,24805],[-33,0]],[[24509,24805],[-128,2]],[[23846,24564],[1,588]],[[24684,24807],[-6,0]],[[24678,24807],[-71,0]],[[24607,24807],[-65,-2]],[[24764,24808],[-24,0]],[[24740,24808],[-56,-1]],[[24883,24811],[-119,-3]],[[25506,24802],[46,-954]],[[25552,23848],[-113,-480],[-40,902]],[[25399,24270],[-10,63]],[[25389,24375],[5,36]],[[26222,24948],[7,-140]],[[26229,24808],[-135,-6]],[[25760,24798],[-27,4]],[[25733,24802],[-106,3]],[[25627,24805],[-121,-3]],[[26094,24802],[-3,0]],[[26091,24802],[-149,-7]],[[25942,24795],[-43,1]],[[23846,24564],[-51,-870]],[[23795,23694],[9,-293]],[[26949,24029],[-11,5]],[[26938,24034],[-35,13]],[[25394,24411],[-110,-744]],[[25284,23667],[-5,648]],[[25279,24315],[-3,490]],[[27211,24430],[0,0]],[[27190,24957],[22,-103]],[[27212,24854],[-36,-569]],[[27176,24285],[-1,-3]],[[27175,24282],[-83,206]],[[26403,24230],[-135,41]],[[26485,24204],[-55,17]],[[26430,24221],[-27,9]],[[26688,24133],[-71,26]],[[26617,24159],[-37,13]],[[26580,24172],[-73,25]],[[26507,24197],[-22,7]],[[26268,24271],[-39,537]],[[27092,24488],[-40,-867]],[[27052,23621],[-46,383]],[[26749,24108],[-48,18]],[[26692,24131],[-4,2]],[[24923,23801],[-42,386]],[[24881,24187],[32,624]],[[25623,23959],[-1,2]],[[25622,23961],[-68,-267],[-2,154]],[[25729,23702],[-75,79],[-31,178]],[[25841,23791],[-112,-89]],[[25953,23447],[-112,205]],[[25841,23687],[0,104]],[[26903,24047],[-29,12]],[[26874,24059],[-125,49]],[[27175,24282],[1,3]],[[27176,24285],[6,-15]],[[27182,24270],[23,0]],[[27205,24270],[-28,-281]],[[25284,23667],[-47,-34]],[[25237,23633],[-89,107]],[[24923,23801],[47,-522]],[[24970,23279],[-29,-45]],[[25148,23740],[-127,-99]],[[26511,23122],[-24,8]],[[21403,22720],[-156,-987],[-152,-563],[-101,404]],[[21560,22539],[-157,181]],[[26701,24126],[-9,5]],[[25021,23641],[0,-2]],[[25021,23639],[-51,-360]],[[20994,21574],[-152,479],[-102,1013],[-46,832],[-30,219]],[[27222,23603],[4,-74]],[[27226,23529],[1,-43]],[[27227,23486],[0,-3]],[[27227,23483],[-2,-67]],[[27180,23180],[-5,490],[47,-67]],[[27225,23416],[2,67]],[[27227,23483],[0,3]],[[27227,23486],[-1,43]],[[27226,23529],[-4,74]],[[27222,23603],[17,-186]],[[27177,23989],[0,0]],[[27177,23989],[16,-85]],[[27193,23904],[1,-24]],[[27194,23880],[1,2]],[[27195,23882],[6,-2]],[[27201,23880],[1,-3]],[[27202,23877],[0,0]],[[27202,23877],[0,0]],[[27202,23877],[1,8]],[[27203,23885],[1,-5]],[[27204,23880],[2,64]],[[27206,23944],[10,-81]],[[27216,23863],[-2,-148]],[[27214,23715],[-62,-414]],[[26122,22808],[-1,194]],[[26121,23015],[0,29]],[[26121,23044],[-95,230],[-73,173]],[[23800,23042],[4,359]],[[26678,22333],[-167,789]],[[26487,23130],[-104,-234]],[[21830,21535],[-128,716],[-142,288]],[[27281,22397],[0,0]],[[27243,23122],[0,-12]],[[27243,23110],[34,-710]],[[27277,22400],[4,-22]],[[27281,22378],[1,-11]],[[27282,22367],[0,-3]],[[27282,22364],[1,-31]],[[27282,22333],[-6,-21]],[[27198,22498],[-18,682]],[[27225,23416],[0,-5]],[[27225,23411],[18,-289]],[[27243,23110],[0,12]],[[27243,23122],[-18,289]],[[27225,23411],[0,5]],[[27239,23417],[4,-307]],[[23800,23042],[-37,-347]],[[24843,21940],[-54,417]],[[26217,22536],[-1,-5]],[[26169,22376],[-47,432]],[[26121,23002],[0,13]],[[24941,23234],[-65,-283]],[[24875,22939],[0,0]],[[27152,23301],[24,-654]],[[23763,22695],[4,-322]],[[23767,22373],[-143,-244]],[[23464,22353],[-25,-248]],[[24998,22831],[5,-70]],[[25003,22761],[16,-209]],[[25019,22552],[-27,-70]],[[24992,22482],[-36,-158]],[[24956,22324],[1,-1]],[[24957,22323],[6,-23]],[[24960,22312],[-1,0]],[[24876,22951],[0,-3]],[[24876,22948],[-1,-9]],[[24875,22939],[79,-12],[44,-96]],[[24288,22636],[-96,-558],[-84,85]],[[24329,21970],[0,0]],[[24320,22458],[-32,178]],[[24108,22163],[-341,210]],[[26195,22254],[0,0]],[[26216,22531],[-47,-155]],[[26383,22896],[-113,-331],[-53,-29]],[[24498,22178],[-115,125],[-63,155]],[[24824,21885],[-1,-197]],[[24823,21688],[-9,-46]],[[24814,21642],[5,-172]],[[24812,21395],[-49,-51]],[[24763,21344],[-40,151]],[[24723,21521],[0,11]],[[24724,21563],[2,9]],[[24789,22357],[35,-472]],[[24930,21618],[0,0]],[[24936,22296],[-1,-48]],[[24935,22248],[-19,-58]],[[24916,22190],[87,-374],[99,-513],[-99,-349],[-26,734],[-88,173]],[[24889,21861],[-16,57]],[[24873,21918],[-30,22]],[[24959,22312],[-23,-16]],[[23624,22129],[-5,-12]],[[23592,22122],[-94,382],[-34,-151]],[[27185,21734],[-15,654],[28,110]],[[27176,22647],[-22,-452],[4,-419]],[[24520,21484],[-10,206],[10,-206]],[[24676,21534],[-9,-59]],[[24667,21475],[-8,24]],[[24659,21499],[-20,-170]],[[24639,21329],[-35,9]],[[24604,21338],[-60,97],[-46,743]],[[24726,21572],[-50,-38]],[[27276,22312],[12,-92]],[[27288,22220],[7,-92]],[[27295,22128],[19,-249]],[[27285,22333],[31,-453]],[[27314,21879],[-19,249]],[[27295,22128],[-7,92]],[[27288,22220],[-4,107]],[[27284,22327],[0,6]],[[21864,21242],[-34,293]],[[23410,21245],[0,0]],[[23471,21642],[-43,-185]],[[23439,22105],[32,-463]],[[23619,22117],[-27,5]],[[23428,21457],[-94,-622],[-31,-76]],[[26855,21078],[3,53]],[[26858,21131],[-92,361]],[[26766,21492],[-9,198]],[[27158,21776],[8,-176]],[[27407,20820],[0,0]],[[27354,21322],[50,-627]],[[27390,20695],[-4,0]],[[27190,21440],[-1,12]],[[27189,21452],[-4,282]],[[27314,21879],[40,-557]],[[27189,21452],[1,-12]],[[27166,21600],[23,-148]],[[23056,20479],[-10,61]],[[23006,20536],[-1,-8]],[[23005,20528],[-22,36]],[[22982,20563],[-1,3]],[[23153,20311],[-38,241],[-40,-132]],[[23303,20759],[-127,-372],[-23,-76]],[[22981,20566],[1,-38]],[[21992,19589],[-82,1012],[-46,641]],[[26889,20516],[-9,134]],[[26880,20650],[4,230]],[[26884,20880],[0,-6]],[[26884,20874],[3,-11]],[[26887,20863],[1,5]],[[26888,20868],[-13,56]],[[26875,20924],[-19,157]],[[27386,20695],[98,-1780]],[[27404,20695],[13,0]],[[27419,20695],[40,-400],[-24,-392]],[[27435,19903],[-19,662],[-26,130]],[[22999,19753],[-68,-364]],[[22933,19426],[66,327]],[[22982,20528],[4,-700],[-39,228]],[[23012,20417],[-7,111]],[[23005,20528],[1,8]],[[23046,20540],[-34,-123]],[[26879,20029],[10,487]],[[22947,20056],[-2,-239]],[[22882,19600],[-63,-260]],[[26847,19544],[32,485]],[[22874,18926],[0,0]],[[22819,19340],[16,-164]],[[22849,19042],[0,2]],[[22835,19167],[14,-125]],[[22931,19572],[-49,28]],[[22945,19817],[-2,-81]],[[22940,19633],[-9,-61]],[[22203,17855],[-75,740],[-101,901],[-35,93]],[[22835,19176],[0,-9]],[[22849,19044],[0,-2]],[[22847,19026],[-97,-101]],[[26884,19257],[-25,-498]],[[26859,18759],[-12,785]],[[26912,18563],[21,330],[-49,364]],[[22840,18709],[0,0]],[[22795,18697],[1,-292]],[[22750,18925],[45,-228]],[[27484,18915],[39,-516]],[[26908,18086],[4,477]],[[22786,17879],[32,565]],[[22825,18434],[-35,-555]],[[22796,18405],[-79,-513],[-43,-10]],[[22674,17882],[-4,7]],[[27523,18399],[35,-548]],[[27544,17791],[0,-40]],[[27544,17751],[0,-6]],[[26995,17371],[0,-12]],[[26967,17261],[-31,320]],[[26936,17581],[-1,12]],[[26935,17593],[0,3]],[[26935,17596],[-9,143]],[[26926,17739],[-8,94]],[[26918,17833],[-10,253]],[[22282,16564],[-79,1291]],[[22801,16709],[-14,138]],[[22787,16847],[-6,304]],[[22781,17151],[3,18]],[[22784,17169],[17,-460]],[[22784,17169],[-1,646]],[[22783,17815],[3,64]],[[22790,17879],[-6,-710]],[[22761,17577],[-29,-264]],[[22732,17313],[31,-697]],[[22670,17889],[4,-7]],[[22674,17882],[87,-305]],[[27544,17745],[37,-149]],[[27581,17596],[0,0]],[[27581,17596],[18,-289]],[[27593,17307],[-1,0]],[[27588,17307],[0,0]],[[27588,17307],[-2,0]],[[26995,17359],[-28,-98]],[[27049,16934],[-54,437]],[[27586,17307],[16,-1210]],[[27015,16397],[0,0]],[[27109,16114],[-54,365],[-6,455]],[[22445,15979],[-108,267],[-55,318]],[[22647,15629],[-202,350]],[[22816,16443],[-3,13]],[[22813,16456],[-19,86]],[[22794,16542],[7,74]],[[22807,16616],[9,-173]],[[22768,16458],[0,-137]],[[22768,16321],[-7,-58]],[[22761,16263],[17,0]],[[22763,16616],[5,-158]],[[27249,15133],[-46,155]],[[27203,15290],[0,-2]],[[27203,15290],[0,7]],[[27203,15297],[-21,1]],[[27182,15298],[-4,48]],[[27178,15346],[-1,5]],[[27177,15351],[-4,13]],[[27173,15364],[0,-1]],[[27173,15363],[-1,-15]],[[27172,15348],[0,-9]],[[27172,15339],[-10,55]],[[27162,15394],[-34,199]],[[27128,15593],[0,29]],[[27128,15622],[-1,7]],[[27127,15629],[-5,48]],[[27122,15677],[0,-3]],[[27122,15674],[-13,440]],[[22828,15617],[-19,-207],[-102,140],[-60,79]],[[22778,16263],[50,-646]],[[27602,16097],[-12,-644]],[[27588,15313],[-60,-1055],[-25,-181]],[[27502,14077],[-16,-43]],[[27486,14028],[0,-3]],[[27486,14025],[-102,-58]],[[27590,15453],[-2,-140]],[[27521,13940],[-4,-28]],[[27517,13912],[-1,-7]],[[27516,13905],[0,-3]],[[27516,13902],[-5,-43]],[[27511,13859],[-3,-27]],[[27508,13832],[-3,64]],[[27505,13896],[10,83]],[[27515,13979],[0,2]],[[27515,13981],[0,1]],[[27515,13982],[0,17]],[[27515,13999],[6,-59]],[[27384,13967],[-82,277],[17,12]],[[27319,14256],[1,-7]],[[27320,14249],[6,-95]],[[27326,14154],[0,-18]],[[27326,14136],[0,-14]],[[27326,14122],[2,-18]],[[27328,14104],[0,-6]],[[27328,14098],[16,-58]],[[27344,14040],[-10,197]],[[27334,14237],[-12,50]],[[27322,14287],[-2,0]],[[27320,14287],[-4,15]],[[27316,14302],[-5,404]],[[27311,14706],[0,-4]],[[27311,14702],[2,-7]],[[27313,14695],[0,-16]],[[27313,14679],[18,-34]],[[27331,14645],[0,4]],[[27331,14649],[0,5]],[[27331,14654],[-18,82]],[[27313,14736],[-9,-11]],[[27304,14725],[-30,224]],[[27274,14949],[10,40]],[[27284,14989],[1,4]],[[27285,14993],[0,2]],[[27285,14995],[-20,3]],[[27265,14998],[-16,135]],[[26757,21690],[-79,643]],[[23354,58316],[139,550],[110,-1105]],[[24957,56455],[-324,-694],[-81,-301]],[[24549,56809],[324,-378],[84,24]],[[24223,53962],[7,61]],[[24230,54023],[175,117]],[[24405,54140],[162,349],[32,-468],[-20,-199]],[[24684,53819],[-105,3]],[[24619,54132],[0,0]],[[27637,28364],[-4,-462]],[[27633,27902],[-92,-111],[12,-133]],[[27527,27594],[-21,201]],[[27690,28249],[2,-64]],[[27692,28185],[-12,224]],[[27790,28870],[-7,-299]],[[27783,28571],[-93,-322]],[[6538,2301],[-58,813],[-2,1446],[122,-47],[126,-676],[-42,-874],[-146,-662]],[[5489,7808],[-81,498],[122,-55],[-41,-443]],[[6194,6504],[-45,-122],[18,148]],[[6181,5693],[36,57],[-36,-57]],[[6263,5263],[0,0]],[[6344,5400],[-88,696],[124,-23],[55,-530],[-91,-143]],[[5945,6665],[-86,608],[131,-516],[-45,-92]],[[5278,7638],[15,167],[-15,-167]],[[99849,62690],[-75,447],[75,-447]],[[778,63398],[0,0]],[[833,63475],[0,0]],[[886,63617],[0,0]],[[344,63153],[-79,572],[105,-215],[-26,-357]],[[540,63363],[0,206],[0,-206]],[[99643,63716],[0,0]],[[614,63140],[52,393],[81,99],[-102,-407],[-31,-85]],[[99953,63664],[43,190],[-43,-190]],[[857,63843],[0,0]],[[99312,63579],[70,549],[-43,-354],[-27,-195]],[[1574,63946],[-110,220],[208,-146],[-98,-74]],[[1841,64363],[65,153],[-65,-153]],[[1129,63904],[161,256],[100,524],[21,-543],[-157,-194],[-125,-43]],[[98292,64565],[21,3],[-21,-3]],[[2329,64909],[0,0]],[[2627,65344],[3,209],[-3,-209]],[[98084,65292],[-77,334],[133,126],[19,-377],[-75,-83]],[[2802,65454],[207,800],[94,564],[-125,-948],[-176,-416]],[[3604,67078],[0,0]],[[3201,66211],[50,385],[88,296],[43,279],[91,488],[134,-161],[-86,-521],[-320,-766]],[[2663,72349],[0,0]],[[2465,73417],[0,0]],[[3929,67750],[0,0]],[[3695,67690],[41,208],[-41,-208]],[[3784,67824],[42,197],[-42,-197]],[[4605,68312],[0,0]],[[4689,69168],[0,0]],[[4039,68354],[24,902],[287,332],[28,-631],[-182,-176],[-157,-427]],[[5487,69379],[0,0]],[[4849,69589],[0,0]],[[5436,69558],[0,0]],[[5271,69235],[67,345],[-67,-345]],[[5241,69942],[0,0]],[[5106,69709],[101,128],[-101,-128]],[[5293,70190],[0,0]],[[5642,72970],[0,-127]],[[5456,70676],[-115,328],[-177,-435],[-107,-262],[-101,260],[-91,-320],[-105,-623],[-129,79],[-36,-209],[-152,239],[-27,-293],[115,548],[91,375],[413,879],[79,-404],[148,76],[-22,978],[402,1095]],[[13205,69728],[0,0]],[[13355,69846],[-28,487],[-115,332],[131,633],[12,-1452]],[[6096,76208],[78,519]],[[5035,76091],[0,0]],[[5035,76603],[-74,-161]],[[5589,76635],[89,-511]],[[5678,76124],[-175,368],[-112,85],[-127,337],[-165,-226]],[[5099,76688],[-54,-52]],[[6125,76674],[-331,-247],[-75,346],[-130,-138]],[[6115,72321],[0,0]],[[6349,73509],[-124,-473],[-111,-258],[-73,-264],[-184,-179],[-1,-127],[-21,-313],[-109,-391],[-75,-146],[-152,-400],[-43,-282]],[[5642,72843],[219,1026],[142,501],[54,1023],[39,815]],[[6174,76727],[-49,-53]],[[6561,70864],[0,0]],[[6992,72274],[0,0]],[[6794,72099],[0,0]],[[6984,72435],[0,0]],[[7199,73194],[34,190],[-34,-190]],[[7462,74857],[0,0]],[[7226,74697],[0,0]],[[6968,72731],[69,699],[-95,81],[33,-64],[-117,106],[-27,608],[235,-355],[26,659],[33,299],[94,111],[121,39],[94,-42],[86,-512],[-204,-244],[-35,-272],[-158,-459],[-155,-654]],[[7297,75038],[-38,200],[38,-200]],[[7476,75855],[65,-494],[-196,-167],[-108,282],[108,111],[112,66],[19,202]],[[7381,76133],[0,0]],[[7214,76666],[-22,-1]],[[7192,76665],[-175,-684],[-52,-323],[-117,-537],[-200,-497],[-117,-218],[-120,-316],[-62,-581]],[[12366,75252],[5,175]],[[12371,75427],[0,-3]],[[12381,75492],[103,-178]],[[12498,75431],[0,0]],[[12484,76871],[267,-997],[57,-517]],[[12715,74938],[-33,-160]],[[12655,74703],[-69,962],[-69,-212],[-203,853],[0,575]],[[12311,76882],[-61,4]],[[12500,71022],[0,0]],[[13038,71188],[-70,608],[98,-87],[-28,-521]],[[12892,71782],[71,296],[-71,-296]],[[13083,71690],[12,293],[-12,-293]],[[13006,72478],[0,0]],[[12908,72271],[-2,556],[2,-556]],[[12615,72742],[-8,-441],[-33,-793],[-77,498],[-9,396],[28,684],[99,-344]],[[12660,72704],[84,521],[112,-753],[-24,-147],[-158,-160],[-14,539]],[[13033,73861],[67,-885],[295,-875]],[[13073,70867],[127,867],[-165,610],[-114,565],[-115,629],[-93,4]],[[11922,74760],[-12,-1]],[[11903,74758],[110,9]],[[11893,74787],[0,0]],[[12713,73542],[38,429],[-81,403],[26,263],[2,222]],[[12708,74912],[7,26]],[[12808,75357],[225,-1496]],[[12484,75314],[2,2]],[[12529,75370],[57,-872],[-100,567],[62,-912],[-13,-553],[-99,201],[-62,754],[-8,697]],[[12108,75160],[-28,-110]],[[12080,75050],[126,246]],[[12206,75296],[31,-310],[-188,89]],[[12015,74776],[-60,586],[182,108],[-29,-310]],[[12371,75424],[10,68]],[[12062,75988],[-32,784],[-78,-298],[-169,378],[83,-342],[46,-884],[-145,90],[-288,850]],[[11595,76760],[289,658]],[[12161,76003],[-99,-15]],[[12201,77569],[-9,22]],[[12099,78291],[172,-561],[19,-151]],[[12314,76881],[-3,1]],[[12250,76886],[-49,683]],[[12290,77579],[153,-400],[41,-308]],[[12192,77591],[-5,-716],[86,-1362],[-112,490]],[[11884,77418],[38,633],[177,240]],[[12070,73189],[-7,651],[7,-651]],[[12285,72715],[-93,388],[-43,549],[26,596],[167,-274],[60,-1268],[-9,-883]],[[12393,71662],[-108,1053]],[[11934,74683],[-12,77]],[[12013,74767],[2,9]],[[12049,75075],[220,-449],[4,-547],[-126,16],[-213,588]],[[4001,83653],[0,0]],[[4259,83451],[-234,958],[203,-704],[31,-254]],[[4192,84190],[-67,628],[157,-398],[-90,-230]],[[3903,80509],[38,343],[-153,-28],[-95,611],[-68,401],[149,393],[155,1298],[337,-141],[-74,789],[213,267],[210,447]],[[3609,78331],[-256,445],[77,525],[208,100],[140,-781],[-169,-289]],[[1910,79346],[-184,574],[184,-574]],[[4013,79338],[-125,385],[91,689],[184,-355],[-95,-543],[-55,-176]],[[4902,77138],[-111,505],[-40,940],[-64,908],[-72,-97],[-51,-610],[-325,-353],[-126,507],[-38,874],[167,449],[141,-114],[-67,257],[-95,340],[-184,-211],[-134,-24]],[[5045,76636],[-10,-33]],[[4961,76442],[-203,-214],[79,631],[65,279]],[[8332,81549],[-208,-449],[-275,-85]],[[8387,80363],[-287,581],[232,605]],[[9624,78418],[0,0]],[[8666,78680],[0,0]],[[8662,78874],[0,0]],[[8602,78821],[0,0]],[[8713,78358],[259,1026],[-139,-823],[-120,-203]],[[9058,79230],[7,463],[84,-259],[-91,-204]],[[8702,79277],[0,0]],[[8492,79649],[195,-79],[-95,-558],[-102,-363]],[[9173,79634],[0,0]],[[8697,80017],[0,0]],[[8630,79964],[0,0]],[[8494,80038],[105,161],[-105,-475]],[[8668,80254],[0,0]],[[8747,80338],[8,836],[-187,-517],[-29,-359],[-45,-148]],[[10627,82337],[0,-2812]],[[9823,78789],[-225,511],[-84,480],[-205,-102],[-51,437],[-112,111],[24,227],[-108,355],[-75,-222],[-175,-124],[-65,-124]],[[7140,77530],[0,0]],[[7918,77470],[0,0]],[[7543,79429],[0,0]],[[8494,80150],[0,-112]],[[8494,79724],[-2,-75]],[[8490,78649],[-168,-14],[-100,-30],[-87,-455],[-95,-12],[-126,-413],[-182,-329],[-70,443],[123,277],[-175,159],[125,1195],[90,792],[278,233],[284,-132]],[[7849,81015],[-203,-855],[-148,-630],[-94,-637],[-197,-449],[-24,-218],[-120,-300],[-102,-962],[231,-176],[7,-124]],[[11073,77696],[-82,343]],[[10991,78039],[52,861],[-540,-320],[22,268],[-635,15],[-67,-74]],[[10627,79525],[285,-390],[258,-349],[432,-1879],[-7,-147]],[[11479,76566],[-145,717],[-261,413]],[[10627,94617],[0,-4941]],[[10627,89676],[0,-7339]],[[7949,98194],[0,0]],[[4758,97701],[370,402],[175,-96],[2,557],[311,274],[606,970],[194,-236],[17,-374],[344,250],[250,-395],[474,-101],[-106,-527],[387,-340],[310,131],[449,-119],[364,-405],[538,-298],[697,98],[384,-761],[103,-2114]],[[3841,93742],[-270,690],[566,984],[356,1130],[153,835],[227,476],[-115,-156]],[[4108,91048],[160,-570],[21,-388]],[[4289,90090],[385,-72],[228,394],[-97,219],[-200,911],[153,-374],[356,-517],[38,410],[-231,-116],[2,807],[-409,131],[-439,1287],[-234,572]],[[4620,85381],[0,0]],[[2649,84266],[-265,848],[-321,-46],[70,419],[336,171],[203,-604],[70,-329],[-93,-459]],[[5052,87977],[-187,-281],[-238,-465],[-182,218],[-113,-158],[-396,-240],[-408,675],[-24,608],[255,-141],[-71,188],[-416,469],[-52,574],[200,411],[349,342],[50,538],[289,333]],[[4615,84889],[121,292],[385,633],[-138,1144],[131,438],[-62,581]],[[12956,69029],[0,0]],[[13317,69219],[0,0]],[[12925,69473],[-21,387],[21,-387]],[[12930,68872],[-132,1072],[123,-767],[9,-305]],[[13247,69478],[75,326],[-75,-326]],[[12761,69871],[30,109],[-30,-109]],[[12684,69935],[12,183],[-12,-183]],[[12707,70286],[0,0]],[[12629,70305],[0,0]],[[12756,70325],[0,0]],[[12710,70782],[0,0]],[[12785,70929],[0,0]],[[12656,71166],[119,461],[-119,-461]],[[12877,71377],[0,5]],[[12877,71382],[120,-652],[9,-203],[84,-353],[38,-171],[14,-713],[-147,209],[-122,497],[-22,327],[-102,319],[33,987],[-50,326],[145,-578]],[[13062,70861],[11,6]],[[13395,72101],[178,-488],[119,-436],[-28,-1331],[-192,-647],[-82,655],[-85,1424],[-107,-283],[-136,-134]],[[31178,1304],[23,73]],[[31195,919],[-2,184]],[[31290,1513],[20,-8]],[[31284,522],[-34,-5]],[[31429,566],[-31,6]],[[31271,1506],[19,7]],[[31329,564],[-16,40]],[[31375,1499],[25,12]],[[31310,1505],[50,3]],[[31400,1511],[26,-5]],[[31513,1444],[13,14]],[[31493,1404],[0,0]],[[31492,1426],[1,-22]],[[31398,572],[-25,-14]],[[31426,1506],[10,-15]],[[31193,1103],[-11,55]],[[31250,517],[-36,-12]],[[31214,505],[-19,414]],[[31549,569],[-31,-3]],[[31201,1377],[0,2]],[[31201,1379],[15,182]],[[31313,604],[-27,-82]],[[31466,535],[-8,-54]],[[31458,481],[-29,85]],[[31257,1516],[14,-10]],[[31360,1508],[15,-9]],[[31493,1404],[20,40]],[[31504,544],[-38,-9]],[[31286,522],[-2,0]],[[31373,558],[-44,6]],[[31216,1561],[41,-45]],[[31580,736],[-15,-109]],[[31464,1471],[21,-4]],[[31837,1170],[0,0]],[[31885,1161],[0,0]],[[31593,1322],[22,-42]],[[31526,1458],[45,-64]],[[31565,627],[-16,-58]],[[31571,1394],[22,-72]],[[31618,992],[-22,-62]],[[31615,1280],[10,-145]],[[31625,1135],[-7,-143]],[[31596,930],[-16,-194]],[[31654,755],[0,0]],[[31830,0],[51,45],[-51,-45]],[[31436,1491],[28,-20]],[[12393,71823],[0,-161]],[[11910,74759],[-7,-1]],[[12486,75316],[43,54]],[[7199,76664],[15,2]],[[5642,72987],[0,-17]],[[12698,74859],[10,53]],[[12682,74778],[-19,-87]],[[12663,74691],[-8,12]],[[6167,6530],[27,-26]],[[31485,1467],[7,-41]],[[31518,566],[-14,-22]],[[31182,1158],[-4,146]],[[25389,24333],[0,42]],[[29700,43907],[2,-8]],[[27362,21240],[-8,82]],[[27354,21322],[-40,557]],[[27284,22333],[-2,31]],[[27282,22364],[0,3]],[[27282,22367],[-1,11]],[[27281,22378],[4,-45]],[[27316,21880],[46,-640]],[[27503,14077],[12,-78]],[[27515,13999],[0,-17]],[[27515,13982],[0,-3]],[[27515,13979],[-13,98]],[[27486,14034],[19,-138]],[[27505,13896],[-19,132]],[[26856,21081],[-1,-3]],[[25841,23652],[0,35]],[[27283,22333],[1,-6]],[[27284,22327],[-2,6]],[[27417,20695],[2,0]],[[27558,17851],[-14,-60]],[[27599,17307],[-6,0]],[[27592,17307],[-4,0]],[[27252,25379],[2,2]],[[27212,25434],[1,20]],[[27213,25454],[8,-22]],[[27221,25432],[-1,-12]],[[24963,22300],[-3,12]],[[24819,21470],[-7,-75]],[[24723,21495],[0,26]],[[24723,21532],[1,24]],[[24724,21556],[0,7]],[[30135,46090],[-18,-72]],[[30110,46013],[3,-39]],[[30179,45778],[12,-45]],[[28577,40083],[12,5]],[[28807,32602],[0,11]],[[28259,30940],[1,-6]],[[28903,40411],[-2,5]],[[29368,42670],[-8,46]],[[27553,27658],[-26,-64]],[[27391,27524],[-1,-82]],[[27392,27433],[-2,-19]],[[22801,16709],[6,-93]],[[22801,16616],[-7,140]],[[22794,16756],[7,-47]],[[22818,18444],[7,-10]],[[22931,19389],[2,37]],[[23075,20420],[-19,59]],[[22983,20564],[-1,-1]],[[22943,19736],[0,-10]],[[22943,19726],[0,-84]],[[22943,19642],[-3,-9]],[[22849,19042],[-2,-16]],[[28549,36663],[0,0]],[[28622,36237],[15,43]],[[28637,36280],[-6,-94]],[[28371,36551],[17,-30]],[[28624,35785],[5,-105]],[[28625,35633],[31,31]],[[28656,35664],[13,4]],[[28446,39406],[0,-2]],[[28446,39404],[-1,-95]]]},airports:[{iata:"00M",name:"Thigpen",city:"Bay Springs",state:"MS",country:"USA",latitude:31.95376472,longitude:-89.23450472},{iata:"06U",name:"Jackpot/Hayden",city:"Jackpot",state:"NV",country:"USA",latitude:41.97602222,longitude:-114.6580911},{iata:"0B5",name:"Turners Falls",city:"Montague",state:"MA",country:"USA",latitude:42.59136361,longitude:-72.52275472},{iata:"0J0",name:"Abbeville Municipal",city:"Abbeville",state:"AL",country:"USA",latitude:31.60016778,longitude:-85.23882222},{iata:"0R3",name:"Abbeville Chris Crusta Memorial",city:"Abbeville",state:"LA",country:"USA",latitude:29.97576083,longitude:-92.08415167},{iata:"11R",name:"Brenham Municipal",city:"Brenham",state:"TX",country:"USA",latitude:30.219,longitude:-96.37427778},{iata:"17G",name:"Port Bucyrus-Crawford County",city:"Bucyrus",state:"OH",country:"USA",latitude:40.78141667,longitude:-82.97469444},{iata:"1B9",name:"Mansfield Municipal",city:"Mansfield",state:"MA",country:"USA",latitude:42.00013306,longitude:-71.19677139},{iata:"1H8",name:"Casey Municipal",city:"Casey",state:"IL",country:"USA",latitude:39.30250917,longitude:-88.00406194},{iata:"1N7",name:"Blairstown",city:"Blairstown",state:"NJ",country:"USA",latitude:40.97114556,longitude:-74.99747556},{iata:"1V9",name:"Blake",city:"Delta",state:"CO",country:"USA",latitude:38.78539722,longitude:-108.0636611},{iata:"25M",name:"Ripley",city:"Ripley",state:"MS",country:"USA",latitude:34.72226778,longitude:-89.01504944},{iata:"2B7",name:"Pittsfield Municipal",city:"Pittsfield",state:"ME",country:"USA",latitude:44.76852778,longitude:-69.37441667},{iata:"2J9",name:"Quincy Municipal",city:"Quincy",state:"FL",country:"USA",latitude:30.59786111,longitude:-84.55741667},{iata:"2S1",name:"Vashon Municipal",city:"Vashon",state:"WA",country:"USA",latitude:47.45815333,longitude:-122.4773506},{iata:"34A",name:"Laurens County",city:"Laurens",state:"SC",country:"USA",latitude:34.50705556,longitude:-81.94719444},{iata:"3B2",name:"Marshfield",city:"Marshfield",state:"MA",country:"USA",latitude:42.09824111,longitude:-70.67212083},{iata:"3J7",name:"Greene County Airpark",city:"Greensboro",state:"GA",country:"USA",latitude:33.59766667,longitude:-83.139},{iata:"3R0",name:"Beeville Municipal",city:"Beeville",state:"TX",country:"USA",latitude:28.36455528,longitude:-97.79208194},{iata:"3Z9",name:"Haines SPB",city:"Haines",state:"AK",country:"USA",latitude:59.23495111,longitude:-135.4407181},{iata:"47N",name:"Central Jersey Regional",city:"Manville",state:"NJ",country:"USA",latitude:40.52438417,longitude:-74.59839194},{iata:"4B6",name:"Ticonderoga Muni",city:"Ticonderoga",state:"NY",country:"USA",latitude:43.87700278,longitude:-73.41317639},{iata:"4J5",name:"Quitman-Brooks County",city:"Quitman",state:"GA",country:"USA",latitude:30.80575139,longitude:-83.58654889},{iata:"4R5",name:"Madeline Island",city:"La Pointe",state:"WI",country:"USA",latitude:46.78865556,longitude:-90.75866944},{iata:"50R",name:"Lockhart Municipal",city:"Lockhart",state:"TX",country:"USA",latitude:29.85033333,longitude:-97.67241667},{iata:"5A8",name:"Aleknagik",city:"Aleknagik",state:"AK",country:"USA",latitude:59.28256167,longitude:-158.6176725},{iata:"5M4",name:"Fordyce Municipal",city:"Fordyce",state:"AR",country:"USA",latitude:33.84593722,longitude:-92.36542861},{iata:"5W8",name:"Siler City Municipal",city:"Siler City",state:"NC",country:"USA",latitude:35.7029175,longitude:-79.50529972},{iata:"68A",name:"Wrangell SPB",city:"Wrangell",state:"AK",country:"USA",latitude:56.466325,longitude:-132.3800181},{iata:"6J4",name:"Saluda County",city:"Saluda",state:"SC",country:"USA",latitude:33.92680111,longitude:-81.79455306},{iata:"6V0",name:"Edgemont Municipal",city:"Edgemont",state:"SD",country:"USA",latitude:43.29525056,longitude:-103.8435325},{iata:"7A0",name:"Greensboro Municipal",city:"Greensboro",state:"AL",country:"USA",latitude:32.68147222,longitude:-87.66208333},{iata:"7M3",name:"Bearce",city:"Mount Ida",state:"AR",country:"USA",latitude:34.52926056,longitude:-93.52713472},{iata:"84D",name:"Cheyenne Eagle Butte",city:"Eagle Butte",state:"SD",country:"USA",latitude:44.984375,longitude:-101.2510417},{iata:"8F7",name:"Decatur Municipal",city:"Decatur",state:"TX",country:"USA",latitude:33.25463889,longitude:-97.58055556},{iata:"94K",name:"Cassville Municipal",city:"Cassville",state:"MO",country:"USA",latitude:36.69741667,longitude:-93.90052778},{iata:"9G0",name:"Buffalo Airfield",city:"Buffalo",state:"NY",country:"USA",latitude:42.86200306,longitude:-78.71658528},{iata:"9U3",name:"Austin",city:"Austin",state:"NV",country:"USA",latitude:39.46798056,longitude:-117.1953703},{iata:"ABI",name:"Abilene Regional",city:"Abilene",state:"TX",country:"USA",latitude:32.41132,longitude:-99.68189722},{iata:"ADT",name:"Atwood-Rawlins County City-County",city:"Atwood",state:"KS",country:"USA",latitude:39.84013889,longitude:-101.0420278},{iata:"AHQ",name:"Wahoo Municipal",city:"Wahoo",state:"NE",country:"USA",latitude:41.24133333,longitude:-96.59402778},{iata:"AKO",name:"Akron-Washington Co",city:"Akron",state:"CO",country:"USA",latitude:40.17563333,longitude:-103.2220278},{iata:"AND",name:"Anderson County",city:"Anderson",state:"SC",country:"USA",latitude:34.49494444,longitude:-82.70902778},{iata:"AQY",name:"Girdwood",city:"Girdwood",state:"AK",country:"USA",latitude:60.96609583,longitude:-149.1257892},{iata:"ATL",name:"William B Hartsfield-Atlanta Intl",city:"Atlanta",state:"GA",country:"USA",latitude:33.64044444,longitude:-84.42694444},{iata:"AWI",name:"Wainwright",city:"Wainwright",state:"AK",country:"USA",latitude:70.638,longitude:-159.99475},{iata:"BAX",name:"Huron County Memorial",city:"Bad Axe",state:"MI",country:"USA",latitude:43.78091667,longitude:-82.98566667},{iata:"BFD",name:"Bradford Reg",city:"Bradford",state:"PA",country:"USA",latitude:41.80306778,longitude:-78.64012083},{iata:"BIG",name:"Allen AAF",city:"Delta Junction",state:"AK",country:"USA",latitude:63.99454722,longitude:-145.7216417},{iata:"BMG",name:"Monroe County",city:"Bloomington",state:"IN",country:"USA",latitude:39.14602139,longitude:-86.61668278},{iata:"BRD",name:"Brainerd-Crow Wing County Regional",city:"Brainerd",state:"MN",country:"USA",latitude:46.39785806,longitude:-94.1372275},{iata:"BVI",name:"Beaver County",city:"Beaver Falls",state:"PA",country:"USA",latitude:40.77248083,longitude:-80.39142556},{iata:"C05",name:"Chenega Bay",city:"Chenega",state:"AK",country:"USA",latitude:60.07730556,longitude:-147.9918889},{iata:"C81",name:"Campbell",city:"Chicago/Round Lake Park",state:"IL",country:"USA",latitude:42.32461111,longitude:-88.07408806},{iata:"CDH",name:"Harrell",city:"Camden",state:"AR",country:"USA",latitude:33.62279917,longitude:-92.76339528},{iata:"CFV",name:"Coffeyville Municipal",city:"Coffeyville",state:"KS",country:"USA",latitude:37.0940475,longitude:-95.57189417},{iata:"CIK",name:"Chalkyitsik",city:"Chalkyitsik",state:"AK",country:"USA",latitude:66.64969083,longitude:-143.7359492},{iata:"CLL",name:"Easterwood",city:"College Station",state:"TX",country:"USA",latitude:30.58858944,longitude:-96.36382417},{iata:"COD",name:"Yellowstone Regional",city:"Cody",state:"WY",country:"USA",latitude:44.52019417,longitude:-109.0237961},{iata:"CRG",name:"Craig Municipal",city:"Jacksonville",state:"FL",country:"USA",latitude:30.33633333,longitude:-81.51444444},{iata:"CUL",name:"Carmi Municipal",city:"Carmi",state:"IL",country:"USA",latitude:38.08947917,longitude:-88.12306111},{iata:"CYS",name:"Cheyenne",city:"Cheyenne",state:"WY",country:"USA",latitude:41.1557225,longitude:-104.8118381},{iata:"D73",name:"Monroe-Walton County",city:"Monroe",state:"GA",country:"USA",latitude:33.78149889,longitude:-83.69355389},{iata:"DED",name:"Deland Municipal-Taylor",city:"Deland",state:"FL",country:"USA",latitude:29.06698056,longitude:-81.28394167},{iata:"DLO",name:"Delano Municipal",city:"Delano",state:"CA",country:"USA",latitude:35.74558056,longitude:-119.2365039},{iata:"DTA",name:"Delta Municipal",city:"Delta",state:"UT",country:"USA",latitude:39.38328861,longitude:-112.5096683},{iata:"DXE",name:"Dexter Municipal",city:"Dexter",state:"MO",country:"USA",latitude:36.77747,longitude:-89.94117333},{iata:"E42",name:"Spearman Municipal",city:"Spearman",state:"TX",country:"USA",latitude:36.221,longitude:-101.1945},{iata:"EED",name:"Needles",city:"Needles",state:"CA",country:"USA",latitude:34.76619444,longitude:-114.6232931},{iata:"EKM",name:"Elkhart Municipal",city:"Elkhart",state:"IN",country:"USA",latitude:41.71935833,longitude:-86.00168361},{iata:"EMV",name:"Emporia-Greensville Regional",city:"Emporia",state:"VA",country:"USA",latitude:36.68691667,longitude:-77.48280556},{iata:"ETB",name:"West Bend Municipal",city:"West Bend",state:"WI",country:"USA",latitude:43.42219444,longitude:-88.12792667},{iata:"EYE",name:"Eagle Creek Airpark",city:"Indianapolis",state:"IN",country:"USA",latitude:39.83070944,longitude:-86.29438056},{iata:"F31",name:"Lake Texoma State Park",city:"Kingston",state:"OK",country:"USA",latitude:33.99287639,longitude:-96.64249722},{iata:"F88",name:"Jonesboro",city:"Jonesboro",state:"LA",country:"USA",latitude:32.20199028,longitude:-92.73293028},{iata:"FDW",name:"Fairfield County",city:"Winnsboro",state:"SC",country:"USA",latitude:34.31547222,longitude:-81.10880556},{iata:"FLL",name:"Fort Lauderdale-Hollywood Int'l",city:"Ft. Lauderdale",state:"FL",country:"USA",latitude:26.07258333,longitude:-80.15275},{iata:"FRG",name:"Republic",city:"Farmingdale",state:"NY",country:"USA",latitude:40.72878111,longitude:-73.41340722},{iata:"FWC",name:"Fairfield Municipal",city:"Fairfield",state:"IL",country:"USA",latitude:38.37863306,longitude:-88.41265222},{iata:"GBD",name:"Great Bend Municipal",city:"Great Bend",state:"KS",country:"USA",latitude:38.34441861,longitude:-98.85917028},{iata:"GFK",name:"Grand Forks International",city:"Grand Forks",state:"ND",country:"USA",latitude:47.949255,longitude:-97.17611111},{iata:"GLR",name:"Otsego County",city:"Gaylord",state:"MI",country:"USA",latitude:45.01354806,longitude:-84.70318944},{iata:"GRD",name:"Greenwood County",city:"Greenwood",state:"SC",country:"USA",latitude:34.24872222,longitude:-82.15908333},{iata:"GVQ",name:"Genesee Cty",city:"Batavia",state:"NY",country:"USA",latitude:43.03172639,longitude:-78.16759972},{iata:"H71",name:"Mid-America Industrial",city:"Pryor",state:"OK",country:"USA",latitude:36.22539389,longitude:-95.33006333},{iata:"HDE",name:"Brewster",city:"Holdredge",state:"NE",country:"USA",latitude:40.45269444,longitude:-99.33733333},{iata:"HIE",name:"Mt Washington Regional",city:"Whitefield",state:"NH",country:"USA",latitude:44.36761639,longitude:-71.54447111},{iata:"HNS",name:"Haines",city:"Haines",state:"AK",country:"USA",latitude:59.24522806,longitude:-135.5221086},{iata:"HRU",name:"Herington Municipal",city:"Herington",state:"KS",country:"USA",latitude:38.68322389,longitude:-96.80800639},{iata:"HVC",name:"Hopkinsville-Christian County",city:"Hopkinsville",state:"KY",country:"USA",latitude:36.85658333,longitude:-87.45725},{iata:"HZE",name:"Mercer County Regional",city:"Hazen",state:"ND",country:"USA",latitude:47.28986111,longitude:-101.5809444},{iata:"I57",name:"Pike County",city:"Waverly",state:"OH",country:"USA",latitude:39.16693333,longitude:-82.928175},{iata:"ICL",name:"Schenck",city:"Clarinda",state:"IA",country:"USA",latitude:40.72178361,longitude:-95.02642667},{iata:"IKK",name:"Greater Kankakee",city:"Kankakee",state:"IL",country:"USA",latitude:41.07140417,longitude:-87.84626861},{iata:"IPT",name:"Williamsport-Lycoming Cty",city:"Williamsport",state:"PA",country:"USA",latitude:41.24183583,longitude:-76.92109556},{iata:"IYK",name:"Inyokern",city:"Inyokern",state:"CA",country:"USA",latitude:35.65884306,longitude:-117.8295122},{iata:"JKJ",name:"Moorhead Municipal",city:"Moorhead",state:"MN",country:"USA",latitude:46.83919194,longitude:-96.66313028},{iata:"JYL",name:"Plantation Airpark",city:"Sylvania",state:"GA",country:"USA",latitude:32.64544861,longitude:-81.59649722},{iata:"K54",name:"Teller",city:"Teller",state:"AK",country:"USA",latitude:65.24089806,longitude:-166.3360067},{iata:"KFP",name:"False Pass",city:"False Pass",state:"AK",country:"USA",latitude:54.84744583,longitude:-163.4103222},{iata:"KVL",name:"Kivalina",city:"Kivalina",state:"AK",country:"USA",latitude:67.73125333,longitude:-164.5518019},{iata:"L45",name:"Bakersfield Municipal",city:"Bakersfield",state:"CA",country:"USA",latitude:35.32483333,longitude:-118.9958333},{iata:"LBB",name:"Lubbock International",city:"Lubbock",state:"TX",country:"USA",latitude:33.66363889,longitude:-101.8227778},{iata:"LFT",name:"Lafayette Regional",city:"Lafayette",state:"LA",country:"USA",latitude:30.20527972,longitude:-91.987655},{iata:"LLJ",name:"Challis",city:"Challis",state:"ID",country:"USA",latitude:44.52297806,longitude:-114.2175642},{iata:"LQK",name:"Pickens County",city:"Pickens",state:"SC",country:"USA",latitude:34.80997222,longitude:-82.70288889},{iata:"LWC",name:"Lawrence Municipal",city:"Lawrence",state:"KS",country:"USA",latitude:39.01115222,longitude:-95.21657694},{iata:"M08",name:"William L. Whitehurst",city:"Bolivar",state:"TN",country:"USA",latitude:35.21445944,longitude:-89.04336222},{iata:"M36",name:"Frank Federer Memorial",city:"Brinkley",state:"AR",country:"USA",latitude:34.88000194,longitude:-91.1764375},{iata:"M76",name:"Picayune Municipal",city:"Picayune",state:"MS",country:"USA",latitude:30.48748472,longitude:-89.65119306},{iata:"MBL",name:"Manistee County Blacker",city:"Manistee",state:"MI",country:"USA",latitude:44.27319722,longitude:-86.2490025},{iata:"MDS",name:"Madison Municipal",city:"Madison",state:"SD",country:"USA",latitude:44.01597222,longitude:-97.08593333},{iata:"MGW",name:"Morgantown Muni-Walter L. Bill Hart Fld.",city:"Morgantown",state:"WV",country:"USA",latitude:39.6429075,longitude:-79.91631417},{iata:"MKA",name:"Miller Municipal",city:"Miller",state:"SD",country:"USA",latitude:44.52524444,longitude:-98.95811444},{iata:"MLU",name:"Monroe Regional",city:"Monroe",state:"LA",country:"USA",latitude:32.51086556,longitude:-92.03768778},{iata:"MOT",name:"Minot International",city:"Minot",state:"ND",country:"USA",latitude:48.25937778,longitude:-101.2803339},{iata:"MRJ",name:"Iowa County",city:"Mineral Point",state:"WI",country:"USA",latitude:42.88532917,longitude:-90.23198583},{iata:"MUT",name:"Muscatine Municipal",city:"Muscatine",state:"IA",country:"USA",latitude:41.36786333,longitude:-91.14821639},{iata:"MYR",name:"Myrtle Beach International",city:"Myrtle Beach",state:"SC",country:"USA",latitude:33.67975,longitude:-78.92833333},{iata:"N35",name:"Punxsutawney Muni",city:"Punxsutawney",state:"PA",country:"USA",latitude:40.96667472,longitude:-78.93000528},{iata:"N93",name:"New Golovin",city:"Golovin",state:"AK",country:"USA",latitude:64.55305556,longitude:-163.0088889},{iata:"NY0",name:"Fulton Cty",city:"Johnstown",state:"NY",country:"USA",latitude:42.99821222,longitude:-74.32955111},{iata:"O41",name:"Watts-Woodland",city:"Woodland",state:"CA",country:"USA",latitude:38.67387639,longitude:-121.8720772},{iata:"O86",name:"Trinity Center",city:"Trinity Center",state:"CA",country:"USA",latitude:40.98320111,longitude:-122.6941889},{iata:"OGB",name:"Orangeburg Municipal",city:"Orangeburg",state:"SC",country:"USA",latitude:33.46094444,longitude:-80.85891667},{iata:"OLF",name:"L M Clayton",city:"Wolf Point",state:"MT",country:"USA",latitude:48.09451778,longitude:-105.5750536},{iata:"OOA",name:"Oskaloosa Municipal",city:"Oskaloosa",state:"IA",country:"USA",latitude:41.22614944,longitude:-92.49388278},{iata:"ORV",name:"Robert(Bob) Curtis Memorial",city:"Noorvik",state:"AK",country:"USA",latitude:66.82852667,longitude:-161.0277908},{iata:"OXC",name:"Waterbury-Oxford",city:"Oxford",state:"CT",country:"USA",latitude:41.47855556,longitude:-73.13525},{iata:"PAH",name:"Barkley Regional",city:"Paducah",state:"KY",country:"USA",latitude:37.06083333,longitude:-88.77375},{iata:"PEQ",name:"Pecos Municipal",city:"Pecos City",state:"TX",country:"USA",latitude:31.3823575,longitude:-103.5107017},{iata:"PIB",name:"Hattiesburg-Laurel Regional",city:"Hattiesburg-Laurel",state:"MS",country:"USA",latitude:31.46714944,longitude:-89.33705778},{iata:"PMP",name:"Pompano Beach Airpark",city:"Pompano Beach",state:"FL",country:"USA",latitude:26.24713889,longitude:-80.11105556},{iata:"PPO",name:"La Porte Municipal",city:"La Porte",state:"IN",country:"USA",latitude:41.57276194,longitude:-86.73413139},{iata:"PSP",name:"Palm Springs International",city:"Palm Springs",state:"CA",country:"USA",latitude:33.82921556,longitude:-116.5062531},{iata:"PVJ",name:"Pauls Valley Municipal",city:"Pauls Valley",state:"OK",country:"USA",latitude:34.71105361,longitude:-97.22321694},{iata:"Q21",name:"Brownsville",city:"Brownsville",state:"CA",country:"USA",latitude:39.45544417,longitude:-121.2913511},{iata:"Q94",name:"Rio Linda",city:"Rio Linda",state:"CA",country:"USA",latitude:38.67601389,longitude:-121.4455092},{iata:"RDU",name:"Raleigh-Durham International",city:"Raleigh",state:"NC",country:"USA",latitude:35.87763889,longitude:-78.78747222},{iata:"RLD",name:"Richland",city:"Richland",state:"WA",country:"USA",latitude:46.305635,longitude:-119.3041853},{iata:"RPD",name:"Rice Lake Regional-Carl's",city:"Rice Lake",state:"WI",country:"USA",latitude:45.41809056,longitude:-91.77365194},{iata:"RVS",name:"Richard Lloyd Jones, Jr.",city:"Tulsa",state:"OK",country:"USA",latitude:36.0396275,longitude:-95.984635},{iata:"S21",name:"Sunriver",city:"Sunriver",state:"OR",country:"USA",latitude:43.87633333,longitude:-121.4530556},{iata:"S64",name:"Stanford",city:"Stanford",state:"MT",country:"USA",latitude:47.14718944,longitude:-110.2299289},{iata:"SAF",name:"Santa Fe Municipal",city:"Santa Fe",state:"NM",country:"USA",latitude:35.61677778,longitude:-106.0881389},{iata:"SCE",name:"University Park",city:"NA",state:"NA",country:"USA",latitude:40.851206,longitude:-77.846302},{iata:"SDY",name:"Sidney-Richland Municipal",city:"Sidney",state:"MT",country:"USA",latitude:47.70685778,longitude:-104.1925544},{iata:"SGJ",name:"St. Augustine",city:"St. Augustine",state:"FL",country:"USA",latitude:29.95925,longitude:-81.33975},{iata:"SJN",name:"St Johns Industrial Air Park",city:"St Johns",state:"AZ",country:"USA",latitude:34.51855556,longitude:-109.37875},{iata:"SMN",name:"Lemhi County",city:"Salmon",state:"ID",country:"USA",latitude:45.12047778,longitude:-113.8820103},{iata:"SPI",name:"Capital",city:"Springfield",state:"IL",country:"USA",latitude:39.84395194,longitude:-89.67761861},{iata:"STL",name:"Lambert-St Louis International",city:"St Louis",state:"MO",country:"USA",latitude:38.74768694,longitude:-90.35998972},{iata:"SWO",name:"Stillwater Regional",city:"Stillwater",state:"OK",country:"USA",latitude:36.16025194,longitude:-97.08577028},{iata:"T41",name:"La Porte Municipal",city:"La Porte",state:"TX",country:"USA",latitude:29.66925,longitude:-95.06419444},{iata:"TAL",name:"Ralph M Calhoun Memorial",city:"Tanana",state:"AK",country:"USA",latitude:65.17439528,longitude:-152.1093886},{iata:"THM",name:"Thompson Falls",city:"Thompson Falls",state:"MT",country:"USA",latitude:47.57493556,longitude:-115.2843164},{iata:"TOC",name:"Toccoa, R G Le Tourneau",city:"Toccoa",state:"GA",country:"USA",latitude:34.59376444,longitude:-83.2958},{iata:"TSP",name:"Tehachapi Municipal",city:"Tehachapi",state:"CA",country:"USA",latitude:35.13497222,longitude:-118.43925},{iata:"TYL",name:"Taylor",city:"Taylor",state:"AZ",country:"USA",latitude:34.45283333,longitude:-110.1148056},{iata:"U55",name:"Panguitch Municipal",city:"Panguitch",state:"UT",country:"USA",latitude:37.84523333,longitude:-112.3918731},{iata:"UIL",name:"Quillayute",city:"Forks",state:"WA",country:"USA",latitude:47.93714444,longitude:-124.5612497},{iata:"UUO",name:"Willow",city:"Willow",state:"AK",country:"USA",latitude:61.75441667,longitude:-150.0516639},{iata:"VHN",name:"Culberson County",city:"Van Horn",state:"TX",country:"USA",latitude:31.05784417,longitude:-104.7838056},{iata:"VTN",name:"Miller",city:"Valentine",state:"NE",country:"USA",latitude:42.85767194,longitude:-100.547355},{iata:"W97",name:"Middle Peninsula Regional",city:"West Point",state:"VA",country:"USA",latitude:37.52122778,longitude:-76.7646825},{iata:"WNA",name:"Napakiak",city:"Napakiak",state:"AK",country:"USA",latitude:60.69118917,longitude:-161.9695161},{iata:"X26",name:"Sebastian Municipal",city:"Sebastian",state:"FL",country:"USA",latitude:27.81280389,longitude:-80.49560833},{iata:"Y27",name:"Standing Rock",city:"Fort Yates",state:"ND",country:"USA",latitude:46.06638556,longitude:-100.6348492},{iata:"YUM",name:"Yuma MCAS-Yuma International",city:"Yuma",state:"AZ",country:"USA",latitude:32.65658333,longitude:-114.6059722},{iata:"Z95",name:"Cibecue",city:"Cibecue",state:"AZ",country:"USA",latitude:34.00333333,longitude:-110.4441667}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-bubble-map",name:"\u6C14\u6CE1\u5730\u56FE",description:"\u7528\u5706\u7684\u5927\u5C0F\u8868\u73B0\u5730\u7406\u6570\u503C\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u6C14\u6CE1\u5730\u56FE",datasets:{londonBoroughs:{type:"Topology",bbox:[-.5103750689005356,51.28676016315083,.3340155643740317,51.69187411690989],transform:{scale:[8444750807826456e-20,4051544692059764e-20],translate:[-.5103750689005356,51.28676016315083]},objects:{boroughs:{type:"GeometryCollection",geometries:[{type:"Polygon",arcs:[[0,1,2,3,4]],id:"Kingston upon Thames"},{type:"Polygon",arcs:[[5,6,7,8,9]],id:"Croydon"},{type:"Polygon",arcs:[[-9,10,11,12,13,14,15]],id:"Bromley"},{type:"Polygon",arcs:[[16,17,18,19,20,21]],id:"Hounslow"},{type:"Polygon",arcs:[[22,23,24,-21,25]],id:"Ealing"},{type:"Polygon",arcs:[[26,27,28]],id:"Havering"},{type:"Polygon",arcs:[[29,-26,-20,30]],id:"Hillingdon"},{type:"Polygon",arcs:[[31,32,33,-23,-30]],id:"Harrow"},{type:"Polygon",arcs:[[34,35,-24,-34,36,37,38]],id:"Brent"},{type:"Polygon",arcs:[[39,40,41,-37,-33,42]],id:"Barnet"},{type:"Polygon",arcs:[[43,44,-11,-8,45,46]],id:"Lambeth"},{type:"Polygon",arcs:[[47,48,-12,-45]],id:"Southwark"},{type:"Polygon",arcs:[[49,50,51,52,-13,-49]],id:"Lewisham"},{type:"MultiPolygon",arcs:[[[53,-51]],[[54,-14,-53,55]]],id:"Greenwich"},{type:"Polygon",arcs:[[56,-15,-55]],id:"Bexley"},{type:"Polygon",arcs:[[57,58,59,60,-40,61]],id:"Enfield"},{type:"Polygon",arcs:[[62,63,64,-58,65,66]],id:"Waltham Forest"},{type:"Polygon",arcs:[[67,68,-67,69,-28,70,71]],id:"Redbridge"},{type:"Polygon",arcs:[[72,-4,73,-6]],id:"Sutton"},{type:"Polygon",arcs:[[74,75,-1,76,-18]],id:"Richmond upon Thames"},{type:"Polygon",arcs:[[-74,-3,77,-46,-7]],id:"Merton"},{type:"Polygon",arcs:[[78,-47,-78,-2,-76]],id:"Wandsworth"},{type:"Polygon",arcs:[[-22,-25,-36,79,80]],id:"Hammersmith and Fulham"},{type:"Polygon",arcs:[[-80,-35,81,82]],id:"Kensington and Chelsea"},{type:"Polygon",arcs:[[-82,-39,83,84,85]],id:"Westminster"},{type:"Polygon",arcs:[[86,87,-84,-38,-42,88]],id:"Camden"},{type:"Polygon",arcs:[[89,90,91,92,93,94]],id:"Tower Hamlets"},{type:"Polygon",arcs:[[95,96,97,-87]],id:"Islington"},{type:"Polygon",arcs:[[-64,98,-93,99,-97,100]],id:"Hackney"},{type:"Polygon",arcs:[[-96,-89,-41,-61,59,-59,-65,-101]],id:"Haringey"},{type:"MultiPolygon",arcs:[[[101,102]],[[-94,-99,-63,-69,103,104]]],id:"Newham"},{type:"MultiPolygon",arcs:[[[-104,-68,105,-103,106]],[[-71,-27,107]]],id:"Barking and Dagenham"},{type:"Polygon",arcs:[[-85,-88,-98,-100,-92,90,-90,108]],id:"City of London"}]}},arcs:[[[2281,2639],[109,777],[83,133],[250,-215],[312,381]],[[3035,3715],[35,-116]],[[3070,3599],[76,-696],[59,-372]],[[3205,2531],[-63,-229]],[[3142,2302],[-319,-183],[-246,-492],[-314,-614],[-133,509],[148,540],[84,392],[-81,185]],[[4190,858],[148,226],[204,350],[-15,880],[-75,256]],[[4452,2570],[79,529]],[[4531,3099],[401,259],[182,-73]],[[5114,3285],[138,-422],[159,-187],[195,-448],[164,-247],[301,-935]],[[6071,1046],[-335,233],[-288,-147],[-234,-339],[-141,-203],[-345,-454],[-225,8],[-299,214],[-14,500]],[[5114,3285],[2,19]],[[5116,3304],[52,136]],[[5168,3440],[432,-28],[231,-245],[279,83],[235,260],[98,67],[-52,247]],[[6391,3824],[403,-430],[142,191]],[[6936,3585],[452,-467],[419,-114]],[[7807,3004],[-14,-387],[41,-509],[-169,-691],[-182,-257],[-433,-438],[3,-570],[-508,-6],[-210,227],[-169,352],[-95,321]],[[3148,4984],[-116,-382],[-323,322],[-300,-247],[-175,-268]],[[2234,4409],[-181,-266],[-427,71],[-57,-372],[21,-170],[-111,-365],[-70,39]],[[1409,3346],[-353,243],[-314,70],[-163,345],[33,181]],[[612,4185],[297,134],[199,472],[117,465]],[[1225,5256],[518,-95],[471,1],[213,-34],[135,174],[457,-164],[28,160]],[[3047,5298],[101,-314]],[[1570,6620],[358,116],[142,-76]],[[2070,6660],[346,-562],[283,120],[-82,-173],[510,27]],[[3127,6072],[7,-695],[-87,-79]],[[1225,5256],[288,450],[-438,512],[406,308],[89,94]],[[7923,5564],[243,694],[61,428],[-410,297],[-19,723]],[[7798,7706],[-118,606]],[[7680,8312],[670,54],[347,149],[476,-590],[60,-305],[517,-732],[218,-491],[-399,-262],[-403,-431],[-272,83],[14,-327],[-311,-280],[-366,-147],[-308,531]],[[1259,8057],[101,-568],[210,-869]],[[612,4185],[-417,158],[-114,439],[163,456],[-31,447],[68,813],[22,416],[-117,435],[-54,606],[-13,485],[280,-168],[369,-55],[405,-144],[86,-16]],[[1259,8057],[649,338],[357,288],[173,-55]],[[2438,8628],[442,-887]],[[2880,7741],[-181,-379],[-524,-155],[-105,-547]],[[3486,5952],[-148,60]],[[3338,6012],[-211,60]],[[2880,7741],[166,-688],[233,-13],[236,-415]],[[3515,6625],[261,-466]],[[3776,6159],[-290,-207]],[[3887,9425],[405,-655],[148,-503],[-40,-284]],[[4400,7983],[-149,-315],[-72,-268],[-164,-349]],[[4015,7051],[-230,-262],[-228,-125],[-42,-39]],[[2438,8628],[488,210],[296,331],[360,114],[154,134],[151,8]],[[4523,4894],[148,551],[83,27]],[[4754,5472],[68,-427],[38,-353],[117,-263],[-127,-391],[266,-734]],[[4531,3099],[-150,171]],[[4381,3270],[9,397],[-32,387],[79,536],[86,304]],[[4754,5472],[611,-188],[295,83],[0,-275]],[[5660,5092],[-260,-357],[97,-534],[-135,-164],[-172,-440],[-22,-157]],[[5660,5092],[89,-186]],[[5749,4906],[92,-126]],[[5841,4780],[-67,-125]],[[5774,4655],[173,-64],[204,-170],[147,-571],[93,-26]],[[5749,4906],[92,-126]],[[7467,5546],[-21,-803],[-239,-85],[-232,-400],[26,-466],[-65,-207]],[[5774,4655],[271,284],[60,430],[678,-242],[526,368],[158,51]],[[7467,5546],[473,-145],[212,-545],[469,-76],[-79,-295],[-213,-414],[-240,-214],[-228,-485],[-54,-368]],[[5898,8872],[-276,-844],[-69,-158]],[[5553,7870],[-304,82]],[[5249,7952],[0,0]],[[5249,7952],[-668,-6],[-181,37]],[[3887,9425],[220,481],[607,72],[394,-52],[608,-165],[222,-543],[-40,-346]],[[6285,6652],[-205,-103],[-240,-13]],[[5840,6536],[-357,277],[-164,370]],[[5319,7183],[125,463],[109,224]],[[5898,8872],[156,-109],[248,-320]],[[6302,8443],[-66,-296],[-34,-816],[13,-449],[70,-230]],[[6865,6352],[-12,7]],[[6853,6359],[-165,377],[-230,-110],[-173,26]],[[6302,8443],[319,-376],[454,-225],[130,270],[243,-1],[232,201]],[[7798,7706],[-258,-302],[62,-368],[-243,-477],[-490,-208]],[[6869,6351],[-4,1]],[[4190,858],[-209,289],[-460,57],[-50,194],[-235,580],[-94,324]],[[3205,2531],[256,-226],[352,130],[273,63],[366,72]],[[2234,4409],[147,-418],[-201,-414],[243,423],[-153,526],[401,394],[291,-390],[227,446],[209,-416]],[[3398,4560],[-349,-155],[133,-545],[-147,-145]],[[2281,2639],[-498,453],[-284,-47],[-46,227],[-44,74]],[[3070,3599],[541,153],[247,-275],[475,-244],[48,37]],[[3398,4560],[467,-151],[411,451],[247,34]],[[3338,6012],[109,-513],[193,-401],[226,-392]],[[3866,4706],[-116,-311],[-364,460],[-238,129]],[[3486,5952],[199,-330],[177,-315],[305,12],[100,-414]],[[4267,4905],[-401,-199]],[[3776,6159],[314,-13],[331,-417],[301,-87]],[[4722,5642],[0,-113]],[[4722,5529],[-237,-609],[-218,-15]],[[4357,6969],[184,-546],[172,-575],[83,-127]],[[4796,5721],[-74,-79]],[[4015,7051],[342,-82]],[[5104,5457],[7,24]],[[5111,5481],[0,0]],[[5111,5481],[3,313]],[[5114,5794],[144,240],[396,331],[193,-32]],[[5847,6333],[108,-423],[-4,-79]],[[5951,5831],[136,-209],[-64,-176],[-23,-455],[-286,133],[-237,353],[-373,-20]],[[4357,6969],[451,-107]],[[4808,6862],[292,-320],[-205,-465],[140,-312]],[[5035,5765],[-239,-44]],[[5840,6536],[7,-203]],[[5114,5794],[-79,-29]],[[4808,6862],[333,251],[178,70]],[[6938,5999],[-1,1]],[[6937,6e3],[1,-1]],[[6853,6359],[57,-371]],[[6910,5988],[269,-344],[-421,-421],[-637,292],[-179,243],[9,73]],[[6865,6352],[73,-353]],[[6937,6e3],[-27,-12]],[[7923,5564],[-374,179],[-374,-61],[-225,317],[-81,352]],[[5104,5457],[-382,72]]]},londonCentroids:[{name:"Kingston upon Thames",cx:-.28691465719243003,cy:51.387893353778395},{name:"Croydon",cx:-.08716546101532906,cy:51.355317416374},{name:"Bromley",cx:.051536586180461884,cy:51.37198402033694},{name:"Hounslow",cx:-.3671516396902454,cy:51.46838045919461},{name:"Ealing",cx:-.331019323573572,cy:51.52247610268018},{name:"Havering",cx:.22111695897456907,cy:51.564368109593914},{name:"Hillingdon",cx:-.4456619192134244,cy:51.54147118065276},{name:"Harrow",cx:-.34127462993183943,cy:51.59771852185307},{name:"Brent",cx:-.2678117446868589,cy:51.558554439571225},{name:"Barnet",cx:-.2100178905687616,cy:51.61601840050092},{name:"Lambeth",cx:-.11827879184555543,cy:51.45307915598091},{name:"Southwark",cx:-.07460248417459615,cy:51.47313736252929},{name:"Lewisham",cx:-.020251210147097444,cy:51.44808622366465},{name:"Greenwich",cx:.05623854022441538,cy:51.47280349330009},{name:"Bexley",cx:.14034521936844538,cy:51.45881060129503},{name:"Enfield",cx:-.08726531756552813,cy:51.650991897325454},{name:"Waltham Forest",cx:-.012645389036967391,cy:51.59402179942259},{name:"Redbridge",cx:.07586498666349965,cy:51.58566980239283},{name:"Sutton",cx:-.1775706458949663,cy:51.36208881322784},{name:"Richmond upon Thames",cx:-.312989912939369,cy:51.44217087768007},{name:"Merton",cx:-.19724686451592524,cy:51.40994982121643},{name:"Wandsworth",cx:-.18644255213923716,cy:51.45135372974042},{name:"Hammersmith and Fulham",cx:-.22312501860130696,cy:51.49760349773975},{name:"Kensington and Chelsea",cx:-.1926146417708775,cy:51.50326858912867},{name:"Westminster",cx:-.16129707300361068,cy:51.513897745031734},{name:"Camden",cx:-.15741523389534484,cy:51.54639253962996},{name:"Tower Hamlets",cx:-.03246795051939853,cy:51.515056063777294},{name:"Islington",cx:-.10744657464865907,cy:51.54550386068218},{name:"Hackney",cx:-.06564515736890775,cy:51.54976532427057},{name:"Haringey",cx:-.10747319126297968,cy:51.59037386425316},{name:"Newham",cx:.036385305135703754,cy:51.52834280272405},{name:"Barking and Dagenham",cx:.13352186486629006,cy:51.545272267046116},{name:"City of London",cx:-.09232371387227843,cy:51.51529009582889}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-gauge",name:"\u4EEA\u8868\u76D8",description:"\u7528\u5706\u5F27\u8868\u8FBE\u8FDB\u5EA6\u6216\u6307\u6807\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u4EEA\u8868\u76D8",datasets:{main:{target:120,total:400,name:"score"}},theme:"indigo",height:320,legend:!1,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-bullet",name:"\u5B50\u5F39\u56FE",description:"\u540C\u65F6\u663E\u793A\u5B9E\u9645\u3001\u76EE\u6807\u4E0E\u533A\u95F4\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u5B50\u5F39\u56FE",datasets:{"layer-0":[{title:"Sales Completion Rate",ranges:100,measures:80,target:85}],"layer-1":[{title:"Sales Completion Rate",ranges:100,measures:80,target:85}],"layer-2":[{title:"Sales Completion Rate",ranges:100,measures:80,target:85}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"},{kind:"g2-wordcloud",name:"\u8BCD\u4E91",description:"\u7528\u5B57\u53F7\u8868\u8FBE\u8BCD\u8BED\u6743\u91CD\uFF0C\u652F\u6301\u7F16\u8F91\u6570\u636E\u3001\u4E3B\u9898\u548C\u4EA4\u4E92\u3002",defaultData:{title:"\u8BCD\u4E91",datasets:{main:[{value:11.739204307083542,text:"\u6C34\u662F",name:"\u6CF0\u5229\u65AF"},{value:9.23723855786,text:"\u4E4B\u6E90",name:"\u6CF0\u5229\u65AF"},{value:7.75434839431,text:"\u4E07\u7269",name:"\u6CF0\u5229\u65AF"},{value:11.3865516372,text:"\u7269\u8D28",name:"\u5B89\u7EB3\u514B\u897F\u66FC\u5FB7"},{value:7.75434839431,text:"\u4E07\u7269",name:"\u5B89\u7EB3\u514B\u897F\u66FC\u5FB7"},{value:5.83541244308,text:"\u521B\u9020",name:"\u5B89\u7EB3\u514B\u897F\u66FC\u5FB7"},{value:4.27215339948,text:"\u5F62\u6210",name:"\u5B89\u7EB3\u514B\u897F\u66FC\u5FB7"},{value:4.2025551294,text:"\u4E00\u5B9A",name:"\u5B89\u7EB3\u514B\u897F\u66FC\u5FB7"},{value:9.23723855786,text:"\u4E4B\u6E90",name:"\u5B89\u7EB3\u897F\u6885\u5229\u65AF"},{value:7.75434839431,text:"\u4E07\u7269",name:"\u5B89\u7EB3\u897F\u6885\u5229\u65AF"},{value:7.34959731693,text:"\u5FC5\u5B9A",name:"\u5B89\u7EB3\u897F\u6885\u5229\u65AF"},{value:6.57487014938,text:"\u6C14\u4F53",name:"\u5B89\u7EB3\u897F\u6885\u5229\u65AF"},{value:6.32509300042,text:"\u7A7A\u6C14",name:"\u5B89\u7EB3\u897F\u6885\u5229\u65AF"},{value:10.1394775363,text:"\u4EFB\u4F55\u4E8B\u7269",name:"\u5E15\u6885\u5C3C\u5FB7\u65AF"},{value:9.29550746599,text:"\u611F\u5B98",name:"\u5E15\u6885\u5C3C\u5FB7\u65AF"},{value:7.13910488317,text:"\u53EF\u9760",name:"\u5E15\u6885\u5C3C\u5FB7\u65AF"},{value:6.89126871927,text:"\u4E8B\u7269",name:"\u5E15\u6885\u5C3C\u5FB7\u65AF"},{value:6.2256471303,text:"\u6CA1\u6709",name:"\u5E15\u6885\u5C3C\u5FB7\u65AF"},{value:11.739204307083542,text:"\u4F1A\u53D8",name:"\u8D6B\u62C9\u514B\u91CC\u7279\u65AF"},{value:9.29550746599,text:"\u611F\u5B98",name:"\u8D6B\u62C9\u514B\u91CC\u7279\u65AF"},{value:8.70772080109,text:"\u8BA4\u77E5",name:"\u8D6B\u62C9\u514B\u91CC\u7279\u65AF"},{value:7.75434839431,text:"\u4E07\u7269",name:"\u8D6B\u62C9\u514B\u91CC\u7279\u65AF"},{value:7.13910488317,text:"\u53EF\u9760",name:"\u8D6B\u62C9\u514B\u91CC\u7279\u65AF"},{value:13.68728134056,text:"\u5143\u7D20",name:"\u6069\u966A\u7AA6"},{value:10.2897597393,text:"\u5206\u5408",name:"\u6069\u966A\u7AA6"},{value:10.1871055853,text:"\u805A\u6563",name:"\u6069\u966A\u7AA6"},{value:8.42421410004,text:"\u56DB\u79CD",name:"\u6069\u966A\u7AA6"},{value:8.29487558568,text:"\u4E16\u95F4",name:"\u6069\u966A\u7AA6"},{value:8.77077893705,text:"\u8089\u773C",name:"\u5B89\u7EB3\u8428\u54E5\u62C9\u65AF"},{value:8.18364995057,text:"\u5FAE\u5C0F",name:"\u5B89\u7EB3\u8428\u54E5\u62C9\u65AF"},{value:8.10461990121,text:"\u5927\u81EA\u7136",name:"\u5B89\u7EB3\u8428\u54E5\u62C9\u65AF"},{value:7.69410172525,text:"\u7C92\u5B50",name:"\u5B89\u7EB3\u8428\u54E5\u62C9\u65AF"},{value:7.65457088649,text:"\u5206\u5272",name:"\u5B89\u7EB3\u8428\u54E5\u62C9\u65AF"},{value:21.6192703972,text:"\u79EF\u6728",name:"\u5FB7\u8C1F\u514B\u5229\u91CC\u7279\u65AF"},{value:10.7226238216,text:"\u6C38\u6052\u4E0D\u53D8",name:"\u5FB7\u8C1F\u514B\u5229\u91CC\u7279\u65AF"},{value:8.18364995057,text:"\u5FAE\u5C0F",name:"\u5FB7\u8C1F\u514B\u5229\u91CC\u7279\u65AF"},{value:7.14957618304,text:"\u539F\u5B50",name:"\u5FB7\u8C1F\u514B\u5229\u91CC\u7279\u65AF"},{value:7.1038539337,text:"\u6700\u5C0F",name:"\u5FB7\u8C1F\u514B\u5229\u91CC\u7279\u65AF"},{value:11.739204307083542,text:"\u6709\u4F55",name:"\u666E\u7F57\u5854\u683C\u62C9\u65AF"},{value:11.739204307083542,text:"\u662F\u9519",name:"\u666E\u7F57\u5854\u683C\u62C9\u65AF"},{value:8.10461990121,text:"\u800C\u5B9A",name:"\u666E\u7F57\u5854\u683C\u62C9\u65AF"},{value:7.95787827685,text:"\u5C3A\u5EA6",name:"\u666E\u7F57\u5854\u683C\u62C9\u65AF"},{value:7.36109169636,text:"\u8861\u91CF",name:"\u666E\u7F57\u5854\u683C\u62C9\u65AF"},{value:11.7034530746,text:"\u660E\u8FA8\u662F\u975E",name:"\u82CF\u683C\u62C9\u5E95"},{value:9.14102377386,text:"\u5B58\u5728",name:"\u82CF\u683C\u62C9\u5E95"},{value:8.98802276624,text:"\u4E00\u65E0\u6240\u77E5",name:"\u82CF\u683C\u62C9\u5E95"},{value:6.90950076485,text:"\u7406\u6027",name:"\u82CF\u683C\u62C9\u5E95"},{value:5.82167939329,text:"\u4E00\u4EF6",name:"\u82CF\u683C\u62C9\u5E95"},{value:12.06102341102,text:"\u6A21\u5F0F",name:"\u67CF\u62C9\u56FE"},{value:11.739204307083542,text:"\u7406\u578B",name:"\u67CF\u62C9\u56FE"},{value:11.3865516372,text:"\u7269\u8D28",name:"\u67CF\u62C9\u56FE"},{value:9.54656840164,text:"\u4E1C\u897F",name:"\u67CF\u62C9\u56FE"},{value:8.73505881114,text:"\u4E16\u754C",name:"\u67CF\u62C9\u56FE"},{value:34.45634359635,text:"\u4E8B\u7269",name:"\u4E9A\u91CC\u58EB\u591A\u5FB7"},{value:27.886522397969998,text:"\u611F\u5B98",name:"\u4E9A\u91CC\u58EB\u591A\u5FB7"},{value:20.4235963958,text:"\u8D28\u6599",name:"\u4E9A\u91CC\u58EB\u591A\u5FB7"},{value:12.1089181827,text:"\u548C\u8C10\u4E00\u81F4",name:"\u4E9A\u91CC\u58EB\u591A\u5FB7"},{value:10.4994802703,text:"\u5145\u5206\u8FD0\u7528",name:"\u4E9A\u91CC\u58EB\u591A\u5FB7"},{value:11.739204307083542,text:"\u4E00\u88AD",name:"\u7B2C\u6B27\u6839\u5C3C"},{value:10.1630080337,text:"\u6728\u6876",name:"\u7B2C\u6B27\u6839\u5C3C"},{value:9.30555780184,text:"\u6728\u68CD",name:"\u7B2C\u6B27\u6839\u5C3C"},{value:9.26594866375,text:"\u6597\u7BF7",name:"\u7B2C\u6B27\u6839\u5C3C"},{value:9.22784881751,text:"\u4E00\u888B",name:"\u7B2C\u6B27\u6839\u5C3C"},{value:6.47412857958,text:"\u75DB\u82E6",name:"\u4F0A\u58C1\u9E20\u9C81"},{value:6.06866347147,text:"\u907F\u514D",name:"\u4F0A\u58C1\u9E20\u9C81"},{value:5.02315619812,text:"\u5F62\u5F0F",name:"\u4F0A\u58C1\u9E20\u9C81"},{value:4.80149232937,text:"\u65B9\u5F0F",name:"\u4F0A\u58C1\u9E20\u9C81"},{value:4.13163619599,text:"\u4E00\u79CD",name:"\u4F0A\u58C1\u9E20\u9C81"},{value:21.209681572,text:"\u4E07\u4E8B\u4E07\u7269",name:"\u666E\u7F57\u6C40"},{value:7.48068272383,text:"\u4E0A\u5E1D",name:"\u666E\u7F57\u6C40"},{value:7.37711534583,text:"\u4E00\u4F53",name:"\u666E\u7F57\u6C40"},{value:7.36834335975,text:"\u5B87\u5B99",name:"\u666E\u7F57\u6C40"},{value:5.67973648369,text:"\u4E4B\u4E2D",name:"\u666E\u7F57\u6C40"},{value:9.17328983326,text:"\u8D66\u514D",name:"\u8036\u7A23"},{value:8.04274449749,text:"\u62EF\u6551",name:"\u8036\u7A23"},{value:7.48068272383,text:"\u4E0A\u5E1D",name:"\u8036\u7A23"},{value:4.60931044136,text:"\u5F97\u5230",name:"\u8036\u7A23"},{value:2.81755097213,text:"\u4E00\u4E2A",name:"\u8036\u7A23"},{value:14.96136544766,text:"\u4E0A\u5E1D",name:"\u4FDD\u7F57"},{value:7.95787827685,text:"\u4E16\u4EBA",name:"\u4FDD\u7F57"},{value:7.22485443034,text:"\u663E\u73B0",name:"\u4FDD\u7F57"},{value:7.07413242842,text:"\u8BD5\u56FE",name:"\u4FDD\u7F57"},{value:6.04010686644,text:"\u5BFB\u627E",name:"\u4FDD\u7F57"},{value:14.96136544766,text:"\u4E0A\u5E1D",name:"\u5723\u5965\u53E4\u65AF\u4E01"},{value:11.67082488616,text:"\u521B\u9020",name:"\u5723\u5965\u53E4\u65AF\u4E01"},{value:9.80633308975,text:"\u865A\u7A7A",name:"\u5723\u5965\u53E4\u65AF\u4E01"},{value:8.73505881114,text:"\u4E16\u754C",name:"\u5723\u5965\u53E4\u65AF\u4E01"},{value:5.23799979382,text:"\u5FC3\u4E2D",name:"\u5723\u5965\u53E4\u65AF\u4E01"},{value:16.57509909118,text:"\u542F\u793A",name:"\u5723\u591A\u739B\u65AF"},{value:14.51638170122,text:"\u4FE1\u4EF0",name:"\u5723\u591A\u739B\u65AF"},{value:13.8190015297,text:"\u7406\u6027",name:"\u5723\u591A\u739B\u65AF"},{value:10.5684731418,text:"\u89C2\u611F",name:"\u5723\u591A\u739B\u65AF"},{value:9.04086524761,text:"\u5E76\u4E0D\u4E00\u5B9A",name:"\u5723\u591A\u739B\u65AF"},{value:12.57964972316,text:"\u5730\u7403",name:"\u54E5\u767D\u5C3C"},{value:12.45583951066,text:"\u592A\u9633",name:"\u54E5\u767D\u5C3C"},{value:11.39201164604,text:"\u8FD0\u884C",name:"\u54E5\u767D\u5C3C"},{value:6.22698952271,text:"\u5E76\u672A",name:"\u54E5\u767D\u5C3C"},{value:14.35128801962,text:"\u7269\u4F53",name:"\u4F3D\u5229\u7565"},{value:11.18052531558,text:"\u72B6\u6001",name:"\u4F3D\u5229\u7565"},{value:10.0505300503,text:"\u8F74\u5FC3",name:"\u4F3D\u5229\u7565"},{value:9.56994431169,text:"\u661F\u7403",name:"\u4F3D\u5229\u7565"},{value:9.29550746599,text:"\u611F\u5B98",name:"\u4F3D\u5229\u7565"},{value:21.52693202943,text:"\u7269\u4F53",name:"\u725B\u987F"},{value:8.68574189437,text:"\u9012\u589E",name:"\u725B\u987F"},{value:8.29120585679,text:"\u9012\u51CF",name:"\u725B\u987F"},{value:7.9817837977,text:"\u884C\u661F",name:"\u725B\u987F"},{value:7.36834335975,text:"\u5B87\u5B99",name:"\u725B\u987F"},{value:13.900677652,text:"\u6545\u6211\u5728",name:"\u7B1B\u5361\u5C14"},{value:11.9547675029,text:"\u771F\u5B9E\u4E16\u754C",name:"\u7B1B\u5361\u5C14"},{value:11.739204307083542,text:"\u6211\u601D",name:"\u7B1B\u5361\u5C14"},{value:10.2371160058,text:"\u4E4B\u6709",name:"\u7B1B\u5361\u5C14"},{value:7.96050639926,text:"\u7EC6\u5206",name:"\u7B1B\u5361\u5C14"},{value:22.44204817149,text:"\u4E0A\u5E1D",name:"\u65AF\u5BBE\u8BFA\u838E"},{value:12.1089181827,text:"\u4E3B\u5BB0\u4E16\u754C",name:"\u65AF\u5BBE\u8BFA\u838E"},{value:10.8096351986,text:"\u7275\u7EBF",name:"\u65AF\u5BBE\u8BFA\u838E"},{value:10.6818018271,text:"\u81EA\u7136\u6CD5\u5219",name:"\u65AF\u5BBE\u8BFA\u838E"},{value:9.7898037878,text:"\u6728\u5076",name:"\u65AF\u5BBE\u8BFA\u838E"},{value:18.59101493198,text:"\u611F\u5B98",name:"\u6D1B\u514B"},{value:15.51728049278,text:"\u5FC3\u7075",name:"\u6D1B\u514B"},{value:11.9547675029,text:"\u5BDF\u77E5",name:"\u6D1B\u514B"},{value:10.1394775363,text:"\u4EFB\u4F55\u4E8B\u7269",name:"\u6D1B\u514B"},{value:8.74738605748,text:"\u6B21\u8981",name:"\u6D1B\u514B"},{value:14.95161725614,text:"\u54F2\u5B66\u5BB6",name:"\u4F11\u8C1F"},{value:12.5143832909,text:"\u63A5\u8FDE\u8D77\u6765",name:"\u4F11\u8C1F"},{value:11.739204307083542,text:"\u7701\u601D",name:"\u4F11\u8C1F"},{value:11.64335878658,text:"\u4E00\u4EF6",name:"\u4F11\u8C1F"},{value:10.2897597393,text:"\u884C\u4E3A\u51C6\u5219",name:"\u4F11\u8C1F"},{value:13.78796485028,text:"\u611F\u53D7",name:"\u67CF\u514B\u83B1"},{value:10.3743171274,text:"\u5929\u4E3B",name:"\u67CF\u514B\u83B1"},{value:10.2117981979,text:"\u8D28\u6599",name:"\u67CF\u514B\u83B1"},{value:9.58318953844,text:"\u5468\u906D",name:"\u67CF\u514B\u83B1"},{value:9.14102377386,text:"\u5B58\u5728",name:"\u67CF\u514B\u83B1"},{value:14.96136544766,text:"\u4E0A\u5E1D",name:"\u5EB7\u5FB7"},{value:14.35850390238,text:"\u5934\u9876",name:"\u5EB7\u5FB7"},{value:12.5143832909,text:"\u56E0\u679C\u5F8B",name:"\u5EB7\u5FB7"},{value:11.739204307083542,text:"\u5B58\u4E0D\u5B58",name:"\u5EB7\u5FB7"},{value:11.0674643079,text:"\u6839\u690D",name:"\u5EB7\u5FB7"},{value:16.20923980242,text:"\u5927\u81EA\u7136",name:"\u8C22\u6797"},{value:13.10258821671,text:"\u4E16\u754C",name:"\u8C22\u6797"},{value:11.3865516372,text:"\u7269\u8D28",name:"\u8C22\u6797"},{value:11.27020388852,text:"\u4E00\u4E2A",name:"\u8C22\u6797"},{value:10.1164880181,text:"\u65E0\u4F11\u6B62",name:"\u8C22\u6797"},{value:13.10258821671,text:"\u4E16\u754C",name:"\u9ED1\u683C\u5C14"},{value:11.23942650284,text:"\u7CBE\u795E",name:"\u9ED1\u683C\u5C14"},{value:10.9049453784,text:"\u518D\u8BFB",name:"\u9ED1\u683C\u5C14"},{value:10.1394775363,text:"\u811A\u8E0F\u5B9E\u5730",name:"\u9ED1\u683C\u5C14"},{value:8.60236028543,text:"\u8FA9\u8BC1\u6CD5",name:"\u9ED1\u683C\u5C14"},{value:26.6063055869,text:"\u9636\u6BB5",name:"\u7941\u514B\u679C"},{value:13.0408437271,text:"\u771F\u5B9E",name:"\u7941\u514B\u679C"},{value:11.739204307083542,text:"\u4EBA\u6B63",name:"\u7941\u514B\u679C"},{value:10.48883682488,text:"\u662F\u5426",name:"\u7941\u514B\u679C"},{value:9.5062284973,text:"\u7F8E\u611F",name:"\u7941\u514B\u679C"},{value:17.0798274558,text:"\u7269\u8D28",name:"\u9A6C\u514B\u601D"},{value:11.739204307083542,text:"\u65B0\u7684",name:"\u9A6C\u514B\u601D"},{value:11.23942650284,text:"\u7CBE\u795E",name:"\u9A6C\u514B\u601D"},{value:10.4471578861,text:"\u6539\u53D8",name:"\u9A6C\u514B\u601D"},{value:10.21443458184,text:"\u9020\u6210",name:"\u9A6C\u514B\u601D"},{value:16.20923980242,text:"\u4E00\u8258",name:"\u8FBE\u5C14\u6587"},{value:15.07529909688,text:"\u822A\u884C",name:"\u8FBE\u5C14\u6587"},{value:11.739204307083542,text:"\u4EBA\u5219",name:"\u8FBE\u5C14\u6587"},{value:11.7034530746,text:"\u7269\u7ADE\u5929\u62E9",name:"\u8FBE\u5C14\u6587"},{value:10.5684731418,text:"\u9002\u8005\u751F\u5B58",name:"\u8FBE\u5C14\u6587"},{value:19.89886786678,text:"\u6F5C\u610F\u8BC6",name:"\u5F17\u6D1B\u4F0A\u5FB7"},{value:12.76848869812,text:"\u610F\u8BC6",name:"\u5F17\u6D1B\u4F0A\u5FB7"},{value:9.96885201925,text:"\u5408\u7406\u5316",name:"\u5F17\u6D1B\u4F0A\u5FB7"},{value:9.17328983326,text:"\u6295\u5C04",name:"\u5F17\u6D1B\u4F0A\u5FB7"},{value:8.73589167805,text:"\u4E00\u5C0F\u90E8\u5206",name:"\u5F17\u6D1B\u4F0A\u5FB7"},{value:11.8006563133,text:"\u81EA\u7531",name:"\u8428\u7279"},{value:11.739204307083542,text:"\u5728\u5DF1",name:"\u8428\u7279"},{value:11.739204307083542,text:"\u4E3A\u5DF1",name:"\u8428\u7279"},{value:11.739204307083542,text:"\u5730\u95EE",name:"\u8428\u7279"},{value:11.4157710022,text:"\u758F\u79BB",name:"\u8428\u7279"}]},theme:"indigo",height:320,legend:!0,animation:!1,fields:{},appearance:{},interaction:{tooltip:!0,legendFilter:!0}},version:"1.0.0"}];var id=[{kind:"archify",name:"Archify \u4EA4\u4E92\u67B6\u6784\u56FE",version:"1.2.0",description:"\u4FDD\u7559 Archify 3.1 \u539F\u751F\u9605\u8BFB\u5668\u7684\u5341\u7C7B\u4EA4\u4E92\u56FE\uFF1A\u5DE5\u4F5C\u6D41\u3001\u7CFB\u7EDF\u67B6\u6784\u3001\u65F6\u5E8F\u3001\u6570\u636E\u6D41\u3001\u751F\u547D\u5468\u671F\u3001\u5B9E\u4F53\u5173\u7CFB\u3001\u7C7B\u4E0E\u63A5\u53E3\u3001\u6811\u5F62\u7ED3\u6784\u3001\u65F6\u95F4\u7EBF\u548C\u7011\u5E03\u8FFD\u8E2A\uFF0C\u652F\u6301\u8282\u70B9\u67E5\u627E\u3001\u8DEF\u5F84\u63A2\u7D22\u3001\u52A8\u9759\u5207\u6362\u4E0E\u5BFC\u51FA\u3002",defaultData:{template:"workflow",height:560,presentation:{title:"outside",description:"outside",notes:"hidden",legend:!0,controls:!0}}},{kind:"diagram-design",name:"Diagram Design \u56FE\u5F62",version:"1.1.0",description:"45 \u7C7B Diagram Design \u56FE\u5F62\u6A21\u677F\uFF0C\u4FDD\u7559\u539F\u7248 HTML/SVG \u5E03\u5C40\u548C\u6837\u5F0F\uFF0C\u8986\u76D6\u67B6\u6784\u3001\u6D41\u7A0B\u3001\u5173\u7CFB\u4E0E\u6570\u636E\u8868\u8FBE\uFF1B\u652F\u6301\u6587\u5B57\u4FEE\u6539\u548C\u56FE\u5F62\u6E90\u7801\u7F16\u8F91\u3002",defaultData:{template:"architecture",height:560,presentation:{title:"outside",description:"outside",notes:"hidden",legend:!0,controls:!0}}},{kind:"fireworks-tech-graph",name:"Fireworks \u6280\u672F\u56FE",version:"1.1.0",description:"Fireworks Tech Graph \u7684 12 \u79CD\u6280\u672F\u56FE\u98CE\u683C\uFF0C\u4FDD\u7559\u539F\u7248 SVG \u53CA\u8BED\u4E49\u8FDE\u7EBF\uFF0C\u652F\u6301\u6587\u5B57\u4FEE\u6539\u3001\u5B8C\u6574 SVG/HTML \u5BFC\u5165\u548C\u79BB\u7EBF\u5BFC\u51FA\u3002",defaultData:{template:"style-6",height:560,presentation:{title:"outside",description:"outside",notes:"hidden",legend:!0,controls:!0}}}];var bh={};var hh={};function P4({includeLegacy:e=!1}={}){let t=structuredClone([...od,...Lt,...rd,...id,...gh]).map(a=>({...a,documentation:{...hh,...bh}[a.kind]}));return e?t:t.filter(a=>!a.replacedBy)}function O4(e){return P4({includeLegacy:!0}).find(t=>t.kind===e)}var ld=ct("catalog",{"zh-CN":{"category.text":"\u6587\u672C","category.image":"\u56FE\u7247","category.table":"\u8868\u683C","category.data":"\u6570\u636E","category.flow":"\u6D41\u7A0B","category.surface":"\u9875\u9762\u4E0E\u767D\u677F","category.other":"\u5176\u4ED6","category.outline":"\u9875\u9762\u76EE\u5F55","reuse.general":"\u901A\u7528","reuse.domain":"\u4E13\u9898","reuse.content-specific":"\u5185\u5BB9\u4E13\u7528","reuse.unclassified":"\u5F85\u8BC4\u4F30","scope.builtin":"\u5185\u7F6E","scope.project":"\u9879\u76EE","scope.global":"\u5168\u5C40","scope.published":"\u5DF2\u53D1\u5E03",types:"\u7C7B\u578B",componentTypes:"\u7EC4\u4EF6\u7C7B\u578B",all:"\u5168\u90E8",allComponents:"\u5168\u90E8\u7EC4\u4EF6",categoryComponents:"{category}\u7EC4\u4EF6","empty.noMatches":"\u6CA1\u6709\u5339\u914D\u7684\u7EC4\u4EF6","empty.none":"\u6682\u65E0\u7EC4\u4EF6",insertContent:"\u63D2\u5165\u5185\u5BB9",searchBlocks:"\u641C\u7D22\u5185\u5BB9\u5757",searchComponentsPlaceholder:"\u641C\u7D22\u7EC4\u4EF6\u2026",blockTypes:"\u5185\u5BB9\u5757\u7C7B\u578B",loadingComponents:"\u6B63\u5728\u52A0\u8F7D\u7EC4\u4EF6\u2026",noComponentsFound:"\u6CA1\u6709\u627E\u5230\u76F8\u5173\u7EC4\u4EF6","kind.template":"\u6A21\u677F","kind.component":"\u7EC4\u4EF6",notSpecified:"\u5C1A\u672A\u6307\u5B9A\u3002",templateDetailsMenu:"\u6A21\u677F\u8BE6\u60C5\u83DC\u5355",componentDetailsMenu:"\u7EC4\u4EF6\u8BE6\u60C5\u83DC\u5355","tab.preview":"\u9884\u89C8","tab.overview":"\u6982\u89C8","tab.usage":"\u4F7F\u7528\u8BF4\u660E","tab.guides":"\u9636\u6BB5\u6307\u5357","tab.parameters":"\u53C2\u6570",templateExamplePreview:"\u6A21\u677F\u793A\u4F8B\u9884\u89C8",templatePreviewCanvas:"\u6A21\u677F\u9884\u89C8\u753B\u9762",componentExamplePreview:"\u7EC4\u4EF6\u793A\u4F8B\u9884\u89C8",componentPreviewCanvas:"\u7EC4\u4EF6\u9884\u89C8\u753B\u9762",componentExample:"\u7EC4\u4EF6\u793A\u4F8B",scenarios:"\u9002\u7528\u573A\u666F",pageStructure:"\u9875\u9762\u7ED3\u6784",related:"\u76F8\u5173\u5185\u5BB9",adjustable:"\u53EF\u8C03\u6574",exampleData:"\u793A\u4F8B\u6570\u636E",insertIntoPage:"\u63D2\u5165\u5230\u9875\u9762",insertIntoNamedPage:"\u63D2\u5165\u5230\u300C{title}\u300D",insertNeedsPage:"\u5148\u6253\u5F00\u4E00\u4E2A\u9875\u9762",useTemplate:"\u7528\u6B64\u6A21\u677F\u65B0\u5EFA\u9875\u9762",templateNeedsProject:"\u5148\u6253\u5F00\u4E00\u4E2A\u9879\u76EE",copyAgentPrompt:"\u590D\u5236\u7ED9 Agent \u7684\u63D0\u793A\u8BCD",agentPromptCopied:"\u5DF2\u590D\u5236\u63D0\u793A\u8BCD\uFF0C\u7C98\u8D34\u5230 Agent \u7684\u65B0\u5BF9\u8BDD\u4E2D\uFF0C\u5E76\u5728\u672B\u5C3E\u5199\u4E0A\u4F60\u7684\u4EFB\u52A1\u3002",agentPromptCopyFailed:"\u65E0\u6CD5\u5199\u5165\u526A\u8D34\u677F\uFF08{reason}\uFF09\u3002\u8BF7\u624B\u52A8\u590D\u5236\u4E0B\u9762\u7684\u63D0\u793A\u8BCD\uFF0C\u7C98\u8D34\u5230 Agent \u7684\u65B0\u5BF9\u8BDD\u4E2D\u3002",agentPrompt:`\u8BF7\u4F7F\u7528 ShowAI \u6A21\u677F\u300C{name}\u300D\u5B8C\u6210\u4E0B\u9762\u7684\u4EFB\u52A1\u3002\u5148\u8C03\u7528 template_context\uFF0C\u53C2\u6570 templates \u4E3A [{selection}]\uFF0C\u9605\u8BFB\u8FD4\u56DE\u7684\u6A21\u677F\u8BF4\u660E\uFF1B\u518D\u6309\u9636\u6BB5\u7528 template_guide \u8BFB\u53D6\u5F53\u524D\u9636\u6BB5\u7684\u6307\u5357\uFF0C\u5E76\u6309\u6307\u5357\u5DE5\u4F5C\u3002
41
+
42
+ \u4EFB\u52A1\uFF1A`,rawSchemaAndDefaults:"\u67E5\u770B\u539F\u59CB\u53C2\u6570\u89C4\u5219\u4E0E\u9ED8\u8BA4\u6570\u636E",parameterRules:"\u53C2\u6570\u89C4\u5219",defaultData:"\u9ED8\u8BA4\u6570\u636E",previewActions:"\u9884\u89C8\u64CD\u4F5C",adjustPreviewZoom:"\u8C03\u6574\u9884\u89C8\u7F29\u653E",zoom:"\u7F29\u653E",previewZoom:"\u9884\u89C8\u7F29\u653E",fitPreview:"\u9002\u5E94\u9884\u89C8\u753B\u9762",fit:"\u9002\u5E94\u753B\u9762",fullscreenPreview:"\u5168\u5C4F\u9884\u89C8",fullscreen:"\u5168\u5C4F","appearance.fontFamily":"\u5B57\u4F53","appearance.fontSize":"\u5B57\u53F7","appearance.color":"\u6587\u5B57\u989C\u8272","appearance.backgroundColor":"\u80CC\u666F\u989C\u8272","appearance.align":"\u5BF9\u9F50","appearance.padding":"\u5185\u8FB9\u8DDD","appearance.radius":"\u5706\u89D2","appearance.width":"\u5BBD\u5EA6","appearance.height":"\u9AD8\u5EA6","appearance.fit":"\u88C1\u5207\u65B9\u5F0F",listSeparator:"\u3001","type.string":"\u6587\u5B57","type.number":"\u6570\u503C","type.integer":"\u6574\u6570","type.boolean":"\u5F00\u5173","type.array":"\u5217\u8868","type.object":"\u5BF9\u8C61","type.null":"\u7A7A\u503C","type.enum":"\u9009\u9879","type.const":"\u56FA\u5B9A\u503C","default.list":"\u5217\u8868 \xB7 {count} \u9879","default.object":"\u5BF9\u8C61 \xB7 {count} \u9879","default.on":"\u5F00\u542F","default.off":"\u5173\u95ED",inputsAndParameters:"\u8F93\u5165\u4E0E\u53C2\u6570","column.parameter":"\u53C2\u6570","column.purpose":"\u7528\u9014","column.type":"\u7C7B\u578B","column.default":"\u9ED8\u8BA4\u503C",required:"\u5FC5\u586B",seeUsageAndExamples:"\u67E5\u770B\u4F7F\u7528\u8BF4\u660E\u4E0E\u793A\u4F8B",noTopLevelParameters:"\u6B64\u7EC4\u4EF6\u6CA1\u6709\u5355\u72EC\u7684\u9876\u5C42\u53C2\u6570\u3002\u67E5\u770B\u4F7F\u7528\u8BF4\u660E\u548C\u793A\u4F8B\u6570\u636E\u3002",allowedValues:"\u53EF\u9009\u503C",valueRanges:"\u6570\u636E\u8303\u56F4","doc.none":"\u6B64\u7248\u672C\u5C1A\u672A\u63D0\u4F9B\u4E13\u5C5E\u8BF4\u660E\u3002","doc.purpose":"\u9002\u7528\u5185\u5BB9","doc.structure":"\u5185\u5BB9\u7ED3\u6784","doc.recipes":"\u4F7F\u7528\u6B65\u9AA4","doc.interactions":"\u4EA4\u4E92\u4E0E\u4FDD\u5B58","doc.action":"\u64CD\u4F5C","doc.result":"\u7ED3\u679C","doc.editing":"\u53EF\u8C03\u6574\u5185\u5BB9","doc.boundaries":"\u9002\u7528\u8FB9\u754C","doc.onThisPage":"\u672C\u9875",exampleTimeout:"\u7EC4\u4EF6\u793A\u4F8B\u52A0\u8F7D\u8D85\u65F6\u3002",cannotDisplay:"\u7EC4\u4EF6\u65E0\u6CD5\u663E\u793A\u3002",thumbnailTitle:"{name}\u7F29\u7565\u9884\u89C8",previewUnavailable:"\u9884\u89C8\u5931\u8D25","authoring.title":"\u539F\u7248\u5236\u4F5C\u6307\u5357","authoring.intro":"\u67E5\u770B\u539F\u9879\u76EE\u7684\u5236\u4F5C\u6D41\u7A0B\u3001\u7C7B\u578B\u89C4\u8303\u3001\u8F93\u5165\u793A\u4F8B\u548C\u539F\u7248\u5DE5\u5177\u3002","authoring.loading":"\u6B63\u5728\u8BFB\u53D6\u6307\u5357\u2026","authoring.open":"\u6253\u5F00\u539F\u7248\u5236\u4F5C\u6307\u5357","authoring.guide":"\u5236\u4F5C\u6307\u5357","authoring.source":"\u539F\u6587\u4E0E\u6765\u6E90\u7248\u672C","authoring.local":"\u672C\u5730\u5236\u4F5C\u6307\u5357","authoring.tools":"\u5236\u4F5C\u5DE5\u5177\u4E0E\u8F93\u5165\u89C4\u8303","authoring.toolsHelp":"\u7EC4\u4EF6\u6E90\u7801\u5305\u5185\u4FDD\u7559\u539F\u7248\u6587\u4EF6\u3002\u6309\u6307\u5357\u9009\u62E9\u8F93\u5165\u4E0E\u7C7B\u578B\uFF0C\u8FD0\u884C\u5236\u4F5C\u5DE5\u5177\u540E\u5BFC\u5165\u751F\u6210\u7684 SVG \u6216 HTML\u3002\u9009\u62E9\u201C\u539F\u7248\u201D\u663E\u793A\u53EF\u6838\u5BF9\u5B8C\u6574\u5E03\u5C40\u3002","authoring.image":"\u56FE\u7247"},en:{"category.text":"Text","category.image":"Images","category.table":"Tables","category.data":"Data","category.flow":"Flows","category.surface":"Pages & boards","category.other":"Other","category.outline":"Page outlines","reuse.general":"General","reuse.domain":"Topic-specific","reuse.content-specific":"Content-specific","reuse.unclassified":"Unassessed","scope.builtin":"Built-in","scope.project":"Project","scope.global":"Global","scope.published":"Published",types:"Types",componentTypes:"Component types",all:"All",allComponents:"All components",categoryComponents:"{category} components","empty.noMatches":"No matching components","empty.none":"No components yet",insertContent:"Insert content",searchBlocks:"Search blocks",searchComponentsPlaceholder:"Search components\u2026",blockTypes:"Block types",loadingComponents:"Loading components\u2026",noComponentsFound:"No matching components","kind.template":"Template","kind.component":"Component",notSpecified:"Not specified.",templateDetailsMenu:"Template details",componentDetailsMenu:"Component details","tab.preview":"Preview","tab.overview":"Overview","tab.usage":"Usage","tab.guides":"Stage guides","tab.parameters":"Parameters",templateExamplePreview:"Template example preview",templatePreviewCanvas:"Template preview",componentExamplePreview:"Component example preview",componentPreviewCanvas:"Component preview",componentExample:"Component example",scenarios:"Use cases",pageStructure:"Page structure",related:"Related",adjustable:"Adjustable",exampleData:"Example data",insertIntoPage:"Insert into page",insertIntoNamedPage:"Insert into \u201C{title}\u201D",insertNeedsPage:"Open a page first",useTemplate:"New page from this template",templateNeedsProject:"Open a project first",copyAgentPrompt:"Copy prompt for an Agent",agentPromptCopied:"Prompt copied. Paste it into a new Agent conversation and add your task at the end.",agentPromptCopyFailed:"Couldn\u2019t write to the clipboard ({reason}). Copy the prompt below by hand and paste it into a new Agent conversation.",agentPrompt:`Use the ShowAI template \u201C{name}\u201D for the task below. First call template_context with templates set to [{selection}] and read the template description it returns; then, stage by stage, read the current stage guide with template_guide and follow it.
43
+
44
+ Task: `,rawSchemaAndDefaults:"View raw parameter rules and default data",parameterRules:"Parameter rules",defaultData:"Default data",previewActions:"Preview actions",adjustPreviewZoom:"Adjust preview zoom",zoom:"Zoom",previewZoom:"Preview zoom",fitPreview:"Fit preview to view",fit:"Fit to view",fullscreenPreview:"Full-screen preview",fullscreen:"Full screen","appearance.fontFamily":"Font","appearance.fontSize":"Font size","appearance.color":"Text color","appearance.backgroundColor":"Background color","appearance.align":"Alignment","appearance.padding":"Padding","appearance.radius":"Corner radius","appearance.width":"Width","appearance.height":"Height","appearance.fit":"Crop mode",listSeparator:", ","type.string":"Text","type.number":"Number","type.integer":"Integer","type.boolean":"Toggle","type.array":"List","type.object":"Object","type.null":"Empty","type.enum":"Options","type.const":"Fixed value","default.list":{one:"List \xB7 {count} item",other:"List \xB7 {count} items"},"default.object":{one:"Object \xB7 {count} field",other:"Object \xB7 {count} fields"},"default.on":"On","default.off":"Off",inputsAndParameters:"Inputs and parameters","column.parameter":"Parameter","column.purpose":"Purpose","column.type":"Type","column.default":"Default",required:"Required",seeUsageAndExamples:"See usage and examples",noTopLevelParameters:"This component has no separate top-level parameters. See the usage notes and example data.",allowedValues:"Allowed values",valueRanges:"Value ranges","doc.none":"This version has no dedicated documentation yet.","doc.purpose":"What it's for","doc.structure":"Content structure","doc.recipes":"Steps","doc.interactions":"Interactions and saving","doc.action":"Action","doc.result":"Result","doc.editing":"Editable content","doc.boundaries":"Limits","doc.onThisPage":"On this page",exampleTimeout:"The component example took too long to load.",cannotDisplay:"This component can't be displayed.",thumbnailTitle:"{name} thumbnail",previewUnavailable:"Preview failed","authoring.title":"Original authoring guides","authoring.intro":"Read the original project's process, type specifications, input examples and tools.","authoring.loading":"Reading guides\u2026","authoring.open":"Open the original authoring guides","authoring.guide":"Authoring guide","authoring.source":"Original text and source version","authoring.local":"Local authoring guide","authoring.tools":"Tools and input specifications","authoring.toolsHelp":"The component package keeps the original files. Choose an input and type from the guide, run the tool, then import the generated SVG or HTML. Choose \u201COriginal\u201D to check the complete layout.","authoring.image":"Image"}});var mC=kt(ld);function yh(e){return mC(`category.${e}`)}var fC={};function vh(e){return Tl()==="en"&&e.kind?fC[e.kind]:void 0}function d1(e){return vh(e)?.name??e.name}function sd(e){let t=vh(e);return t?t.description:e.description}var gC=kt(Go),hi=(0,Rn.createContext)(()=>{});function As(e){let t=(0,Rn.useContext)(uh),a=Ms(),n=(0,Rn.useMemo)(()=>P4(),[]),[o,r]=(0,Rn.useState)(null),[i,l]=(0,Rn.useState)(""),[s,c]=(0,Rn.useState)(!1);return(0,Rn.useEffect)(()=>{if(!e||!t)return;let u=!0;return c(!0),l(""),t.list().then(g=>{u&&r(g)}).catch(g=>{u&&l(g.message??String(g))}).finally(()=>{u&&c(!1)}),()=>{u=!1}},[e,t]),{items:(0,Rn.useMemo)(()=>fh(o??[...n,...a]),[o,n,a]),resolve:async u=>{if("kind"in u)return{kind:u.kind,data:structuredClone(u.defaultData),native:!!u.insertion||u.kind==="text"};let g=a.find(b=>b.id===u.id&&b.version===u.version&&b.integrity===u.integrity)??(t?await t.read(u):null);if(!g)throw new Error(gC("notInstalledError"));return{kind:"custom",data:zb(g),component:g,native:!1}},error:i,loading:s,displayName:d1,displayDescription:sd}}function xh(e,t){let a=crypto.randomUUID(),n=crypto.randomUUID(),o=document.createElement("iframe");o.hidden=!0,o.setAttribute("sandbox","allow-scripts");let r=JSON.stringify({channel:a,props:e.defaultData,readOnly:!0}).replace(/</g,"\\u003c");o.srcdoc=`<!doctype html><meta http-equiv="Content-Security-Policy" content="${zs}">`+Ns(e.html,`<script id="showai-component-data" type="application/json">${r}<\/script>`);let i=()=>{};return new Promise((s,c)=>{let d=window.setTimeout(()=>c(new Error("Component parameter validation timed out.")),5e3),f=u=>{u.source!==o.contentWindow||u.data?.channel!==a||(u.data.type==="showai:ready"&&o.contentWindow?.postMessage({channel:a,type:"showai:validate",requestId:n,props:t},"*"),u.data.type==="showai:validation"&&u.data.requestId===n&&(u.data.valid===!0?s():c(new Error(String(u.data.message||"Invalid component parameters.")))))};i=()=>{clearTimeout(d),window.removeEventListener("message",f),o.remove()},window.addEventListener("message",f),document.body.append(o)}).finally(i)}var et=W(de(),1);function wh({page:e,onClose:t,onSave:a}){let n=le(Fo),o=As(!0),r=(0,an.useContext)(hi),i=Ms(),l=(0,an.useRef)(JSON.stringify(e.attrs?.outline)),s=(0,an.useRef)(!0);(0,an.useEffect)(()=>(s.current=!0,()=>{s.current=!1}),[]);let[c,d]=(0,an.useState)(()=>structuredClone(e.attrs?.outline??o6())),[f,u]=(0,an.useState)(()=>JSON.stringify(c.renderer?.props??{},null,2)),[g,b]=(0,an.useState)(()=>JSON.stringify(c.source.mode==="manual"?c.source.entries:c.source.overrides??{},null,2)),[p,x]=(0,an.useState)(""),[h,m]=(0,an.useState)(!1),v=(0,an.useMemo)(()=>o.items.filter(S=>!("kind"in S)&&S.role==="page-outline"&&S.pageOutlineProtocol===1),[o.items]),k=S=>`${S.id}@${S.version}#${S.integrity}`,w=c.renderer?`${c.renderer.componentId}@${c.renderer.version}#${c.renderer.integrity}`:"",z=async S=>{if(x(""),!S){d(O=>{let N={...O};return delete N.renderer,N});return}let B=v.find(O=>!("kind"in O)&&k(O)===S);if(B){m(!0);try{let O=await o.resolve(B);if(!O.component)throw new Error(n("unavailable"));r(O.component);let N=O.component;d(V=>({...V,renderer:{componentId:N.id,version:N.version,integrity:N.integrity,props:structuredClone(N.defaultData)}})),u(JSON.stringify(N.defaultData,null,2))}catch(O){x(O.message)}finally{m(!1)}}},P=S=>{if(S===c.source.mode)return;let B=wl(e,c),O=N=>N.map(V=>{let R=B.targets.get(V.id),E=c.source.mode==="headings"&&R&&c.source.overrides?.[R]?.title!==void 0;return{id:V.id,...!R||E?{title:V.title}:{},...R?{nodeId:R}:{},...V.children.length?{children:O(V.children)}:{}}});b(JSON.stringify(S==="manual"?O(B.items):{},null,2)),d(N=>({...N,source:S==="manual"?{mode:"manual",entries:O(B.items)}:{mode:"headings",maxLevel:3}}))},j=async()=>{x(""),m(!0);try{let S=structuredClone(c),B=JSON.parse(g);if(S.source.mode==="manual"?S.source.entries=B:S.source.overrides=B,S.renderer){S.renderer.props=JSON.parse(f),mi(S.renderer);let O=i.find(N=>k(N)===w);if(S.enabled){if(!O)throw new Error(n("unavailable"));await xh(O,S.renderer.props)}}if(i6(S,e),!s.current)return;a(S,l.current),t()}catch(S){s.current&&x(S.message)}finally{s.current&&m(!1)}},T=wl(e,e.attrs?.outline).missing.length;return(0,et.jsx)(c1,{title:n("settings"),onClose:t,className:"page-outline-settings",children:(0,et.jsxs)("div",{className:"page-outline-settings-body",children:[(0,et.jsxs)("label",{className:"page-outline-enable",children:[(0,et.jsx)("input",{type:"checkbox",checked:c.enabled,onChange:S=>d({...c,enabled:S.target.checked})}),n("enable")]}),(0,et.jsxs)("label",{children:[n("renderer"),(0,et.jsxs)("select",{"aria-label":n("renderer"),value:w,disabled:h,onChange:S=>{z(S.target.value)},children:[(0,et.jsx)("option",{value:"",children:n("builtin")}),w&&!v.some(S=>!("kind"in S)&&k(S)===w)&&(0,et.jsxs)("option",{value:w,children:[c.renderer.componentId," \xB7 ",c.renderer.version]}),v.map(S=>"kind"in S?null:(0,et.jsxs)("option",{value:k(S),children:[S.name," \xB7 ",S.version]},k(S)))]})]}),(0,et.jsx)("p",{className:"page-outline-hint",children:n("sourceCode")}),c.renderer&&(0,et.jsxs)("label",{children:[n("props"),(0,et.jsx)("textarea",{"aria-label":n("props"),rows:5,spellCheck:!1,value:f,onChange:S=>u(S.target.value)})]}),(0,et.jsxs)("div",{className:"page-outline-fields",children:[(0,et.jsxs)("label",{children:[n("source"),(0,et.jsxs)("select",{"aria-label":n("source"),value:c.source.mode,onChange:S=>P(S.target.value),children:[(0,et.jsx)("option",{value:"headings",children:n("headings")}),(0,et.jsx)("option",{value:"manual",children:n("manual")})]})]}),c.source.mode==="headings"&&(0,et.jsxs)("label",{children:[n("depth"),(0,et.jsx)("select",{"aria-label":n("depth"),value:c.source.maxLevel,onChange:S=>d({...c,source:{...c.source,mode:"headings",maxLevel:Number(S.target.value)}}),children:[1,2,3,4,5,6].map(S=>(0,et.jsx)("option",{value:S,children:S},S))})]})]}),c.source.mode==="manual"&&(0,et.jsx)(ch,{page:e,entries:c.source.entries,onChange:S=>{d({...c,source:{mode:"manual",entries:S}}),b(JSON.stringify(S,null,2))}}),(0,et.jsxs)("details",{children:[(0,et.jsx)("summary",{children:n("config")}),(0,et.jsx)("p",{className:"page-outline-hint",children:n(c.source.mode==="headings"?"headingsHint":"manualHint")}),(0,et.jsx)("textarea",{"aria-label":n("config"),rows:8,spellCheck:!1,value:g,onChange:S=>b(S.target.value)})]}),T>0&&(0,et.jsx)("p",{role:"status",children:n("missing",{count:T})}),(0,et.jsxs)("div",{className:"page-outline-fields",children:[(0,et.jsxs)("label",{children:[n("initial"),(0,et.jsx)("select",{value:c.initialState,onChange:S=>d({...c,initialState:S.target.value}),children:["auto","expanded","collapsed"].map(S=>(0,et.jsx)("option",{value:S,children:n(S)},S))})]}),(0,et.jsxs)("label",{children:[n("placement"),(0,et.jsx)("select",{value:c.placement,onChange:S=>d({...c,placement:S.target.value}),children:["auto","floating","docked"].map(S=>(0,et.jsx)("option",{value:S,children:n(S)},S))})]})]}),(0,et.jsxs)("label",{children:[n("width"),(0,et.jsx)("input",{type:"number",min:180,max:480,value:c.width,onChange:S=>d({...c,width:S.target.valueAsNumber})})]}),(p||o.error)&&(0,et.jsx)("p",{className:"page-outline-error",role:"alert",children:p||o.error}),(0,et.jsxs)("footer",{children:[e.attrs?.outline&&(0,et.jsx)("button",{type:"button",onClick:()=>{try{a(void 0,l.current),t()}catch(S){x(S.message)}},children:n("remove")}),(0,et.jsx)("button",{type:"button",className:"page-outline-apply",disabled:h,onClick:j,children:n(h?"loading":"apply")})]})]})})}var cd=W(De(),1);var tt=ct("surface",{"zh-CN":{"selection.textInput":"\u8DE8\u7EC4\u4EF6\u6587\u672C\u9009\u533A",board:"\u767D\u677F","board.descriptionLocked":"\u89C6\u56FE\u5DF2\u9501\u5B9A\u3002\u53EF\u4EE5\u70B9\u51FB\u5185\u5BB9\uFF0C\u6EDA\u52A8\u7528\u4E8E\u5916\u5C42\u9875\u9762\u9605\u8BFB\uFF1B\u53F3\u4E0A\u89D2\u89E3\u9501\u540E\u53EF\u7F29\u653E\u548C\u79FB\u52A8\u3002","board.descriptionEdit":"\u5355\u51FB\u9009\u62E9\u5BF9\u8C61\uFF0C\u62D6\u52A8\u79FB\u52A8\uFF0C\u518D\u6B21\u5355\u51FB\u7F16\u8F91\u6587\u5B57\uFF1B\u62D6\u52A8\u7A7A\u767D\u5904\u6846\u9009\uFF1B\u6309\u4F4F\u7A7A\u683C\u6216\u9F20\u6807\u4E2D\u952E\u62D6\u52A8\u753B\u5E03\uFF0C\u4E5F\u53EF\u4EE5\u7528\u79FB\u52A8\u753B\u5E03\u5DE5\u5177\uFF08{pan}\uFF09\uFF1B\u53CC\u51FB\u7A7A\u767D\u5904\u5199\u6587\u5B57\u3002\u5DE5\u5177\u5FEB\u6377\u952E\uFF1A{tools}\uFF1B\u21E71 \u603B\u89C8\uFF0C\u21E72 \u5B9A\u4F4D\u6240\u9009\uFF0C\u21E70 \u56DE\u5230 100%\uFF1BEscape \u53D6\u6D88\u5F53\u524D\u64CD\u4F5C\u3002","board.toolKeys":"{keys} {label}","board.toolKeysSeparator":"\uFF0C","board.descriptionRead":"\u5728\u767D\u677F\u4E0A\u6EDA\u52A8\u6216\u62D6\u52A8\u7A7A\u767D\u5904\u6D4F\u89C8\u3002\u65B9\u5411\u952E\u6D4F\u89C8\uFF0C0 \u603B\u89C8\uFF1BEscape \u53D6\u6D88\u5F53\u524D\u64CD\u4F5C\u3002","board.lockTarget":"\u767D\u677F","board.empty":"\u8FD9\u5757\u767D\u677F\u8FD8\u6CA1\u6709\u5185\u5BB9","board.tools":"\u767D\u677F\u5DE5\u5177","board.moveToolbar":"\u79FB\u52A8\u5DE5\u5177\u680F","board.moveToolbarTitle":"\u62D6\u52A8\u5E76\u5438\u9644\u5230\u4EFB\u610F\u8FB9\u7F18\uFF1B\u65B9\u5411\u952E\u5207\u6362\u505C\u9760\u4F4D\u7F6E","board.selectedCount":"\u5DF2\u9009 {count} \u9879","board.expandSelected":"\u5C55\u5F00\u9009\u4E2D\u5BB9\u5668","board.duplicateSelected":"\u4E3A\u9009\u4E2D\u5BF9\u8C61\u521B\u5EFA\u526F\u672C","board.duplicateSelectedTitle":"\u4E3A\u9009\u4E2D\u5BF9\u8C61\u521B\u5EFA\u526F\u672C\uFF08\u2318/Ctrl D\uFF0C\u6216\u6309\u4F4F Alt \u62D6\u52A8\uFF09","board.duplicate":"\u521B\u5EFA\u526F\u672C","board.deleteSelected":"\u5220\u9664\u9009\u4E2D\u5BF9\u8C61","board.fit":"\u603B\u89C8","board.fitTitle":"\u603B\u89C8\u5168\u90E8\u5185\u5BB9\uFF08\u21E71\uFF09","board.locate":"\u5B9A\u4F4D\u6240\u9009","board.locateTitle":"\u5B9A\u4F4D\u6240\u9009\u5185\u5BB9\uFF08\u21E72\uFF09","board.zoomOut":"\u7F29\u5C0F\u767D\u677F","board.resetZoom":"\u91CD\u7F6E\u7F29\u653E","board.zoomIn":"\u653E\u5927\u767D\u677F","board.objectSettings":"\u9009\u4E2D\u5BF9\u8C61\u8BBE\u7F6E","board.objectSettingsTitle":"\u5BF9\u8C61\u5E03\u5C40\u8BBE\u7F6E\uFF1A\u540D\u79F0\u3001\u5C3A\u5BF8\u4E0E\u6240\u5C5E\u5BB9\u5668","board.selection":"\u6240\u9009\u5BF9\u8C61","board.emptyHint":"\u53CC\u51FB\u7A7A\u767D\u5904\u5199\u6587\u5B57\uFF0C\u6309 / \u6216\u53F3\u952E\u6DFB\u52A0\u7EC4\u4EF6\uFF0CP \u753B\u7B14\u3001R \u77E9\u5F62","board.minimap":"\u5C0F\u5730\u56FE","board.resetZoomTitle":"\u56DE\u5230 100%\uFF08\u21E70\uFF09","board.lockedBadge":"{name} \u5DF2\u9501\u5B9A","board.lockedBadgeTitle":"\u5DF2\u9501\u5B9A\uFF1A\u53F3\u952E\u6216 \u21E7\u2318L \u89E3\u9501","board.groupHandles":"\u8C03\u6574\u6240\u9009 {count} \u4E2A\u5BF9\u8C61","order.front":"\u7F6E\u4E8E\u9876\u5C42","order.forward":"\u4E0A\u79FB\u4E00\u5C42","order.backward":"\u4E0B\u79FB\u4E00\u5C42","order.back":"\u7F6E\u4E8E\u5E95\u5C42","align.menu":"\u5BF9\u9F50\u4E0E\u5206\u5E03","align.left":"\u5DE6\u5BF9\u9F50","align.center":"\u6C34\u5E73\u5C45\u4E2D","align.right":"\u53F3\u5BF9\u9F50","align.top":"\u9876\u90E8\u5BF9\u9F50","align.middle":"\u5782\u76F4\u5C45\u4E2D","align.bottom":"\u5E95\u90E8\u5BF9\u9F50","align.distributeX":"\u6C34\u5E73\u7B49\u8DDD\u5206\u5E03","align.distributeY":"\u5782\u76F4\u7B49\u8DDD\u5206\u5E03","align.tidyRight":"\u6CBF\u8FDE\u7EBF\u4ECE\u5DE6\u5230\u53F3\u6574\u7406","align.tidyDown":"\u6CBF\u8FDE\u7EBF\u4ECE\u4E0A\u5230\u4E0B\u6574\u7406","region.group":"\u653E\u5165\u533A\u57DF","region.ungroup":"\u89E3\u9664\u533A\u57DF","lock.lock":"\u9501\u5B9A","lock.unlock":"\u89E3\u9501","menu.copy":"\u590D\u5236","menu.cut":"\u526A\u5207","menu.paste":"\u7C98\u8D34","menu.selectAll":"\u5168\u9009","menu.addText":"\u6DFB\u52A0\u6587\u5B57","tool.text":"\u6587\u5B57","tool.textTitle":"\u6587\u5B57\uFF1A\u5355\u51FB\u653E\u7F6E\uFF08{key}\uFF1B\u6216\u53CC\u51FB\u7A7A\u767D\u5904\uFF09","menu.objectActions":"\u5BF9\u8C61\u64CD\u4F5C","menu.addPage":"\u6DFB\u52A0\u9875\u9762","menu.addRichText":"\u6DFB\u52A0\u5BCC\u6587\u672C","menu.addComponent":"\u6DFB\u52A0\u7EC4\u4EF6\u2026","menu.duplicate":"\u521B\u5EFA\u526F\u672C","menu.assistant":"\u8BA9 Agent \u5904\u7406\u2026","menu.reference":"\u590D\u5236\u5F15\u7528\uFF08{count}\uFF09","menu.referenceBoard":"\u590D\u5236\u6574\u4E2A\u767D\u677F\u7684\u5F15\u7528","board.assistant":"\u8BA9 Agent \u5904\u7406\u6240\u9009\u5BF9\u8C61","menu.duplicateMany":"\u4E3A {count} \u4E2A\u5BF9\u8C61\u521B\u5EFA\u526F\u672C","menu.settings":"\u5BF9\u8C61\u8BBE\u7F6E","menu.expand":"\u5C55\u5F00\u5BB9\u5668","menu.delete":"\u5220\u9664\u5BF9\u8C61","menu.deleteMany":"\u5220\u9664 {count} \u4E2A\u5BF9\u8C61","nav.regionsAndViews":"\u533A\u57DF\u4E0E\u89C6\u56FE","nav.regionsAndContent":"\u533A\u57DF\u4E0E\u5185\u5BB9","nav.moveEarlier":"\u524D\u79FB {name} \u9605\u8BFB\u987A\u5E8F","nav.namedViews":"\u547D\u540D\u89C6\u56FE","nav.setInitial":"\u8BBE\u4E3A\u521D\u59CB\u89C6\u56FE {name}","nav.deleteView":"\u5220\u9664\u89C6\u56FE {name}","nav.viewName":"\u89C6\u56FE\u540D\u79F0","nav.viewOf":"{name}\u7684\u89C6\u56FE","nav.viewOfSelection":"\u6240\u9009\u5185\u5BB9\u7684\u89C6\u56FE","nav.viewOfVisible":"\u5F53\u524D\u53EF\u89C1\u5185\u5BB9\u7684\u89C6\u56FE","nav.saveView":"\u4FDD\u5B58\u89C6\u56FE","nav.hierarchy":"\u5185\u5BB9\u5C42\u7EA7","nav.back":"\u8FD4\u56DE\u4E0A\u5C42","tool.select":"\u9009\u62E9\u5DE5\u5177","tool.pan":"\u79FB\u52A8\u753B\u5E03","tool.eraser":"\u7B14\u8FF9\u6A61\u76AE","tool.lasso":"\u5957\u7D22\u9009\u62E9","tool.ruler":"\u76F4\u5C3A","tool.writingSettings":"\u4E66\u5199\u8BBE\u7F6E","tool.fingerDrawing":"\u5141\u8BB8\u624B\u6307\u7ED8\u5236","tool.pen":"\u753B\u7B14","tool.highlighter":"\u8367\u5149\u7B14","tool.rectangle":"\u77E9\u5F62","tool.ellipse":"\u692D\u5706","tool.arrow":"\u7BAD\u5934","tool.region":"\u533A\u57DF","tool.withShortcut":"{label}\uFF08{key}\uFF09","tool.shapeWithShortcut":"{label}\uFF08{key}\uFF09\uFF1BShift \u7EA6\u675F\u5F62\u72B6\uFF0CAlt \u4ECE\u4E2D\u5FC3\u7ED8\u5236\uFF0C\u2318/Ctrl \u5173\u95ED\u5438\u9644","tool.continuous":"\u8FDE\u7EED\u7ED8\u5236","tool.applePencil":"Apple Pencil \u624B\u5199","tool.continuousTitle":"\u8FDE\u7EED\u7ED8\u5236\uFF1A\u5B8C\u6210\u56FE\u5F62\u540E\u4FDD\u7559\u5F53\u524D\u5DE5\u5177","tool.hideShortcuts":"\u6536\u8D77\u5FEB\u6377\u952E","tool.showShortcuts":"\u5C55\u5F00\u5FEB\u6377\u952E","style.mixed":"\u6DF7\u5408","style.inkNotice":"\u624B\u5199\u7B14\u8FF9 \xB7 \u5728 iPad \u4E0A\u7F16\u8F91\u7B14\u8FF9","style.selection":"\u9009\u4E2D\u5BF9\u8C61\u6837\u5F0F","style.drawing":"\u7ED8\u5236\u8BBE\u7F6E","style.colorsDiffer":"\u9009\u4E2D\u5BF9\u8C61\u989C\u8272\u4E0D\u540C","style.border":"\u8FB9\u6846","style.color":"\u989C\u8272","style.borderColor":"\u8FB9\u6846\u989C\u8272","style.penColor":"\u753B\u7B14\u989C\u8272","style.fill":"\u5185\u90E8","style.fillColor":"\u5185\u90E8\u989C\u8272","style.transparentFill":"\u900F\u660E\u586B\u5145","style.none":"\u7A7A","style.weight":"\u7C97\u7EC6","style.borderWeight":"\u8FB9\u6846\u7C97\u7EC6","style.penWeight":"\u753B\u7B14\u7C97\u7EC6","style.presets":"\u9884\u8BBE\u989C\u8272","style.presetColor":"\u989C\u8272 {color}","style.fullPalette":"\u5B8C\u6574\u8C03\u8272\u76D8","style.eraserSize":"\u6A61\u76AE\u5927\u5C0F","style.pressure":"\u538B\u611F","style.pressureLabel":"\u6309\u538B","style.fixedWidth":"\u56FA\u5B9A\u7C97\u7EC6","style.pressureWidth":"\u6309\u538B\u529B\u5EA6\u6539\u53D8\u7C97\u7EC6","style.labelSize":"\u6587\u5B57\u5927\u5C0F","style.labelSize14":"\u5C0F","style.labelSize16":"\u4E2D","style.labelSize22":"\u5927","style.labelSize30":"\u7279\u5927","drawing.area":"\u7ED8\u753B\u533A\u57DF","drawing.arrowStart":"\u8C03\u6574\u7BAD\u5934\u8D77\u70B9","drawing.arrowEnd":"\u8C03\u6574\u7BAD\u5934\u7EC8\u70B9","drawing.label":"\u56FE\u5F62\u6587\u5B57","object.rotate":"\u65CB\u8F6C {name}","object.rotateTitle":"\u62D6\u52A8\u65CB\u8F6C\uFF1BShift \u6309 15\xB0 \u5BF9\u9F50","object.move":"\u79FB\u52A8 {name}","object.moveTitle":"\u62D6\u52A8\u79FB\u52A8\uFF1B\u65B9\u5411\u952E\u5FAE\u8C03","object.select":"\u9009\u62E9\u5185\u5BB9","object.expand":"\u5C55\u5F00 {name}","object.settings":"\u8BBE\u7F6E {name}","object.delete":"\u5220\u9664 {name}","object.resize.nw":"\u8C03\u6574 {name} \u5DE6\u4E0A\u89D2","object.resize.n":"\u8C03\u6574 {name} \u4E0A\u8FB9\u7F18","object.resize.ne":"\u8C03\u6574 {name} \u53F3\u4E0A\u89D2","object.resize.e":"\u8C03\u6574 {name} \u53F3\u8FB9\u7F18","object.resize.se":"\u8C03\u6574 {name} \u53F3\u4E0B\u89D2","object.resize.s":"\u8C03\u6574 {name} \u4E0B\u8FB9\u7F18","object.resize.sw":"\u8C03\u6574 {name} \u5DE6\u4E0B\u89D2","object.resize.w":"\u8C03\u6574 {name} \u5DE6\u8FB9\u7F18","object.resizeSize":"\u8C03\u6574 {name} \u5C3A\u5BF8","object.resizeWidth":"\u8C03\u6574 {name} \u5BBD\u5EA6","object.resizeTitle":"\u62D6\u52A8\u8C03\u5BBD\uFF1B\u5DE6\u53F3\u65B9\u5411\u952E\u5FAE\u8C03","node.region":"\u5185\u5BB9\u533A\u57DF","node.drawing":"\u7ED8\u753B","node.text":"\u6587\u672C","node.image":"\u56FE\u7247","node.heading":"\u6807\u9898","node.table":"\u8868\u683C","node.component":"\u7EC4\u4EF6","node.content":"\u5185\u5BB9","node.page":"\u9875\u9762","node.board":"\u767D\u677F","node.pageLabel":"\u9875\u9762\uFF1A{name}","node.boardLabel":"\u767D\u677F\uFF1A{name}","region.empty":"\u7A7A\u767D\u533A\u57DF","region.emptyHint":"\u6309 / \u63D2\u5165\u5185\u5BB9","width.standard":"\u6807\u51C6","width.wide":"\u66F4\u5BBD","width.full":"\u5168\u5BBD",pageWidth:"\u9875\u9762\u5BBD\u5EA6","history.undo":"\u64A4\u9500\u64CD\u4F5C","history.undoTitle":"\u64A4\u9500 \u2318Z / Ctrl+Z","history.redo":"\u91CD\u505A\u64CD\u4F5C","history.redoTitle":"\u91CD\u505A \u21E7\u2318Z / Ctrl+Shift+Z","container.setIcon":"\u8BBE\u7F6E\u56FE\u6807\u2026","container.frameless":"\u65E0\u8FB9\u6846\u9875\u9762","container.setIconFor":"\u8BBE\u7F6E\u300C{name}\u300D\u56FE\u6807\u2026","container.wrapBoard":"\u653E\u5165\u767D\u677F","container.wrapBoardFor":"\u5C06\u300C{name}\u300D\u653E\u5165\u767D\u677F","container.wrapPage":"\u653E\u5165\u9875\u9762","container.wrapPageFor":"\u5C06\u300C{name}\u300D\u653E\u5165\u9875\u9762","container.actions":"\u5BB9\u5668\u64CD\u4F5C","container.actionsFor":"{name}\u7684\u5BB9\u5668\u64CD\u4F5C","inspector.title":"\u5BF9\u8C61\u8BBE\u7F6E","inspector.currentObject":"\u5F53\u524D\u5BF9\u8C61","inspector.close":"\u5173\u95ED\u5BF9\u8C61\u8BBE\u7F6E","inspector.name":"\u540D\u79F0","inspector.nameLabel":"\u5BF9\u8C61\u540D\u79F0","inspector.arrange":"\u6392\u5217","inspector.regionLayout":"\u533A\u57DF\u5E03\u5C40","layout.flow":"\u987A\u5E8F","layout.grid":"\u7F51\u683C","layout.free":"\u81EA\u7531","inspector.columns":"\u5217\u6570","inspector.gridColumns":"\u7F51\u683C\u5217\u6570","inspector.width":"\u5BBD\u5EA6","inspector.moduleWidth":"\u5BF9\u8C61\u5BBD\u5EA6","inspector.heightMode":"\u9AD8\u5EA6\u65B9\u5F0F","inspector.moduleHeightMode":"\u5BF9\u8C61\u9AD8\u5EA6\u65B9\u5F0F","heightMode.fixed":"\u56FA\u5B9A\u7A97\u53E3","heightMode.auto":"\u968F\u5185\u5BB9\u589E\u957F","inspector.height":"\u9AD8\u5EA6","inspector.moduleHeight":"\u5BF9\u8C61\u9AD8\u5EA6","inspector.parent":"\u6240\u5C5E\u5BB9\u5668","inspector.rootOption":"\u6839 {name}","inspector.moveEarlier":"\u5411\u524D\u6392\u5217","inspector.moveLater":"\u5411\u540E\u6392\u5217","inspector.delete":"\u5220\u9664\u5BF9\u8C61","error.pageRemoved":"\u8BE5\u9875\u9762\u5DF2\u88AB\u79FB\u9664\u3002","error.insertionGone":"\u63D2\u5165\u4F4D\u7F6E\u5DF2\u4E0D\u5B58\u5728\u3002","error.componentNeedsContainer":"\u7EC4\u4EF6\u9700\u8981\u653E\u5728\u9875\u9762\u6216\u767D\u677F\u4E2D\u3002","error.regionMissing":"\u76EE\u6807\u533A\u57DF\u4E0D\u5B58\u5728\u3002","error.cannotMove":"\u65E0\u6CD5\u79FB\u52A8\u5230\u8FD9\u4E2A\u533A\u57DF\u3002","error.regionIntoSelf":"\u533A\u57DF\u4E0D\u80FD\u79FB\u5165\u81EA\u8EAB\u6216\u5B50\u533A\u57DF\u3002","error.embedNeedsSource":"\u590D\u5236\u5D4C\u5165\u5185\u5BB9\u9700\u8981\u6765\u6E90\u6587\u6863\u7684\u5E03\u5C40\u4E0E\u89C6\u56FE\u3002"},en:{"selection.textInput":"Text selected across components",board:"Board","board.descriptionLocked":"The view is locked. You can click content, and scrolling moves the surrounding page. Unlock it in the top-right corner to zoom and pan.","board.descriptionEdit":"Click an object to select it, drag to move it, and click again to edit its text. Drag on empty space to select several. Hold Space or the middle mouse button and drag to pan the canvas, or use the Pan canvas tool ({pan}). Double-click empty space to write. Tool shortcuts: {tools}. \u21E71 shows everything, \u21E72 goes to the selection, \u21E70 returns to 100%. Escape cancels the current action.","board.toolKeys":"{keys} {label}","board.toolKeysSeparator":", ","board.descriptionRead":"Scroll or drag empty space to browse the board. Use the arrow keys to move and 0 to show everything. Escape cancels the current action.","board.lockTarget":"board","board.empty":"This board is empty","board.tools":"Board tools","board.moveToolbar":"Move toolbar","board.moveToolbarTitle":"Drag to dock on any edge; use arrow keys to change the dock","board.selectedCount":"{count} selected","board.expandSelected":"Expand selected container","board.duplicateSelected":"Duplicate selected objects","board.duplicateSelectedTitle":"Duplicate selected objects (\u2318/Ctrl D, or Alt-drag)","board.duplicate":"Duplicate","board.deleteSelected":"Delete selected objects","board.fit":"Show all","board.fitTitle":"Show all content (\u21E71)","board.locate":"Go to selection","board.locateTitle":"Go to selected content (\u21E72)","board.zoomOut":"Zoom out","board.resetZoom":"Reset zoom","board.zoomIn":"Zoom in","board.objectSettings":"Selected object settings","board.objectSettingsTitle":"Object layout settings: name, size and container","board.selection":"Selection","board.emptyHint":"Double-click to write. Press / or right-click to add components. P draws, R makes a rectangle","board.minimap":"Minimap","board.resetZoomTitle":"Back to 100% (\u21E70)","board.lockedBadge":"{name} is locked","board.lockedBadgeTitle":"Locked: right-click or press \u21E7\u2318L to unlock","board.groupHandles":{one:"Resize {count} selected object",other:"Resize {count} selected objects"},"order.front":"Bring to front","order.forward":"Bring forward","order.backward":"Send backward","order.back":"Send to back","align.menu":"Align and distribute","align.left":"Align left","align.center":"Align horizontal centers","align.right":"Align right","align.top":"Align top","align.middle":"Align vertical centers","align.bottom":"Align bottom","align.distributeX":"Distribute horizontally","align.distributeY":"Distribute vertically","align.tidyRight":"Arrange along arrows, left to right","align.tidyDown":"Arrange along arrows, top to bottom","region.group":"Group into region","region.ungroup":"Ungroup region","lock.lock":"Lock","lock.unlock":"Unlock","menu.copy":"Copy","menu.cut":"Cut","menu.paste":"Paste","menu.selectAll":"Select all","menu.addText":"Add text","tool.text":"Text","tool.textTitle":"Text: click to place ({key}, or double-click empty space)","menu.objectActions":"Object actions","menu.addPage":"Add page","menu.addRichText":"Add rich text","menu.addComponent":"Add component\u2026","menu.duplicate":"Duplicate object","menu.assistant":"Ask Agent\u2026","menu.reference":"Copy reference ({count})","menu.referenceBoard":"Copy a reference to this board","board.assistant":"Ask Agent about the selection","menu.duplicateMany":{one:"Duplicate {count} object",other:"Duplicate {count} objects"},"menu.settings":"Object settings","menu.expand":"Expand container","menu.delete":"Delete object","menu.deleteMany":{one:"Delete {count} object",other:"Delete {count} objects"},"nav.regionsAndViews":"Regions and views","nav.regionsAndContent":"Regions and content","nav.moveEarlier":"Move {name} earlier in reading order","nav.namedViews":"Named views","nav.setInitial":"Set {name} as the initial view","nav.deleteView":"Delete view {name}","nav.viewName":"View name","nav.viewOf":"View of {name}","nav.viewOfSelection":"View of the selection","nav.viewOfVisible":"View of the visible content","nav.saveView":"Save view","nav.hierarchy":"Content hierarchy","nav.back":"Back to parent","tool.select":"Select","tool.pan":"Pan canvas","tool.eraser":"Stroke eraser","tool.lasso":"Lasso selection","tool.ruler":"Ruler","tool.writingSettings":"Drawing settings","tool.fingerDrawing":"Draw with finger","tool.pen":"Pen","tool.highlighter":"Highlighter","tool.rectangle":"Rectangle","tool.ellipse":"Ellipse","tool.arrow":"Arrow","tool.region":"Region","tool.withShortcut":"{label} ({key})","tool.shapeWithShortcut":"{label} ({key}). Shift constrains the shape, Alt draws from the center, \u2318/Ctrl turns snapping off","tool.continuous":"Keep tool selected","tool.applePencil":"Apple Pencil handwriting","tool.continuousTitle":"Keep tool selected: stay on the current tool after finishing a shape","tool.hideShortcuts":"Hide shortcuts","tool.showShortcuts":"Show shortcuts","style.mixed":"Mixed","style.inkNotice":"Handwritten ink \xB7 Edit ink on iPad","style.selection":"Selected object style","style.drawing":"Drawing settings","style.colorsDiffer":"Selected objects have different colors","style.border":"Border","style.color":"Color","style.borderColor":"Border color","style.penColor":"Pen color","style.fill":"Fill","style.fillColor":"Fill color","style.transparentFill":"Transparent fill","style.none":"None","style.weight":"Weight","style.borderWeight":"Border weight","style.penWeight":"Pen weight","style.presets":"Preset colors","style.presetColor":"Color {color}","style.fullPalette":"Full color palette","style.eraserSize":"Eraser size","style.pressure":"Pressure","style.pressureLabel":"Pressure","style.fixedWidth":"Fixed width","style.pressureWidth":"Pressure-sensitive width","style.labelSize":"Text size","style.labelSize14":"Small","style.labelSize16":"Medium","style.labelSize22":"Large","style.labelSize30":"Extra large","drawing.area":"Drawing area","drawing.arrowStart":"Adjust arrow start","drawing.arrowEnd":"Adjust arrow end","drawing.label":"Shape text","object.rotate":"Rotate {name}","object.rotateTitle":"Drag to rotate. Hold Shift to snap to 15\xB0","object.move":"Move {name}","object.moveTitle":"Drag to move. Use the arrow keys to nudge","object.select":"Select content","object.expand":"Expand {name}","object.settings":"{name} settings","object.delete":"Delete {name}","object.resize.nw":"Resize {name} from the top-left corner","object.resize.n":"Resize {name} from the top edge","object.resize.ne":"Resize {name} from the top-right corner","object.resize.e":"Resize {name} from the right edge","object.resize.se":"Resize {name} from the bottom-right corner","object.resize.s":"Resize {name} from the bottom edge","object.resize.sw":"Resize {name} from the bottom-left corner","object.resize.w":"Resize {name} from the left edge","object.resizeSize":"Resize {name}","object.resizeWidth":"Adjust {name} width","object.resizeTitle":"Drag to adjust the width. Use the left and right arrow keys to nudge","node.region":"Content region","node.drawing":"Drawing","node.text":"Text","node.image":"Image","node.heading":"Heading","node.table":"Table","node.component":"Component","node.content":"Content","node.page":"Page","node.board":"Board","node.pageLabel":"Page: {name}","node.boardLabel":"Board: {name}","region.empty":"Empty region","region.emptyHint":"Press / to insert content","width.standard":"Standard","width.wide":"Wide","width.full":"Full width",pageWidth:"Page width","history.undo":"Undo","history.undoTitle":"Undo \u2318Z / Ctrl+Z","history.redo":"Redo","history.redoTitle":"Redo \u21E7\u2318Z / Ctrl+Shift+Z","container.setIcon":"Set icon\u2026","container.frameless":"Borderless page","container.setIconFor":"Set icon for \u201C{name}\u201D\u2026","container.wrapBoard":"Put in a board","container.wrapBoardFor":"Put \u201C{name}\u201D in a board","container.wrapPage":"Put in a page","container.wrapPageFor":"Put \u201C{name}\u201D in a page","container.actions":"Container actions","container.actionsFor":"Container actions for {name}","inspector.title":"Object settings","inspector.currentObject":"Current object","inspector.close":"Close object settings","inspector.name":"Name","inspector.nameLabel":"Object name","inspector.arrange":"Arrangement","inspector.regionLayout":"Region layout","layout.flow":"Flow","layout.grid":"Grid","layout.free":"Free","inspector.columns":"Columns","inspector.gridColumns":"Grid columns","inspector.width":"Width","inspector.moduleWidth":"Object width","inspector.heightMode":"Height mode","inspector.moduleHeightMode":"Object height mode","heightMode.fixed":"Fixed window","heightMode.auto":"Grow with content","inspector.height":"Height","inspector.moduleHeight":"Object height","inspector.parent":"Container","inspector.rootOption":"Root: {name}","inspector.moveEarlier":"Move earlier","inspector.moveLater":"Move later","inspector.delete":"Delete object","error.pageRemoved":"This page has been removed.","error.insertionGone":"The insertion point no longer exists.","error.componentNeedsContainer":"Components must be placed in a page or board.","error.regionMissing":"The target region doesn't exist.","error.cannotMove":"Can't move to this region.","error.regionIntoSelf":"A region can't be moved into itself or one of its subregions.","error.embedNeedsSource":"Copying embedded content requires the source document's layout and views."}});var Sh=W(de(),1);function kh(e){let t=le(tt),a=(0,cd.useRef)(null);return(0,cd.useEffect)(()=>a7(a.current,t("selection.textInput")),[t]),(0,Sh.jsx)("div",{...e,ref:a})}var dd=class{measurements=new Map;listeners=new Map;content;index=new Map;revision=0;gestures=0;scheduled=0;changed=new Set;getSnapshot=()=>this.revision;subscribe(t,a){for(let n of t){let o=this.listeners.get(n)??new Set;o.add(a),this.listeners.set(n,o)}return()=>{for(let n of t){let o=this.listeners.get(n);o?.delete(a),o?.size||this.listeners.delete(n)}}}measure(t,a,n){if(!(a>0&&n>0))return;let o=this.measurements.get(t);o&&Math.abs(o.width-a)<.25&&Math.abs(o.height-n)<.25||(this.measurements.set(t,{width:a,height:n}),this.changed.add(t),this.publish())}forget(t){this.measurements.delete(t)&&(this.changed.add(t),this.publish())}beginGesture(){this.gestures++}endGesture(){this.gestures=Math.max(0,this.gestures-1),this.publish()}publish(){this.gestures||!this.changed.size||(typeof requestAnimationFrame=="function"?this.scheduled||(this.scheduled=requestAnimationFrame(()=>{this.scheduled=0,this.flush()})):this.flush())}flush(){if(this.gestures||!this.changed.size)return;let t=new Set;for(let a of this.changed)for(let n of this.listeners.get(a)??[])t.add(n);this.changed.clear(),this.revision++;for(let a of t)a()}entries(t){return this.content!==t.content&&(this.content=t.content,this.index=Zt(t.content)),this.index}frame(t,a){let n=this.measurements.get(t);return!n||Math.abs(n.width-a.width)>.5?a:{...a,contentSize:n}}resolveArrow(t,a,n){let o={},r=this.entries(n),i=r.get(t.attrs.id)?.parent;i?.attrs?.id&&n.layout?.[i.attrs.id]&&(o[i.attrs.id]=n.layout[i.attrs.id]);for(let l of Object.values(t.attrs?.bindings??{})){let s=n.layout?.[l.targetId];s&&(o[l.targetId]=this.frame(l.targetId,s))}return j1(t,a,H1(t,a,r,o))}materialize(t){let a=t.layout,n=Zt(t.content);for(let[r,i]of this.measurements){let l=a?.[r],s=n.get(r)?.node;!l||!s||s.type==="drawing"||s.type==="surface"&&l.heightMode!=="auto"||Math.abs(i.width-l.width)>.5||l.contentSize?.width===i.width&&l.contentSize?.height===i.height||(a===t.layout&&(a={...a}),a[r]={...l,contentSize:i})}let o=tc({...t,...a?{layout:a}:{}});return o.content===t.content&&o.layout===t.layout?t:o}};function ud(){if(typeof window>"u")return;let e=window.document.getElementById("showai-read-options")?.textContent;return e?JSON.parse(e).boardCapture:void 0}var Ch=W(De(),1),pd=(0,Ch.createContext)(null);function nl(e,t){let a=Zt(e.content);for(let r of Object.keys(t))if(!a.get(r)?.parent||!e.layout?.[r])throw new Error(`Object has no editable frame: ${r}`);let n=new Map;for(let r of Object.keys(t)){let i=bC(a.get(r).node,e.layout[r],t[r]);i&&n.set(r,i)}for(let r of Object.keys(t)){let i=n.get(r)??a.get(r).node;if(i.type!=="drawing"||i.attrs?.tool!=="arrow"||!i.attrs.bindings)continue;let l=n6(i.attrs.bindings,new Set(Object.keys(t))),s={...i.attrs};Object.keys(l).length?s.bindings=l:delete s.bindings,n.set(r,{...i,attrs:s})}let o=r=>{if(n.has(r.attrs?.id))return n.get(r.attrs.id);if(!r.content)return r;let i=r.content.map(o);return i.some((l,s)=>l!==r.content[s])?{...r,content:i}:r};return ja({...e,content:n.size?o(e.content):e.content,layout:{...e.layout,...t},surfaceViews:{...e.surfaceViews}},{clone:!1})}function bC(e,t,a){if(e.type!=="drawing"||e.attrs?.tool==="arrow"||e.attrs?.ink||!Array.isArray(e.attrs?.extent))return null;let n=a.width,o=a.height??t.height;if(!o||Math.abs(n-t.width)<1e-6&&Math.abs(o-(t.height??o))<1e-6)return null;let[r,i]=e.attrs.extent,l=[Math.max(1,n),Math.max(1,o)],s=l[0]/r,c=l[1]/i;return Math.abs(s-1)<1e-9&&Math.abs(c-1)<1e-9?null:{...e,attrs:{...e.attrs,extent:l,points:e.attrs.points.map(d=>({x:d.x*s,y:d.y*c}))}}}function L4(e,t){let a=new Set(t);return t.filter(n=>{let o=e.get(n)?.parent;for(;o;){if(a.has(o.attrs?.id))return!1;o=e.get(o.attrs?.id)?.parent??null}return!!e.get(n)})}function B4(e,t){let a=Zt(e.content),n=L4(a,t).map(i=>structuredClone(a.get(i).node)),o={},r={};for(let i of n)Zn(i,l=>{let s=l.attrs?.id;s&&(e.layout?.[s]&&(o[s]=structuredClone(e.layout[s])),e.surfaceViews?.[s]&&(r[s]=structuredClone(e.surfaceViews[s])))});return{format:"showai-board-clip",version:1,nodes:n,layout:o,surfaceViews:r}}function Th(e){let t=e;return!!t&&t.format==="showai-board-clip"&&t.version===1&&Array.isArray(t.nodes)&&t.nodes.every(a=>typeof a?.attrs?.id=="string")&&!!t.layout&&typeof t.layout=="object"}function H4(e,t,a,n={x:24,y:24}){if(!a.nodes.length)return{document:e,ids:[]};let o=structuredClone(e),r=Zt(o.content).get(t)?.node;if(!r||!["surface","region"].includes(r.type??""))throw new Error("Paste destination must be a container.");let i=new Map,l=a.nodes.map(c=>structuredClone(c)),s=new Set(l.map(c=>c.attrs.id));for(let c of l)Zn(c,d=>{if(d.attrs?.id){let f=crypto.randomUUID();i.set(d.attrs.id,f),d.attrs={...d.attrs,id:f}}});for(let c of l)Zn(c,d=>{if(!d.attrs?.bindings)return;let f={};for(let u of["start","end"]){let g=d.attrs.bindings[u],b=g&&i.get(g.targetId);b&&(f[u]={...g,targetId:b})}Object.keys(f).length?d.attrs.bindings=f:delete d.attrs.bindings});o.layout??={},o.surfaceViews??={};for(let[c,d]of i){let f=a.layout[c];f&&(o.layout[d]={...structuredClone(f),...s.has(c)?{x:f.x+n.x,y:f.y+n.y}:{}});let u=a.surfaceViews?.[c];if(u){let g=new Map(u.saved.map(b=>[b.id,crypto.randomUUID()]));o.surfaceViews[d]={initial:g.get(u.initial)??null,saved:u.saved.map(b=>({...b,id:g.get(b.id),targets:b.targets.map(p=>i.get(p)).filter(Boolean)})),readingOrder:u.readingOrder.map(b=>i.get(b)).filter(Boolean)}}}return r.content=[...r.content??[],...l],{document:ja(o),ids:l.map(c=>c.attrs.id)}}function zh(e,t,a={x:24,y:24}){let n=Zt(e.content),o=L4(n,t);if(!o.length)return{document:e,ids:[]};let r=n.get(o[0])?.parent;if(!r||o.some(i=>n.get(i)?.parent!==r))throw new Error("Copy selection must share a parent.");return H4(e,r.attrs.id,B4(e,o),a)}function Eh(e,t,a){let n=Zt(e.content),o=n.get(t[0])?.parent;if(!o?.content||t.some(d=>n.get(d)?.parent!==o))return e;let r=new Set(t),i=[...o.content],l;if(a==="front"||a==="back"){let d=i.filter(u=>r.has(u.attrs?.id)),f=i.filter(u=>!r.has(u.attrs?.id));l=a==="front"?[...f,...d]:[...d,...f]}else{l=i;let d=a==="forward",f=l.map((u,g)=>r.has(u.attrs?.id)?g:-1).filter(u=>u>=0);d||f.reverse();for(let u of f){let g=d?u+1:u-1;g<0||g>=l.length||r.has(l[g].attrs?.id)||([l[u],l[g]]=[l[g],l[u]])}}if(l.every((d,f)=>d===o.content[f]))return e;let s=o.attrs.id,c=d=>{if(d.attrs?.id===s)return{...d,content:l};if(!d.content)return d;let f=d.content.map(c);return f.some((u,g)=>u!==d.content[g])?{...d,content:f}:d};return ja({...e,content:c(e.content),layout:{...e.layout},surfaceViews:{...e.surfaceViews}},{clone:!1})}function Nh(e,t){let a=Object.entries(e),n={};if(a.length<2)return n;let o=Math.min(...a.map(([,s])=>s.x)),r=Math.max(...a.map(([,s])=>s.x+s.width)),i=Math.min(...a.map(([,s])=>s.y)),l=Math.max(...a.map(([,s])=>s.y+s.height));if(t==="distribute-x"||t==="distribute-y"){let s=t==="distribute-x";if(a.length<3)return n;let c=[...a].sort(([,g],[,b])=>s?g.x-b.x:g.y-b.y),d=c.reduce((g,[,b])=>g+(s?b.width:b.height),0),f=((s?r-o:l-i)-d)/(c.length-1),u=s?o:i;for(let[g,b]of c)n[g]=s?{x:u-b.x,y:0}:{x:0,y:u-b.y},u+=(s?b.width:b.height)+f;return n}for(let[s,c]of a)n[s]={x:t==="left"?o-c.x:t==="right"?r-c.x-c.width:t==="center"?(o+r)/2-c.x-c.width/2:0,y:t==="top"?i-c.y:t==="bottom"?l-c.y-c.height:t==="middle"?(i+l)/2-c.y-c.height/2:0};return n}function j4(e,t,a,n){let o=structuredClone(e),r=Zt(o.content),i=r.get(t),l=o.layout?.[t];if(!i?.parent||i.node.type!=="region"||!l)return e;let s=a.filter(d=>d!==t&&r.get(d)?.parent===i.parent&&!!o.layout?.[d]);if(!s.length)return e;let c=new Set(s);i.parent.content=i.parent.content.filter(d=>!c.has(d.attrs?.id)),i.node.content=[...i.node.content??[],...s.map(d=>r.get(d).node)];for(let d of s){let f=o.layout[d];o.layout[d]={...f,x:f.x-l.x-n.x,y:f.y-l.y-n.y}}return ja(o)}function Dh(e,t,a,n,o="\u533A\u57DF"){let r=Zt(e.content),i=L4(r,t),l=r.get(i[0])?.parent;if(!i.length||!l||i.some(g=>r.get(g)?.parent!==l))return null;let s=structuredClone(e),c=crypto.randomUUID(),d=Zt(s.content).get(l.attrs.id).node,f=Math.max(...i.map(g=>d.content.findIndex(b=>b.attrs?.id===g)));return d.content.splice(f+1,0,{type:"region",attrs:{id:c,name:o},content:[]}),s.layout[c]={x:a.x-n.x,y:a.y-n.y,width:Math.max(120,a.width+n.x*2),height:Math.max(40,a.height+n.y*2),mode:"free",gap:24},{document:j4(ja(s),c,i,n),id:c}}function Mh(e,t,a){let n=structuredClone(e),o=Zt(n.content),r=o.get(t),i=n.layout?.[t];if(!r?.parent||r.node.type!=="region"||i?.mode!=="free")return null;let l=vl(r.node),s=(r.node.content??[]).map(f=>{if(!l)return f;let u=n.layout[f.attrs.id];if(!u)throw new Error("Archive child has no frame");let g=Y5(f,u,l,i);return n.layout[f.attrs.id]=g.frame,g.node}),c=r.parent.content.indexOf(r.node);r.parent.content.splice(c,1,...s);let d=[];for(let f of s){let u=f.attrs?.id,g=u&&n.layout?.[u];g&&(d.push(u),n.layout[u]={...g,x:l?g.x:g.x+i.x+a.x,y:l?g.y:g.y+i.y+a.y})}return{document:ja(n),ids:d}}function Ah(e,t,a){let n={...e.layout},o=!1;for(let r of t){let i=n[r];if(!i||!!i.locked===a)continue;let l={...i};a?l.locked=!0:delete l.locked,n[r]=l,o=!0}return o?ja({...e,layout:n,surfaceViews:{...e.surfaceViews}},{clone:!1}):e}function Ih(e,t){let a=new Set(t),n=o=>{if(!o.content)return o;let r=o.content.filter(i=>!a.has(i.attrs?.id)).map(n);return r.length!==o.content.length||r.some((i,l)=>i!==o.content[l])?{...o,content:r}:o};return ja({...e,content:n(e.content),layout:{...e.layout},surfaceViews:{...e.surfaceViews}},{clone:!1})}function Rh(e,t,a){if(!t)return!1;let n=(l,s)=>l===s||Du(l)===Du(s),o=Zt(e.content),r=Zt(t.content),i=new Set;for(let l of a){if(!t.layout?.[l])return!1;let s=o.get(l);if(!s||!(s.node.type==="surface"&&e.layout?.[l]?.heightMode!=="auto")&&!n(s.node,r.get(l)?.node))return!1;for(;s;){let d=s.node.attrs?.id,f=d?r.get(d):void 0;if(!f||s.node.type!==f.node.type||!n(s.node.attrs,f.node.attrs)||s.parent?.attrs?.id!==f.parent?.attrs?.id)return!1;d&&(e.layout?.[d]||t.layout?.[d])&&i.add(d),s=s.parent?.attrs?.id?o.get(s.parent.attrs.id):void 0}}return[...i].every(l=>n(e.layout?.[l],t.layout?.[l]))}function Is(e,t,a,n){let o=e.get(n)?.parent;if(!o||!a)return null;if(o.type==="surface")return o.attrs?.id===a&&o.attrs?.kind==="board"?a:null;if(o.type!=="region"||t?.[o.attrs.id]?.mode!=="free")return null;let r=o;for(;r&&r.type!=="surface";)r=e.get(r.attrs?.id)?.parent??null;return r?.attrs?.id===a?o.attrs.id:null}var Ed=W(Vn(),1);var fn=W(De(),1),Ph=W(Vn(),1);rt("");var ha=W(de(),1);function Oh({left:e,top:t,onInsert:a,onClose:n}){let o=le(ld),r=As(!0),i=(0,fn.useContext)(hi),[l,s]=(0,fn.useState)(""),[c,d]=(0,fn.useState)(0),[f,u]=(0,fn.useState)(!1),[g,b]=(0,fn.useState)(""),p=(0,fn.useRef)(null),x=(0,fn.useRef)(!0),h=(0,fn.useRef)(document.activeElement);(0,fn.useEffect)(()=>(x.current=!0,()=>{x.current=!1,h.current?.focus()}),[]),(0,fn.useEffect)(()=>{p.current?.querySelector('[aria-selected="true"]')?.scrollIntoView({block:"nearest"})},[c]);let m=r.items.filter(k=>"kind"in k||k.role!=="page-outline").filter(k=>`${k.name} ${k.description} ${d1(k)} ${sd(k)} ${"kind"in k?k.kind:k.id}`.toLowerCase().includes(l.toLowerCase())),v=async k=>{let w=m[k];if(!(!w||f)){u(!0),b("");try{let z=await r.resolve(w);if(!x.current)return;z.component&&i(z.component),a(z.kind,z.data),n()}catch(z){x.current&&(u(!1),b(z.message))}}};return(0,Ph.createPortal)((0,ha.jsxs)(ha.Fragment,{children:[(0,ha.jsx)("div",{className:"slash-dismiss",onClick:n}),(0,ha.jsxs)("div",{ref:p,className:"slash-menu is-minimal",role:"dialog","aria-label":o("insertContent"),style:{left:Math.max(12,Math.min(e,window.innerWidth-320)),top:Math.max(12,Math.min(t,window.innerHeight-410))},onKeyDown:k=>{k.nativeEvent.isComposing||(k.stopPropagation(),k.key==="Escape"&&(k.preventDefault(),n()),k.key==="Enter"&&(k.preventDefault(),v(c)),(k.key==="ArrowDown"||k.key==="ArrowUp")&&(k.preventDefault(),d(w=>m.length?(w+(k.key==="ArrowDown"?1:-1)+m.length)%m.length:0)))},children:[(0,ha.jsxs)("div",{className:"slash-search",children:[(0,ha.jsx)(Q1,{label:o("searchBlocks"),placeholder:o("searchComponentsPlaceholder"),defaultExpanded:!0,value:l,onChange:k=>{s(k),d(0)}}),(0,ha.jsx)("kbd",{children:"esc"})]}),(g||r.error)&&(0,ha.jsx)("p",{role:"alert",className:"slash-empty",children:g||r.error}),(0,ha.jsxs)("div",{className:"slash-items",role:"listbox","aria-label":o("blockTypes"),"aria-busy":f||r.loading,children:[!m.length&&(0,ha.jsx)("p",{className:"slash-empty",children:r.loading?o("loadingComponents"):o("noComponentsFound")}),m.map((k,w)=>(0,ha.jsxs)("button",{role:"option",className:`slash-item${c===w?" is-selected":""}`,"aria-selected":c===w,disabled:f,onMouseEnter:()=>d(w),onMouseDown:z=>z.preventDefault(),onClick:()=>{v(w)},children:[(0,ha.jsx)("span",{className:"slash-item-icon",children:(0,ha.jsx)(Ws,{size:20})}),(0,ha.jsxs)("span",{children:[(0,ha.jsx)("strong",{children:d1(k)}),(0,ha.jsx)("small",{children:yh(mh(k))})]})]},"kind"in k?k.kind:`${k.id}@${k.version}#${k.integrity}`))]})]})]}),document.body)}var FD=kt(tt);function hC(e,t){let a=O4(e);if(!a?.insertion)throw new Error(`Component ${e} is not a native container.`);if(Object.keys(t).some(o=>!["title","content","layout","surfaceViews"].includes(o)))throw new Error("Unsupported container component property.");let n=yu(a.insertion.surfaceKind,t.title===void 0?void 0:t.title);return t.content!==void 0&&(n.content=structuredClone(t.content)),J6({id:crypto.randomUUID(),title:"",content:n,...t.layout!==void 0?{layout:t.layout}:{},...t.surfaceViews!==void 0?{surfaceViews:t.surfaceViews}:{}})}function md(e,t,a,n,o){if(!n||typeof n!="object"||Array.isArray(n))throw new Error("Component data must be an object.");let r=Z1(e),i=t?nt(r,t)?.node:r.content;if(!i||!["surface","region","step"].includes(i.type??""))throw new Error("Component destination must be a container.");let l=i.type==="step",s=O4(a);if(!s&&a!=="custom")throw new Error(`Unknown component: ${a}.`);if(l&&s?.insertion)throw new Error(`A step holds content blocks; insert ${a} into a Page or Board instead.`);let c,d;if(a==="text")c=vu(n),d={x:0,y:0,width:640};else if(k6[a])c=n.document?vu({content:n.document,format:"richtext"}):G1(a,n,crypto.randomUUID()),d={x:0,y:0,width:640};else if(s?.insertion){let b=u6(hC(a,n));c=b.content,Object.assign(r.layout,b.layout),Object.assign(r.surfaceViews,b.surfaceViews);let p=i.type==="surface"?Ua(i)==="board":r.layout[i.attrs.id]?.mode==="free";d={x:0,y:0,width:760,height:460,heightMode:Ua(c)==="page"&&!p?"auto":"fixed"}}else c={type:"widget",attrs:{id:crypto.randomUUID(),kind:a,data:structuredClone(n)}},d={x:0,y:0,width:640};if((i.type==="surface"&&Ua(i)==="board"||i.type==="region"&&r.layout[i.attrs.id]?.mode==="free")&&!s?.insertion){let b=c;c=yu("page",typeof n.title=="string"&&n.title.trim()?n.title:s?.name??"Page"),c.content=[b],r.layout[b.attrs.id]={x:0,y:0,width:d.width},d={x:0,y:0,width:d.width+48,height:360,heightMode:"auto"}}let u=i.content??[];(i.type==="surface"&&Ua(i)==="board"||i.type==="region"&&r.layout[i.attrs.id]?.mode==="free")&&(d.x=Math.min(1e6,Math.max(0,...u.map(b=>{let p=r.layout[b.attrs.id];return p?p.x+p.width+48:0}))));let g=u.length;if(o===null)g=0;else if(o!==void 0){let b=u.findIndex(p=>p.attrs?.id===o);if(b<0)throw new Error(`Insertion anchor ${o} does not belong to this parent.`);g=b+1}return i.content=[...u.slice(0,g),c,...u.slice(g)],l||(r.layout[c.attrs.id]=d),{document:ja(r),nodeId:c.attrs.id}}function U4(e,t){let a=Co(e)||1,n=(t.x-(e.x+e.width/2))/(e.width||1),o=(t.y-(e.y+a/2))/a;return Math.abs(n)>=Math.abs(o)?{x:n>=0?1:0,y:.5}:{x:.5,y:o>=0?1:0}}var Lh={right:"LR",down:"TB",left:"RL",up:"BT"};function vC(e,t,{direction:a="right",origin:n={x:0,y:0},spacing:o={}}={}){if(!Lh[a])throw new Error("Diagram direction must be right, down, left or up.");let r=new p7.Graph({multigraph:!0});r.setGraph({rankdir:Lh[a],nodesep:o.node??48,ranksep:o.rank??96,edgesep:24,marginx:0,marginy:0}),r.setDefaultEdgeLabel(()=>({}));for(let c of e)r.setNode(c.id,{width:c.width,height:c.height});t.forEach((c,d)=>{if(!r.hasNode(c.from)||!r.hasNode(c.to))return;let f=c.label?h6(c.label,c.labelSize??16,200):{width:0,height:0};r.setEdge(c.from,c.to,{width:f.width+12,height:f.height+8,labelpos:"c"},c.id??`edge-${d}`)}),m7(r);let i=e.map(c=>{let d=r.node(c.id);return{id:c.id,x:d.x-c.width/2,y:d.y-c.height/2}}),l=Math.min(...i.map(c=>c.x)),s=Math.min(...i.map(c=>c.y));return Object.fromEntries(i.map(c=>[c.id,{x:Math.round(n.x+c.x-l),y:Math.round(n.y+c.y-s)}]))}function Bh(e,t,a="right"){let n=Zt(e.content),o=e.layout??{},r=t.map(p=>n.get(p)).filter(p=>p&&o[p.node.attrs.id]&&R1(p.node).bindTarget&&!o[p.node.attrs.id].locked);if(r.length<2)return null;let i=r[0].parent;if(r.some(p=>p.parent!==i))return null;let l=new Set(r.map(p=>p.node.attrs.id)),s=(i.content??[]).filter(p=>p.type==="drawing"&&p.attrs?.tool==="arrow"&&l.has(p.attrs.bindings?.start?.targetId)&&l.has(p.attrs.bindings?.end?.targetId)).map(p=>({id:p.attrs.id,from:p.attrs.bindings.start.targetId,to:p.attrs.bindings.end.targetId,label:p.attrs.label,labelSize:p.attrs.labelSize}));if(!s.length)return null;let c=r.map(p=>o[p.node.attrs.id]),d={x:Math.min(...c.map(p=>p.x)),y:Math.min(...c.map(p=>p.y))},f=vC(r.map(p=>({id:p.node.attrs.id,width:o[p.node.attrs.id].width,height:Co(o[p.node.attrs.id])})),s,{direction:a,origin:d}),u=Object.fromEntries(r.map(p=>{let x=p.node.attrs.id;return[x,{...o[x],...f[x]}]})),g=p=>({x:p.x+p.width/2,y:p.y+Co(p)/2}),b=Object.fromEntries(s.map(p=>[p.id,{start:U4(u[p.from],g(u[p.to])),end:U4(u[p.to],g(u[p.from]))}]));return{frames:u,anchors:b}}var Re=W(De(),1);var vr=W(De(),1);var fd=(0,vr.createContext)(void 0);function Hh(e,t,a,n){let o=(0,vr.useContext)(fd),[,r]=(0,vr.useState)(0),i=typeof window<"u"&&!!window.showai?.inlineInk?.nativeScene,l=!e||n||i||!o||!!uu(e,t,a),[s,c]=(0,vr.useState)();if((0,vr.useEffect)(()=>{if(!e||n||i||!o||l)return;let f=!0;return o.client.prepare(e,t,a).then(()=>{f&&r(u=>u+1)},u=>{f&&c(u)}),()=>{f=!1}},[e,t,a,o,n,i,l]),s)throw s;let d=e&&l?uu(e,t,a):void 0;return{ready:l,held:d}}var Ps=W(De(),1),jh=()=>0;function Uh(e,t,a){let n=e.attrs?.bindings?.start?.targetId,o=e.attrs?.bindings?.end?.targetId,r=(0,Ps.useCallback)(s=>a?.subscribe([n,o].filter(Boolean),s)??(()=>{}),[a,n,o]),i=(0,Ps.useSyncExternalStore)(r,a?.getSnapshot??jh,jh),l=t.layout?.[e.attrs?.id];return(0,Ps.useMemo)(()=>a&&l&&e.type==="drawing"&&e.attrs?.tool==="arrow"&&(n||o)?a.resolveArrow(e,l,t):{node:e,frame:l},[e,l,t,a,i,n,o])}function gd(e,t,a,n={}){let{origin:o,release:r,scale:i,snap:l}=a,s=e==="pen"||e==="highlighter",c=a.moved||Math.hypot(r.x-o.x,r.y-o.y)*i>=3,d;if(!c)d=s?[o,{x:o.x+.01,y:o.y+.01}]:e==="arrow"?[o,{x:o.x+100,y:o.y}]:[{x:o.x-100,y:o.y-100},{x:o.x+100,y:o.y+100}];else if(s){d=[...a.points];let g=d.at(-1);(!g||g.x!==r.x||g.y!==r.y)&&d.push(r),d.length===1&&d.push({x:r.x+.01,y:r.y+.01})}else d=L1(e==="region"?"rectangle":e,o,r,n),l&&["rectangle","ellipse","region"].includes(e)&&!n.ctrlKey&&!n.metaKey&&(d=B1(d,l,i,n.shiftKey).points);d.length>2e4&&(d=[...d.slice(0,19999),d.at(-1)]);let f=I1(d),u={x:f.x,y:f.y,width:Math.max(1,f.width),height:Math.max(1,f.height)};return e==="region"?{node:{type:"region",attrs:{id:crypto.randomUUID(),name:"\u533A\u57DF"},content:[]},frame:{...u,width:Math.max(120,u.width),height:Math.max(40,u.height),mode:"free",gap:24}}:{node:{type:"drawing",attrs:{id:crypto.randomUUID(),name:{pen:"\u7B14\u753B",highlighter:"\u8367\u5149\u7B14",rectangle:"\u77E9\u5F62",ellipse:"\u692D\u5706",arrow:"\u7BAD\u5934"}[e],tool:e,...t,extent:[u.width,u.height],points:(s?[d[0],d.at(-1)]:d).map(g=>({x:g.x-u.x,y:g.y-u.y,...s&&g.pressure!==void 0?{pressure:g.pressure}:{}})),...s?{ink:q5(d.map(g=>({...g,x:g.x-u.x,y:g.y-u.y})),t.strokeWidth,[u.width,u.height],e==="highlighter"?"marker":"pen",t.pressure)}:{}}},frame:u}}function _h(e,t){let a=e.map((n,o)=>{let r=e[Math.max(0,o-1)],i=e[Math.min(e.length-1,o+1)],l=i.x-r.x,s=i.y-r.y,c=Math.hypot(l,s)||1,d=t*(.2+.8*Math.max(0,Math.min(1,n.pressure??1)))/2;return[{x:n.x-s/c*d,y:n.y+l/c*d},{x:n.x+s/c*d,y:n.y-l/c*d}]});return ec([...a.map(n=>n[0]),...a.map(n=>n[1]).reverse()])+" Z"}var Vh=W(De(),1);var ho=W(de(),1);function Zh({ink:e,fragments:t=[],color:a,width:n,pressure:o}){let r=(0,Vh.useId)(),i=[e,...t].map(s=>({ink:s,geometry:W5(s,n,o)})),l=i.some(({geometry:s})=>!!s.mask);return(0,ho.jsxs)(ho.Fragment,{children:[l&&(0,ho.jsx)("defs",{children:i.map(({ink:s,geometry:c},d)=>c.mask&&(0,ho.jsx)("clipPath",{id:`${r}-${d}`,clipPathUnits:"userSpaceOnUse",children:(0,ho.jsx)("path",{d:c.mask,transform:`matrix(${s.transform.join(" ")})`})},d))}),[!1,!0].map(s=>(0,ho.jsx)("g",{className:s?"board-ink-dark":"board-ink-light",opacity:e.opacity,children:l?i.map(({geometry:c},d)=>(0,ho.jsx)("path",{"data-portable-ink":e.format==="showai-ink-v2"?"2":"1",d:c.path,fill:Js(a,s),stroke:"none",clipPath:c.mask?`url(#${r}-${d})`:void 0},d)):(0,ho.jsx)("path",{"data-portable-ink":e.format==="showai-ink-v2"?"2":"1",d:i.map(({geometry:c})=>c.path).join(" "),fill:Js(a,s),stroke:"none"})},String(s)))]})}function Os(e){return e?.type==="drawing"&&["rectangle","ellipse","arrow"].includes(e.attrs?.tool)}function xC(e,t){return e==="touch"&&t.native&&t.device==="pad"&&!t.fingerDrawing}function yo(e){let t=document.documentElement.dataset;return xC(e,{native:t.native==="ios",device:t.nativeDevice,fingerDrawing:t.fingerDrawing==="true"})}var Fh=W(Vn(),1);var nn=W(De(),1);var na=W(de(),1);function Gh({id:e,name:t,frame:a,positioned:n,region:o=!1,archiveGroup:r=!1,container:i=!1,drawing:l=!1,drawingNode:s,component:c=!1,fixedHeight:d=!1,rotatable:f=!1,resizable:u=!0,children:g}){let b=le(tt),p=(0,nn.useContext)(Va),x=n?p.board:void 0,h=(0,nn.useRef)(null),m=(0,nn.useRef)(null),[v,k]=(0,nn.useState)(!1),[w,z]=(0,nn.useState)(!1),P=(0,nn.useRef)({frame:a,move:p.move});P.current={frame:a,move:p.move};let j=(0,nn.useRef)(null);(0,nn.useEffect)(()=>{let I=new IntersectionObserver(C=>{C.some(G=>G.isIntersecting)&&(k(!0),I.disconnect())},{root:h.current.closest(".surface-scroll"),rootMargin:"600px"});return I.observe(h.current),()=>I.disconnect()},[]),(0,nn.useEffect)(()=>{let I=h.current,C=p.geometry;if(!I||!C||!v||!n||l||d)return;let G=()=>C.measure(e,I.offsetWidth,I.offsetHeight),H=new ResizeObserver(G);return H.observe(I),G(),()=>{H.disconnect(),C.forget(e)}},[p.geometry,e,v,n,l,d]);let T=I=>{let C=h.current;C.style.left=`${I.x}px`,C.style.top=`${I.y}px`,C.style.width=i&&!n?`min(100%, ${I.width}px)`:`${I.width}px`,d&&I.height&&(C.style.height=`${I.height}px`),n&&(C.style.transform=I.rotation?`rotate(${I.rotation}deg)`:"")},S=()=>{let I=j.current;I&&(I.delegated&&x?.cancel(),j.current=null,z(!1),P.current.frame&&T(P.current.frame),m.current?.hasPointerCapture(I.id)&&m.current.releasePointerCapture(I.id))};(0,nn.useEffect)(()=>{if(w)return window.addEventListener("blur",S),()=>window.removeEventListener("blur",S)},[w]),(0,nn.useEffect)(()=>{p.move||S()},[p.move]);let B=(I,C=!1,G=C?"resize":"move")=>{if(I.defaultPrevented||I.pointerType==="pen"&&Os(s)||I.button!==0||!n&&!C||!a||!p.move)return;if(I.preventDefault(),I.stopPropagation(),I.shiftKey&&!C&&G==="move"){p.select(e,!0);return}let H=!!x?.start(e,G,I);H||p.select(e),I.currentTarget.focus({preventScroll:!0}),I.currentTarget.setPointerCapture(I.pointerId),m.current=I.currentTarget,j.current={id:I.pointerId,x:I.clientX,y:I.clientY,start:a,next:a,resize:C,kind:G,delegated:H,scale:h.current.getBoundingClientRect().width/Or({...a,contentSize:void 0,height:h.current.offsetHeight}).width||p.scale},z(!0)},O=I=>{let C=j.current;if(!C||C.id!==I.pointerId)return;if(C.delegated){x?.update(I);return}if(C.kind==="rotate"){if(Math.hypot(I.clientX-C.x,I.clientY-C.y)<3&&C.next===C.start)return;let ge=h.current.getBoundingClientRect(),re=ge.left+ge.width/2,he=ge.top+ge.height/2,Me=(C.start.rotation??0)+(Math.atan2(I.clientY-he,I.clientX-re)-Math.atan2(C.y-he,C.x-re))*180/Math.PI;I.shiftKey&&(Me=Math.round(Me/15)*15),C.next={...C.start,rotation:(Me+540)%360-180},T(C.next);return}let G=(I.clientX-C.x)/C.scale,H=(I.clientY-C.y)/C.scale;C.next=C.resize?{...C.start,width:Math.max(l||r?1:120,Math.min(1e4,C.start.width+G)),...d?{height:Math.max(i?180:1,Math.min(1e6,(C.start.height??420)+H))}:{}}:{...C.start,x:Math.max(-1e6,Math.min(1e6,C.start.x+G)),y:Math.max(-1e6,Math.min(1e6,C.start.y+H))},T(C.next)},V={onPointerMove:O,onPointerUp:I=>{let C=j.current;if(!C||C.id!==I.pointerId)return;if(C.delegated){x?.update(I),x?.finish(),j.current=null,z(!1),I.currentTarget.hasPointerCapture(I.pointerId)&&I.currentTarget.releasePointerCapture(I.pointerId);return}O(I);let G=P.current.frame,H=G&&G.x===C.start.x&&G.y===C.start.y&&G.width===C.start.width&&G.height===C.start.height&&G.rotation===C.start.rotation;j.current=null,z(!1),I.currentTarget.hasPointerCapture(I.pointerId)&&I.currentTarget.releasePointerCapture(I.pointerId),H&&(C.next.x!==C.start.x||C.next.y!==C.start.y||C.next.width!==C.start.width||C.next.height!==C.start.height||C.next.rotation!==C.start.rotation)?P.current.move?.(e,C.next):G&&T(G)},onPointerCancel:S,onLostPointerCapture:S},R=n&&a?{position:"absolute",left:a.x,top:a.y,width:a.width,minHeight:a.height,transform:a.rotation?`rotate(${a.rotation}deg)`:void 0}:{position:"relative",minWidth:0};i&&!n&&a&&(R.width=`min(100%, ${a.width}px)`),a&&(R["--frame-width"]=`${a.width}px`,R["--frame-x"]=`${a.x}px`,R["--frame-y"]=`${a.y}px`),a?.height&&(R["--frame-height"]=`${a.height}px`),d&&(R.height=a?.height??460,R.minHeight=void 0);let E=l||v||p.revealAll||p.revealed.has(e)||(x?.ids.has(e)??p.selected===e),D=!p.nativeScene&&s&&e6(s),M=D&&s?{left:`${D.x/s.attrs.extent[0]*100}%`,top:`${D.y/s.attrs.extent[1]*100}%`,width:`${D.width/s.attrs.extent[0]*100}%`,height:`${D.height/s.attrs.extent[1]*100}%`}:void 0,Z=v||w||(x?.ids.has(e)??p.selected===e),U=!x||x.ids.size<=1,F=!!a?.locked,_=s?.attrs?.tool,X=_==="arrow"?[]:l?["nw","ne","se","sw"]:d?["nw","n","ne","e","se","s","sw","w"]:["e","w"],q=I=>{if(!D||!s)return;let C=D.x+D.width*(I.includes("w")?0:I.includes("e")?1:.5),G=D.y+D.height*(I.includes("n")?0:I.includes("s")?1:.5);return{left:`${C/s.attrs.extent[0]*100}%`,top:`${G/s.attrs.extent[1]*100}%`}};return(0,na.jsxs)("section",{ref:h,style:R,className:`surface-object${o?" is-region":""}${r?" is-ink-archive-group":""}${i?" is-container":""}${l?" is-drawing":""}${w?" is-moving":""}${F?" is-locked":""}${x?.ids.has(e)??p.selected===e?" is-selected":""}`,"data-surface-id":e,"data-board-drawing":l&&n&&!!x||void 0,"data-board-shape":Os(s)||void 0,"data-surface-mounted":E,"data-board-fixed-height":d,"data-surface-name":t,"data-surface-content":!0,"aria-label":t,tabIndex:-1,onPointerDown:I=>{if(!(I.defaultPrevented||I.button!==0||I.target.closest("[data-surface-ui]"))){if(t7(I.target,I.clientX,I.clientY)){p.select(null);return}I.pointerType==="pen"&&Os(s)||I.target.closest("[data-surface-id]")===I.currentTarget&&(l&&n&&!p.readOnly?B(I):p.select(e,I.shiftKey))}},...l?V:{},onKeyDownCapture:I=>{I.key==="Escape"&&j.current&&(I.preventDefault(),I.stopPropagation(),S())},children:[(l||i&&n&&!!x)&&!p.readOnly&&(x?.ids.has(e)??p.selected===e)&&(0,na.jsx)("div",{className:`board-object-outline${i?" board-selection-drag-area":""}`,style:l?M:{inset:0},"aria-hidden":"true"}),F&&n&&x?.ids.has(e)&&(0,na.jsx)("span",{className:"board-lock-badge","data-surface-ui":!0,"aria-label":b("board.lockedBadge",{name:t}),title:b("board.lockedBadgeTitle"),children:(0,na.jsx)(qs,{size:11,"aria-hidden":"true"})}),f&&_!=="arrow"&&n&&U&&!F&&!p.readOnly&&(x?.ids.has(e)??p.selected===e)&&(0,na.jsx)("button",{type:"button",className:"surface-object-rotate","data-surface-ui":!0,"data-surface-handle":!0,"aria-label":b("object.rotate",{name:t}),title:b("object.rotateTitle"),style:D&&s?{left:`calc(${(D.x+D.width/2)/s.attrs.extent[0]*100}% - 12px * var(--board-inv, 1))`,top:`calc(${D.y/s.attrs.extent[1]*100}% - 44px * var(--board-inv, 1))`}:void 0,onPointerDown:I=>B(I,!1,"rotate"),...V,children:"\u21BB"}),(!p.readOnly&&Z&&!x&&!r||p.readOnly&&i&&E)&&(0,na.jsxs)("div",{className:"surface-object-header","data-surface-ui":!0,children:[p.readOnly?(0,na.jsx)("span",{className:"surface-object-grip",children:t}):(0,na.jsxs)("button",{type:"button",className:"surface-object-grip","data-surface-handle":n&&!!p.move||void 0,"aria-label":b("object.move",{name:t}),title:b(n?"object.moveTitle":"object.select"),onPointerDown:I=>n?B(I):p.select(e),...V,onKeyDown:I=>{if(!n||!a||!p.move)return;let G={ArrowLeft:[-1,0],ArrowRight:[1,0],ArrowUp:[0,-1],ArrowDown:[0,1]}[I.key];if(!G)return;I.preventDefault(),I.stopPropagation();let H=I.shiftKey?50:10;p.move(e,{...a,x:Math.max(-1e6,Math.min(1e6,a.x+G[0]*H)),y:Math.max(-1e6,Math.min(1e6,a.y+G[1]*H))})},children:[(0,na.jsx)(v5,{size:14}),(0,na.jsx)("span",{children:t})]}),i&&(0,na.jsx)("button",{type:"button","aria-label":b("object.expand",{name:t}),onClick:()=>p.expand?.(e),children:(0,na.jsx)(gl,{size:14})}),!p.readOnly&&(0,na.jsx)("button",{type:"button","aria-label":b("object.settings",{name:t}),onClick:()=>p.inspect?.(e),children:(0,na.jsx)(Rr,{size:14})})]}),(0,na.jsx)("div",{className:"surface-object-content",children:(0,na.jsx)(f7.Provider,{value:x&&c?{target:p.componentActionsHost??null,selected:x.ids.size===1&&x.ids.has(e)}:null,children:E?g:(0,na.jsx)("div",{className:"surface-object-placeholder",style:{minHeight:a?.height??(o?240:160)}})})}),u&&Z&&U&&!F&&!p.readOnly&&n&&x&&X.map(I=>(0,na.jsx)("button",{type:"button",className:`board-resize-handle handle-${I}`,"data-surface-ui":!0,"data-surface-handle":!0,"data-resize-direction":I,style:q(I),"aria-label":b(`object.resize.${I}`,{name:t}),onKeyDown:C=>{let G={ArrowLeft:[-1,0],ArrowRight:[1,0],ArrowUp:[0,-1],ArrowDown:[0,1]}[C.key];if(!G||!a||!p.move)return;C.preventDefault(),C.stopPropagation();let H=C.shiftKey?10:1,ge={...a,contentSize:void 0,height:h.current?.offsetHeight??Co(a)},re=P1(s?xl(s,ge):ge,{x:G[0]*H,y:G[1]*H},I,{width:l||r?1:120,height:i?180:1});d||(re.height=a.height,re.y=a.y),p.move(e,s?$s(s,a,re):re)},onPointerDown:C=>B(C,!0,`resize-${I}`),...V},I)),u&&Z&&!p.readOnly&&(n||d)&&!x&&(0,na.jsx)("button",{type:"button",className:"surface-object-resize",disabled:!p.move,"data-surface-handle":!0,"aria-label":b(d?"object.resizeSize":"object.resizeWidth",{name:t}),title:b("object.resizeTitle"),onPointerDown:I=>B(I,!0),...V,onKeyDown:I=>{!a||!p.move||!["ArrowLeft","ArrowRight"].includes(I.key)||(I.preventDefault(),I.stopPropagation(),p.move(e,{...a,width:Math.max(120,Math.min(1e4,a.width+(I.key==="ArrowLeft"?-20:20)))}))},children:"\u2194"})]})}var Ct=W(De(),1);var We=W(de(),1);function qh(e){return(0,Ct.useContext)(Va).nativeScene?(0,We.jsx)(kC,{...e}):(0,We.jsx)(SC,{...e})}function kC({node:e,frame:t}){let a=(0,Ct.useContext)(Va),n=e.attrs,o=n.extent,r=n.points;return(0,We.jsxs)(We.Fragment,{children:[(0,We.jsx)("svg",{className:"board-drawing","data-native-measurement":"true","data-native-ink":Xs(e)?"":void 0,"data-native-ink-id":Xs(e)?n.id:void 0,viewBox:`0 0 ${o[0]} ${o[1]}`,preserveAspectRatio:"none",role:"img","aria-label":n.name||n.tool}),To(e)&&n.label&&(0,We.jsx)(Kh,{node:e,first:r[0],last:r.at(-1),frameHeight:t?.height??o[1],editing:!1,onDone:(i,l)=>a.setLabel?.(n.id,i,l)})]})}function SC({node:e,frame:t}){let a=le(tt),n=(0,Ct.useContext)(Va),o=(0,Ct.useId)(),[r,i]=(0,Ct.useState)(!1),[l,s]=(0,Ct.useState)(null),c=(0,Ct.useRef)(null),d=(0,Ct.useRef)({node:e,frame:t,connect:n.connect});d.current={node:e,frame:t,connect:n.connect};let f=(T,S)=>{let B=c.current,O=B.layer.getBoundingClientRect();return{x:B.original.x+(T-B.x-O.left+B.origin.x)/B.scale/B.frame.width*B.source.attrs.extent[0],y:B.original.y+(S-B.y-O.top+B.origin.y)/B.scale/(B.frame.height??1)*B.source.attrs.extent[1]}},u=()=>{c.current&&n.highlightTarget?.(null),c.current=null,i(!1),s(null)};(0,Ct.useEffect)(()=>{if(r)return window.addEventListener("blur",u),()=>window.removeEventListener("blur",u)},[r]);let{tool:g,points:b,color:p,fillColor:x="none",strokeWidth:h,extent:m}=e.attrs,v=l?.key==="start"?l.point:b[0],k=l?.key==="end"?l.point:b.at(-1),w=g==="arrow"?Qs(v,k,h):ec(b),z=pu(e.attrs.ink)?(0,We.jsx)(Zh,{ink:e.attrs.ink,fragments:e.attrs.inkFragments,color:p,width:h,pressure:e.attrs.pressure}):e.attrs.ink?(0,We.jsxs)(We.Fragment,{children:[(0,We.jsx)("image",{className:e.attrs.ink.darkPreview?"board-ink-light":void 0,href:e.attrs.ink.preview,width:m[0],height:m[1],preserveAspectRatio:"none"}),e.attrs.ink.darkPreview&&(0,We.jsx)("image",{className:"board-ink-dark",href:e.attrs.ink.darkPreview,width:m[0],height:m[1],preserveAspectRatio:"none"})]}):e.attrs.pressure!==!1&&(g==="pen"||g==="highlighter")&&b.some(T=>T.pressure!==void 0)?(0,We.jsx)("path",{d:_h(b,h),fill:p,stroke:"none"}):g==="rectangle"?(0,We.jsx)("rect",{x:Math.min(v.x,k.x),y:Math.min(v.y,k.y),width:Math.abs(k.x-v.x),height:Math.abs(k.y-v.y)}):g==="ellipse"?(0,We.jsx)("ellipse",{cx:(v.x+k.x)/2,cy:(v.y+k.y)/2,rx:Math.abs(k.x-v.x)/2,ry:Math.abs(k.y-v.y)/2}):(0,We.jsx)("path",{d:w}),P=!n.readOnly&&(n.board?.ids.has(e.attrs.id)??n.selected===e.attrs.id),j=[1.5*m[0]/((t?.width??m[0])*n.scale),1.5*m[1]/((t?.height??m[1])*n.scale)].join(" ");return(0,We.jsxs)(We.Fragment,{children:[(0,We.jsx)("svg",{className:"board-drawing","data-native-ink":Xs(e)?"":void 0,"data-native-ink-id":Xs(e)?e.attrs.id:void 0,viewBox:`0 0 ${m[0]} ${m[1]}`,preserveAspectRatio:"none",role:"img","aria-label":e.attrs.name||g,children:(0,We.jsx)("g",{fill:g==="rectangle"||g==="ellipse"?x:"none",stroke:p,opacity:pu(e.attrs.ink)?1:g==="highlighter"?.35:1,strokeWidth:h,strokeLinecap:"round",strokeLinejoin:"round",children:z})}),P&&(0,We.jsxs)("svg",{className:"board-drawing-selection",viewBox:`0 0 ${m[0]} ${m[1]}`,preserveAspectRatio:"none","aria-hidden":"true",children:[(0,We.jsx)("defs",{children:(0,We.jsxs)("filter",{id:o,filterUnits:"userSpaceOnUse",x:"-50%",y:"-50%",width:"200%",height:"200%",children:[(0,We.jsx)("feMorphology",{in:"SourceAlpha",operator:"dilate",radius:j,result:"expanded"}),(0,We.jsx)("feComposite",{in:"expanded",in2:"SourceAlpha",operator:"out",result:"edge"}),(0,We.jsx)("feFlood",{floodColor:"#467de3",result:"color"}),(0,We.jsx)("feComposite",{in:"color",in2:"edge",operator:"in"})]})}),(0,We.jsx)("g",{filter:`url(#${o})`,fill:g==="rectangle"||g==="ellipse"?x:"none",stroke:p,strokeWidth:h,strokeLinecap:"round",strokeLinejoin:"round",children:z})]}),To(e)&&(e.attrs.label||!n.readOnly&&!!n.setLabel&&n.labelEditing===e.attrs.id)&&(0,We.jsx)(Kh,{node:e,first:v,last:k,frameHeight:t?t.height??m[1]:m[1],editing:!n.readOnly&&!!n.setLabel&&n.labelEditing===e.attrs.id,onDone:(T,S)=>{n.editLabel?.(null),(T!==(e.attrs.label??"")||S)&&n.setLabel?.(e.attrs.id,T,S)}}),g==="arrow"&&t&&!n.readOnly&&n.connect&&(n.board?.ids.has(e.attrs.id)??n.selected===e.attrs.id)&&["start","end"].map(T=>{let S=T==="start"?v:k;return(0,We.jsx)("button",{type:"button",className:"board-arrow-endpoint","data-surface-ui":!0,"data-surface-handle":!0,"aria-label":a(T==="start"?"drawing.arrowStart":"drawing.arrowEnd"),style:{left:`${S.x/m[0]*100}%`,top:`${S.y/m[1]*100}%`},onPointerDown:B=>{if(B.button!==0)return;B.preventDefault(),B.stopPropagation(),B.currentTarget.focus({preventScroll:!0}),B.currentTarget.setPointerCapture(B.pointerId);let O=B.currentTarget.closest("[data-surface-id]").getBoundingClientRect(),N=B.currentTarget.closest("[data-surface-id]").parentElement,V=N.getBoundingClientRect();i(!0),c.current={key:T,x:B.clientX,y:B.clientY,scale:O.width/t.width,layer:N,origin:{x:V.left,y:V.top},original:S,next:S,source:e,frame:t}},onPointerMove:B=>{let O=c.current;O&&(B.stopPropagation(),O.next=f(B.clientX,B.clientY),s({key:T,point:O.next}),n.highlightTarget?.(B.clientX,B.clientY,e.attrs.id))},onPointerUp:B=>{let O=c.current;if(!O)return;B.stopPropagation(),O.next=f(B.clientX,B.clientY);let N=JSON.stringify(d.current.node)===JSON.stringify(O.source)&&JSON.stringify(d.current.frame)===JSON.stringify(O.frame);u(),n.highlightTarget?.(null),B.currentTarget.hasPointerCapture(B.pointerId)&&B.currentTarget.releasePointerCapture(B.pointerId),N&&(O.next.x!==O.original.x||O.next.y!==O.original.y)&&d.current.connect?.(e.attrs.id,T,{x:t.x+O.next.x/m[0]*t.width,y:t.y+O.next.y/m[1]*(t.height??m[1])})},onPointerCancel:u,onLostPointerCapture:u,onKeyDown:B=>{if(B.key==="Escape"){B.preventDefault(),B.stopPropagation(),u();return}let O={ArrowLeft:[-1,0],ArrowRight:[1,0],ArrowUp:[0,-1],ArrowDown:[0,1]}[B.key];if(!O)return;B.preventDefault(),B.stopPropagation(),u();let N=B.shiftKey?10:1;n.connect?.(e.attrs.id,T,{x:t.x+S.x/m[0]*t.width+O[0]*N,y:t.y+S.y/m[1]*(t.height??m[1])+O[1]*N})}},T)})]})}function Wh({tool:e,color:t,fillColor:a="none",strokeWidth:n=2.5,pressure:o=!0,camera:r,panHeld:i,ruler:l=!1,makeSnapIndex:s,point:c,onDraw:d,onExit:f,onTarget:u}){let g=le(tt),[,b]=(0,Ct.useState)(0),p=(0,Ct.useRef)(0),x=()=>{p.current||(p.current=requestAnimationFrame(()=>{p.current=0,b(E=>E+1)}))};(0,Ct.useEffect)(()=>()=>cancelAnimationFrame(p.current),[]);let[h,m]=(0,Ct.useState)([]),v=(0,Ct.useRef)(null),k=(0,Ct.useRef)(null),w=e==="pen"||e==="highlighter",z=()=>{let E=v.current?.id;v.current=null,x(),m([]),E!==void 0&&k.current?.hasPointerCapture(E)&&k.current.releasePointerCapture(E)},P=(0,Ct.useRef)({tool:e,color:t,fillColor:a,strokeWidth:n,pressure:o,point:c,onDraw:d});P.current={tool:e,color:t,fillColor:a,strokeWidth:n,pressure:o,point:c,onDraw:d};let j=()=>r.current.scale*(k.current.getBoundingClientRect().width/k.current.clientWidth||1),T=(E,D)=>{let M=v.current;if(!M)return;let{tool:Z,color:U,fillColor:F,strokeWidth:_,pressure:X,onDraw:q}=P.current,I=gd(Z,{color:U,fillColor:F,strokeWidth:_,pressure:X},{...M,release:E??M.cursor,scale:j()},D??M.modifiers);v.current=null,(0,Fh.flushSync)(()=>{q(I.node,I.frame),cancelAnimationFrame(p.current),p.current=0,b(C=>C+1),m([])}),k.current?.hasPointerCapture(M.id)&&k.current.releasePointerCapture(M.id)},S=(0,Ct.useRef)(T);S.current=T,(0,Ct.useEffect)(()=>{let E=()=>{v.current?.moved?S.current():z()},D=k.current?.closest(".page-surface");D?.addEventListener("showai-board-pinch",z);let M=()=>{v.current&&x()};return D?.addEventListener("showai:viewport-change",M),window.addEventListener("blur",E),()=>{window.removeEventListener("blur",E),D?.removeEventListener("showai-board-pinch",z),D?.removeEventListener("showai:viewport-change",M)}},[]);let B=E=>({shiftKey:E.shiftKey,altKey:E.altKey,ctrlKey:E.ctrlKey,metaKey:E.metaKey}),O=E=>{let D=L1(e==="region"?"rectangle":e,E.origin,E.cursor,E.modifiers);if((e==="rectangle"||e==="ellipse"||e==="region")&&!E.modifiers.ctrlKey&&!E.modifiers.metaKey){let M=B1(D,E.snap,j(),E.modifiers.shiftKey);D=M.points,m(M.guides)}else m([]);E.points=D},N=E=>{e==="arrow"&&u?.(E.clientX,E.clientY);let D=v.current;if(D?.id!==E.pointerId)return;let M=w?(E.nativeEvent.getCoalescedEvents?.()??[]).filter(U=>U.pointerId===E.pointerId):[];M.length||M.push(E.nativeEvent);let Z=j();for(let U of M){let F=c(U.clientX,U.clientY),_=D.points.at(-1);if(w&&(F.pressure=U.pointerType==="pen"&&U.pressure>0?U.pressure:1),D.cursor=F,D.moved||=Math.hypot(F.x-D.origin.x,F.y-D.origin.y)*Z>=3,w&&l){D.points=[D.origin,F];continue}w&&(Math.hypot(F.x-_.x,F.y-_.y)*Z<.7||D.points.length>=2e4)||w&&D.points.push(F)}D.modifiers=B(E),w||O(D),x()},V=v.current?.points??[],R=V.length>1?{type:"drawing",attrs:{tool:e==="region"?"rectangle":e,points:V,color:t,fillColor:a,strokeWidth:n,pressure:o,extent:[1,1]}}:null;return(0,We.jsx)("svg",{ref:k,className:"board-drawing-input","data-drawing-active":V.length>0,"data-board-drawing-input":!0,"aria-label":g("drawing.area"),tabIndex:0,onPointerDown:E=>{if(E.defaultPrevented||yo(E.pointerType)||E.button!==0||i.current||v.current)return;E.preventDefault(),E.stopPropagation(),E.currentTarget.focus({preventScroll:!0}),E.currentTarget.setPointerCapture(E.pointerId);let D=c(E.clientX,E.clientY);w&&(D.pressure=E.pointerType==="pen"&&E.pressure>0?E.pressure:1),v.current={id:E.pointerId,points:[D],origin:D,cursor:D,snap:w?{boxes:[],x:[],y:[]}:s(),moved:!1,modifiers:B(E)},x()},onPointerMove:N,onPointerLeave:()=>e==="arrow"&&u?.(NaN,NaN),onPointerUp:E=>{let D=v.current;if(!D||D.id!==E.pointerId)return;E.preventDefault(),E.stopPropagation();let M=c(E.clientX,E.clientY);w&&(M.pressure=D.cursor.pressure??D.points.at(-1)?.pressure??1),T(M,B(E)),e==="arrow"&&u?.(NaN,NaN)},onPointerCancel:E=>{v.current?.id===E.pointerId&&(v.current.moved?T():z())},onLostPointerCapture:E=>{v.current?.id!==E.pointerId||E.currentTarget.hasPointerCapture(E.pointerId)||(v.current.moved?T():z())},onKeyDown:E=>{E.key==="Escape"||(E.metaKey||E.ctrlKey)&&E.key.toLowerCase()==="z"&&v.current?(E.preventDefault(),E.stopPropagation(),v.current?z():f()):v.current&&["Shift","Alt","Control","Meta"].includes(E.key)&&(v.current.modifiers=B(E),!w&&v.current.points.length>1&&(O(v.current),x()))},onKeyUp:E=>{v.current&&!w&&["Shift","Alt","Control","Meta"].includes(E.key)&&(v.current.modifiers=B(E),O(v.current),x())},children:(0,We.jsxs)("g",{transform:`translate(${r.current.x} ${r.current.y}) scale(${r.current.scale})`,children:[(0,We.jsx)("g",{stroke:"#e06b52",strokeWidth:1,pointerEvents:"none",children:h.map((E,D)=>(0,We.jsx)("line",{vectorEffect:"non-scaling-stroke",x1:E.axis==="x"?E.value:E.from,x2:E.axis==="x"?E.value:E.to,y1:E.axis==="y"?E.value:E.from,y2:E.axis==="y"?E.value:E.to},D))}),R&&(0,We.jsx)("g",{style:{pointerEvents:"none"},children:(0,We.jsx)(CC,{node:R})})]})})}function Kh({node:e,first:t,last:a,frameHeight:n,editing:o,onDone:r}){let i=le(tt),{tool:l,color:s,strokeWidth:c,extent:d,label:f="",labelSize:u=16}=e.attrs,[g,b]=(0,Ct.useState)(f),p=(0,Ct.useRef)(null),x=(0,Ct.useRef)(!1);(0,Ct.useEffect)(()=>{if(!o)return;x.current=!1,b(f);let v=p.current;v&&(v.focus({preventScroll:!0}),v.select())},[o]),(0,Ct.useLayoutEffect)(()=>{let v=p.current;v&&(v.style.height="auto",v.style.height=`${v.scrollHeight}px`)},[g,o]);let h=(v=!1)=>{if(x.current)return;x.current=!0;let k=p.current,w=v?k?.closest("[data-surface-id]"):null,z;if(k&&l!=="arrow"){let P=g6(l,c),j=l==="ellipse"?(k.scrollHeight+P)/Math.SQRT1_2:k.scrollHeight+P*2;j>n+.5&&(z=Math.ceil(j))}r(g.trim()?g:"",z),w?.focus({preventScroll:!0})},m={color:s==="none"?void 0:s,fontSize:u,lineHeight:1.3};if(l==="arrow")Object.assign(m,{left:`${(t.x+a.x)/2/d[0]*100}%`,top:`${(t.y+a.y)/2/d[1]*100}%`});else{let v=b6(l,d[0],d[1],c);Object.assign(m,{left:`${v.x/d[0]*100}%`,top:`${v.y/d[1]*100}%`,width:`${v.width/d[0]*100}%`,height:`${v.height/d[1]*100}%`})}return(0,We.jsx)("div",{className:"board-drawing-label","data-tool":l,"data-editing":o||void 0,style:m,children:o?(0,We.jsx)("textarea",{ref:p,rows:1,value:g,"aria-label":i("drawing.label"),"data-surface-ui":!0,spellCheck:!1,onChange:v=>b(v.currentTarget.value),onPointerDown:v=>v.stopPropagation(),onBlur:()=>h(),onKeyDown:v=>{(v.key==="Escape"||v.key==="Enter"&&(v.metaKey||v.ctrlKey))&&(v.preventDefault(),v.stopPropagation(),h(!0))}}):(0,We.jsx)("span",{children:f})})}function CC({node:e}){let{points:t,tool:a,color:n,fillColor:o="none",strokeWidth:r=2.5}=e.attrs,i=t[0],l=t.at(-1),s=(0,Ct.useRef)(null),c;if(a==="pen"||a==="highlighter"){(!s.current||s.current.points!==t||s.current.next>t.length-1)&&(s.current={points:t,next:1,path:`M ${i.x} ${i.y}`});let d=s.current;for(;d.next<t.length-1;){let f=t[d.next],u=t[d.next+1];d.path+=` Q ${f.x} ${f.y} ${(f.x+u.x)/2} ${(f.y+u.y)/2}`,d.next++}c=`${d.path} L ${l.x} ${l.y}`}else c=a==="arrow"?Qs(i,l,r):ec(t);return(0,We.jsx)("g",{stroke:n,strokeWidth:r,fill:a==="rectangle"||a==="ellipse"?o:"none",opacity:a==="highlighter"?.35:1,strokeLinecap:"round",strokeLinejoin:"round",children:a==="rectangle"?(0,We.jsx)("rect",{x:Math.min(i.x,l.x),y:Math.min(i.y,l.y),width:Math.abs(l.x-i.x),height:Math.abs(l.y-i.y)}):a==="ellipse"?(0,We.jsx)("ellipse",{cx:(i.x+l.x)/2,cy:(i.y+l.y)/2,rx:Math.abs(l.x-i.x)/2,ry:Math.abs(l.y-i.y)/2}):(0,We.jsx)("path",{d:c})})}var gn=W(De(),1);var Bt=W(de(),1),TC=kt(tt);function _4(e){return e.type==="surface"&&(e.attrs?.name==="Page"||e.attrs?.name==="Board")}function bn(e){let t=TC;return String(!_4(e)&&e.attrs?.name||e.attrs?.data?.title||{region:t("node.region"),surface:t(e.attrs?.kind==="board"?"node.board":"node.page"),drawing:t("node.drawing"),richText:t("node.text"),image:t("node.image"),paragraph:t("node.text"),heading:t("node.heading"),table:t("node.table"),widget:e.attrs?.kind||t("node.component")}[e.type??""]||t("node.content"))}function zC({children:e,minHeight:t=160}){let a=(0,gn.useRef)(null),[n,o]=(0,gn.useState)(t);return(0,gn.useEffect)(()=>{let r=a.current,i=()=>o(Math.max(t,...[...r.children].filter(s=>s instanceof HTMLElement&&s.hasAttribute("data-surface-id")).map(s=>s.offsetTop+s.offsetHeight+24))),l=new ResizeObserver(i);for(let s of r.children)s instanceof HTMLElement&&s.hasAttribute("data-surface-id")&&l.observe(s);return i(),()=>l.disconnect()},[e,t]),(0,Bt.jsx)("div",{className:"surface-layout-free",ref:a,style:{minHeight:n,"--free-height":`${n}px`},children:e})}var Ls=(0,gn.memo)(function({node:t,document:a,positioned:n,renderContent:o,spatial:r=!0,renderSurface:i}){let l=(0,gn.useContext)(Va),s=Uh(t,a,l.nativeScene?void 0:l.geometry),c=t.attrs?.ink,d=Hh(c?.format==="showai-ink-v2"?c:void 0,t.attrs?.strokeWidth??c?.width??1,t.attrs?.pressure??c?.brush!=="monoline",!!l.nativeScene),f=(0,gn.useRef)(d.held);d.held&&(f.current=d.held);let u=(0,gn.useRef)(void 0);d.ready&&(u.current=s.node);let g=d.ready?s.node:u.current??s.node,b=s.frame,p=g.attrs.id,x=g.attrs?.nativeInk??g.attrs?.data?.nativeInk,h=!!x,m=g.type==="drawing"?g:h?{type:"drawing",attrs:{id:p,name:g.attrs.name,tool:"pen",color:"#252629",strokeWidth:2.5,extent:x.extent,points:[{x:0,y:0},{x:x.extent[0],y:x.extent[1]}],ink:x}}:void 0,v;if(g.type==="surface")v=i?.(g);else if(m)v=(0,Bt.jsx)(qh,{node:m,frame:b});else if(g.type==="region"){let k=b?.mode??"flow",w=g.content??[];if(vl(g)){let z=K5(vl(g),b);v=(0,Bt.jsx)("div",{className:"surface-layout-free ink-archive-local-space",style:{width:z.width,height:z.height,transform:`scale(${z.scaleX},${z.scaleY})`,transformOrigin:"0 0"},children:w.map(P=>(0,Bt.jsx)(Ls,{node:P,document:a,positioned:!0,spatial:r,renderContent:o,renderSurface:i},P.attrs.id))})}else if(k==="flow"){let z=[];for(let P of w)if(["region","richText","surface","drawing"].includes(P.type??""))z.push(P);else{let j=z.at(-1);Array.isArray(j)?j.push(P):z.push([P])}(!z.length||!l.readOnly&&!Array.isArray(z.at(-1)))&&z.push([]),v=(0,Bt.jsx)("div",{className:"surface-layout-flow",children:z.map((P,j)=>Array.isArray(P)?(0,Bt.jsx)("div",{children:o({content:{type:"doc",content:P},parentId:p,ids:P.map(T=>T.attrs?.id),kind:"children"})},`flow-${j}`):(0,Bt.jsx)(Ls,{node:P,document:a,positioned:!1,spatial:r,renderContent:o,renderSurface:i},P.attrs.id))})}else{let z=w.length?null:(0,Bt.jsx)(EC,{id:p}),P=w.map(j=>(0,Bt.jsx)(Ls,{node:j,document:a,positioned:r&&k==="free",spatial:r,renderContent:o,renderSurface:i},j.attrs.id));v=k==="grid"?(0,Bt.jsxs)("div",{className:"surface-layout-grid",style:{gridTemplateColumns:`repeat(${b?.columns??2}, minmax(0, 1fr))`,gap:b?.gap??24},children:[P,z]}):r?(0,Bt.jsxs)(zC,{minHeight:b?.height??200,children:[P,z]}):(0,Bt.jsx)("div",{className:"surface-layout-flow",children:P})}}else g.type==="richText"?v=o({content:{type:"doc",content:g.content??[]},componentData:g.attrs?.data,parentId:p,ids:(g.content??[]).map(k=>k.attrs?.id),kind:"children"}):v=o({content:{type:"doc",content:[g]},parentId:p,ids:[p],kind:"single"});return!n&&(g.type==="richText"||g.type==="region"&&(b?.mode??"flow")==="flow")?(0,Bt.jsx)("div",{className:"page-document-flow","data-surface-id":p,children:v}):!d.ready&&!u.current?(0,Bt.jsx)("div",{"data-surface-id":p,"data-cubic-pending":"true",style:n&&b?{position:"absolute",left:b.x,top:b.y,width:b.width,height:b.height}:void 0}):(0,Bt.jsx)(Gh,{id:p,rotatable:R1(g).rotate,resizable:!(g.type==="drawing"&&g.attrs?.tool==="arrow"),name:bn(g),positioned:n,region:g.type==="region",archiveGroup:!!vl(g),container:g.type==="surface",drawing:g.type==="drawing"||h,component:g.type==="widget",drawingNode:m,fixedHeight:g.type==="surface"&&(Ua(g)==="board"||b?.heightMode!=="auto")||g.type==="drawing"||h||g.type==="region"&&b?.mode==="free"&&!!b.height,frame:b,children:v})},(e,t)=>{if(e.node!==t.node||e.positioned!==t.positioned||e.spatial!==t.spatial||e.renderSurface!==t.renderSurface||e.renderContent!==t.renderContent)return!1;let a=n=>e.document.layout?.[n.attrs?.id]===t.document.layout?.[n.attrs?.id]&&(n.type!=="region"||(n.content??[]).every(a));return a(t.node)});function EC({id:e}){let t=le(tt);return(0,gn.useContext)(Va).readOnly?null:(0,Bt.jsx)("div",{tabIndex:0,className:"surface-empty-region","data-component-container":e,"aria-label":t("region.empty"),children:t("region.emptyHint")})}function bd({document:e,renderContent:t,spatial:a=!0,container:n=e.content,renderSurface:o}){let r=(0,gn.useContext)(Va);if(hu(e)&&n.type==="surface"&&Ua(n)==="page"){if(!r.readOnly)return(0,Bt.jsx)("div",{className:"surface-layout-flow page-continuous-content",children:t({content:{type:"doc",content:n.content??[]},parentId:n.attrs.id,ids:(n.content??[]).map(s=>s.attrs.id),kind:"children",renderModule:s=>(0,Bt.jsx)(Ls,{node:s,document:e,positioned:!1,spatial:a,renderContent:t,renderSurface:o})})});let l=[];for(let s of n.content??[])if(["region","richText","surface","drawing"].includes(s.type??""))l.push(s);else{let c=l.at(-1);Array.isArray(c)?c.push(s):l.push([s])}return(!l.length||!r.readOnly&&!Array.isArray(l.at(-1)))&&l.push([]),(0,Bt.jsx)("div",{className:"surface-layout-flow",children:l.map((s,c)=>Array.isArray(s)?(0,Bt.jsx)("div",{children:t({content:{type:"doc",content:s},parentId:n.attrs.id,ids:s.map(d=>d.attrs.id),kind:"children"})},`flow-${c}`):(0,Bt.jsx)(Ls,{node:s,document:e,positioned:!1,spatial:a,renderContent:t,renderSurface:o},s.attrs.id))})}let i=hu(e)?V1(e,n):d6(e);return(0,Bt.jsx)(Bt.Fragment,{children:i.map(l=>(0,Bt.jsx)(Ls,{node:l,document:e,positioned:a,spatial:a,renderContent:t,renderSurface:o},l.attrs.id))})}var rn=W(De(),1);var hd=class{constructor(t,a,n=!1){this.ruler=n;this.startTime=t.timeStamp,this.origin=a(t.clientX,t.clientY);let o=a(t.clientX+1,t.clientY),r=a(t.clientX,t.clientY+1);this.ax={x:o.x-this.origin.x,y:o.y-this.origin.y},this.ay={x:r.x-this.origin.x,y:r.y-this.origin.y},this.clientOrigin={x:t.clientX,y:t.clientY},this.pointerId=t.pointerId}ruler;nextId=1;startTime;seen=new Map;origin;ax;ay;direction;pointerId;clientOrigin;get worldOrigin(){return{...this.origin}}convert(t,a){let n=t.clientX-this.clientOrigin.x,o=t.clientY-this.clientOrigin.y,r=n*this.ax.x+o*this.ay.x,i=n*this.ax.y+o*this.ay.y;if(this.ruler){let g=Math.hypot(r,i);if(!this.direction&&g>0&&a!==0&&(this.direction={x:r/g,y:i/g}),this.direction){let b=r*this.direction.x+i*this.direction.y;r=b*this.direction.x,i=b*this.direction.y}}let l=t.pointerType==="pen"?t.pressure:1,s=Math.tan((t.tiltX??0)*Math.PI/180),c=Math.tan((t.tiltY??0)*Math.PI/180),f=((Number.isFinite(t.azimuthAngle)?t.azimuthAngle:Math.atan2(c,s))+Math.atan2(this.ax.y,this.ax.x)+2*Math.PI)%(2*Math.PI),u=Number.isFinite(t.altitudeAngle)?t.altitudeAngle:Math.atan2(1,Math.hypot(s,c));return{id:a,x:r,y:i,time:(t.timeStamp-this.startTime)/1e3,force:l,azimuth:f,altitude:u,expectedProperties:0,estimationIndex:0,updatesTimedOut:!1}}batch(t,a=!0){let n={actual:[],predicted:[],corrections:[]},o=a?t.getCoalescedEvents?.()??[]:[],r=a?o.length?o:[t]:[];for(let l of r){if(l.pointerId!==this.pointerId)continue;let s=JSON.stringify([l.timeStamp,l.clientX,l.clientY]),c=this.seen.get(s),d=this.convert(l,c?.id??this.nextId);c?(d.x=c.x,d.y=c.y,(d.force!==c.force||d.azimuth!==c.azimuth||d.altitude!==c.altitude)&&(n.corrections.push(d),this.seen.set(s,d))):(this.nextId++,this.seen.set(s,d),n.actual.push(d))}let i=t.getPredictedEvents?.()??[];for(let l of i.slice(0,128))l.pointerId===this.pointerId&&n.predicted.push(this.convert(l,0));return n}};var on=W(de(),1);function Yh({pageId:e,boardId:t,tool:a,color:n,width:o,pressure:r,camera:i,panHeld:l,ruler:s,point:c,name:d}){let f=(0,rn.useContext)(fd);if(!f)throw new Error("Editable cubic input requires its actual source owner");let u=(0,rn.useRef)(null),g=(0,rn.useRef)(null),[,b]=(0,rn.useState)(0),p=(0,rn.useRef)(0),x=()=>{p.current||(p.current=requestAnimationFrame(()=>{p.current=0,b(k=>k+1)}))},h=()=>{let k=g.current;k&&(g.current=null,k.contact.finish(),u.current?.hasPointerCapture(k.adapter.pointerId)&&u.current.releasePointerCapture(k.adapter.pointerId),x())},m=(0,rn.useRef)({point:c,color:n,width:o,pressure:r,tool:a,ruler:s,camera:i,name:d,finish:h});m.current={point:c,color:n,width:o,pressure:r,tool:a,ruler:s,camera:i,name:d,finish:h},(0,rn.useEffect)(()=>{let k=u.current,w=P=>{let j=P,T=g.current;!T||j.pointerId!==T.adapter.pointerId||(T.raw=!0,T.contact.push(T.adapter.batch(j)))},z=()=>m.current.finish();return k.addEventListener("pointerrawupdate",w),window.addEventListener("blur",z),()=>{k.removeEventListener("pointerrawupdate",w),window.removeEventListener("blur",z),m.current.finish(),cancelAnimationFrame(p.current)}},[]);let v=k=>{let w=g.current;w?.adapter.pointerId===k.pointerId&&w.contact.push(w.adapter.batch(k,!w.raw))};return(0,on.jsx)(on.Fragment,{children:(0,on.jsx)("svg",{ref:u,className:"board-drawing-input","data-board-drawing-input":!0,"data-cubic-input":"2","data-drawing-active":!!g.current,"aria-label":d,tabIndex:0,onPointerDown:k=>{if(!f.owner||f.owner.disposed||k.defaultPrevented||k.button!==0||l.current||g.current||yo(k.pointerType))return;k.preventDefault(),k.stopPropagation(),k.currentTarget.focus({preventScroll:!0}),k.currentTarget.setPointerCapture(k.pointerId);let w=m.current,z=new hd(k.nativeEvent,w.point,w.ruler),P=crypto.randomUUID(),j=f.begin({strokeId:P,pageId:e,boardId:t,tool:w.tool,color:w.color,width:w.width,pressure:w.pressure,creationZoom:w.camera.current.scale,origin:z.worldOrigin,name:w.name},z.batch(k.nativeEvent));g.current={adapter:z,contact:j,raw:!1,id:P,origin:z.worldOrigin,chunks:[],color:w.color,opacity:w.tool==="highlighter"?.35:1,generation:0},x()},onKeyDown:k=>{if(k.key==="Escape"&&g.current){k.preventDefault(),k.stopPropagation();let w=g.current;g.current=null,w.contact.cancel(),k.currentTarget.hasPointerCapture(w.adapter.pointerId)&&k.currentTarget.releasePointerCapture(w.adapter.pointerId),x()}},onPointerMove:k=>v(k.nativeEvent),onPointerUp:k=>{g.current?.adapter.pointerId===k.pointerId&&(k.preventDefault(),k.stopPropagation(),g.current.contact.push(g.current.adapter.batch(k.nativeEvent,!0)),h())},onPointerCancel:k=>{g.current?.adapter.pointerId===k.pointerId&&h()},onLostPointerCapture:k=>{g.current?.adapter.pointerId===k.pointerId&&!k.currentTarget.hasPointerCapture(k.pointerId)&&h()}})})}function Jh({boardId:e,camera:t}){let a=le(la),n=(0,rn.useContext)(fd),o=(0,rn.useRef)(null),[,r]=(0,rn.useState)(0);if((0,rn.useEffect)(()=>{if(!n)return;let l=0,s=()=>{l||(l=requestAnimationFrame(()=>{l=0,r(f=>f+1)}))},c=n.subscribe(s),d=o.current?.closest(".page-surface");return d?.addEventListener("showai:viewport-change",s),()=>{c(),cancelAnimationFrame(l),d?.removeEventListener("showai:viewport-change",s)}},[n]),!n)return null;let i=n.error(e);return(0,on.jsxs)(on.Fragment,{children:[(0,on.jsx)("svg",{ref:o,className:"board-drawing-input","data-cubic-preview":"2",style:{pointerEvents:"none"},"aria-hidden":"true",children:(0,on.jsx)("g",{transform:`translate(${t.current.x} ${t.current.y}) scale(${t.current.scale})`,children:n.previews(e).map(({options:l,chunks:s})=>(0,on.jsx)("g",{transform:`translate(${l.origin.x} ${l.origin.y})`,opacity:l.tool==="highlighter"?.35:1,children:[!1,!0].map(c=>(0,on.jsx)("g",{className:c?"board-ink-dark":"board-ink-light",fill:Js(l.color,c),stroke:"none",children:s.map(d=>(0,on.jsx)("path",{d:d.path},d.start))},String(c)))},l.strokeId))})}),i&&(0,on.jsxs)("div",{className:"surface-save-error",role:"alert","data-surface-ui":!0,children:[String(i)," ",(0,on.jsx)("button",{onClick:()=>{n.retry().catch(l=>console.error("Retained cubic input retry failed",l))},children:a("retry")})]})]})}var Pn=W(De(),1),$h=W(Vn(),1);rt(`.studio-tree-row{--row-menu-size: 28px;--row-menu-inset: 4px;position:relative}.studio-context-menu-shortcut{margin-left:auto;padding-left:16px;color:var(--muted);font-size:11px;white-space:nowrap}.studio-tree-row[data-library-draggable=true] .studio-tree-main{cursor:grab}.studio-tree-row[data-library-draggable=true]{touch-action:none}.library-drag-active,.library-drag-active *{user-select:none!important}.studio-tree-row>.studio-tree-main{padding-right:calc(var(--row-menu-size) + 2 * var(--row-menu-inset));transition:padding-right .18s cubic-bezier(.2,.7,.2,1)}.studio-tree-row[data-pinned=true]>.studio-tree-main{padding-right:var(--row-menu-inset)}.studio-tree-pin-slot{display:grid;place-items:center;flex-shrink:0;width:var(--row-menu-size);height:18px}.studio-tree-row>.studio-row-menu{position:absolute;top:50%;right:var(--row-menu-inset);width:var(--row-menu-size);margin:0;transform:translateY(-50%);z-index:1;transition:opacity .12s ease,background .1s ease}.studio-tree-row:is(:hover,:focus-within,:has(>.studio-row-menu[aria-expanded=true]))>.studio-row-menu{opacity:1;pointer-events:auto;transition-delay:40ms,0ms}.studio-tree-row[data-pinned=true]:is(:hover,:focus-within,:has(>.studio-row-menu[aria-expanded=true]))>.studio-tree-main{padding-right:calc(var(--row-menu-size) + 2 * var(--row-menu-inset))}@media(hover:none){.studio-tree-row[data-pinned=true]>.studio-tree-main{padding-right:calc(var(--row-menu-size) + 2 * var(--row-menu-inset))}.studio-tree-row>.studio-row-menu{opacity:1;pointer-events:auto}}@media(prefers-reduced-motion:reduce){.studio-tree-row>.studio-tree-main,.studio-tree-row>.studio-row-menu{transition:none}}.studio-context-menu-control{padding:8px;min-width:0}.studio-context-menu-control-label{display:flex;align-items:center;gap:8px;margin-bottom:8px;font-size:13px;line-height:20px}.studio-context-menu-control-label>svg{color:var(--muted);flex-shrink:0}.library-drag-placeholder{opacity:.24;pointer-events:none;user-select:none}.library-drag-placeholder .studio-row-menu{visibility:hidden}.library-drag-ghost,.studio-page-list.library-drag-ghost{position:fixed;inset:0 auto auto 0;z-index:10000;display:block;margin:0;padding:0;border:0;pointer-events:none;opacity:.78;background:var(--paper, var(--bg));border-radius:7px;box-shadow:0 7px 20px #00000012;will-change:transform}.library-drag-ghost>:is(.studio-tree-row,.studio-page-list-row){width:100%;height:100%;box-sizing:border-box}.library-drag-ghost .studio-row-menu{visibility:hidden}.library-drag-active .studio-page-list-row{touch-action:none}.library-drag-active [data-library-id]{will-change:transform}.studio-context-menu-group{padding:6px 8px 2px;color:var(--muted);font-size:11px;line-height:16px}.studio-context-menu-text{display:flex;flex-direction:column;min-width:0}.studio-context-menu-description{color:var(--muted);font-size:12px;line-height:16px;white-space:normal;max-width:260px}
45
+ `);var Ra=W(de(),1);function NC({item:e}){return(0,Ra.jsxs)("div",{className:"studio-context-menu-control",role:"none",children:[(0,Ra.jsxs)("div",{className:"studio-context-menu-control-label",children:[e.icon,(0,Ra.jsx)("span",{children:e.label})]}),e.control]})}function Xh(e){return[...e.querySelectorAll('button[role="menuitem"],button[role="menuitemradio"],input[type="range"]')].filter(t=>!t.disabled)}function Qh({anchor:e,portalRoot:t,point:a,label:n,items:o,onClose:r}){let i=(0,Pn.useId)(),l=(0,Pn.useRef)(null),s=(0,Pn.useRef)(r);s.current=r;let c=(0,Pn.useRef)(!0),d=(0,Pn.useRef)(!1),f=(0,Pn.useRef)({value:"",time:0}),[u,g]=(0,Pn.useState)(null);(0,Pn.useLayoutEffect)(()=>{let x=l.current,h=e.ownerDocument,m=h.defaultView;if(!x||!m||!e.isConnected){s.current();return}c.current=!0,d.current=!1;let v=e.getAttribute("aria-expanded"),k=e.getAttribute("aria-controls");e.setAttribute("aria-expanded","true"),e.setAttribute("aria-controls",i);let w=()=>{if(!e.isConnected){s.current();return}let S=e.getBoundingClientRect(),B=m.innerWidth,O=m.innerHeight;if(S.bottom<0||S.top>O||S.right<0||S.left>B){s.current();return}let N=8,V=a?0:5,R=a?{left:a.x,right:a.x,top:a.y,bottom:a.y}:S,E=Math.max(0,B-N*2),D=Math.min(x.getBoundingClientRect().width,E),M=Math.max(0,O-R.bottom-V-N),Z=Math.max(0,R.top-V-N),U=x.scrollHeight,F=U>M&&Z>M,_=Math.max(0,Math.min(O-N*2,F?Z:M)),X=Math.min(U,_),q=R.left;q+D>B-N&&(q=R.right-D),q=Math.max(N,Math.min(q,B-N-D));let I=Math.max(N,Math.min(F?R.top-V-X:R.bottom+V,O-N-X)),C={left:q,top:I,maxWidth:E,maxHeight:_};g(G=>G&&Object.keys(C).every(H=>G[H]===C[H])?G:C)},z=S=>{let B=S.target;!B||x.contains(B)||e.contains(B)||(c.current=!1,s.current())},P=S=>{let B=S.target;B&&!x.contains(B)&&!e.contains(B)&&(c.current=!1,s.current())},j=S=>{S.target instanceof Node&&x.contains(S.target)||(a?s.current():w())};w(),h.addEventListener("pointerdown",z,!0),h.addEventListener("focusin",P),m.addEventListener("resize",w),m.addEventListener("scroll",j,!0);let T=new ResizeObserver(w);return T.observe(e),T.observe(x),()=>{T.disconnect(),h.removeEventListener("pointerdown",z,!0),h.removeEventListener("focusin",P),m.removeEventListener("resize",w),m.removeEventListener("scroll",j,!0),v===null?e.removeAttribute("aria-expanded"):e.setAttribute("aria-expanded",v),k===null?e.removeAttribute("aria-controls"):e.setAttribute("aria-controls",k),c.current&&e.isConnected&&e.focus({preventScroll:!0})}},[e,a,i]),(0,Pn.useLayoutEffect)(()=>{let x=l.current;!u||!x||d.current||(d.current=!0,(Xh(x)[0]??x).focus({preventScroll:!0}))},[u,e,a]);let b=x=>{let h=l.current;if(!h)return;let m=Xh(h),v=e.ownerDocument,k=m.findIndex(w=>w===v.activeElement);if(["ArrowDown","ArrowUp","Home","End"].includes(x.key)){if(x.preventDefault(),x.stopPropagation(),!m.length)return;let w=x.key==="Home"?0:x.key==="End"?m.length-1:k<0?x.key==="ArrowDown"?0:m.length-1:(k+(x.key==="ArrowDown"?1:-1)+m.length)%m.length;m[w].focus();return}if(x.key==="Escape"){x.preventDefault(),x.stopPropagation(),s.current();return}if(x.key==="Tab"){x.preventDefault(),x.stopPropagation();let w=[...v.querySelectorAll('button:not(:disabled),a[href],input:not(:disabled),select:not(:disabled),textarea:not(:disabled),[tabindex],iframe,[contenteditable="true"]')].filter(j=>!h.contains(j)&&j.tabIndex>=0&&j.getClientRects().length>0&&!j.closest('[inert],[aria-hidden="true"]')),z=w.indexOf(e),P=z<0?w[x.shiftKey?w.length-1:0]:w[z+(x.shiftKey?-1:1)];c.current=!1,s.current(),queueMicrotask(()=>{P?.isConnected?P.focus({preventScroll:!0}):e.isConnected&&e.focus({preventScroll:!0})});return}if(x.key.length===1&&x.key!==" "&&!x.ctrlKey&&!x.metaKey&&!x.altKey&&!x.nativeEvent.isComposing){let w=Date.now(),z=x.key.toLocaleLowerCase();f.current={value:w-f.current.time>700?z:f.current.value+z,time:w};let j=[...m.slice(k+1),...m.slice(0,k+1)].find(T=>T.textContent?.trim().toLocaleLowerCase().startsWith(f.current.value));j&&(x.preventDefault(),j.focus())}},p={position:"fixed",left:u?.left??0,top:u?.top??0,maxWidth:u?.maxWidth??"calc(100vw - 16px)",maxHeight:u?.maxHeight??"calc(100vh - 16px)",overflowY:"auto",visibility:u?"visible":"hidden"};return(0,$h.createPortal)((0,Ra.jsx)("div",{id:i,ref:l,role:"menu","aria-label":n,tabIndex:-1,className:"studio-context-menu",style:p,onKeyDown:b,onContextMenu:x=>x.preventDefault(),children:o.map((x,h)=>(0,Ra.jsxs)("div",{role:"none",children:[(x.separatorBefore||!!x.group&&x.group!==o[h-1]?.group)&&h>0&&(0,Ra.jsx)("div",{role:"separator",className:"studio-context-menu-separator"}),x.group&&x.group!==o[h-1]?.group&&(0,Ra.jsx)("div",{role:"presentation",className:"studio-context-menu-group",children:x.group}),x.control?(0,Ra.jsx)(NC,{item:x}):(0,Ra.jsxs)("button",{type:"button",role:x.checked===void 0?"menuitem":"menuitemradio","aria-checked":x.checked,tabIndex:-1,className:`studio-context-menu-item${x.danger?" danger":""}`,disabled:x.disabled,onClick:()=>{s.current(),x.onSelect?.()},children:[x.icon&&(0,Ra.jsx)("span",{className:"studio-context-menu-icon","aria-hidden":"true",children:x.icon}),x.description?(0,Ra.jsxs)("span",{className:"studio-context-menu-text",children:[(0,Ra.jsx)("span",{children:x.label}),(0,Ra.jsx)("span",{className:"studio-context-menu-description",children:x.description})]}):(0,Ra.jsx)("span",{children:x.label}),x.shortcut&&(0,Ra.jsx)("span",{className:"studio-context-menu-shortcut","aria-hidden":"true",children:x.shortcut})]})]},`${h}-${x.label}`))}),t??e.ownerDocument.body)}function ey(e,t,a){let n=Zt(e.content),o=t.filter(r=>n.get(r)?.node.type==="surface"&&n.get(r)?.node.attrs?.kind==="page"&&a[r]);return Object.keys(a).filter(r=>{let i=n.get(r);if(!i||a[r].locked||t.includes(r))return!1;let l=i.node;return l.type==="drawing"||(l.attrs?.nativeInk??l.attrs?.data?.nativeInk)?o.some(s=>n.get(s)?.parent===i.parent&&O1(l,a[r],Or(a[s]),!1)):!1})}var ty=W(Vn(),1);var On=W(De(),1);var DC=kt(tt);function ay({document:e,geometry:t,containerId:a,world:n,camera:o,onTransform:r,onSelect:i,selected:l}){let[s,c]=(0,On.useState)(new Set),d=(0,On.useRef)({document:e,onTransform:r,onSelect:i,selected:l});d.current={document:e,onTransform:r,onSelect:i,selected:l};let f=(0,On.useMemo)(()=>e?Zt(e.content):new Map,[e?.content]),u=l?Is(f,e?.layout,a,l):a,g=T=>!!u&&Is(f,e?.layout,a,T)===u,b=new Set([...l&&s.has(l)?s:new Set(l?[l]:[])].filter(g)),p=(0,On.useRef)(b);p.current=b;let x=(0,On.useRef)(null),h=()=>{let T=x.current,S=T?.parentElement;if(!T||!S)return;let B=S.getBoundingClientRect(),O=n.current.closest(".page-surface"),N=S.offsetWidth?B.width/S.offsetWidth:o.current.scale*(O.getBoundingClientRect().width/O.clientWidth||1),V=[...p.current].flatMap(D=>{let M=n.current?.querySelector(`[data-surface-id="${CSS.escape(D)}"]`);return M?[(M.querySelector(":scope > .board-object-outline")??M).getBoundingClientRect()]:[]});if(!V.length)return;let R=Math.min(...V.map(D=>D.left)),E=Math.min(...V.map(D=>D.top));Object.assign(T.style,{left:`${(R-B.left)/N}px`,top:`${(E-B.top)/N}px`,width:`${(Math.max(...V.map(D=>D.right))-R)/N}px`,height:`${(Math.max(...V.map(D=>D.bottom))-E)/N}px`})},m=[...b].join(":");(0,On.useLayoutEffect)(()=>{if(b.size<2||!r)return;let T=n.current?.querySelector(`[data-surface-id="${CSS.escape([...b][0])}"]`);if(!T?.parentElement)return;let S=e?window.document.createElement("div"):null;if(!S)return;S.className="board-group-outline";let B=[...b].every(V=>{let R=f.get(V)?.node;return R?.type==="drawing"||!!(R?.attrs?.nativeInk??R?.attrs?.data?.nativeInk)});S.dataset.drawingSelection=String(B);let O=[...b].some(V=>n.current?.querySelector(`[data-surface-id="${CSS.escape(V)}"]`)?.dataset.boardFixedHeight==="true"),N=[...b].some(V=>e?.layout?.[V]?.locked);for(let V of N?[]:B?["nw","ne","se","sw"]:O?["nw","n","ne","e","se","s","sw","w"]:["e","w"]){let R=window.document.createElement("button");R.type="button",R.className=`board-resize-handle handle-${V}`,R.dataset.surfaceUi="true",R.dataset.surfaceHandle="true",R.dataset.resizeDirection=V,R.dataset.groupTarget=[...b][0],R.tabIndex=-1,R.setAttribute("aria-label",DC("board.groupHandles",{count:b.size})),S.append(R)}return T.parentElement.append(S),x.current=S,h(),()=>{S.remove(),x.current=null}},[m,e?.layout,r]);let v=(0,On.useRef)(null),k=(T,S=!1)=>{let B=S?new Set(p.current):new Set;T&&(S&&B.has(T)?B.delete(T):B.add(T)),p.current=B,c(B),i(B.has(T)?T:[...B].at(-1)??null)},w=(T,S)=>({...T,contentSize:void 0,height:S.dataset.surfaceMounted==="false"&&Co(T)||S.offsetHeight}),z=(T,S)=>{T.style.left=`${S.x}px`,T.style.top=`${S.y}px`,T.style.width=`${S.width}px`,T.dataset.boardFixedHeight==="true"&&(T.style.height=`${S.height}px`),T.style.transform=S.rotation?`rotate(${S.rotation}deg)`:""},P=()=>{let T=v.current;if(!T)return;cancelAnimationFrame(T.raf),T.guides.remove();let S=d.current.document&&(t?.materialize(d.current.document)??d.current.document);for(let B of new Set([...Object.keys(T.frames),...T.affectedArrows])){let O=T.elements.get(B),N=S?.layout?.[B];if(N&&z(O,N),T.arrows.get(B)?.node.attrs?.tool==="arrow"){let V=O.querySelector(".board-drawing path"),R=O.dataset.boardOriginalPath;V&&R!==void 0&&V.setAttribute("d",R),R!==void 0&&O.querySelector(".board-drawing-selection > g > path")?.setAttribute("d",R),delete O.dataset.boardOriginalPath}}v.current=null,t?.endGesture(),h()};(0,On.useEffect)(()=>()=>P(),[]);let j=()=>{let T=v.current,S=T?.input;if(!T||!S||!T.moved&&Math.hypot(S.clientX-T.start.x,S.clientY-T.start.y)<3)return;if(T.moved=!0,!T.layer.isConnected){P();return}let B=T.layer.getBoundingClientRect(),O={x:0,y:0,scale:T.scale},N=mu(T.start,T.origin,O),V=mu({x:S.clientX,y:S.clientY},{x:B.left,y:B.top},O),R=V.x-N.x,E=V.y-N.y,D=T.kind.startsWith("resize"),M=T.kind==="resize"?"se":T.kind.slice(7),Z=Object.keys(T.frames),U=Z.length===1,F=U?T.arrows.get(Z[0]).node:void 0,_=U?{width:F?.type==="drawing"?1:120,height:F?.type==="surface"?180:1}:D?$5(T.bounds,Z.map(he=>({frame:T.measured[he],minWidth:T.arrows.get(he).node.type==="drawing"?1:120,minHeight:T.arrows.get(he).node.type==="surface"?180:1,resizeHeight:T.elements.get(he)?.dataset.boardFixedHeight==="true"}))):{width:1,height:1},X=U?T.measured[Z[0]]:T.bounds,q=D&&(S.shiftKey||!U&&Z.some(he=>!!T.frames[he].rotation)),I=D&&S.altKey,C=!D&&T.kind==="move"&&S.shiftKey?Math.abs(R)>=Math.abs(E)?"x":"y":null,G=D?P1(X,I?{x:R*2,y:E*2}:{x:R,y:E},M,_,q):{...T.bounds,x:T.bounds.x+(C==="y"?0:R),y:T.bounds.y+(C==="x"?0:E)};I&&(G={...G,x:X.x+(X.width-G.width)/2,y:X.y+((X.height??0)-(G.height??0))/2});let H=S.metaKey||S.ctrlKey||I||T.kind==="rotate"?{frame:G,guides:[]}:D?X5(G,T.snap,T.scale,M,_,q):J5(G,T.snap,T.scale);if(G=H.frame,T.kind==="move"){let he=gu(Object.values(T.frames),{x:G.x-T.bounds.x,y:G.y-T.bounds.y}),Me=T.bounds.x+he.x,Ze=T.bounds.y+he.y;H.guides=H.guides.filter(Ye=>Ye.axis==="x"?Math.abs(Me-G.x)<.001:Math.abs(Ze-G.y)<.001),G={...G,x:C==="y"?T.bounds.x:Me,y:C==="x"?T.bounds.y:Ze}}T.guides.replaceChildren();for(let he of H.guides){let Me=window.document.createElementNS("http://www.w3.org/2000/svg","line"),Ze=he.axis==="x";Me.setAttribute("x1",String(Ze?he.value:he.from)),Me.setAttribute("x2",String(Ze?he.value:he.to)),Me.setAttribute("y1",String(Ze?he.from:he.value)),Me.setAttribute("y2",String(Ze?he.to:he.value)),Me.setAttribute("vector-effect","non-scaling-stroke"),he.kind==="gap"&&Me.setAttribute("stroke-dasharray","4 3"),T.guides.append(Me)}let ge=T.arrows;for(let[he,Me]of Object.entries(T.frames)){let Ze;if(T.kind==="rotate"){let Ye=T.measured[he],Je=B.left+(Ye.x+Ye.width/2)*T.scale,wt=B.top+(Ye.y+(Ye.height??0)/2)*T.scale,Xe=Math.atan2(S.clientY-wt,S.clientX-Je)-Math.atan2(T.start.y-wt,T.start.x-Je),Ae=(Me.rotation??0)+Xe*180/Math.PI;S.shiftKey&&(Ae=Math.round(Ae/15)*15),Ze=$s(ge.get(he).node,Me,{...T.measured[he],rotation:(Ae+540)%360-180})}else if(D){let Ye=ge.get(he).node,Je=Ye.type==="drawing",wt=G.width/T.bounds.width,Xe=(G.height??1)/(T.bounds.height||1);Ze={...Me,x:G.x+(T.measured[he].x-T.bounds.x)*wt,y:G.y+(T.measured[he].y-T.bounds.y)*Xe,width:Math.max(Je?1:120,Math.min(1e4,T.measured[he].width*wt)),...T.elements.get(he)?.dataset.boardFixedHeight==="true"?{height:Math.max(Ye.type==="surface"?180:1,Math.min(1e6,(T.measured[he].height??1)*Xe))}:{}},U&&(Ze={...G},T.elements.get(he)?.dataset.boardFixedHeight!=="true"&&(Ze.height=Me.height,Ze.y=Me.y)),Je&&(Ze=$s(Ye,Me,Ze))}else Ze={...Me,x:Me.x+G.x-T.bounds.x,y:Me.y+G.y-T.bounds.y};T.next[he]=Ze,z(T.elements.get(he),Ze)}if(h(),!T.affectedArrows.length)return;let re={...T.source.layout,...T.next};for(let he of T.affectedArrows){let Me=ge.get(he),Ze=T.elements.get(he),Ye=Ze.querySelector(".board-drawing"),Je=Ye?.querySelector("path");if(!Ye||!Je)continue;Ze.dataset.boardOriginalPath===void 0&&(Ze.dataset.boardOriginalPath=Je.getAttribute("d")??"");let[wt,Xe]=H1(Me.node,re[he],ge,re).map(K=>({x:(K.x-re[he].x)*Me.node.attrs.extent[0]/re[he].width,y:(K.y-re[he].y)*Me.node.attrs.extent[1]/(re[he].height??1)})),Ae=Qs(wt,Xe,Me.node.attrs.strokeWidth);Je.setAttribute("d",Ae),Ze.querySelector(".board-drawing-selection > g > path")?.setAttribute("d",Ae)}};return{ids:b,lassoHit(T){let S=n.current,B=d.current.document;if(!S||!B)return[];let O=[];for(let N of S.querySelectorAll(".surface-object[data-surface-id]")){if(N.closest(".page-surface")!==S.closest(".page-surface"))continue;let V=N.dataset.surfaceId,R=f.get(V),E=B.layout?.[V];if(!R||!E||!Is(f,B.layout,a,V))continue;let D=N.parentElement,M=D.getBoundingClientRect(),Z=S.closest(".page-surface"),U=Z.getBoundingClientRect().width/Z.clientWidth||1,F=M.width/D.offsetWidth||o.current.scale*U,_=T.map(X=>({x:(X.x-M.left)/F,y:(X.y-M.top)/F}));Q5(R.node,w(E,N),_,1/F)&&O.push(V)}return O},selectionHit(T,S){if(!p.current.size)return null;let B=[...p.current].flatMap(E=>{let D=n.current?.querySelector(`[data-surface-id="${CSS.escape(E)}"]`);return D?[(D.querySelector(":scope > .board-object-outline")??D).getBoundingClientRect()]:[]});if(!B.length)return null;let O=Math.min(...B.map(E=>E.left)),N=Math.max(...B.map(E=>E.right)),V=Math.min(...B.map(E=>E.top)),R=Math.max(...B.map(E=>E.bottom));return T>=O-8&&T<=N+8&&S>=V-8&&S<=R+8?[...p.current][0]:null},edgeHit(T,S){let B=this.hitTest(T,S,!1);if(!B)return null;if(B.node.type==="drawing")return B;let O=B.element.getBoundingClientRect();return Math.min(Math.abs(T-O.left),Math.abs(T-O.right),Math.abs(S-O.top),Math.abs(S-O.bottom))<=10?B:null},drawingSnapIndex(){let T=d.current.document,S=[];for(let B of n.current?.children??[]){if(!(B instanceof HTMLElement))continue;let O=B.dataset.surfaceId,N=O&&T?.layout?.[O],V=O&&f.get(O)?.node;O&&N&&V&&V.attrs?.tool!=="arrow"&&S.push({id:O,frame:xl(V,w(N,B))})}return fu(S)},createHitTest(T=8,S="paint"){let B=n.current,O=d.current.document;if(!B||!O)return()=>null;let N=new Map,V=[],R=B.closest(".page-surface").getBoundingClientRect();for(let E of B.querySelectorAll(".surface-object[data-surface-id]")){if(E.dataset.erasing==="true"||E.closest(".page-surface")!==B.closest(".page-surface"))continue;let D=E.dataset.surfaceId,M=f.get(D),Z=O.layout?.[D];if(!M||!Z||!Is(f,O.layout,a,D))continue;let U=E.parentElement;if(!N.has(U)){let _=U.getBoundingClientRect();N.set(U,{left:_.left,top:_.top,scale:_.width/U.offsetWidth||o.current.scale})}let F=N.get(U);V.push({id:D,node:M.node,element:E,frame:w(Z,E),box:F,labelRect:M.node.type==="drawing"&&M.node.attrs?.tool==="arrow"?E.querySelector(".board-drawing-label")?.getBoundingClientRect():void 0,tolerance:Math.max(T/F.scale,M.node.type==="drawing"?M.node.attrs.strokeWidth/2*Math.max(Z.width/M.node.attrs.extent[0],Co(Z)/M.node.attrs.extent[1]):0),scale:F.scale,viewport:{x:(R.left-F.left)/F.scale,y:(R.top-F.top)/F.scale,width:R.width/F.scale,height:R.height/F.scale}})}return(E,D,M=!0)=>{let Z=V.filter(_=>_.element.isConnected&&_.element.dataset.erasing!=="true").map(_=>({..._,point:{x:(E-_.box.left)/_.box.scale,y:(D-_.box.top)/_.box.scale}})),U=S==="selection"?a6(Z):t6(Z,M),F;for(let _ of Z){if(_.node.type!=="drawing"||_.node.attrs?.tool!=="arrow")continue;let X=_.labelRect;X&&E>=X.left&&E<=X.right&&D>=X.top&&D<=X.bottom&&(F=_)}return!F||U&&U.element!==F.element&&F.element.compareDocumentPosition(U.element)&Node.DOCUMENT_POSITION_FOLLOWING?U:F}},selectionTarget(T,S){return this.createHitTest(8,"selection")(T,S)},hitTest(T,S,B=!0,O=8){return this.createHitTest(O)(T,S,B)},select:k,selectIds(T){let S=new Set(T);c(S),p.current=S,i([...S].at(-1)??null)},selectAll(){let T=d.current.document,S=T&&Zt(T.content).get(u??a)?.node,B=new Set((S?.content??[]).map(O=>O.attrs?.id).filter(O=>!!T?.layout?.[O]&&!T.layout[O].locked));c(B),p.current=B,i([...B].at(-1)??null)},nudge(T,S){let B=d.current.document;if(!B||!d.current.onTransform)return;let O=Object.fromEntries([...p.current].filter(V=>B.layout?.[V]&&!B.layout[V].locked).map(V=>[V,B.layout[V]])),N=gu(Object.values(O),{x:T,y:S});!Object.keys(O).length||!N.x&&!N.y||d.current.onTransform(Object.fromEntries(Object.entries(O).map(([V,R])=>[V,{...R,x:R.x+N.x,y:R.y+N.y}])),`nudge:${Object.keys(O).sort().join(",")}`)},measured(T){let S=d.current.document,B={};for(let O of T){let N=n.current?.querySelector(`[data-surface-id="${CSS.escape(O)}"]`),V=S?.layout?.[O],R=f.get(O)?.node;N&&V&&R&&(B[O]=Or(xl(R,w(V,N))))}return B},start(T,S,B){let O=d.current.document,N=n.current;if(!O||!N||!d.current.onTransform)return!1;let V=t?.materialize(O)??O;P();let R=Zt(V.content);if(!R.get(T)?.parent||!Is(R,V.layout,a,T))return!1;let D=N.querySelector(`[data-surface-id="${CSS.escape(T)}"]`),M=D?.parentElement;if(!M||D.closest(".page-surface")!==N.closest(".page-surface")||V.layout?.[T]?.locked)return!1;let Z=S==="rotate"?new Set([T]):p.current.has(T)?p.current:new Set([T]);(!Z.has(d.current.selected)||Z.size!==p.current.size)&&(c(Z),p.current=Z,i(T));let U=new Map;for(let C of M.children)C instanceof HTMLElement&&C.dataset.surfaceId&&U.set(C.dataset.surfaceId,C);let F={},_={};for(let[C,G]of U){let H=V.layout?.[C];H&&(_[C]=xl(R.get(C).node,w(H,G)),Z.has(C)&&!H.locked&&(F[C]=H))}if(S==="move")for(let C of ey(V,Object.keys(F),_))F[C]=V.layout[C];if(!F[T])return!1;let X=I1(Object.keys(F).flatMap(C=>{let G=Or(_[C]);return[{x:G.x,y:G.y},{x:G.x+G.width,y:G.y+G.height}]})),q=window.document.createElementNS("http://www.w3.org/2000/svg","svg");q.classList.add("board-snap-guides"),q.setAttribute("aria-hidden","true"),M.append(q),t?.beginGesture();let I=M.getBoundingClientRect();return v.current={source:V,origin:{x:I.left,y:I.top},layer:M,original:O,id:T,kind:S,start:{x:B.clientX,y:B.clientY},scale:U.get(T).getBoundingClientRect().width/Or(w(F[T],U.get(T))).width||o.current.scale,frames:F,measured:_,next:{...F},elements:U,bounds:X,guides:q,arrows:R,affectedArrows:[...R].filter(([C,G])=>G.node.type==="drawing"&&G.node.attrs?.tool==="arrow"&&U.has(C)&&Object.values(G.node.attrs.bindings??{}).some(H=>F[H.targetId])).map(([C])=>C),raf:0,input:null,moved:!1,snap:fu(Object.entries(_).filter(([C])=>!F[C]&&R.get(C)?.node.attrs?.tool!=="arrow").map(([C,G])=>({id:C,frame:G})))},!0},update(T){let S=v.current;S&&(S.input=T,S.raf||(S.raf=requestAnimationFrame(()=>{S.raf=0,j()})))},finish(){let T=v.current;if(!T)return;j();let S=d.current.document,B=Rh(T.original,S,Object.keys(T.frames)),O=Object.keys(T.frames).some(V=>JSON.stringify(T.next[V])!==JSON.stringify(T.frames[V])),N=T.next;(0,ty.flushSync)(()=>{P(),B&&O&&d.current.onTransform?.(N)})},cancel:P,marquee(T,S,B,O=!1){let N=S?new Set(B??p.current):new Set;for(let V of n.current?.children??[]){if(!(V instanceof HTMLElement))continue;let R=V.dataset.surfaceId,E=R&&d.current.document?.layout?.[R];R&&E&&!E.locked&&O1(f.get(R).node,w(E,V),T,O)&&N.add(R)}N.size===p.current.size&&[...N].every(V=>p.current.has(V))||(c(N),p.current=N,i([...N].at(-1)??null))}}}var qo=W(De(),1);function V4(e){let t=new Map,a=new Map,n=l=>{let s=t.get(l);return s||(s=getComputedStyle(l),t.set(l,s)),s},o=l=>{let s=a.get(l);return s||(s=l.getBoundingClientRect(),a.set(l,s)),s},r=l=>/^(auto|scroll|hidden|clip)$/.test(l),i=[];for(let l of e){let s=n(l);if(s.pointerEvents==="none"||s.visibility!=="visible")continue;let c=l.closest(":popover-open,:modal");for(let d of l.getClientRects()){let f=Math.max(0,d.left),u=Math.max(0,d.top),g=Math.min(innerWidth,d.right),b=Math.min(innerHeight,d.bottom);for(let p=l===c?null:l.parentElement;p;p=p.parentElement){let x=n(p),h=r(x.overflowX),m=r(x.overflowY),v=h||m?o(p):void 0;if(h&&(f=Math.max(f,v.left),g=Math.min(g,v.right)),m&&(u=Math.max(u,v.top),b=Math.min(b,v.bottom)),g<=f||b<=u||p===c)break}g>f&&b>u&&i.push({x:f,y:u,width:g-f,height:b-u})}}return i}function ny(e){function*t(){for(let a of e)(!a.closest('.page-surface[data-native-board-active="true"] > .surface-scroll > .surface-world')||a.closest(":popover-open,:modal"))&&(yield a)}return V4(t())}var Z4=e=>Number.isSafeInteger(e)&&e>=0;function G4(){return{scope:null,nativeRevision:0,webRevision:0,nextIntentRevision:0}}function oy(e,t){if(![t.x,t.y,t.scale].every(Number.isFinite)||t.scale<.01||t.scale>32)throw new TypeError("Invalid camera intent");if(!Z4(e.nextIntentRevision)||e.nextIntentRevision>=Number.MAX_SAFE_INTEGER)throw new RangeError("Camera intent revision exhausted");let a=e.nextIntentRevision+1;return{...e,nextIntentRevision:a,intent:Object.freeze({scope:e.scope,baseNativeRevision:e.nativeRevision,revision:a,camera:Object.freeze({...t})})}}function ry(e,t){if(typeof t.scope!="string"||!t.scope||!Z4(t.nativeRevision)||!Z4(t.webRevision))throw new TypeError("Invalid native camera authority");let a=e.scope!==null&&e.scope!==t.scope;if(!a&&(t.nativeRevision<e.nativeRevision||t.nativeRevision===e.nativeRevision&&t.webRevision<e.webRevision))return e;let n=e.intent,o=!a&&n&&n.revision>t.webRevision&&n.baseNativeRevision===t.nativeRevision?n:void 0;return{scope:t.scope,nativeRevision:t.nativeRevision,webRevision:t.webRevision,nextIntentRevision:a?t.webRevision:Math.max(e.nextIntentRevision,t.webRevision),...o?{intent:o}:{}}}var MC=new Set(["select","pen","highlighter","eraser","rectangle","ellipse","arrow","region","text","pan","lasso"]);function AC(e){if(!e||Object.keys(e).length!==6||!["tool","color","fillColor","width","pressure","ruler"].every(l=>Object.hasOwn(e,l)))throw new TypeError("Invalid native Board input configuration");let{tool:t,color:a,fillColor:n,width:o,pressure:r,ruler:i}=e;if(!MC.has(t)||typeof a!="string"||!a||a.length>256||typeof n!="string"||!n||n.length>256||!Number.isFinite(o)||o<.5||o>40||typeof r!="boolean"||typeof i!="boolean")throw new TypeError("Invalid native Board input configuration");return Object.freeze({tool:t,color:a,fillColor:n,width:o,pressure:r,ruler:i})}function F4(e,t){let a=AC(t);if(e&&Object.keys(a).every(n=>a[n]===e.control[n]))return e;if(e&&e.revision>=Number.MAX_SAFE_INTEGER)throw new RangeError("Native Board control revision exhausted");return Object.freeze({revision:(e?.revision??0)+1,control:a})}function vo(e,t){let a=typeof window>"u"?void 0:window.__showaiNativePerf;if(typeof a!="function")return t();let n=performance.now();try{return t()}finally{try{a(e,performance.now()-n)}catch{}}}var hn=W(De(),1);function u1(e,t,a){let n=new DOMMatrix;for(let r=e;r;r=r.parentElement){let i=getComputedStyle(r).transform;if(i==="none")continue;let l=new DOMMatrix(i);n=new DOMMatrix([l.a,l.b,l.c,l.d,0,0]).multiply(n)}let o=e.getBoundingClientRect();return n.e=o.left-Math.min(0,n.a*t,n.c*a,n.a*t+n.c*a),n.f=o.top-Math.min(0,n.b*t,n.d*a,n.b*t+n.d*a),n}var yd=e=>[e.a,e.b,e.c,e.d,e.e,e.f].map(t=>Math.round(t*1e6)/1e6);function iy(e,t,a){return vo("board.measureNativeBoard",()=>IC(e,t,a))}function IC(e,t,a){let n=u1(t,t.offsetWidth,t.offsetHeight).inverse(),o=[],r=new Map,i=l=>{l.attrs?.id&&r.set(l.attrs.id,l),l.content?.forEach(i)};a&&i(a.content);for(let l of t.querySelectorAll(".surface-object[data-surface-id]")){if(l.closest(".page-surface")!==e)continue;let s=getComputedStyle(l),c=z=>{let P=parseFloat(s[z]);return s.boxSizing!=="border-box"&&(P+=z==="width"?parseFloat(s.paddingLeft)+parseFloat(s.paddingRight)+parseFloat(s.borderLeftWidth)+parseFloat(s.borderRightWidth):parseFloat(s.paddingTop)+parseFloat(s.paddingBottom)+parseFloat(s.borderTopWidth)+parseFloat(s.borderBottomWidth)),P},d=c("width"),f=c("height");if(!(d>0&&f>0))throw new Error("Native object has no committed layout: "+l.dataset.surfaceId);let g=[...l.querySelectorAll("svg[data-native-ink],svg.board-drawing")].find(z=>z.closest("[data-surface-id]")===l)?.viewBox.baseVal,b=l.dataset.surfaceId,p=r.get(b),x=p?.attrs?.inkArchiveGroup?.extent??p?.attrs?.extent??p?.attrs?.nativeInk?.extent??p?.attrs?.data?.nativeInk?.extent,h=Array.isArray(x)&&x.length===2?x:g&&g.width>0&&g.height>0?[g.width,g.height]:[d,f],m=a?.layout?.[b],v=m?.height&&l.parentElement===t,k=v?new DOMMatrix(F5({...m,height:m.height},h)):n.multiply(u1(l,d,f)).scale(d/h[0],f/h[1]);g&&!v&&k.translateSelf(-g.x,-g.y);let w=[];for(let z=l.parentElement;z&&z!==t;z=z.parentElement){let P=getComputedStyle(z);if(![P.overflowX,P.overflowY].some(T=>T==="hidden"||T==="clip"||T==="auto"||T==="scroll"))continue;let j=z.closest("[data-surface-id]");w.push({ownerId:j?.dataset.surfaceId,matrix:yd(n.multiply(u1(z,z.offsetWidth,z.offsetHeight))),rect:[z.clientLeft,z.clientTop,z.clientWidth,z.clientHeight]})}o.push({id:l.dataset.surfaceId,size:h,cssSize:[d,f],matrix:yd(k),clips:w})}return o}function ly(e){let t=(0,hn.useRef)(e);t.current=e;let[a,n]=(0,hn.useState)(null),o=(0,hn.useRef)(G4()),r=(0,hn.useRef)(void 0),i=(0,hn.useRef)(null),l=(0,hn.useRef)(0),s=(0,hn.useRef)("pen"),c=e.enabled&&typeof window<"u"&&window.showai?.inlineInk?.nativeScene===!0,d=(0,hn.useRef)(void 0),f=e.document?.id+":"+e.boardId,u=c&&typeof window.showai?.inlineInk?.toolIntent=="function";return u&&(!d.current||d.current.key!==f)&&(d.current={key:f,record:F4(void 0,{tool:e.tool??"select",color:e.color,fillColor:e.fillColor??"none",width:e.width,pressure:e.pressure,ruler:e.ruler})},(e.tool==="pen"||e.tool==="highlighter")&&(s.current=e.tool)),e.control&&(e.control.current=u?{update(g){let b=d.current;b.record=F4(b.record,{...b.record.control,...g}),(g.tool==="pen"||g.tool==="highlighter")&&(s.current=g.tool),b.send?.()}}:null),(0,hn.useEffect)(()=>{i.current?.()}),(0,hn.useEffect)(()=>{let g=window.showai?.inlineInk;if(!(!c||!g||!e.document))return g.onCommand(b=>{let p=t.current;if(!(b.pageId!==p.document?.id||b.boardId!==p.boardId||b.token&&b.token!==r.current)){if(b.error)throw new Error(b.error);if(b.clearSelection&&p.onClearSelection(),b.selection&&p.onSelection?.(b.selection),b.layouts&&p.onLayout?.(b.layouts),b.activate&&p.onActivate?.(b.activate),b.cameraAuthority&&(o.current=ry(o.current,b.cameraAuthority)),b.camera){l.current=b.cameraVersion??l.current;let x=window.showaiApplyingNativeCamera;window.showaiApplyingNativeCamera=!0;try{let h=p.camera.current;(h.x!==b.camera.x||h.y!==b.camera.y||h.scale!==b.camera.scale)&&p.onCamera(b.camera,!0)}finally{window.showaiApplyingNativeCamera=x}}if(b.primitive){let x=b.primitive;if(!["rectangle","ellipse","arrow","region"].includes(x.tool))throw new Error("Unsupported native primitive");let h=gd(x.tool,x.style??{color:p.color,fillColor:p.fillColor??"none",strokeWidth:p.width},{origin:x.start,release:x.end,points:[x.start,x.end],moved:Math.hypot(x.end.x-x.start.x,x.end.y-x.start.y)*p.camera.current.scale>=3,scale:p.camera.current.scale});h.node.attrs.id=x.id,p.onDrawing?.(h.node,h.frame)}b.tool&&p.onTool(b.tool==="toggleEraser"?(d.current?.record.control.tool??p.tool)==="eraser"?s.current:"eraser":b.tool==="previous"?s.current:b.tool)}})},[c,e.document?.id,e.boardId]),(0,hn.useEffect)(()=>{let g=window.showai?.inlineInk,b=t.current,p=b.root.current,x=b.world.current;if(!c||!g||!p||!x||!b.document)return;o.current=G4(),l.current=0;let h=crypto.randomUUID(),m=d.current,v=typeof g.toolIntent=="function",k=()=>{if(!w||!v||!m)return;let _=m.record;g.toolIntent({pageId:b.document.id,boardId:b.boardId,token:h,..._}).catch(X=>{w&&p.dispatchEvent(new CustomEvent("showai:ink-error",{bubbles:!0,detail:String(X)}))})};r.current=h;let w=!0,z=!1,P=!1,j=0,T=!1,S="",B,O,N="",V,R,E=()=>{P=!0,w&&!z&&!j&&(j=requestAnimationFrame(()=>{j=0,D()}))},D=async()=>{P=!1;let _=t.current,X=_.document;if(!w||!X||vo("board.visibility",()=>!p.getClientRects().length||document.visibilityState==="hidden"))return;let q=vo("board.surfaceSize",()=>p.clientWidth+":"+p.clientHeight);(O!==X||N!==q)&&(V=iy(p,x,X),O=X,N=q);let I=vo("board.inkUIRegions",()=>ny(document.querySelectorAll("[data-surface-ui],.surface-toolbar,.studio-context-menu,.studio-modal-shade,.container-inspector,.studio-sidebar-shell:not([data-sidebar-mode=hidden]) .studio-sidebar,.studio-mobile-sidebar-edge,.studio-mobile-sidebar-scrim,.studio-mobile-navigation-tools"))),C=vo("board.surfaceStyle",()=>getComputedStyle(p)),G=v?m?.record:void 0,H=vo("board.packet",()=>({...G?{controlIntent:G}:{},token:h,pageId:X.id,boardId:_.boardId,nativeScene:!0,tool:_.tool??"select",color:_.color,fillColor:_.fillColor??"none",width:_.width,pressure:_.pressure,ruler:_.ruler,dark:document.documentElement.dataset.theme==="dark",widthPx:p.clientWidth,heightPx:p.clientHeight,viewport:vo("board.viewportMatrix",()=>yd(u1(p,p.offsetWidth,p.offsetHeight))),camera:{..._.camera.current},cameraVersion:l.current,...o.current.intent?{cameraIntent:o.current.intent}:{},selection:_.selection?.()??[],holes:I,grid:p.classList.contains("has-board-grid"),background:vo("board.backgroundColor",()=>C.backgroundColor)})),ge=vo("board.packetKey",()=>JSON.stringify(H));if(!(ge===S&&X===B&&V===R)){z=!0;try{p.dataset.nativeInkToken=h,v&&!T&&(T=!0,k());let re=await g.frame({...H,...V!==R?{objects:V}:{},document:X});if(!w||re===!1)return;S=ge,B=X,R=V,p.dataset.nativeBoardActive="true",n(he=>he?.token===h?he:{pageId:X.id,boardId:_.boardId,token:h})}catch(re){throw p.dispatchEvent(new CustomEvent("showai:ink-error",{bubbles:!0,detail:String(re)})),re}finally{z=!1,P&&E()}}};m&&(m.token=h,m.send=k),i.current=E;let M=new MutationObserver(_=>{_.some(X=>X.target!==x&&x.contains(X.target))&&(O=void 0),_.some(X=>X.target!==x&&X.attributeName!=="data-native-board-active")&&E()});M.observe(document.documentElement,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["style","class","hidden","open","data-sidebar-mode","data-mobile-sidebar","data-theme","data-native-orientation","data-dragging"]});let Z=new ResizeObserver(()=>{N="",E()});Z.observe(p);let U=()=>{window.showaiApplyingNativeCamera||(l.current++,o.current=oy(o.current,t.current.camera.current),E())},F=()=>{B=void 0,O=void 0,S="",E()};return p.addEventListener("showai:viewport-change",U),p.addEventListener("showai:ink-refresh",F),window.addEventListener("resize",E),document.addEventListener("scroll",E,!0),document.addEventListener("visibilitychange",E),E(),()=>{w=!1,r.current===h&&(r.current=void 0),m?.send===k&&(m.send=void 0,m.token=void 0),n(_=>_?.token===h?null:_),i.current===E&&(i.current=null),cancelAnimationFrame(j),M.disconnect(),Z.disconnect(),p.removeEventListener("showai:viewport-change",U),p.removeEventListener("showai:ink-refresh",F),window.removeEventListener("resize",E),document.removeEventListener("scroll",E,!0),document.removeEventListener("visibilitychange",E),g.hide(b.document.id,b.boardId,h).finally(()=>{p.dataset.nativeInkToken===h&&(delete p.dataset.nativeBoardActive,delete p.dataset.nativeInkToken)})}},[c,e.document?.id,e.boardId,e.root,e.world]),c&&!!a&&a.pageId===e.document?.id&&a.boardId===e.boardId}function vd(e,t,a){let n=new DOMMatrix;for(let r=e;r;r=r.parentElement){let i=getComputedStyle(r).transform;if(i==="none")continue;let l=new DOMMatrix(i);n=new DOMMatrix([l.a,l.b,l.c,l.d,0,0]).multiply(n)}let o=e.getBoundingClientRect();return n.e=o.left-Math.min(0,n.a*t,n.c*a,n.a*t+n.c*a),n.f=o.top-Math.min(0,n.b*t,n.d*a,n.b*t+n.d*a),n}function RC(e){let t=getComputedStyle(e),a=e.viewBox.baseVal,n=parseFloat(t.width),o=parseFloat(t.height);if(n>0&&o>0&&a.width>0&&a.height>0)return vd(e,n,o).scale(n/a.width,o/a.height).translate(-a.x,-a.y)}var q4=e=>[e.a,e.b,e.c,e.d,e.e,e.f].map(t=>Math.round(t*1e6)/1e6);function sy({root:e,world:t,camera:a,document:n,boardId:o,tool:r,color:i,width:l,pressure:s,ruler:c,enabled:d,onCamera:f,onTool:u,onShapeGesture:g,onClearSelection:b,selection:p,onSelection:x,onLayout:h,onDrawing:m,onActivate:v,fillColor:k,control:w}){let z=ly({root:e,world:t,camera:a,document:n,boardId:o,tool:r,color:i,width:l,pressure:s,ruler:c,enabled:d,onCamera:f,onTool:u,onClearSelection:b,selection:p,onSelection:x,onLayout:h,onDrawing:m,onActivate:v,fillColor:k,control:w}),P=d&&(typeof window>"u"||window.showai?.inlineInk?.nativeScene!==!0),j=(0,qo.useRef)({source:n,color:i,width:l,pressure:s,ruler:c,onCamera:f,onTool:u,onShapeGesture:g,onClearSelection:b,tool:r}),T=(0,qo.useRef)(0),S=(0,qo.useRef)("pen"),B=(0,qo.useRef)(null),O=(0,qo.useRef)(!1),N=r==="pen"||r==="highlighter"||r==="eraser";return(r==="pen"||r==="highlighter")&&(S.current=r),j.current={source:n,color:i,width:l,pressure:s,ruler:c,onCamera:f,onTool:u,onShapeGesture:g,onClearSelection:b,tool:r},(0,qo.useEffect)(()=>{let V=window.showai?.inlineInk;if(!(!V||!P||!n))return V.onCommand(R=>{R.pageId!==n.id||R.boardId!==o||(R.clearSelection&&j.current.onClearSelection(),R.shapeGesture&&j.current.onShapeGesture(R.shapeGesture),R.camera&&(O.current=!!R.navigating,T.current=R.cameraVersion??T.current,j.current.onCamera(R.camera,!R.navigating),R.navigating||B.current?.()),R.tool&&j.current.onTool(R.tool==="toggleEraser"?j.current.tool==="eraser"?S.current:"eraser":R.tool==="previous"?S.current:R.tool))})},[P,n?.id,o]),(0,qo.useEffect)(()=>{B.current?.()},[n,i,l,s,c,r]),(0,qo.useEffect)(()=>{let V=window.showai?.inlineInk;if(!V||!P||!n||!N||!e.current||!t.current)return;let R=crypto.randomUUID(),E=e.current,D=t.current,M=!0,Z=!1,U=!1,F="",_,X=0,q,I="",C={},G,H=!1,ge=0,re=()=>{H=!0,!(!M||U||X||Z)&&(X=requestAnimationFrame(()=>{X=0,Me()}))};B.current=re;let he=()=>{F="",_=void 0,G=void 0,re()};E.addEventListener("showai:ink-refresh",he);let Me=async()=>{if(!M||U||(H=!1,Z||!E.getClientRects().length||document.visibilityState==="hidden"))return;let Ae=j.current.source;if(!Ae)return;let K=vd(E,E.offsetWidth,E.offsetHeight),xe=vd(D,D.offsetWidth,D.offsetHeight),pe=E.clientWidth+":"+E.clientHeight;if(q!==Ae||I!==pe){let zt=xe.inverse(),J={},Te=nt(Ae,o)?.node,Se=new Map([...D.querySelectorAll("[data-native-ink]")].map(ye=>[ye.closest("[data-surface-id]")?.dataset.surfaceId,ye]));for(let ye of g7(Te??{content:[]})){let me=Se.get(ye.attrs.id),$e=me&&RC(me);if(!$e)return;let Et=Ae.layout?.[ye.attrs.id],Q=me.closest(".surface-object");if(Et?.height&&Q?.parentElement===D){let fe=ye.attrs.extent??ye.attrs.nativeInk?.extent??ye.attrs.data?.nativeInk?.extent,ve=(Et.rotation??0)*Math.PI/180,at=Math.cos(ve),Qe=Math.sin(ve),ie=Et.width,Kt=Et.height;J[ye.attrs.id]=[at*ie/fe[0],Qe*ie/fe[0],-Qe*Kt/fe[1],at*Kt/fe[1],Et.x+ie/2-at*ie/2+Qe*Kt/2,Et.y+Kt/2-Qe*ie/2-at*Kt/2]}else J[ye.attrs.id]=q4(zt.multiply($e))}C=J,q=Ae,I=pe}let Y=V4(document.querySelectorAll("[data-surface-ui],.surface-toolbar,.studio-context-menu,.studio-modal-shade,.container-inspector,.studio-sidebar-shell:not([data-sidebar-mode=hidden]) .studio-sidebar,.studio-mobile-sidebar-edge,.studio-mobile-sidebar-scrim,.studio-mobile-navigation-tools")),Pe={token:R,pageId:Ae.id,boardId:o,tool:j.current.tool,color:j.current.color,width:j.current.width,pressure:j.current.pressure,ruler:j.current.ruler,dark:document.documentElement.dataset.theme==="dark",widthPx:E.clientWidth,heightPx:E.clientHeight,viewport:q4(K),camera:{...a.current},cameraVersion:T.current,holes:Y,shapes:[...D.querySelectorAll('[data-board-shape="true"]')].filter(zt=>zt.closest(".page-surface")===E&&zt.getClientRects().length).map(zt=>{let J=zt.getBoundingClientRect();return{id:zt.dataset.surfaceId,x:J.x-8,y:J.y-8,width:J.width+16,height:J.height+16}})},Be=JSON.stringify(Pe);if(Be===F&&Ae===_){ge&&re();return}Z=!0;try{if(E.dataset.nativeInkToken!==R&&(E.dataset.nativeInkToken=R),await V.frame({...Pe,...G!==C?{poses:C}:{},document:Ae})===!1)return;F=Be,_=Ae,G=C,M&&(E.dataset.nativeInkToken!==R&&(E.dataset.nativeInkToken=R),E.dataset.nativeInkActive!=="true"&&(E.dataset.nativeInkActive="true"))}catch(zt){throw U=!0,zt}finally{Z=!1,(H||ge)&&re()}},Ze=new MutationObserver(Ae=>{Ae.some(K=>!(O.current&&(K.target===D||K.target===E||K.target instanceof Element&&K.target.classList.contains("surface-grid"))&&K.attributeName==="style"))&&re()});Ze.observe(document.documentElement,{subtree:!0,childList:!0,attributes:!0,attributeFilter:["style","class","hidden","open","data-sidebar-mode","data-mobile-sidebar","data-theme","data-native-orientation","data-dragging"]});let Ye=new ResizeObserver(re);Ye.observe(E);let Je=()=>{if(!O.current){if(T.current++,V.viewport&&E.dataset.nativeInkActive==="true"){let Ae=vd(E,E.clientWidth,E.clientHeight);V.viewport({token:R,pageId:n.id,boardId:o,widthPx:E.clientWidth,heightPx:E.clientHeight,viewport:q4(Ae),camera:{...a.current},cameraVersion:T.current}).catch(K=>{U=!0,console.error("Native ink viewport:",K),E.dispatchEvent(new CustomEvent("showai:ink-error",{bubbles:!0,detail:String(K)}))})}re()}},wt=Ae=>{Ae.target instanceof Element&&!D.contains(Ae.target)&&(ge++,re())},Xe=Ae=>{Ae.target instanceof Element&&!D.contains(Ae.target)&&(ge=Math.max(0,ge-1),re())};return E.addEventListener("showai:viewport-change",Je),document.addEventListener("visibilitychange",re),document.addEventListener("transitionrun",wt,!0),document.addEventListener("transitionend",Xe,!0),document.addEventListener("transitioncancel",Xe,!0),document.addEventListener("scroll",re,!0),window.addEventListener("resize",re),re(),()=>{M=!1,E.removeEventListener("showai:ink-refresh",he),B.current===re&&(B.current=null),cancelAnimationFrame(X),Ze.disconnect(),Ye.disconnect(),E.removeEventListener("showai:viewport-change",Je),document.removeEventListener("visibilitychange",re),document.removeEventListener("transitionrun",wt,!0),document.removeEventListener("transitionend",Xe,!0),document.removeEventListener("transitioncancel",Xe,!0),document.removeEventListener("scroll",re,!0),window.removeEventListener("resize",re),V.hide(n.id,o,R).finally(()=>{E.dataset.nativeInkToken===R&&(delete E.dataset.nativeInkActive,delete E.dataset.nativeInkToken)})}},[P,n?.id,o,N,e,t,a]),z}var Wo=W(De(),1),cy=W(Vn(),1);var p1=W(de(),1);function dy({tool:e,size:t,board:a,onDelete:n,onExit:o}){let r=le(tt),[i,l]=(0,Wo.useState)([]),s=(0,Wo.useRef)(null),c=(0,Wo.useRef)(null),d=(0,Wo.useRef)(0),f=w=>{c.current=w,!d.current&&(d.current=requestAnimationFrame(()=>{d.current=0;let z=s.current,P=c.current;if(!z)return;let j=P?"":"none";if(z.style.display!==j&&(z.style.display=j),P){let T=g(P);z.setAttribute("cx",String(T.x)),z.setAttribute("cy",String(T.y))}}))},u=(0,Wo.useRef)(null),g=w=>{let z=u.current?.getScreenCTM();return z?new DOMPoint(w.x,w.y).matrixTransform(z.inverse()):w},b=(0,Wo.useRef)(null),p=w=>w.type==="drawing"||!!(w.attrs?.nativeInk??w.attrs?.data?.nativeInk),x=w=>{for(let z of w.hidden)delete z.dataset.erasing},h=()=>{let w=b.current;b.current=null,w&&x(w),l([]),w&&u.current?.hasPointerCapture(w.id)&&u.current.releasePointerCapture(w.id)};(0,Wo.useEffect)(()=>{let w=u.current?.closest(".page-surface");return w?.addEventListener("showai-board-pinch",h),w?.addEventListener("showai:viewport-change",h),window.addEventListener("blur",h),()=>{cancelAnimationFrame(d.current),w?.removeEventListener("showai-board-pinch",h),w?.removeEventListener("showai:viewport-change",h),window.removeEventListener("blur",h);let z=b.current;z&&x(z)}},[]);let m=w=>{let z=b.current,P=z?.hitTest(w.x,w.y,!1);z&&P&&p(P.node)&&!P.element.classList.contains("is-locked")&&(z.erased.add(P.id),z.hidden.add(P.element),P.element.dataset.erasing="true")},v=w=>{let z=b.current;if(z){if(e==="eraser"){let P=Math.ceil(Math.hypot(w.x-z.last.x,w.y-z.last.y)/4);for(let j=0;j<=P;j++)m({x:z.last.x+(w.x-z.last.x)*j/(P||1),y:z.last.y+(w.y-z.last.y)*j/(P||1)})}else Math.hypot(w.x-z.last.x,w.y-z.last.y)>=2&&(z.points.push(w),l([...z.points]));z.last=w}},k=()=>{let w=b.current;if(w){if(b.current=null,l([]),e==="eraser"){w.erased.size&&(0,cy.flushSync)(()=>{a.selectIds([...a.ids].filter(z=>!w.erased.has(z))),n([...w.erased])}),x(w);return}w.points.length>=2&&a.selectIds(a.lassoHit(w.points))}};return(0,p1.jsxs)("svg",{ref:u,className:"board-drawing-input","data-board-drawing-input":!0,"data-drawing-active":!!b.current,"aria-label":r(e==="eraser"?"tool.eraser":"tool.lasso"),tabIndex:0,onPointerDown:w=>{if(w.defaultPrevented||w.button!==0||yo(w.pointerType)||b.current)return;let z=a.hitTest(w.clientX,w.clientY);if(e==="lasso"&&(a.selectionHit(w.clientX,w.clientY)||z&&a.ids.has(z.id)))return;w.preventDefault(),w.stopPropagation(),w.currentTarget.focus({preventScroll:!0}),w.currentTarget.setPointerCapture(w.pointerId);let P={x:w.clientX,y:w.clientY};b.current={id:w.pointerId,hitTest:a.createHitTest(t/2),points:[P],erased:new Set,hidden:new Set,pointerType:w.pointerType,last:P},e==="eraser"?m(P):l([P])},onPointerMove:w=>{e==="eraser"&&f({x:w.clientX,y:w.clientY}),b.current?.id===w.pointerId&&(w.preventDefault(),v({x:w.clientX,y:w.clientY}))},onPointerUp:w=>{b.current?.id===w.pointerId&&(w.preventDefault(),v({x:w.clientX,y:w.clientY}),k())},onPointerCancel:h,onLostPointerCapture:h,onPointerLeave:()=>{b.current||f(null)},onKeyDown:w=>{w.key==="Escape"&&(w.preventDefault(),w.stopPropagation(),h(),o())},children:[e==="eraser"&&(0,p1.jsx)("circle",{ref:s,className:"board-eraser-cursor",style:{display:"none"},r:t/2}),i.length>1&&(0,p1.jsx)("path",{d:i.map((w,z)=>`${z?"L":"M"}${g(w).x},${g(w).y}`).join(" ")+" Z",fill:"#7194ff18",stroke:"#7194ff",strokeDasharray:"4 3"})]})}var m1=[{tool:null,label:"tool.select",key:"1",aliases:["v"]},{tool:"pen",label:"tool.pen",key:"2",aliases:["p"]},{tool:"highlighter",label:"tool.highlighter",key:"3",aliases:["h"]},{tool:"rectangle",label:"tool.rectangle",key:"4",aliases:["r"]},{tool:"ellipse",label:"tool.ellipse",key:"5",aliases:["e","o"]},{tool:"arrow",label:"tool.arrow",key:"6",aliases:["a"]},{tool:"pan",label:"tool.pan",key:"8",aliases:["m"]},{tool:"eraser",label:"tool.eraser",key:"9",aliases:["x"]},{tool:"lasso",label:"tool.lasso",key:"L",aliases:["l"]},{tool:"text",label:"tool.text",key:"T",aliases:["t"]}];function uy(e){let t=e.toLowerCase();return m1.find(a=>a.key===e||a.aliases.includes(t))}function W4(e){let t=m1.find(a=>a.tool===e);return t?[...t.aliases.map(a=>a.toUpperCase()),t.key].filter((a,n,o)=>o.indexOf(a)===n):[]}function xd(e){return W4(e).join(" / ")}function py(e){return e("board.descriptionEdit",{pan:xd("pan"),tools:m1.map(t=>e("board.toolKeys",{keys:xd(t.tool),label:e(t.label)})).join(e("board.toolKeysSeparator"))})}var xy=W(De(),1);var oa=W(De(),1),$4=W(Vn(),1);var K4=["bottom","top","left","right"],Ko=(e,t,a)=>Math.max(t,Math.min(a,e));function Y4(e){let[t,a,n,o]=(e??"").split(":"),r=Number(a);return K4.includes(t)&&a&&Number.isFinite(r)?{edge:t,position:Ko(r,0,1),...n&&o&&[Number(n),Number(o)].every(Number.isFinite)?{floating:{x:Ko(Number(n),0,1),y:Ko(Number(o),0,1)}}:{}}:{edge:"bottom",position:.5}}function PC(e,t){let a={top:e.y,bottom:t.height-e.y,left:e.x,right:t.width-e.x},n=K4.reduce((r,i)=>a[i]<a[r]?i:r);return{edge:n,position:Ko(n==="top"||n==="bottom"?e.x/Math.max(1,t.width):e.y/Math.max(1,t.height),0,1)}}function Hs(e,t,a,n=0){if(t={...t,height:Math.max(1,t.height-n)},e.floating)return J4({x:e.floating.x*t.width,y:e.floating.y*t.height},t,a);let o=e.edge==="top"||e.edge==="bottom",r=Math.min(t.width/2,a.width/2+12),i=Math.min(t.height/2,a.height/2+12);return{x:o?Ko(t.width*e.position,r,t.width-r):e.edge==="left"?r:t.width-r,y:o?e.edge==="top"?i:t.height-i:Ko(t.height*e.position,i,t.height-i)}}function J4(e,t,a){let n=Math.min(t.width/2,a.width/2+12),o=Math.min(t.height/2,a.height/2+12);return{x:Ko(e.x,n,t.width-n),y:Ko(e.y,o,t.height-o)}}function my(e,t,a=null,n=44){let o={top:e.y,bottom:t.height-e.y,left:e.x,right:t.width-e.x},r=PC(e,t),i=a&&o[a]<=n*1.4?a:r.edge;return o[i]<=n*(i===a?1.4:1)?{...r,edge:i,position:Ko(i==="top"||i==="bottom"?e.x/Math.max(1,t.width):e.y/Math.max(1,t.height),0,1)}:null}function X4(e,t,a,n){let o={x:e.x-t.width/2,y:e.y-t.height/2,...t};return n&&(a==="top"||a==="bottom"?(a==="bottom"&&(o.y-=t.height),o.height+=t.height):(a==="right"&&(o.x-=t.width),o.width+=t.width)),o}function Bs(e,t,a){return{left:e.x,right:t.width-e.x-e.width,top:e.y,bottom:t.height-e.y-e.height}[a]}function fy(e,t,a=96){let n=K4.reduce((o,r)=>Bs(e,t,r)<Bs(e,t,o)?r:o);return Bs(e,t,n)>a?null:{edge:n,position:Ko(n==="top"||n==="bottom"?(e.x+e.width/2)/Math.max(1,t.width):(e.y+e.height/2)/Math.max(1,t.height),0,1)}}rt(`.surface-toolbar.board-dockable-toolbar{bottom:auto;transform:translate(-50%,-50%);display:block;padding:0;border:0;background:none;box-shadow:none;max-height:none;overflow:visible}.board-toolbar-primary,.board-toolbar-properties,.board-toolbar-actions{display:flex;align-items:center;gap:2px;padding:5px;border:1px solid var(--line, var(--border));border-radius:12px;background:var(--paper, var(--bg));box-shadow:0 4px 20px #0000000a}.board-toolbar-primary{width:max-content;max-width:calc(var(--board-toolbar-width, 100dvw) - 24px);flex-wrap:nowrap}.board-view-controls{display:flex;align-items:center;flex-wrap:wrap;gap:2px;border-bottom:1px solid var(--line, var(--border));padding-bottom:8px;margin-bottom:8px}.board-toolbar-primary>.surface-extra-actions>.surface-toolbar-divider{display:none}.board-dockable-toolbar:is([data-dock=left],[data-dock=right],[data-dock=top]) .board-tool-shortcuts{display:none}.board-dockable-toolbar[data-dock=bottom] .board-tool-shortcuts{bottom:calc(100% + 5px)}.board-toolbar-properties .board-style-section>button{min-height:24px;height:24px;padding:2px 4px}.board-toolbar-primary>.surface-extra-actions{min-width:0}.board-toolbar-primary .board-tool-stack{--board-tool-width: clamp( 24px, calc( (var(--board-toolbar-width, 100dvw) - 90px) / var(--board-tool-count, 11) - 2px ), 34px )}.board-toolbar-properties{position:absolute;top:calc(100% + 8px);left:0;width:100%;max-height:calc(var(--board-properties-reserve) - 8px);box-sizing:border-box;justify-content:center}.board-toolbar-properties:empty{display:none}.board-toolbar-actions{position:absolute;left:0;bottom:calc(100% + 8px);width:max-content;max-width:calc(var(--board-toolbar-width, 100dvw) - 24px);flex-wrap:wrap}.board-toolbar-actions:not(:has(button,summary,[role=status],>.board-component-actions:not(:empty))){display:none}.board-dockable-toolbar[data-dragging]{opacity:.85;user-select:none}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-toolbar-primary{flex-direction:column;width:54px;max-width:54px;box-sizing:border-box;max-height:calc(var(--board-toolbar-height, 100dvh) - var(--board-properties-reserve) - 24px);padding-inline:4px}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-tool-stack{flex:0 1 auto;min-height:72px;width:auto;overflow-y:auto;overscroll-behavior:contain;scrollbar-width:none;--board-tool-width: 34px}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-tool-buttons{grid-template-columns:var(--board-tool-width)}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-tool-buttons button{width:var(--board-tool-width)}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-toolbar-properties{width:54px;justify-content:start;flex-direction:column}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-toolbar-actions{top:0;bottom:auto;width:54px;box-sizing:border-box;flex-direction:column;flex-wrap:nowrap;max-height:calc(var(--board-toolbar-height, 100dvh) - 24px);overflow-y:auto}.board-dockable-toolbar[data-dock=left] .board-toolbar-actions{left:calc(100% + 8px)}.board-dockable-toolbar[data-dock=right] .board-toolbar-actions{left:auto;right:calc(100% + 8px)}.board-dockable-toolbar[data-dock=top] .board-toolbar-actions{bottom:auto;top:calc(100% + 8px)}.board-dockable-toolbar[data-dock=top]:has(.board-toolbar-actions button,.board-toolbar-actions summary,.board-toolbar-actions [role=status],.board-toolbar-actions>.board-component-actions:not(:empty)) .board-toolbar-properties{top:calc(100% + 56px)}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) :is(.board-style-controls,.board-writing-options){flex-shrink:0;flex-direction:column;gap:4px;margin:0;padding:0}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-stroke-slider{width:36px;height:84px}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) :is(.board-stroke-track,.board-stroke-slider input[type=range],.board-stroke-value-rail){position:absolute;width:80px;height:24px;inset:50% auto auto 50%;transform:translate(-50%,-50%) rotate(-90deg)}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-stroke-slider input{cursor:ns-resize}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-stroke-value-rail output{transform:translate(-50%) rotate(90deg)}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .surface-toolbar-divider{height:1px;width:24px}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-tool-shortcuts{display:none}.surface-toolbar.board-dockable-toolbar[data-dock=top] :is(.surface-navigation,.surface-add-menu,.board-writing-options details[open]>div,.board-component-settings){bottom:auto;top:calc(100% + 12px)}.surface-toolbar.board-dockable-toolbar[data-dock=left] :is(.surface-navigation,.surface-add-menu,.board-writing-options details[open]>div,.board-component-settings){bottom:auto;top:0;right:auto;left:calc(100% + 12px)}.surface-toolbar.board-dockable-toolbar[data-dock=right] :is(.surface-navigation,.surface-add-menu,.board-writing-options details[open]>div,.board-component-settings){bottom:auto;top:0;left:auto;right:calc(100% + 12px)}.surface-toolbar.board-dockable-toolbar[data-dock=top] .board-align-options{bottom:auto;top:calc(100% + 12px)}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-align-options{bottom:auto;top:0;transform:none}.surface-toolbar.board-dockable-toolbar[data-dock=left] .board-align-options{left:calc(100% + 12px)}.surface-toolbar.board-dockable-toolbar[data-dock=right] .board-align-options{left:auto;right:calc(100% + 12px)}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-style-section{flex-direction:column;gap:4px;font-size:11px}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-toolbar-properties .board-stroke-slider{height:56px}.surface-toolbar.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-toolbar-properties :is(.board-stroke-track,.board-stroke-slider input[type=range],.board-stroke-value-rail){width:52px}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-style-section+.board-style-section{border-inline-start:0;border-top:1px solid var(--line, var(--border));padding-inline-start:0;padding-top:6px;width:36px}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]):has(.board-pressure-toggle){--toolbar-reserve: 320px}.board-dockable-toolbar[data-dock=top] .board-color-menu{bottom:auto;top:calc(100% + 12px)}.board-dockable-toolbar[data-dock=left] .board-color-menu{bottom:auto;top:0;right:auto;left:calc(100% + 12px)}.board-dockable-toolbar[data-dock=right] .board-color-menu{bottom:auto;top:0;left:auto;right:calc(100% + 12px)}.board-toolbar-inline-properties{display:flex;align-items:center;border-inline-start:1px solid var(--line, var(--border));margin-left:4px;min-width:0}.board-toolbar-inline-properties .board-style-controls{gap:6px}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-toolbar-inline-properties{flex-direction:column;border-inline-start:0;border-top:1px solid var(--line, var(--border));margin:4px 0 0}.board-toolbar-primary{overflow:visible}@media(max-width:800px){.board-toolbar-inline-properties .board-style-section{font-size:10px;gap:3px}.board-toolbar-inline-properties .board-stroke-slider{width:64px}}.board-dockable-toolbar[data-mobile] .board-tool-shortcuts{display:none}.board-toolbar-primary{touch-action:none;-webkit-touch-callout:none;-webkit-user-select:none;user-select:none;cursor:grab}.board-dockable-toolbar[data-dragging] .board-toolbar-primary{cursor:grabbing}.board-dockable-toolbar[data-mobile] .board-toolbar-primary .board-tool-stack{--board-tool-width: clamp( 36px, calc( (var(--board-toolbar-width) - 44px) / var(--board-tool-count, 8) - 2px ), 44px )}.board-dockable-toolbar[data-mobile] .board-toolbar-secondary{position:absolute;bottom:100%;left:0;display:flex;align-items:center;gap:4px;width:100%;height:100%;box-sizing:border-box;padding:5px;border:1px solid var(--line, var(--border));border-radius:12px 12px 0 0;border-width:1px 1px 0;background:var(--paper, var(--bg));box-shadow:none;overflow:auto;overscroll-behavior:contain;scrollbar-width:none}.board-dockable-toolbar[data-mobile] .board-toolbar-secondary:not(:has(button,summary,input,select,[role=status])){display:none}.board-dockable-toolbar[data-mobile] :is(.board-toolbar-settings,.board-toolbar-secondary .board-toolbar-actions){display:flex;align-items:center;flex:0 0 auto;flex-wrap:nowrap;position:static;width:auto;max-width:none;max-height:none;padding:0;border:0;border-radius:0;background:none;box-shadow:none;overflow:visible;gap:4px}.board-dockable-toolbar[data-mobile] .board-toolbar-secondary .board-toolbar-actions:not(:has(button,summary,[role=status],>.board-component-actions:not(:empty))){display:none}.board-dockable-toolbar[data-mobile] .board-toolbar-secondary button{flex-shrink:0}.board-dockable-toolbar[data-mobile][data-dock=top] .board-toolbar-secondary{top:100%;bottom:auto}.board-dockable-toolbar[data-mobile]:is([data-dock=left],[data-dock=right]) .board-toolbar-secondary{top:0;bottom:auto;flex-direction:column}.board-dockable-toolbar[data-mobile][data-dock=left] .board-toolbar-secondary{left:100%}.board-dockable-toolbar[data-mobile][data-dock=right] .board-toolbar-secondary{left:auto;right:100%}.board-dockable-toolbar[data-mobile]:is([data-dock=left],[data-dock=right]) :is(.board-toolbar-settings,.board-toolbar-secondary .board-toolbar-actions){flex-direction:column}.board-toolbar-primary :is(.board-tool-stack,.board-tool-buttons,button,summary){touch-action:none}.board-dockable-toolbar[data-mobile] .board-toolbar-primary{box-shadow:none}.board-dockable-toolbar[data-mobile]:has(>.board-toolbar-secondary :is(button,summary,input,select,[role=status])) .board-toolbar-primary{border-radius:0 0 12px 12px}.board-dockable-toolbar[data-mobile][data-dock=top]:has(>.board-toolbar-secondary :is(button,summary,input,select,[role=status])) .board-toolbar-primary{border-radius:12px 12px 0 0}.board-dockable-toolbar[data-mobile][data-dock=top] .board-toolbar-secondary{border-width:0 1px 1px;border-radius:0 0 12px 12px}.board-dockable-toolbar[data-mobile][data-dock=left]:has(>.board-toolbar-secondary :is(button,summary,input,select,[role=status])) .board-toolbar-primary{border-radius:12px 0 0 12px}.board-dockable-toolbar[data-mobile][data-dock=left] .board-toolbar-secondary{border-width:1px 1px 1px 0;border-radius:0 12px 12px 0}.board-dockable-toolbar[data-mobile][data-dock=right]:has(>.board-toolbar-secondary :is(button,summary,input,select,[role=status])) .board-toolbar-primary{border-radius:0 12px 12px 0}.board-dockable-toolbar[data-mobile][data-dock=right] .board-toolbar-secondary{border-width:1px 0 1px 1px;border-radius:12px 0 0 12px}.board-dockable-toolbar[data-mobile] .board-toolbar-secondary{justify-content:space-evenly}.board-dockable-toolbar[data-mobile] .board-toolbar-secondary :is(.board-toolbar-settings,.board-style-controls,.board-toolbar-actions){display:contents}.board-dockable-toolbar[data-mobile] .board-toolbar-secondary :is(.board-toolbar-settings,.board-toolbar-actions):empty{display:none}.board-dockable-toolbar[data-mobile] .board-ruler-controls{border-inline-start:1px solid var(--line, var(--border));padding-inline-start:8px}.board-dockable-toolbar[data-mobile]:is([data-dock=left],[data-dock=right]) .board-ruler-controls{border-inline-start:0;border-top:1px solid var(--line, var(--border));padding-inline-start:0;padding-top:6px;width:36px}
46
+ `);function gy(e){let t=null,a=()=>{if(!t)return;let{details:s,popup:c,style:d}=t;t=null,c.matches(":popover-open")&&c.hidePopover(),c.removeAttribute("popover"),d===null?c.removeAttribute("style"):c.setAttribute("style",d),s.open=!1},n=()=>{if(!t)return;let{details:s,popup:c}=t;if(!s.isConnected){a();return}let d=s.querySelector("summary").getBoundingClientRect(),f=c.getBoundingClientRect(),u=e.dataset.dock,g=d.left,b=d.top-f.height-10;u==="top"&&(b=d.bottom+10),u==="left"&&(g=d.right+10,b=d.top),u==="right"&&(g=d.left-f.width-10,b=d.top),c.style.left=`${Math.max(8,Math.min(g,innerWidth-f.width-8))}px`,c.style.top=`${Math.max(8,Math.min(b,innerHeight-f.height-8))}px`},o=s=>{let c=s.target;if(!(c instanceof HTMLDetailsElement)||!c.closest(".board-toolbar-secondary"))return;if(!c.open){t?.details===c&&a();return}if(t?.details===c)return;let d=c.querySelector(":scope > div");d&&(a(),t={details:c,popup:d,style:d.getAttribute("style")},d.setAttribute("popover","manual"),Object.assign(d.style,{position:"fixed",inset:"auto",margin:"0",transform:"none",maxWidth:"calc(100vw - 16px)",maxHeight:"calc(100dvh - 16px)",overflow:"auto"}),d.showPopover(),n())},r=s=>{t&&!t.details.contains(s.target)&&a()},i=s=>{if(s.key!=="Escape"||!t)return;let c=t.details.querySelector("summary");a(),c?.focus(),s.stopPropagation(),s.preventDefault()};e.addEventListener("toggle",o,!0),document.addEventListener("pointerdown",r,!0),document.addEventListener("keydown",i,!0),document.addEventListener("scroll",n,!0),window.addEventListener("resize",n);let l=new MutationObserver(()=>{e.hasAttribute("data-dragging")?a():n()});return l.observe(e,{attributes:!0,attributeFilter:["data-dock","data-dragging"]}),()=>{a(),l.disconnect(),e.removeEventListener("toggle",o,!0),document.removeEventListener("pointerdown",r,!0),document.removeEventListener("keydown",i,!0),document.removeEventListener("scroll",n,!0),window.removeEventListener("resize",n)}}var Yo=W(de(),1),by=(0,oa.createContext)("bottom"),hy=()=>(0,oa.useContext)(by),f1=e=>e==="top"||e==="bottom";function yy({children:e,actions:t,properties:a,root:n,enabled:o}){let r=le(tt),i=typeof document<"u"&&document.documentElement.dataset.native==="ios",l=`showai:board-toolbar:${i?"mobile":"desktop"}`,[s,c]=(0,oa.useState)(()=>{try{let M=Y4(localStorage.getItem(l));return i&&M.floating?{edge:M.edge,position:M.position}:M}catch{return Y4(null)}}),[d,f]=(0,oa.useState)(s.edge),[u,g]=(0,oa.useState)(!1),[b,p]=(0,oa.useState)({bounds:{width:0,height:0},size:{width:0,height:0}}),x=(0,oa.useRef)(null),h=(0,oa.useRef)(null),m=(0,oa.useRef)(b);m.current=b;let v=(0,oa.useRef)(null),k=(0,oa.useRef)(null),w=(0,oa.useRef)(0),z=(0,oa.useRef)(!1),P=(0,oa.useRef)(()=>{}),j=()=>{w.current||(w.current=requestAnimationFrame(()=>{w.current=0,P.current()}))};(0,oa.useEffect)(()=>{let M=n.current,Z=h.current,U=()=>{let _={bounds:{width:M.clientWidth,height:M.clientHeight},size:{width:Z.offsetWidth,height:Z.offsetHeight}};m.current=_,p(X=>X.bounds.width===_.bounds.width&&X.bounds.height===_.bounds.height&&X.size.width===_.size.width&&X.size.height===_.size.height?X:_),v.current?.active&&j()},F=new ResizeObserver(U);return F.observe(M),F.observe(Z),U(),()=>{F.disconnect(),cancelAnimationFrame(w.current),w.current=0}},[n]),(0,oa.useEffect)(()=>i&&x.current?gy(x.current):void 0,[i]);let T=M=>{(0,$4.flushSync)(()=>{c(M),f(M.edge)});let Z=h.current,U={bounds:m.current.bounds,size:Z?{width:Z.offsetWidth,height:Z.offsetHeight}:m.current.size};m.current=U,p(U);let F=Hs(M,U.bounds,U.size);x.current&&(x.current.style.left=`${F.x}px`,x.current.style.top=`${F.y}px`)},S=M=>{c(M),f(M.edge);try{localStorage.setItem(l,`${M.edge}:${M.position}${M.floating?`:${M.floating.x}:${M.floating.y}`:""}`)}catch{}},B=M=>{let Z=n.current.getBoundingClientRect(),U=m.current.bounds;return{x:(M.clientX-Z.left)*U.width/Z.width,y:(M.clientY-Z.top)*U.height/Z.height}},O=()=>!!x.current?.querySelector(":scope > .board-toolbar-secondary")?.getClientRects().length,N=()=>{let M=v.current,{bounds:Z,size:U}=m.current,F=f1(M.edge)?{x:M.pointer.x+(.5-M.along)*U.width,y:M.pointer.y+(.5-M.across)*U.height}:{x:M.pointer.x+(.5-M.across)*U.width,y:M.pointer.y+(.5-M.along)*U.height};return J4(F,Z,U)},V=()=>{let M=v.current,{bounds:Z,size:U}=m.current,F=N(),_={edge:M.edge,position:f1(M.edge)?F.x/Math.max(1,Z.width):F.y/Math.max(1,Z.height)};return M.snapped||(_.floating={x:F.x/Math.max(1,Z.width),y:F.y/Math.max(1,Z.height)}),{target:_,point:M.snapped?Hs(_,Z,U):F}};P.current=()=>{if(!v.current?.active||!x.current)return;let M=V().point;k.current=M,x.current.style.left=`${M.x}px`,x.current.style.top=`${M.y}px`};let R=M=>{let Z=v.current;if(Z?.id!==M.pointerId||!Z.active&&Math.hypot(M.clientX-Z.start.x,M.clientY-Z.start.y)<6)return;M.preventDefault(),M.stopPropagation(),Z.active||(M.currentTarget.setPointerCapture(M.pointerId),Z.active=!0,k.current=Hs(s,m.current.bounds,m.current.size),g(!0)),Z.pointer=B(M);let U=m.current.bounds,F=U.width/n.current.getBoundingClientRect().width,_;if(i){let q=96*F,I=X4(N(),m.current.size,Z.edge,O()),C=Z.snapOrigin,G=Z.snapped,H=!C||!G?1/0:G==="left"?Z.pointer.x-C.pointer.x:G==="right"?C.pointer.x-Z.pointer.x:G==="top"?Z.pointer.y-C.pointer.y:C.pointer.y-Z.pointer.y;C&&G&&C.gap+H<=q*1.4?_={edge:G,position:.5}:(_=fy(I,U,q),Z.snapOrigin=_?{pointer:{...Z.pointer},gap:Bs(I,U,_.edge)}:null)}else _=my(Z.pointer,U,Z.snapped,44*F);Z.snapped=_?.edge??null;let X=_?.edge??(f1(Z.edge)?Z.pointer.y<U.height/2?"top":"bottom":Z.pointer.x<U.width/2?"left":"right");if(X!==Z.edge){Z.edge=X,(0,$4.flushSync)(()=>f(X));let q=h.current,I={bounds:m.current.bounds,size:{width:q.offsetWidth,height:q.offsetHeight}};m.current=I,p(I)}j()},E=(M,Z=!1)=>{let U=v.current;U?.id===M.pointerId&&(Z||R(M),U.active&&(!Z&&(!i||U.snapped)?(U.pointer=B(M),S(V().target)):T(U.origin),g(!1)),z.current=U.active,v.current=null,k.current=null,cancelAnimationFrame(w.current),w.current=0,M.currentTarget.hasPointerCapture(M.pointerId)&&M.currentTarget.releasePointerCapture(M.pointerId))},D=u&&k.current?k.current:Hs(s,b.bounds,b.size);return(0,Yo.jsx)(by.Provider,{value:d,children:(0,Yo.jsxs)("div",{ref:x,className:"surface-toolbar board-dockable-toolbar","data-dock":d,"data-mobile":i||void 0,"data-floating":!!s.floating||void 0,"data-dragging":u||void 0,"data-surface-ui":!0,role:"group","aria-label":r("board.tools"),tabIndex:o?0:void 0,style:{left:D.x,top:D.y,bottom:"auto","--board-properties-reserve":"0px","--board-toolbar-height":`${b.bounds.height}px`,"--board-toolbar-width":`${b.bounds.width}px`},onContextMenu:M=>{h.current?.contains(M.target)&&M.preventDefault()},onPointerDownCapture:M=>{if(z.current=!1,!o||M.button!==0||!M.isPrimary||M.target.closest('input,select,textarea,[role="slider"],[contenteditable="true"],.board-color-menu,.surface-navigation,.board-align-options,.board-component-settings')||i&&!h.current?.contains(M.target))return;let Z=h.current.getBoundingClientRect(),U=f1(d)?(M.clientX-Z.left)/Z.width:(M.clientY-Z.top)/Z.height,F=f1(d)?(M.clientY-Z.top)/Z.height:(M.clientX-Z.left)/Z.width;v.current={id:M.pointerId,start:{x:M.clientX,y:M.clientY},pointer:B(M),along:U,across:F,edge:d,snapped:s.floating?null:d,snapOrigin:s.floating?null:{pointer:B(M),gap:Bs(X4(Hs(s,m.current.bounds,m.current.size),m.current.size,d,O()),m.current.bounds,d)},active:!1,origin:s}},onPointerMove:R,onPointerUp:M=>E(M),onPointerCancel:M=>E(M,!0),onLostPointerCapture:M=>{M.target===M.currentTarget&&E(M,!0)},onClickCapture:M=>{z.current&&M.detail!==0&&(M.preventDefault(),M.stopPropagation())},onKeyDown:M=>{if(!o||M.target!==M.currentTarget&&!M.altKey)return;if(M.key==="Escape"&&v.current){let U=v.current;v.current=null,k.current=null,cancelAnimationFrame(w.current),w.current=0,g(!1),T(U.origin),M.currentTarget.hasPointerCapture(U.id)&&M.currentTarget.releasePointerCapture(U.id);return}let Z={ArrowUp:"top",ArrowDown:"bottom",ArrowLeft:"left",ArrowRight:"right"}[M.key];Z&&(M.preventDefault(),M.stopPropagation(),S({edge:Z,position:.5}))},children:[(0,Yo.jsxs)("div",{ref:h,className:"board-toolbar-primary",children:[e,!i&&a&&(0,Yo.jsx)("div",{className:"board-toolbar-inline-properties","data-surface-ui":!0,children:a})]}),i?(0,Yo.jsxs)("div",{className:"board-toolbar-secondary","data-surface-ui":!0,children:[(0,Yo.jsx)("div",{className:"board-toolbar-settings",children:a}),(0,Yo.jsx)("div",{className:"board-toolbar-actions","data-surface-ui":!0,children:t})]}):t&&(0,Yo.jsx)("div",{className:"board-toolbar-actions","data-surface-ui":!0,children:t})]})})}var vy=W(De(),1);var Jo=W(de(),1),OC=["#252629","#697586","#ffffff","#ef4444","#f97316","#facc15","#22c55e","#14b8a6","#06b6d4","#3b82f6","#8b5cf6","#ec4899"];function Q4({value:e,label:t,onChange:a,allowNone:n=!1}){let o=le(tt),r=(0,vy.useRef)(null);return(0,Jo.jsxs)("details",{ref:r,className:"board-color-picker",children:[(0,Jo.jsx)("summary",{"aria-label":t,title:t,"data-empty":e==="none"||void 0,style:{backgroundColor:e==="none"?"#ffffff":e}}),(0,Jo.jsxs)("div",{className:"board-color-menu","data-surface-ui":!0,children:[(0,Jo.jsxs)("div",{className:"board-color-presets",role:"group","aria-label":o("style.presets"),children:[n&&(0,Jo.jsx)("button",{type:"button",className:"board-color-empty","aria-label":o("style.none"),title:o("style.none"),"aria-pressed":e==="none",onClick:()=>{a("none"),r.current&&(r.current.open=!1)}}),OC.map(i=>(0,Jo.jsx)("button",{type:"button","aria-label":o("style.presetColor",{color:i}),"aria-pressed":e.toLowerCase()===i,style:{backgroundColor:i},onClick:()=>{a(i),r.current&&(r.current.open=!1)}},i))]}),(0,Jo.jsxs)("label",{className:"board-full-palette",children:[o("style.fullPalette"),(0,Jo.jsx)("input",{type:"color","aria-label":t,value:e==="none"?"#ffffff":e,onInput:i=>a(i.currentTarget.value)})]})]})]})}var vt=W(de(),1);function LC({width:e,label:t,onChange:a,min:n=.5,max:o=12}){let r=le(tt),i=hy(),l=i==="left"||i==="right",[s,c]=(0,xy.useState)(!1),d=Math.min(o,Math.max(n,e??2.5)),f=(d-n)/(o-n)*100;return(0,vt.jsxs)("span",{className:"board-stroke-slider","data-active":s||void 0,children:[(0,vt.jsx)("svg",{viewBox:"0 0 120 24",preserveAspectRatio:"none","aria-hidden":"true",className:"board-stroke-track",children:(0,vt.jsx)("path",{d:"M 8 11.5 L 112 7 Q 117 7 117 12 Q 117 17 112 17 L 8 12.5 Q 7 12 8 11.5 Z"})}),(0,vt.jsx)("span",{className:"board-stroke-value-rail","aria-hidden":"true",children:(0,vt.jsx)("output",{style:{left:`${f}%`},children:d})}),(0,vt.jsx)("input",{type:"range","aria-orientation":l?"vertical":"horizontal","aria-label":t,"aria-valuetext":e===void 0?r("style.mixed"):void 0,min:n,max:o,step:.5,value:d,onPointerDown:u=>{u.currentTarget.setPointerCapture(u.pointerId),c(!0)},onPointerUp:()=>c(!1),onPointerCancel:()=>c(!1),onLostPointerCapture:()=>c(!1),onFocus:()=>c(!0),onBlur:()=>c(!1),onKeyDown:()=>c(!0),onKeyUp:()=>c(!1),onChange:u=>a({strokeWidth:u.currentTarget.valueAsNumber})})]})}function wy({nodes:e,onChange:t}){let a=le(tt),n=e.filter(i=>To(i)&&!!i.attrs?.label);if(!n.length)return null;let o=new Set(n.map(i=>i.attrs?.labelSize??16)),r=o.size===1?[...o][0]:void 0;return(0,vt.jsxs)("label",{className:"board-label-size",title:a("style.labelSize"),children:[(0,vt.jsx)(M1,{size:14,"aria-hidden":"true"}),(0,vt.jsxs)("select",{"aria-label":a("style.labelSize"),value:r??"",onChange:i=>t(Number(i.currentTarget.value)),children:[r===void 0&&(0,vt.jsx)("option",{value:"",disabled:!0,children:a("style.mixed")}),f6.map(i=>(0,vt.jsx)("option",{value:i,children:a(`style.labelSize${i}`)},i))]})]})}function ky({tool:e,style:t,nodes:a,onChange:n}){let o=le(tt),r=a.filter(yl);if(!r.length&&a.some(b=>b.attrs?.ink))return(0,vt.jsx)("span",{className:"board-style-controls",children:o("style.inkNotice")});if(!r.length&&(!e||["region","pan","lasso"].includes(e)))return null;let i=b=>{if(!r.length)return t[b];let p=b==="fillColor"?r.filter(h=>["rectangle","ellipse"].includes(h.attrs.tool)):r,x=new Set(p.map(h=>h.attrs?.[b]??(b==="fillColor"?"none":t[b])));return x.size===1?[...x][0]:void 0},l=r.length?r.some(b=>["rectangle","ellipse"].includes(b.attrs.tool)):e==="rectangle"||e==="ellipse",s=i("color"),c=i("fillColor"),d=i("strokeWidth"),f=!r.length&&e==="eraser",u=i("pressure")!==!1,g=r.length?r.every(b=>b.attrs.tool==="highlighter"):e==="highlighter";return(0,vt.jsxs)("div",{className:"board-style-controls","data-filled":l||void 0,role:"group","aria-label":r.length?o("style.selection"):o("style.drawing"),children:[!f&&(0,vt.jsxs)("div",{className:"board-style-section",title:s===void 0?o("style.colorsDiffer"):void 0,children:[o(l?"style.border":"style.color"),(0,vt.jsx)(Q4,{label:o(l?"style.borderColor":"style.penColor"),value:s??"#252629",allowNone:l&&r.every(b=>["rectangle","ellipse"].includes(b.attrs.tool)),onChange:b=>n({color:b})}),s===void 0&&(0,vt.jsx)("small",{children:o("style.mixed")})]}),!f&&l&&(0,vt.jsxs)("div",{className:"board-style-section",children:[o("style.fill"),(0,vt.jsx)(Q4,{label:o("style.fillColor"),value:c??"none",allowNone:!0,onChange:b=>n({fillColor:b})}),c===void 0&&(0,vt.jsx)("small",{children:o("style.mixed")})]}),(0,vt.jsx)("div",{className:"board-style-section board-width-controls",children:(0,vt.jsxs)("label",{children:[o(f?"style.eraserSize":"style.weight"),(0,vt.jsx)(LC,{width:f?t.strokeWidth:d,min:f?4:.5,max:f?64:g?20:12,label:o(f?"style.eraserSize":l?"style.borderWeight":"style.penWeight"),onChange:n}),d===void 0&&(0,vt.jsx)("small",{children:o("style.mixed")})]})}),(r.length?r.every(b=>["pen","highlighter"].includes(b.attrs.tool)):e==="pen"||e==="highlighter")&&(0,vt.jsxs)("div",{className:"board-style-section board-pressure-controls",children:[(0,vt.jsx)("span",{children:o("style.pressureLabel")}),(0,vt.jsx)("button",{type:"button",className:"board-pressure-toggle","aria-label":o("style.pressure"),title:o(u?"style.pressureWidth":"style.fixedWidth"),"aria-pressed":u,onClick:()=>n({pressure:!u}),children:(0,vt.jsx)("svg",{viewBox:"0 0 24 20","aria-hidden":"true",children:u?(0,vt.jsx)("path",{d:"M3 14 C7 2 13 7 17 9 C19 10 20 8 21 6 C20 13 16 16 12 11 C8 7 6 7 3 14 Z",fill:"currentColor"}):(0,vt.jsx)("path",{d:"M3 14 C8 2 16 18 21 6",fill:"none",stroke:"currentColor",strokeWidth:"2",strokeLinecap:"round"})})})]})]})}var js=W(De(),1);var wd=W(de(),1),Sy=180,Cy=120;function Ty({root:e,world:t,camera:a,layoutKey:n,onNavigate:o}){let r=le(tt),[i,l]=(0,js.useState)(null),s=(0,js.useRef)(0),c=()=>{cancelAnimationFrame(s.current),s.current=requestAnimationFrame(()=>{let m=t.current,v=e.current,k=a.current;if(!m||!v||!k)return;let w=[...m.children].flatMap(z=>z instanceof HTMLElement&&z.dataset.surfaceId?[{x:z.offsetLeft,y:z.offsetTop,width:z.offsetWidth,height:z.offsetHeight}]:[]);l({boxes:w,view:{x:-k.x/k.scale,y:-k.y/k.scale,width:v.clientWidth/k.scale,height:v.clientHeight/k.scale}})})};if((0,js.useEffect)(()=>{c();let m=e.current;return m?.addEventListener("showai:viewport-change",c),()=>{cancelAnimationFrame(s.current),m?.removeEventListener("showai:viewport-change",c)}},[n]),!i)return null;let d=[...i.boxes,i.view],f=Math.min(...d.map(m=>m.x)),u=Math.min(...d.map(m=>m.y)),g=Math.max(...d.map(m=>m.x+m.width)),b=Math.max(...d.map(m=>m.y+m.height)),p=Math.min(Sy/Math.max(1,g-f),Cy/Math.max(1,b-u)),x=m=>{let v=m.currentTarget.getBoundingClientRect(),k=f+(m.clientX-v.left)/p,w=u+(m.clientY-v.top)/p,z=a.current;o({...z,x:-(k-i.view.width/2)*z.scale,y:-(w-i.view.height/2)*z.scale})},h=(m,v,k)=>(0,wd.jsx)("rect",{className:v,x:(m.x-f)*p,y:(m.y-u)*p,width:Math.max(1,m.width*p),height:Math.max(1,m.height*p)},k);return(0,wd.jsxs)("svg",{className:"board-minimap","data-surface-ui":!0,width:Sy,height:Cy,role:"img","aria-label":r("board.minimap"),onPointerDown:m=>{m.currentTarget.setPointerCapture(m.pointerId),x(m)},onPointerMove:m=>m.buttons&&x(m),children:[i.boxes.map((m,v)=>h(m,"board-minimap-object",v)),h(i.view,"board-minimap-view")]})}function zy(e,t,a,n,o=!1){let r=a===1?16:a===2?n:1;return{x:(o&&!e?t:e)*r,y:(o&&!e?0:t)*r}}function em(e,t,a,n=4){let o=Math.max(.1,Math.min(n,a));return{x:t.x-(t.x-e.x)*o/e.scale,y:t.y-(t.y-e.y)*o/e.scale,scale:o}}var cm=W(Vn(),1);var Fe=W(De(),1);var Pa=W(De(),1);var Ey=-Math.log(.998)*1e3,kd=class{samples=[];add(t,a,n){let o=this.samples.at(-1);if(!(o&&(n<=o.time||t===o.x&&a===o.y)))for(this.samples.push({x:t,y:a,time:n});this.samples.length>2&&n-this.samples[0].time>100;)this.samples.shift()}release(t){let a=this.samples[0],n=this.samples.at(-1);if(!a||!n||t-n.time>80||n.time-a.time<8)return{x:0,y:0};let o=(n.time-a.time)/1e3,r=(n.x-a.x)/o,i=(n.y-a.y)/o,l=Math.min(1,3e3/Math.hypot(r,i));return{x:r*l,y:i*l}}};function Dy(e,t){let a=Math.exp(-Ey*Math.max(0,Math.min(.064,t))),n=(1-a)/Ey;return{x:e.x*n,y:e.y*n,velocity:{x:e.x*a,y:e.y*a}}}function tm(e){let t=Math.abs(e);return Math.sign(e)*(.72*t-50.4*(1-Math.exp(-t/120)))}function Ny(e){let t=Math.abs(e),a=t/.72;for(let n=0;n<8;n++)a=Math.max(0,a-(tm(a)-t)/(.72-.42*Math.exp(-a/120)));return Math.sign(e)*a}var Sd=(e,t,a)=>Math.max(t,Math.min(a,e));function My(e,t,a){if(!a)return{camera:{...e,x:e.x+t.x,y:e.y+t.y},released:!0};let n=Sd(e.y,a.minY,a.maxY),o=a.x+Ny(e.x-a.x)+t.x,r=n+Ny(e.y-n)+t.y,i=Sd(r,a.minY,a.maxY),l=o-a.x,s=r-i;return{camera:{...e,x:a.x+tm(l),y:i+tm(s)},released:Math.abs(l)>240||Math.abs(s)>240}}function BC(e,t,a){let n=e.width*t.scale,o=e.height*t.scale;if(n>a.width+1||n<Math.min(140,a.width*.5))return null;let r=Math.min(24,Math.max(0,(a.width-n)/2)),i=r-a.offsetX-e.x*t.scale,l=a.width-r-a.offsetX-(e.x+e.width)*t.scale,s=(i+l)/2,c=Math.abs(t.x-s)<=48?s:Sd(t.x,i,l);if(Math.abs(c-t.x)>56)return null;let d=48,f=a.height-76,u=d-e.y*t.scale,g=f-(e.y+e.height)*t.scale,b=Math.min(u,g),p=Math.max(u,g),x=Sd(t.y,b,p);if(o<=f-d){let h=(u+g)/2;Math.abs(t.y-h)<=36&&(x=h)}return Math.abs(x-t.y)>40?null:{camera:{...t,x:c,y:x},anchor:{id:e.id,label:e.label,x:c,minY:b,maxY:p}}}function Ay(e,t,a){return e.map(n=>{let o=BC(n,t,a);if(!o)return null;let r=a.offsetX+t.x+(n.x+n.width/2)*t.scale,i=t.y+(n.y+n.height/2)*t.scale,l=Math.abs(r-a.width/2)+Math.min(a.height,Math.abs(i-(a.height-76)/2))*.18;return{...o,score:l}}).filter(n=>n!==null).sort((n,o)=>n.score-o.score)[0]??null}function Iy(e,t,a,n){let o=Math.min(.032,Math.max(.001,n)),r=t+((a-e)*240-t*26)*o;return{position:e+r*o,velocity:r}}var Ry=kt(tt);function HC(){let e=1,t=new Set;return{get:()=>e,set(a){if(a!==e){e=a;for(let n of t)n()}},subscribe(a){return t.add(a),()=>{t.delete(a)}}}}function Oy(e){return(0,Pa.useSyncExternalStore)(e.subscribe,e.get,e.get)}var Td=e=>e instanceof Element&&(!!e.closest('input, textarea, select, [role="textbox"], [data-editor-keyboard-scope]')||e.closest("[contenteditable]")?.getAttribute("contenteditable")==="true"),Py=e=>e instanceof Element&&(Td(e)||!!e.closest('button, a, input, textarea, select, summary, [role="slider"], iframe, [data-surface-gesture="own"], .react-flow'));function jC(e,t,a,n,o){if(!(e instanceof Element))return!1;let r=e.closest('[data-viewport-locked="true"]'),i=e.closest("[data-surface-gesture]")?.getAttribute("data-surface-gesture")?.split(/\s+/)??[];if(i.includes("own")||(o?i.includes("zoom"):i.includes(Math.abs(a)>Math.abs(n)?"x":"y"))||e.closest('[data-surface-ui], [data-surface-gesture="own"], input[type="range"], select')||!r&&e.closest(".react-flow"))return!0;if(o)return!1;for(let l=e;l&&l!==t;l=l.parentElement){let s=getComputedStyle(l);if(Math.abs(a)>Math.abs(n)&&/auto|scroll/.test(s.overflowX)&&(a>0?l.scrollLeft+l.clientWidth<l.scrollWidth-1:l.scrollLeft>0)||Math.abs(n)>=Math.abs(a)&&/auto|scroll/.test(s.overflowY)&&(n>0?l.scrollTop+l.clientHeight<l.scrollHeight-1:l.scrollTop>0))return!0}return!1}function UC(e){let t=24*e;for(;t<12;)t*=4;for(;t>96;)t/=4;return t}function Ly(e,t,a=!0,n={}){let o=(0,Pa.useContext)(pd),r=t;t&&o&&(t=`${t}:${o}`);let i=(0,Pa.useRef)(a);i.current=a;let l=(0,Pa.useRef)(n);l.current=n;let s=(0,Pa.useRef)(null),c=(0,Pa.useRef)(null),d=(0,Pa.useRef)(null),f=(0,Pa.useRef)({x:0,y:0,scale:1}),u=(0,Pa.useRef)(null),g=u.current??=HC(),b=(0,Pa.useRef)({fit:(p,x)=>{},focus:(p,x)=>{},point:(p,x)=>({x:0,y:0}),restored:!1,restoredTargets:[],restoredAnchor:null,restore:()=>{},zoom:p=>{},panBy:(p,x)=>{},moveTo:(p,x=!1)=>{},navigateTo:(p,x=!1)=>{},refresh:()=>{},cancel:()=>{},objectGesture:p=>{}});return(0,Pa.useEffect)(()=>{let p=s.current,x=c.current,h=d.current,m=x.querySelector(":scope > .surface-grid"),v=A=>i.current&&(!(A instanceof Element)||!A.closest("[data-input-surface]")||A.closest("[data-input-surface]")===p),k=A=>{for(let te=A instanceof Element?A:null;te&&te!==p;te=te.parentElement)if(te.classList.contains("page-surface")&&te.dataset.inputSurface)return!0;return!1},w=()=>p.getBoundingClientRect().width/p.clientWidth||1,z=(A,te)=>{let Ce=p.getBoundingClientRect(),ze=w();return{x:(A-Ce.left)/ze,y:(te-Ce.top)/ze}},P=matchMedia("(prefers-reduced-motion: reduce)"),j=0,T=0,S=0,B=null,O=!1,N=null,V=-1/0,R=!1,E=!1,D=!1,M=()=>p.dataset.boardTool==="pan"||!!l.current.panMode?.current,Z=()=>E||M(),U=null,F=new Map,_=null,X=()=>({width:x.clientWidth,height:p.clientHeight,offsetX:0}),q=()=>{let A=h.getBoundingClientRect(),te=f.current.scale*w();return[...h.querySelectorAll("[data-surface-id]")].filter(Ce=>Ce.closest(".surface-world")===h&&Ce.closest("[data-container-root]")===h.closest("[data-container-root]")).map(Ce=>{let ze=Ce.getBoundingClientRect();return{id:Ce.dataset.surfaceId,label:Ce.dataset.surfaceName||Ry("node.region"),x:(ze.left-A.left)/te,y:(ze.top-A.top)/te,width:ze.width/te,height:ze.height/te}})},I=A=>l.current.reading?Ay(q(),A,X()):null,C=null,G=()=>{if(!t)return;let A=q().filter(ze=>{let Le=f.current;return ze.x*Le.scale+Le.x<p.clientWidth&&(ze.x+ze.width)*Le.scale+Le.x>0&&ze.y*Le.scale+Le.y<p.clientHeight&&(ze.y+ze.height)*Le.scale+Le.y>0}).slice(0,100),te=B?.id,Ce=te&&q().find(ze=>ze.id===te);try{localStorage.setItem(t,JSON.stringify({...f.current,visibleIds:A.map(ze=>ze.id),anchor:Ce?{id:Ce.id,x:Ce.x,y:Ce.y}:null}))}catch{}};if(t)try{let A=JSON.parse(localStorage.getItem(t)||(r?localStorage.getItem(r):null)||"null");A&&[A.x,A.y,A.scale].every(Number.isFinite)&&A.scale>=.1&&A.scale<=4&&Array.isArray(A.visibleIds)&&A.visibleIds.length<=100&&A.visibleIds.every(te=>typeof te=="string")&&(f.current={x:A.x,y:A.y,scale:A.scale},b.current.restored=!0,b.current.restoredTargets=A.visibleIds,A.anchor&&typeof A.anchor.id=="string"&&[A.anchor.x,A.anchor.y].every(Number.isFinite)&&(C=A.anchor))}catch{}let H=A=>{let te=q().find(Ya=>Ya.id===A);if(te)return te;let Ce=h.querySelector(`[data-block-id="${CSS.escape(A)}"]`);if(!Ce)return;let ze=Ce.getBoundingClientRect(),Le=h.getBoundingClientRect(),bt=f.current.scale*w();return{id:A,label:Ry("node.content"),x:(ze.left-Le.left)/bt,y:(ze.top-Le.top)/bt,width:ze.width/bt,height:ze.height/bt}},ge=A=>{B=A,p.dataset.anchor=A?.id??""},re=()=>{let A=f.current,te=`translate3d(${A.x}px, ${A.y}px, 0) scale(${A.scale})`,Ce=h.style.transform;h.style.transform=te;let ze=h.style.transform!==Ce;p.style.getPropertyValue("--board-zoom")!==String(A.scale)&&p.style.setProperty("--board-zoom",String(A.scale));let Le=UC(A.scale);m&&(m.style.getPropertyValue("--board-grid-size")!==`${Le}px`&&m.style.setProperty("--board-grid-size",`${Le}px`),m.style.transform=`translate3d(${A.x%Le}px, ${A.y%Le}px, 0)`),g.set(A.scale),ze&&p.dispatchEvent(new Event("showai:viewport-change",{bubbles:!0}))},he=()=>{cancelAnimationFrame(j),j=requestAnimationFrame(re)},Me=()=>{cancelAnimationFrame(T),T=0,delete p.dataset.settling},Ze=(A,te)=>{if(Me(),cancelAnimationFrame(j),P.matches){f.current=A,re(),te?.(),G();return}p.dataset.settling="true";let Ce=performance.now(),ze={x:0,y:0,scale:0},Le=bt=>{let Ya=(bt-Ce)/1e3;Ce=bt;let ua={...f.current},Ja=!0;for(let pa of["x","y","scale"]){let Ti=Iy(ua[pa],ze[pa],A[pa],Ya);ua[pa]=Ti.position,ze[pa]=Ti.velocity;let ya=pa==="scale"?2e-4:.15;(Math.abs(ua[pa]-A[pa])>ya||Math.abs(ze[pa])>ya*8)&&(Ja=!1)}f.current=Ja?A:ua,re(),Ja?(Me(),te?.(),G()):T=requestAnimationFrame(Le)};T=requestAnimationFrame(Le)},Ye=()=>{if(document.documentElement.dataset.native==="ios"){ge(null),he();return}N&&(N.released=!0);let A=I(f.current);ge(A?{...A.anchor,x:f.current.x}:null),he()},Je=()=>{clearTimeout(S);let A=N;if(N=null,document.documentElement.dataset.native==="ios"){ge(null),re(),G();return}if(A?.anchor&&!A.released&&q().some(Ce=>Ce.id===A.anchor.id)){ge(A.anchor),Ze({...f.current,x:A.anchor.x,y:Math.max(A.anchor.minY,Math.min(A.anchor.maxY,f.current.y))});return}let te=A?.stepped?null:I(f.current);ge(te?.anchor??null),te?Ze(te.camera):G()},wt=()=>{clearTimeout(S),S=window.setTimeout(Je,220)},Xe=()=>{clearTimeout(S),Me(),N=null},Ae=A=>{if(P.matches||Math.hypot(A.x,A.y)<40)return!1;Xe(),ge(null),cancelAnimationFrame(j),re(),p.dataset.settling="true";let te=performance.now(),Ce=ze=>{let Le=Dy(A,(ze-te)/1e3);te=ze,A=Le.velocity,f.current={...f.current,x:f.current.x+Le.x,y:f.current.y+Le.y},re(),Math.hypot(A.x,A.y)<20?(Me(),G()):T=requestAnimationFrame(Ce)};return T=requestAnimationFrame(Ce),!0},K=()=>(Xe(),{origin:{...f.current},anchor:B,delta:{x:0,y:0},released:!1}),xe=A=>{let te=My(A.origin,A.delta,A.anchor);A.released||=te.released,f.current=te.camera,A.released&&A.anchor&&(A.anchor=null,A.origin={...te.camera,x:te.camera.x-A.delta.x,y:te.camera.y-A.delta.y},ge(null)),he()},pe=(A,te=!1)=>{Xe(),ge(null),te?(f.current=A,re(),Ye()):Ze(A,Ye)},Y=(A,te=!1)=>{Xe(),ge(null),f.current=A,re(),te&&G()},Pe=()=>({top:56,bottom:p.clientHeight-84}),Be=(A,te=!1)=>{let Ce=q(),ze=A?.length?A.map(H).filter(ya=>!!ya):Ce;if(!ze.length){pe({x:64,y:64,scale:1},te);return}let Le=Math.min(...ze.map(ya=>ya.x)),bt=Math.min(...ze.map(ya=>ya.y)),Ya=Math.max(...ze.map(ya=>ya.x+ya.width)),ua=Math.max(...ze.map(ya=>ya.y+ya.height)),Ja=Pe(),pa=Math.max(.1,Math.min(1,(p.clientWidth-96)/Math.max(1,Ya-Le),(Ja.bottom-Ja.top)/Math.max(1,ua-bt))),Ti=(ua-bt)*pa;pe({x:p.clientWidth/2-(Le+Ya)/2*pa,y:Ti<=Ja.bottom-Ja.top?(Ja.top+Ja.bottom)/2-(bt+ua)/2*pa:Ja.top-bt*pa,scale:pa},te)},zt=(A,te=!1)=>{let Ce=H(A);if(!Ce)return;let ze=Math.max(.1,Math.min(1,(p.clientWidth-96)/Ce.width));pe({x:p.clientWidth/2-(Ce.x+Ce.width/2)*ze,y:64-Ce.y*ze,scale:ze},te)},J=(A,te={x:X().width/2-X().offsetX,y:p.clientHeight/2})=>{Xe(),ge(null),f.current=em(f.current,te,A),he(),S=window.setTimeout(G,220)},Te=(A,te)=>{Xe(),ge(null),f.current={...f.current,x:f.current.x+A,y:f.current.y+te},re(),S=window.setTimeout(G,220)};b.current={fit:Be,focus:zt,zoom:J,panBy:Te,moveTo:pe,navigateTo:Y,refresh:Ye,cancel:b.current.cancel,objectGesture:b.current.objectGesture,restored:b.current.restored,restoredTargets:b.current.restoredTargets,restoredAnchor:C?.id??null,restore:()=>{let A=C&&q().find(te=>te.id===C.id);A&&C&&(f.current={...f.current,x:f.current.x+(C.x-A.x)*f.current.scale,y:f.current.y+(C.y-A.y)*f.current.scale}),re(),Ye()},point:(A,te)=>{let Ce=z(A,te);return{x:(Ce.x-f.current.x)/f.current.scale,y:(Ce.y-f.current.y)/f.current.scale}}};let Se=A=>{if(!i.current||k(A.target)||A.defaultPrevented||U||_)return;let te=zy(A.deltaX,A.deltaY,A.deltaMode,p.clientHeight,A.shiftKey),Ce=A.ctrlKey||A.metaKey,ze=performance.now();if(ze-V>220&&(R=!O&&jC(A.target,p,te.x,te.y,Ce)),V=ze,!R){if(A.preventDefault(),Ce){let Le=p.getBoundingClientRect();J(f.current.scale*Math.exp(-Math.max(-35,Math.min(35,te.y))*.009),{x:(A.clientX-Le.left)/w()-X().offsetX,y:(A.clientY-Le.top)/w()});return}if(O){Te(-te.x/w(),-te.y/w());return}N||(N=K()),(A.deltaMode!==0||Math.abs(A.deltaY)>=50&&Number.isInteger(A.deltaY))&&(N.released=N.stepped=!0,!N.delta.x&&!N.delta.y&&(N.anchor=null)),N.delta.x-=te.x/w(),N.delta.y-=te.y/w(),xe(N),wt()}},ye=A=>{let te=p.getBoundingClientRect();return{x:(A.clientX-te.left)/w()-X().offsetX,y:(A.clientY-te.top)/w()}},me=()=>{let[A,te]=[...F.values()];return{distance:Math.max(1,Math.hypot(A.x-te.x,A.y-te.y)),center:{x:(A.x+te.x)/2,y:(A.y+te.y)/2}}},$e=A=>{if(v(A.target)&&T&&(Xe(),re(),G()),!(!v(A.target)||A.pointerType!=="touch"||A.target.closest('[data-surface-ui],iframe,[data-surface-gesture="own"],.react-flow'))&&(F.set(A.pointerId,ye(A)),F.size===2)){A.preventDefault(),A.stopPropagation(),Xe(),U=null,p.dispatchEvent(new Event("showai-board-pinch")),_={...me(),camera:{...f.current},anchor:B},ge(null);for(let te of F.keys())p.setPointerCapture(te)}},Et=A=>{let te=Z(),Ce=M();if(!v(A.target)||A.defaultPrevented||!yo(A.pointerType)&&A.target.closest('[data-drawing-active="true"]')||A.target.closest("[data-board-drawing-input]")&&!yo(A.pointerType)&&A.button!==1&&!te)return;(T||N)&&Xe();let ze=A.target;if(Ce&&ze.closest("[data-surface-ui]")&&!h.contains(ze))return;if(ze.closest("[data-surface-handle]")&&!te&&A.button!==1){A.button===0&&(b.current.cancel(),O=!0);return}if(ze.closest('[data-surface-gesture="own"], .react-flow')||!te&&A.button!==1&&ze.closest("[data-surface-ui], [data-surface-handle]"))return;let Le=A.pointerType==="touch";if(Le&&(F.set(A.pointerId,ye(A)),F.size===2)){A.preventDefault(),Xe(),U=null,_={...me(),camera:{...f.current},anchor:B},ge(null);for(let ua of F.keys())p.setPointerCapture(ua);return}let bt=Le&&!ze.closest('button, a, input, textarea, select, summary, [role="slider"], iframe');U||A.button>1||Py(ze)&&!bt&&!(A.button===1||Ce||te&&!Td(ze))||ze.closest("[data-surface-content]")&&!bt&&!te&&A.button!==1||(Le||(A.preventDefault(),p.focus({preventScroll:!0}),p.setPointerCapture(A.pointerId)),U={id:A.pointerId,x:A.clientX,y:A.clientY,touch:Le,started:!Le,gesture:K(),velocity:new kd},U.velocity.add(0,0,A.timeStamp),Le||p.classList.add("is-panning"))},Q=A=>{if(O)return;if(F.has(A.pointerId)&&F.set(A.pointerId,ye(A)),_&&F.size>=2){let ze=me(),Le=em(_.camera,_.center,_.camera.scale*ze.distance/_.distance);f.current={...Le,x:Le.x+ze.center.x-_.center.x,y:Le.y+ze.center.y-_.center.y},he();return}if(!U||U.id!==A.pointerId)return;let te=(A.clientX-U.x)/w(),Ce=(A.clientY-U.y)/w();if(!U.started){if(Math.hypot(te,Ce)<8||!window.getSelection()?.isCollapsed)return;U.started=!0,p.setPointerCapture(A.pointerId),p.classList.add("is-panning")}U.gesture.delta={x:te,y:Ce},U.velocity.add(te,Ce,A.timeStamp),xe(U.gesture)},fe=(A,te=!1)=>{if(O=!1,A?F.delete(A.pointerId):F.clear(),_){let Ce=_;_=null,te&&document.documentElement.dataset.native!=="ios"?(ge(Ce.anchor),Ze(Ce.camera)):(ge(null),re(),G())}if(U&&(!A||U.id===A.pointerId)){let Ce=U;U=null,p.hasPointerCapture(Ce.id)&&p.releasePointerCapture(Ce.id),Ce.started&&(te&&document.documentElement.dataset.native!=="ios"?(ge(Ce.gesture.anchor),Ze(Ce.gesture.origin)):Ce.touch&&!te&&Ae(Ce.velocity.release(A?.timeStamp??performance.now()))||(N=Ce.gesture,Je()))}p.classList.remove("is-panning")},ve=A=>{U?.touch&&U.id===A.pointerId&&Q(A),fe(A)},at=A=>{_&&(A.preventDefault(),A.stopPropagation(),Q(A))},Qe=A=>{_?(A.preventDefault(),A.stopPropagation(),fe(A,A.type==="pointercancel")):U||F.delete(A.pointerId)};b.current.cancel=()=>{Xe(),U&&p.hasPointerCapture(U.id)&&p.releasePointerCapture(U.id),U=null,_=null,F.clear(),O=!1,R=!1,E=!1,p.classList.remove("is-panning","is-hand")},b.current.objectGesture=A=>{O=A,A||Ye()};let ie=A=>fe(A,!0),Kt=A=>{A.target===p&&(O=!1,U?.id===A.pointerId&&fe(A,!0))},Sr=A=>{A.preventDefault(),E=!0,p.classList.add("is-hand")},dl=A=>{if(!v(A.target)||(T&&Me(),Td(A.target)&&N&&(Xe(),Ye()),A.defaultPrevented||A.isComposing||Td(A.target))||(A.code==="Space"&&!Py(A.target)&&Sr(A),A.key==="Escape"&&(U||_)&&fe(void 0,!0),A.target!==p))return;let te=A.shiftKey?320:120,Ce={ArrowLeft:[te,0],ArrowRight:[-te,0],ArrowUp:[0,te],ArrowDown:[0,-te],PageUp:[0,p.clientHeight*.8],PageDown:[0,-p.clientHeight*.8]};if(Ce[A.key]){A.preventDefault();let[ze,Le]=Ce[A.key];pe({...f.current,x:f.current.x+ze,y:f.current.y+Le})}["+","=","-"].includes(A.key)&&!A.metaKey&&!A.ctrlKey&&!A.altKey&&(A.preventDefault(),J(f.current.scale*(A.key==="-"?1/1.2:1.2))),(A.key==="0"&&!A.shiftKey&&!A.metaKey||A.key==="Home")&&(A.preventDefault(),Be())},Bn=A=>{A.code!=="Space"||E||!D||!i.current||A.defaultPrevented||A.repeat||p.contains(A.target)||A.target!==document.body&&A.target!==document.documentElement||Sr(A)},Ht=()=>D=!0,wi=()=>D=!1,ki=A=>{A.code==="Space"&&(E=!1,p.classList.remove("is-hand"))},Zs=()=>{E=!1,p.classList.remove("is-hand"),fe(void 0,!0),N&&Je(),T&&(Xe(),re(),G())},Si=()=>{document.visibilityState==="hidden"&&(b.current.cancel(),G())},Cr=()=>{if(matchMedia("print").matches||!x.scrollTop&&!x.scrollLeft)return;let A=x.scrollLeft,te=x.scrollTop;if(x.scrollTop=0,x.scrollLeft=0,!!i.current){if(T){he();return}Xe(),f.current={...f.current,x:f.current.x-A,y:f.current.y-te},Ye()}},Ci=p.getBoundingClientRect(),Hn=new ResizeObserver(A=>{if(l.current.anchorScreen&&A.some(te=>te.target===p)){let te=p.getBoundingClientRect(),Ce=w(),ze=(Ci.left-te.left)/Ce,Le=(Ci.top-te.top)/Ce;Ci=te,(ze||Le)&&(f.current={...f.current,x:f.current.x+ze,y:f.current.y+Le},re())}!N&&!U&&!_&&!T&&!O&&Ye()});Hn.observe(p);let Tr=new Set,ul=()=>{let A=new Set([...h.querySelectorAll("[data-surface-id]")].filter(te=>te.closest(".surface-world")===h&&te.closest("[data-container-root]")===h.closest("[data-container-root]")));for(let te of Tr)A.has(te)||(Hn.unobserve(te),Tr.delete(te));for(let te of A)Tr.has(te)||(Hn.observe(te),Tr.add(te));O||Ye()};return b.current.refresh=ul,p.addEventListener("wheel",Se,{passive:!1}),p.addEventListener("pointerdown",$e,!0),p.addEventListener("pointermove",at,!0),p.addEventListener("pointerup",Qe,!0),p.addEventListener("pointercancel",Qe,!0),p.addEventListener("pointerdown",Et),p.addEventListener("pointermove",Q),p.addEventListener("pointerup",ve),p.addEventListener("pointercancel",ie),p.addEventListener("lostpointercapture",Kt),p.addEventListener("keydown",dl),p.addEventListener("pointerenter",Ht),p.addEventListener("pointerleave",wi),x.addEventListener("scroll",Cr),window.addEventListener("keydown",Bn),window.addEventListener("keyup",ki),window.addEventListener("blur",Zs),document.addEventListener("visibilitychange",Si),ul(),()=>{G(),Hn.disconnect(),cancelAnimationFrame(j),cancelAnimationFrame(T),clearTimeout(S),p.removeEventListener("wheel",Se),p.removeEventListener("pointerdown",$e,!0),p.removeEventListener("pointermove",at,!0),p.removeEventListener("pointerup",Qe,!0),p.removeEventListener("pointercancel",Qe,!0),p.removeEventListener("pointerdown",Et),p.removeEventListener("pointermove",Q),p.removeEventListener("pointerup",ve),p.removeEventListener("pointercancel",ie),p.removeEventListener("lostpointercapture",Kt),p.removeEventListener("keydown",dl),p.removeEventListener("pointerenter",Ht),p.removeEventListener("pointerleave",wi),x.removeEventListener("scroll",Cr),window.removeEventListener("keydown",Bn),window.removeEventListener("keyup",ki),window.removeEventListener("blur",Zs),document.removeEventListener("visibilitychange",Si)}},[]),(0,Pa.useEffect)(()=>{b.current.refresh()},[e]),(0,Pa.useEffect)(()=>{a||b.current.cancel()},[a]),{rootRef:s,scrollRef:c,worldRef:d,scale:g,camera:f,controls:b}}rt(`.surface-editor-shell{position:relative;height:100%;min-height:0;flex:1}.surface-extra-actions{display:contents}.page-surface{position:relative;height:100%;min-height:0;flex:1;overflow:clip;isolation:isolate;background:var(--paper, var(--bg));outline-offset:-3px;touch-action:none;--board-inv: calc(var(--board-inv-outer, 1) / var(--board-zoom, 1))}.surface-scroll{position:absolute;inset:0;overflow:hidden;overscroll-behavior:contain;touch-action:none;overflow-anchor:none}.surface-world{position:absolute;left:0;top:0;width:0;height:0;transform-origin:0 0;will-change:transform;--board-inv-outer: var(--board-inv)}.agent-reference-picker{position:absolute;inset:0;z-index:80;cursor:crosshair;touch-action:none}.agent-reference-hint{position:absolute;top:54px;left:50%;transform:translate(-50%);padding:8px 12px;border-radius:9px;background:var(--paper, #fff);border:1px solid var(--line, #ddd);box-shadow:0 3px 18px #0001;font-size:12px;pointer-events:none}.agent-reference-marquee{position:absolute;border:1.5px dashed #4585ed;background:#4585ed12;pointer-events:none}.agent-reference-preview{position:absolute;left:0;top:0;overflow:visible;pointer-events:none;z-index:30}.agent-reference-preview rect,.agent-reference-preview circle,.agent-reference-preview path{fill:#4585ed0b;stroke:#4585ed;stroke-width:1.5px;stroke-dasharray:5 4}.surface-object.is-container:has(>.surface-object-content>.container-page[data-frameless=true]){border-color:transparent;background:transparent;box-shadow:none}.container-page[data-frameless=true]{background:transparent;border:0;box-shadow:none}.surface-metadata{position:absolute;left:22px;top:14px;z-index:15;max-width:min(50%,480px);color:var(--muted);background:var(--paper, var(--bg))}.surface-page-title,.surface-metadata .portable-title{display:block;width:100%;font:inherit;font-size:14px;font-weight:550;border:0;background:transparent;resize:none;padding:4px;margin:0;height:auto;line-height:1.5}.surface-object{border:1px solid transparent;border-radius:10px;background:transparent}.surface-object:has(>.surface-object-content>.sb-media),.surface-object:has(>.surface-object-content>.sb-pdf){border:0}.surface-object:has(>.surface-object-content>.sb-media)>.surface-object-content,.surface-object:has(>.surface-object-content>.sb-pdf)>.surface-object-content{padding:0}.surface-object-content>.sb-media,.surface-object-content>.sb-pdf{margin:0}.surface-object:has(>.surface-object-content>.sb-media)>.surface-object-header,.surface-object:has(>.surface-object-content>.sb-pdf)>.surface-object-header{position:absolute;left:0;bottom:100%;opacity:0;pointer-events:none}.surface-object:has(>.surface-object-content>.sb-media).is-selected>.surface-object-header,.surface-object:has(>.surface-object-content>.sb-pdf).is-selected>.surface-object-header,.surface-object:has(>.surface-object-content>.sb-media)>.surface-object-header:focus-within,.surface-object:has(>.surface-object-content>.sb-pdf)>.surface-object-header:focus-within{opacity:1;pointer-events:auto}.surface-object:has(>.surface-object-content>.sb-media)>.surface-object-header .surface-object-grip>span,.surface-object:has(>.surface-object-content>.sb-pdf)>.surface-object-header .surface-object-grip>span{display:none}.surface-object:focus-within,.surface-object.is-moving{z-index:2}.surface-object.is-moving{user-select:none}.surface-object[data-erasing=true]{opacity:.35!important}.board-eraser-cursor{fill:#64748b18;stroke:#64748b;stroke-width:1;pointer-events:none}.surface-object-content{padding:18px 28px 26px;min-width:0}.surface-object.is-region>.surface-object-content{padding:26px 44px 44px}.surface-object-header{display:flex;gap:4px;align-items:center;min-height:32px;padding:4px 7px;color:var(--muted);font-size:11px}.surface-object-header button{display:inline-flex;align-items:center;justify-content:center;gap:7px;border:0;padding:4px;border-radius:4px;font-size:11px}.surface-object-header .surface-object-grip{flex:1;justify-content:flex-start;text-align:left;min-width:0}.surface-object-grip span{text-overflow:ellipsis;overflow:hidden;white-space:nowrap}.surface-object-grip[data-surface-handle]{cursor:grab;touch-action:none}.surface-object-resize{position:absolute;right:0;bottom:0;padding:4px 7px;border:0;color:var(--muted);cursor:ew-resize;touch-action:none;border-radius:5px}.surface-object-content .document-content{min-height:80px}.surface-layout-flow>*+*{margin-top:16px}.surface-layout-grid{display:grid;align-items:start}.surface-layout-free{position:relative}.surface-layout-free>.surface-object{max-width:none}.surface-toolbar{position:absolute;z-index:80;bottom:20px;left:50%;transform:translate(-50%);display:flex;align-items:center;gap:2px;padding:5px;max-width:calc(100% - 24px);border:1px solid var(--line, var(--border));border-radius:12px;background:var(--paper, var(--bg));box-shadow:0 4px 20px #0000000a;flex-wrap:wrap;justify-content:center;width:max-content}.surface-toolbar button,.surface-toolbar summary{display:inline-flex;align-items:center;justify-content:center;gap:7px;min-height:32px;min-width:32px;padding:6px 9px;border:0;border-radius:7px;font-size:12px;white-space:nowrap;color:var(--text);cursor:pointer}.surface-toolbar button:disabled{opacity:.35;cursor:default}.surface-toolbar summary::-webkit-details-marker{display:none}.surface-toolbar summary:hover{background:var(--hover)}.surface-toolbar .surface-zoom{min-width:48px;padding:6px 2px;font-variant-numeric:tabular-nums}.surface-toolbar-divider{width:1px;height:18px;background:var(--line, var(--border));margin:0 3px;flex-shrink:0}.surface-popover-anchor{position:relative}.surface-navigation,.surface-add-menu{position:absolute;bottom:44px;left:0;width:280px;max-height:min(480px,70dvh);overflow:auto;background:var(--paper, var(--bg));border:1px solid var(--line, var(--border));border-radius:12px;box-shadow:0 8px 36px #00000012;padding:10px}.surface-add-menu{width:160px;left:auto;right:0;display:grid}.surface-navigation strong{display:block;font-size:12px;color:var(--muted);margin:7px 8px}.surface-navigation p{font-size:12px;margin:8px}.surface-navigation-row{display:flex;align-items:center}.surface-navigation-row>button:first-child{flex:1;justify-content:flex-start;overflow:hidden;text-overflow:ellipsis}.surface-navigation form{margin-top:12px;padding-top:10px;border-top:1px solid var(--line, var(--border))}.surface-navigation input,.surface-inspector input,.surface-inspector select{width:100%;border:1px solid var(--line, var(--border));padding:7px 8px;font-size:13px;background:var(--paper, var(--bg));border-radius:6px}.surface-empty{position:absolute;left:50%;top:42%;transform:translate(-50%,-50%);color:var(--muted);font-size:14px;text-align:center}.surface-empty button{display:inline-flex;gap:8px;align-items:center;border:1px solid var(--line, var(--border));border-radius:8px;padding:9px 14px;color:var(--text)}.surface-inspector{position:absolute;right:16px;top:56px;width:250px;max-height:calc(100% - 150px);overflow:auto;z-index:25;background:var(--paper, var(--bg));border:1px solid var(--line, var(--border));border-radius:12px;padding:14px;box-shadow:0 8px 32px #0000000a;font-size:13px}.surface-inspector header{display:flex;justify-content:space-between;align-items:center;margin-bottom:12px}.surface-inspector label{display:grid;gap:6px;margin:12px 0;color:var(--muted)}.surface-inspector-actions{display:flex;gap:6px}.surface-inspector button{padding:6px;border-radius:5px}.surface-error{position:absolute;z-index:35;bottom:80px;left:24px;background:var(--paper);border:1px solid var(--line);padding:10px 14px;border-radius:8px;font-size:13px}.page-surface.is-hand,.page-surface.is-hand .surface-scroll{cursor:grab}.page-surface.is-panning,.page-surface.is-panning *{cursor:grabbing!important;user-select:none!important}.page-surface.is-panning iframe,.surface-object.is-moving iframe{pointer-events:none}.surface-template{height:580px;max-height:70dvh}.studio-scroll.has-page-surface{position:relative;overflow:hidden;min-height:0}.studio-scroll.has-page-surface>.surface-editor-shell{position:absolute;inset:0}.canvas-app:has(.surface-editor-shell){height:100dvh;display:flex;flex-direction:column}.portable-app:has(>.page-surface){height:100dvh}@media(max-width:640px){.surface-toolbar{bottom:12px}.surface-toolbar button,.surface-toolbar summary{padding:6px}.surface-inspector{width:220px;right:10px}.surface-metadata{left:10px}.surface-navigation{width:255px}}@media print{.portable-app:has(>.page-surface),.page-surface,.surface-editor-shell{height:auto;overflow:visible}.surface-scroll,.surface-world,.surface-metadata{position:static;width:auto;height:auto;transform:none!important}.surface-world{will-change:auto}.surface-toolbar,.surface-object-header,.surface-object-resize,.surface-inspector,.surface-empty{display:none}.surface-object{position:static!important;width:auto!important;min-height:0!important;left:auto!important;top:auto!important;margin:12px 0;border:0!important;break-inside:auto}.surface-layout-grid{display:block}.surface-layout-free{min-height:0!important}.surface-object-content,.surface-object.is-region>.surface-object-content{padding:0}}.surface-reading>.surface-object{width:100%}.surface-reading-heading .portable-title{font-size:18px;color:var(--muted);margin-bottom:28px}.surface-reading .surface-object-content{padding-left:0;padding-right:0}@media(max-width:640px){.surface-reading .surface-layout-grid{grid-template-columns:1fr!important}}.surface-empty-region{min-height:88px;width:100%;padding:18px;color:var(--muted);border-radius:8px;font-size:13px}.surface-image{display:block;width:100%;height:auto;border-radius:4px}.surface-editor-shell{display:flex;min-width:0}.page-surface{min-width:0}.surface-inspector{position:relative;flex:0 0 250px;right:auto;top:auto;margin:56px 16px 80px 0;align-self:flex-start}@media(max-width:640px){.surface-inspector{position:absolute;top:auto;bottom:70px;right:10px;margin:0;width:min(280px,calc(100% - 20px));max-height:55%}}.board-snap-guides{position:absolute;inset:0;width:1px;height:1px;overflow:visible;pointer-events:none;z-index:30;stroke:#e06b52;stroke-width:1}.board-marquee{position:absolute;pointer-events:none;border:calc(1px * var(--board-inv, 1)) solid #467de3;background:#467de31a;z-index:30}.surface-object-rotate{position:absolute;left:calc(50% - 12px * var(--board-inv, 1));top:calc(-44px * var(--board-inv, 1));width:calc(24px * var(--board-inv, 1));height:calc(24px * var(--board-inv, 1));padding:0;font-size:calc(13px * var(--board-inv, 1));line-height:1;border:calc(1px * var(--board-inv, 1)) solid var(--border, #ccc);border-radius:50%;background:var(--panel, white);color:var(--text, #252629);cursor:grab;z-index:12;touch-action:none}.board-selection-count{padding:0 6px;font-size:12px;white-space:nowrap}.board-group-outline{position:absolute;pointer-events:none;z-index:13;outline:calc(1.5px * var(--board-inv, 1)) solid #467de3}.board-style-controls{display:flex;align-items:center;gap:10px;padding:2px 4px}.board-component-actions{display:flex;align-items:center;gap:4px}.board-component-actions:empty{display:none}.board-component-actions[hidden]{display:none}.board-component-actions .sb-actions{position:static;display:flex;opacity:1;pointer-events:auto}.board-component-actions .sb-g2-toolbar{margin:0;padding:0 6px}.board-component-settings{position:absolute;bottom:calc(100% + 10px);right:0;width:min(420px,calc(100vw - 32px));max-height:min(560px,65dvh);overflow:auto;padding:12px;border:1px solid var(--line, var(--border));border-radius:12px;background:var(--paper, var(--bg));box-shadow:0 8px 32px #00000012;font-size:13px}.board-component-settings[hidden]{display:none}.board-component-settings :is(.sb-editor-panel,.sb-g2-editor){margin:0}.board-component-settings button{white-space:normal}.board-style-controls label{display:flex;align-items:center;gap:5px;color:var(--muted);font-size:11px;white-space:nowrap}.board-style-controls input[type=color]{width:24px;height:24px;padding:3px;border:1px solid var(--line, var(--border));border-radius:50%;background:transparent;cursor:pointer;overflow:hidden}.board-style-controls input[type=color]::-webkit-color-swatch-wrapper{padding:0}.board-style-controls input[type=color]::-webkit-color-swatch{border:0;border-radius:50%}.board-style-controls input[type=color]::-moz-color-swatch{border:0;border-radius:50%}.board-stroke-slider{position:relative;display:block;width:80px;height:24px}.board-stroke-track{width:100%;height:100%;fill:var(--text);opacity:.18;pointer-events:none}.board-stroke-slider input[type=range]{position:absolute;inset:0;appearance:none;width:100%;height:24px;margin:0;padding:0;border:0;background:transparent;cursor:ew-resize}.board-stroke-slider input[type=range]::-webkit-slider-runnable-track{height:24px;background:transparent}.board-stroke-slider input[type=range]::-moz-range-track{height:24px;background:transparent}.board-stroke-slider input[type=range]::-webkit-slider-thumb{appearance:none;width:16px;height:16px;margin-top:4px;border:2px solid var(--paper, var(--bg));border-radius:50%;background:var(--text);box-shadow:0 0 0 1px var(--line, var(--border))}.board-stroke-slider input[type=range]::-moz-range-thumb{box-sizing:border-box;width:16px;height:16px;border:2px solid var(--paper, var(--bg));border-radius:50%;background:var(--text);box-shadow:0 0 0 1px var(--line, var(--border))}.board-stroke-value-rail{position:absolute;inset:0 8px;pointer-events:none}.board-stroke-value-rail output{position:absolute;bottom:calc(100% + 7px);transform:translate(-50%);padding:3px 6px;border:1px solid var(--line, var(--border));border-radius:5px;background:var(--paper, var(--bg));color:var(--text);font-size:11px;font-variant-numeric:tabular-nums;box-shadow:0 2px 8px #0000000a;visibility:hidden}.board-stroke-slider[data-active] output{visibility:visible}.board-style-controls button{min-width:24px;min-height:26px;padding:3px}.container-workspace .container-inspector.board-bottom-inspector{position:absolute;z-index:25;right:12px;bottom:90px;top:auto;margin:0;width:min(280px,calc(100% - 24px));max-height:calc(100% - 160px);overflow:auto}.page-surface .surface-object.is-region{border-color:var(--line, var(--border))}.page-surface .surface-object.is-hovered:not(.is-drawing){outline:calc(1px * var(--board-inv, 1)) solid #467de380;outline-offset:calc(2px * var(--board-inv, 1))}.surface-world>.surface-object.is-selected:not(.is-drawing),.surface-world .surface-layout-free>.surface-object.is-selected:not(.is-drawing){outline:calc(1.5px * var(--board-inv, 1)) solid #467de3;outline-offset:calc(2px * var(--board-inv, 1))}.surface-world .surface-object.is-bind-target:not(.is-drawing){outline:calc(2px * var(--board-inv, 1)) solid #467de3;outline-offset:calc(3px * var(--board-inv, 1))}.surface-world .surface-object.is-bind-target.is-drawing .board-drawing{filter:drop-shadow(0 0 2px #467de3)}.board-lock-badge{position:absolute;top:calc(-10px * var(--board-inv, 1));right:calc(-10px * var(--board-inv, 1));display:grid;place-items:center;width:calc(20px * var(--board-inv, 1));height:calc(20px * var(--board-inv, 1));border-radius:50%;background:#467de3;color:#fff;z-index:16;pointer-events:none}.board-lock-badge svg{width:calc(11px * var(--board-inv, 1));height:calc(11px * var(--board-inv, 1))}.page-surface.has-drawing-hit .board-drawing-input{cursor:move}@media(max-width:640px){.surface-toolbar{bottom:10px}.board-style-controls{flex-wrap:wrap;justify-content:center}}body:has([data-showai-development]) .surface-toolbar{bottom:36px}@media print{.board-group-outline,.board-bottom-inspector{display:none!important}}@media print{.surface-object-rotate,.board-snap-guides,.board-marquee{display:none!important}}.board-arrow-endpoint{position:absolute;transform:translate(-50%,-50%);width:calc(13px * var(--board-inv, 1));height:calc(13px * var(--board-inv, 1));padding:0;border:calc(2px * var(--board-inv, 1)) solid #467de3;border-radius:50%;background:#fff;cursor:crosshair;touch-action:none;z-index:14}@media print{.board-arrow-endpoint{display:none!important}}.board-resize-handle{position:absolute;width:calc(28px * var(--board-inv, 1));height:calc(28px * var(--board-inv, 1));padding:0;border:0;background:transparent;z-index:15;pointer-events:auto;touch-action:none;transform:translate(-50%,-50%)}.board-resize-handle:after{content:"";position:absolute;width:calc(10px * var(--board-inv, 1));height:calc(10px * var(--board-inv, 1));left:50%;top:50%;transform:translate(-50%,-50%);border:calc(1px * var(--board-inv, 1)) solid #467de3;border-radius:calc(2px * var(--board-inv, 1));background:#fff;pointer-events:none}@media(pointer:coarse){.board-resize-handle{width:calc(40px * var(--board-inv, 1));height:calc(40px * var(--board-inv, 1))}}.board-resize-handle.handle-nw{left:0;top:0;cursor:nwse-resize}.board-resize-handle.handle-n{left:50%;top:0;cursor:ns-resize}.board-resize-handle.handle-ne{left:100%;top:0;cursor:nesw-resize}.board-resize-handle.handle-e{left:100%;top:50%;cursor:ew-resize}.board-resize-handle.handle-se{left:100%;top:100%;cursor:nwse-resize}.board-resize-handle.handle-s{left:50%;top:100%;cursor:ns-resize}.board-resize-handle.handle-sw{left:0;top:100%;cursor:nesw-resize}.board-resize-handle.handle-w{left:0;top:50%;cursor:ew-resize}@media print{.board-resize-handle{display:none!important}}.surface-object:not(.is-selected)>.board-resize-handle{display:none}.surface-object.is-hovered:not(.is-selected):not(.is-locked)>.board-resize-handle.handle-se,.surface-object[data-board-fixed-height=false].is-hovered:not(.is-selected):not(.is-locked)>.board-resize-handle.handle-e{display:block;opacity:.5}.page-surface.has-object-menu>.surface-scroll>.surface-world>.surface-object>:is(.surface-object-header,.board-resize-handle,.surface-object-rotate){visibility:hidden;pointer-events:none}.surface-world .surface-object.is-region:has(>.surface-object-content>.surface-layout-free),.surface-world .surface-object.is-region>.surface-object-content:has(>.surface-layout-free),.surface-world .surface-object.is-region .surface-layout-free{pointer-events:none}.surface-world .surface-object.is-region .surface-layout-free>*,.surface-world .surface-object.is-region>[data-surface-ui]{pointer-events:auto}.surface-grid{display:none}.page-surface[data-native-board-active=true]>.surface-scroll>:is(.surface-world,.surface-grid){visibility:hidden}.page-surface.has-board-grid>.surface-scroll>.surface-grid{display:block;position:absolute;inset:calc(0px - var(--board-grid-size, 24px));pointer-events:none;contain:strict;will-change:transform;background-image:radial-gradient(circle,color-mix(in srgb,var(--text, #252629) 18%,transparent) 1px,transparent 1.4px);background-size:var(--board-grid-size, 24px) var(--board-grid-size, 24px)}.page-surface.is-hand .surface-world *,.page-surface.is-hand-tool,.page-surface.is-hand-tool .surface-world *{cursor:grab!important}.page-surface.is-hand-tool.is-panning,.page-surface.is-hand-tool.is-panning *{cursor:grabbing!important}.page-surface.is-text-tool>.surface-scroll,.page-surface.is-text-tool .surface-world>.surface-object{cursor:text}.surface-empty.is-hint{pointer-events:none;font-size:13px;opacity:.75}.board-align-menu>summary::-webkit-details-marker{display:none}.board-align-options{position:absolute;bottom:calc(100% + 8px);left:50%;transform:translate(-50%);display:grid;grid-template-columns:repeat(4,30px);gap:2px;padding:4px;border:1px solid var(--line, var(--border));border-radius:10px;background:var(--paper, var(--bg));box-shadow:0 8px 32px #00000012}.board-align-options button{display:inline-flex;align-items:center;justify-content:center;height:30px;border:0;border-radius:6px;color:var(--text)}.board-align-options button:hover{background:var(--hover)}.board-align-options button:disabled{opacity:.35}.board-minimap{position:absolute;z-index:19;right:16px;bottom:20px;border:1px solid var(--line, var(--border));border-radius:10px;background:var(--paper, var(--bg));box-shadow:0 4px 20px #0000000f;cursor:pointer;touch-action:none}.board-minimap-object{fill:color-mix(in srgb,var(--text, #252629) 22%,transparent)}.board-minimap-view{fill:#467de314;stroke:#467de3;stroke-width:1}body:has([data-showai-development]) .board-minimap{bottom:36px}@media(max-width:640px){.board-minimap{display:none}}@media print{.board-minimap,.board-lock-badge{display:none!important}.page-surface.has-board-grid>.surface-scroll>.surface-grid{display:none}}html[data-native=ios] .board-resize-handle{width:calc(40px * var(--board-inv, 1));height:calc(40px * var(--board-inv, 1))}.page-surface .surface-object.is-region.is-ink-archive-group,.surface-object.is-region.is-ink-archive-group{border:0;border-radius:0;background:transparent;box-shadow:none;min-width:1px;min-height:1px;overflow:visible;margin:0}.surface-object.is-region.is-ink-archive-group>.surface-object-content{position:relative;width:100%;height:100%;padding:0!important;min-width:1px;min-height:1px;overflow:visible}.ink-archive-local-space{position:absolute;left:0;top:0}
47
+ `);var Us=W(De(),1),_y=W(Vn(),1);var nm="showai:agent-reference-request",By="showai:agent-reference-picked",om="showai:agent-reference-display";var Hy=ct("assistant",{"zh-CN":{"reference.pick":"\u6807\u8BB0\u53C2\u8003\u4F4D\u7F6E","reference.pickHint":"\u70B9\u51FB\u4E00\u4E2A\u4F4D\u7F6E\uFF0C\u6216\u62D6\u52A8\u9009\u62E9\u53C2\u8003\u533A\u57DF \xB7 Esc \u53D6\u6D88","reference.point":"\u53C2\u8003\u4F4D\u7F6E","reference.region":"\u53C2\u8003\u533A\u57DF","reference.remove":"\u79FB\u9664\u4F4D\u7F6E\u53C2\u8003","reference.noCanvas":"\u8BF7\u5148\u6253\u5F00\u767D\u677F\uFF0C\u518D\u6807\u8BB0\u53C2\u8003\u4F4D\u7F6E\u3002","pageReference.copied":"\u5DF2\u4FDD\u5B58 \xB7 \u5F15\u7528\u7248\u672C {version} \xB7 \u5DF2\u590D\u5236\uFF0C\u53EF\u7C98\u8D34\u5230 Claude Code \u6216 Codex","pageReference.pageChanged":"\u9875\u9762\u5DF2\u5207\u6362\uFF0C\u8BF7\u91CD\u65B0\u5F15\u7528\u3002","pageReference.untitled":"\u672A\u547D\u540D\u9875\u9762","pageReference.headingSelection":"ShowAI \u5F15\u7528 \xB7 \u9009\u533A\uFF08{count} \u4E2A\u5185\u5BB9\u5757\uFF09\xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}","pageReference.headingBoard":"ShowAI \u5F15\u7528 \xB7 \u767D\u677F\u4E2D {count} \u4E2A\u5BF9\u8C61 \xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}","pageReference.headingBoardAll":"ShowAI \u5F15\u7528 \xB7 \u6574\u4E2A\u767D\u677F \xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}","pageReference.headingPage":"ShowAI \u5F15\u7528 \xB7 \u6574\u9875 \xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}","pageReference.copyPage":"\u590D\u5236\u9875\u9762\u5F15\u7528","componentState.remove":"\u79FB\u9664\u7EC4\u4EF6\u72B6\u6001\uFF0C\u4E0D\u968F\u6D88\u606F\u53D1\u9001","componentState.removeNamed":"\u79FB\u9664\u7EC4\u4EF6\u72B6\u6001\uFF1A{name}","componentState.sent":"\u968F\u6D88\u606F\u53D1\u9001\u7684\u7EC4\u4EF6\u5F53\u524D\u72B6\u6001\uFF08\u672A\u4FDD\u5B58\u5230\u9875\u9762\uFF09","panel.title":"Agent \u5BF9\u8BDD","panel.toggle":"Agent \u5BF9\u8BDD","panel.button":"Agent","panel.close":"\u5173\u95ED Agent \u5BF9\u8BDD","panel.resize":"\u8C03\u6574 Agent \u5BF9\u8BDD\u5BBD\u5EA6","panel.conversations":"\u5BF9\u8BDD\u8BB0\u5F55","panel.new":"\u65B0\u5BF9\u8BDD","panel.delete":"\u5220\u9664\u5BF9\u8BDD","panel.deleteConfirm":"\u5220\u9664\u300C{title}\u300D\u7684\u5168\u90E8\u8BB0\u5F55\uFF1F\u9875\u9762\u5185\u5BB9\u4E0D\u53D7\u5F71\u54CD\u3002","panel.deleteYes":"\u5220\u9664","panel.cancel":"\u53D6\u6D88","panel.empty":"\u4E5F\u53EF\u4EE5\u9009\u4E2D\u9875\u9762\u4E2D\u7684\u6587\u5B57\uFF0C\u9009\u62E9\u300C\u8BA9 Agent \u5904\u7406\u2026\u300D\u3002","panel.noProject":"\u6253\u5F00\u9879\u76EE\u4E2D\u7684\u9875\u9762\u540E\u5373\u53EF\u4F7F\u7528 Agent\u3002","panel.agentLocal":"\u6267\u884C\uFF1A{name}","panel.agentApi":"\u6267\u884C\uFF1A{source} \xB7 {model}","panel.settings":"Agent \u8BBE\u7F6E","panel.placeholder":"\u5411 Agent \u63D0\u51FA\u8981\u6C42\uFF0CEnter \u53D1\u9001","panel.send":"\u53D1\u9001","panel.stop":"\u505C\u6B62","panel.steps":"\u6267\u884C\u6B65\u9AA4 \xB7 {count}","panel.running":"\u6B63\u5728\u6267\u884C\u2026","panel.connecting":"\u6B63\u5728\u8FDE\u63A5 Agent\u2026","panel.changed":"\u4FEE\u6539\u4E86 {count} \u5904","panel.changedPage":"\u9875\u9762\u5DF2\u4FEE\u6539","panel.locate":"\u5B9A\u4F4D\u4FEE\u6539","panel.undo":"\u64A4\u9500\u672C\u8F6E","panel.undone":"\u5DF2\u64A4\u9500","panel.reject":"\u62D2\u7EDD","panel.saveFirst":"\u9875\u9762\u6709\u672A\u4FDD\u5B58\u6216\u51B2\u7A81\u7684\u4FEE\u6539\uFF0C\u8BF7\u5148\u5904\u7406\u540E\u518D\u53D1\u9001\u3002","panel.startedNew":"\u65B0\u5BF9\u8BDD","panel.sendTo":"\u53D1\u9001\u5230\u300C{title}\u300D","panel.sendToNew":"\u5C06\u5F00\u59CB\u65B0\u5BF9\u8BDD","panel.useNew":"\u6539\u4E3A\u65B0\u5BF9\u8BDD","panel.useCurrent":"\u7EE7\u7EED\u5F53\u524D\u5BF9\u8BDD","target.page":"\u6574\u4E2A\u9875\u9762","target.pageNamed":"\u9875\u9762\u300C{title}\u300D","target.text":"\u9009\u4E2D\u6587\u5B57","target.blocks":"{count} \u4E2A\u5185\u5BB9\u5757","target.board":"{count} \u4E2A\u767D\u677F\u5BF9\u8C61","target.remove":"\u6539\u4E3A\u6574\u4E2A\u9875\u9762","composer.label":"\u8BA9 Agent \u5904\u7406","composer.close":"\u5173\u95ED","quick.label":"\u5FEB\u6377\u64CD\u4F5C","quick.polish":"\u6DA6\u8272","quick.polishPrompt":"\u6DA6\u8272\u6539\u5199\u6240\u9009\u5185\u5BB9\uFF0C\u4FDD\u6301\u539F\u610F\u548C\u7ED3\u6784\u3002","quick.shorten":"\u7CBE\u7B80","quick.shortenPrompt":"\u7CBE\u7B80\u6240\u9009\u5185\u5BB9\uFF0C\u4FDD\u7559\u5173\u952E\u4FE1\u606F\u3002","quick.expand":"\u6269\u5199","quick.expandPrompt":"\u6269\u5199\u6240\u9009\u5185\u5BB9\uFF0C\u8865\u5145\u7EC6\u8282\u548C\u4F8B\u5B50\uFF0C\u4FDD\u6301\u539F\u6709\u8BED\u6C14\u3002","quick.translate":"\u7FFB\u8BD1","quick.translatePrompt":"\u7FFB\u8BD1\u6240\u9009\u5185\u5BB9\u5E76\u66FF\u6362\u539F\u6587\uFF1A\u4E2D\u6587\u8BD1\u4E3A\u82F1\u6587\uFF0C\u5176\u4ED6\u8BED\u8A00\u8BD1\u4E3A\u4E2D\u6587\u3002","quick.visualize":"\u53EF\u89C6\u5316","quick.visualizePrompt":"\u628A\u6240\u9009\u5185\u5BB9\u6539\u6210\u5408\u9002\u7684\u53EF\u89C6\u5316\u7EC4\u4EF6\uFF08\u56FE\u8868\u3001\u6D41\u7A0B\u56FE\u6216\u8868\u683C\uFF09\uFF0C\u4FDD\u7559\u5168\u90E8\u4FE1\u606F\u3002","quick.explain":"\u89E3\u91CA","quick.explainPrompt":"\u89E3\u91CA\u6240\u9009\u5185\u5BB9\u7684\u542B\u4E49\u548C\u8981\u70B9\u3002\u53EA\u5728\u5BF9\u8BDD\u4E2D\u56DE\u7B54\uFF0C\u4E0D\u8981\u4FEE\u6539\u9875\u9762\u3002"},en:{"reference.pick":"Mark a reference location","reference.pickHint":"Click a point or drag a reference area \xB7 Esc to cancel","reference.point":"Reference point","reference.region":"Reference area","reference.remove":"Remove location reference","reference.noCanvas":"Open a board before marking a reference location.","pageReference.copied":"Saved \xB7 referencing version {version} \xB7 copied to paste into Claude Code or Codex","pageReference.pageChanged":"The page changed. Reference it again.","pageReference.untitled":"Untitled page","pageReference.headingSelection":{one:"ShowAI reference \xB7 selection ({count} block) \xB7 \u201C{title}\u201D \xB7 version {version}",other:"ShowAI reference \xB7 selection ({count} blocks) \xB7 \u201C{title}\u201D \xB7 version {version}"},"pageReference.headingBoard":{one:"ShowAI reference \xB7 {count} board object \xB7 \u201C{title}\u201D \xB7 version {version}",other:"ShowAI reference \xB7 {count} board objects \xB7 \u201C{title}\u201D \xB7 version {version}"},"pageReference.headingBoardAll":"ShowAI reference \xB7 whole board \xB7 \u201C{title}\u201D \xB7 version {version}","pageReference.headingPage":"ShowAI reference \xB7 whole page \xB7 \u201C{title}\u201D \xB7 version {version}","pageReference.copyPage":"Copy page reference","componentState.remove":"Remove this component state from the message","componentState.removeNamed":"Remove component state: {name}","componentState.sent":"Current component state sent with the message (not saved to the page)","panel.title":"Agent chat","panel.toggle":"Agent chat","panel.button":"Agent","panel.close":"Close Agent chat","panel.resize":"Resize Agent chat","panel.conversations":"Conversations","panel.new":"New conversation","panel.delete":"Delete conversation","panel.deleteConfirm":"Delete all records of \u201C{title}\u201D? Page content isn't affected.","panel.deleteYes":"Delete","panel.cancel":"Cancel","panel.empty":"You can also select text on the page and choose \u201CAsk Agent\u2026\u201D.","panel.noProject":"Open a page in a project to use the Agent.","panel.agentLocal":"Runs with {name}","panel.agentApi":"Runs with {source} \xB7 {model}","panel.settings":"Agent settings","panel.placeholder":"Ask the Agent. Press Enter to send","panel.send":"Send","panel.stop":"Stop","panel.steps":"Steps \xB7 {count}","panel.running":"Working\u2026","panel.connecting":"Connecting to Agent\u2026","panel.changed":{one:"Changed {count} item",other:"Changed {count} items"},"panel.changedPage":"Page changed","panel.locate":"Show changes","panel.undo":"Undo this turn","panel.undone":"Undone","panel.reject":"Deny","panel.saveFirst":"The page has unsaved or conflicting changes. Resolve them before sending.","panel.startedNew":"New conversation","panel.sendTo":"Sends to \u201C{title}\u201D","panel.sendToNew":"Starts a new conversation","panel.useNew":"Use a new conversation","panel.useCurrent":"Continue the current conversation","target.page":"Whole page","target.pageNamed":"Page \u201C{title}\u201D","target.text":"Selected text","target.blocks":{one:"{count} block",other:"{count} blocks"},"target.board":{one:"{count} board object",other:"{count} board objects"},"target.remove":"Use the whole page","composer.label":"Ask Agent","composer.close":"Close","quick.label":"Quick actions","quick.polish":"Polish","quick.polishPrompt":"Polish the selected content, keeping its meaning and structure.","quick.shorten":"Shorten","quick.shortenPrompt":"Shorten the selected content while keeping the key information.","quick.expand":"Expand","quick.expandPrompt":"Expand the selected content with details and examples in the same tone.","quick.translate":"Translate","quick.translatePrompt":"Translate the selected content in place: Chinese into English, other languages into Chinese.","quick.visualize":"Visualize","quick.visualizePrompt":"Turn the selected content into a suitable visual component (chart, flow diagram or table), keeping all information.","quick.explain":"Explain","quick.explainPrompt":"Explain what the selected content means and its key points. Answer in the conversation only; don't change the page."}});var rm=new Map,_C=new Set,jy=()=>_C.forEach(e=>e());function Uy(e){let t=Symbol(),a=rm.get(e)??new Set;return a.add(t),rm.set(e,a),jy(),()=>{a.delete(t),a.size||rm.delete(e),jy()}}var Ln=W(de(),1);function Vy({pageId:e,surfaceId:t,enabled:a,root:n,world:o,point:r}){let i=le(Hy),[l,s]=(0,Us.useState)(null),[c,d]=(0,Us.useState)(null),[f,u]=(0,Us.useState)(null);(0,Us.useEffect)(()=>{if(!a){s(null),u(null);return}let b=m=>{let v=m.detail;m.defaultPrevented||v?.pageId!==e||(m.preventDefault(),d(null),s(v.id))},p=m=>{let v=m.detail;v?.pageId===e&&d(v.reference?.surfaceId===t?v.reference:null)},x=m=>{m.key==="Escape"&&(s(null),u(null))};window.addEventListener(nm,b),window.addEventListener(om,p),window.addEventListener("keydown",x);let h=Uy(e);return()=>{window.removeEventListener(nm,b),window.removeEventListener(om,p),window.removeEventListener("keydown",x),h()}},[a,e,t]);let g=(b,p)=>{let x=n.current.getBoundingClientRect();return{x:b-x.left,y:p-x.top}};return(0,Ln.jsxs)(Ln.Fragment,{children:[c&&o.current&&(0,_y.createPortal)((0,Ln.jsx)("svg",{className:"agent-reference-preview",width:"1",height:"1","aria-hidden":"true",children:c.kind==="region"?(0,Ln.jsx)("rect",{x:c.x,y:c.y,width:c.width,height:c.height,vectorEffect:"non-scaling-stroke"}):(0,Ln.jsxs)("g",{transform:`translate(${c.x},${c.y})`,children:[(0,Ln.jsx)("circle",{r:"12",vectorEffect:"non-scaling-stroke"}),(0,Ln.jsx)("path",{d:"M-18 0H18M0-18V18",vectorEffect:"non-scaling-stroke"})]})}),o.current),a&&l&&(0,Ln.jsxs)("div",{className:"agent-reference-picker","data-surface-ui":!0,role:"region","aria-label":i("reference.pick"),onPointerDown:b=>{if(b.button!==0)return;b.preventDefault(),b.stopPropagation(),b.currentTarget.setPointerCapture(b.pointerId);let p={x:b.clientX,y:b.clientY};u({start:p,end:p})},onPointerMove:b=>{f&&u({...f,end:{x:b.clientX,y:b.clientY}})},onPointerCancel:()=>{u(null),s(null)},onPointerUp:b=>{if(!f)return;b.preventDefault(),b.stopPropagation();let p=r(f.start.x,f.start.y),x=r(b.clientX,b.clientY),m=Math.hypot(b.clientX-f.start.x,b.clientY-f.start.y)>8?{surfaceId:t,kind:"region",x:Math.min(p.x,x.x),y:Math.min(p.y,x.y),width:Math.abs(x.x-p.x),height:Math.abs(x.y-p.y)}:{surfaceId:t,kind:"point",...p};d(m),window.dispatchEvent(new CustomEvent(By,{detail:{id:l,pageId:e,reference:m}})),u(null),s(null)},children:[(0,Ln.jsx)("span",{className:"agent-reference-hint",children:i("reference.pickHint")}),f&&(0,Ln.jsx)("span",{className:"agent-reference-marquee",style:{left:Math.min(g(f.start.x,f.start.y).x,g(f.end.x,f.end.y).x),top:Math.min(g(f.start.x,f.start.y).y,g(f.end.x,f.end.y).y),width:Math.abs(f.end.x-f.start.x),height:Math.abs(f.end.y-f.start.y)}})]})]})}var ee=W(de(),1),Zy='input,textarea,select,button,a,summary,[role="slider"],iframe,[data-surface-gesture="own"],.react-flow',VC={x:45,y:27},Gy={x:28,y:30},zd=null,im="application/x-showai-board+json";function lm(e,t,a){let n=t===void 0?null:document.elementFromPoint(t,a)?.closest('[contenteditable="true"]'),o=n&&e.contains(n)?n:e.querySelector('[contenteditable="true"]');if(!o)return!1;o.focus({preventScroll:!0});let r=null;if(t!==void 0){let l=document;if(l.caretRangeFromPoint)r=l.caretRangeFromPoint(t,a);else{let s=l.caretPositionFromPoint?.(t,a);s&&(r=document.createRange(),r.setStart(s.offsetNode,s.offset))}}(!r||!o.contains(r.startContainer))&&(r=document.createRange(),r.selectNodeContents(o),r.collapse(!1));let i=window.getSelection();return i?.removeAllRanges(),i?.addRange(r),!0}function dm({children:e,boardDocument:t,geometry:a,containerId:n,onTransform:o,onDuplicate:r,onDeleteSelection:i,onCopyObjects:l,onPasteObjects:s,onReorder:c,onUngroup:d,onLock:f,ref:u,pageId:g,nodes:b,layoutKey:p,paths:x,views:h,header:m,selected:v,onSelect:k,onMove:w,onConnect:z,onRemove:P,onInspect:j,onViews:T,extraActions:S,enabled:B=!0,embedded:O=!0,printing:N=!1,onExpand:V,drawTool:R,drawColor:E="#252629",drawFillColor:D="none",drawStrokeWidth:M=2.5,drawPressure:Z=!0,onStyleChange:U,onLabel:F,onTidy:_,onAddComponent:X,onOpenComponents:q,onDraw:I,onDrawExit:C,onToolChange:G}){let H=le(tt),ge=le(la),re=(0,Fe.useContext)(gi),he=typeof document<"u"&&document.documentElement.dataset.native==="ios",[Me,Ze]=(0,Fe.useState)(null),[Ye,Je]=(0,Fe.useState)(null),wt=(0,Fe.useRef)(ud()).current,[Xe,Ae]=(0,Fe.useState)(null),K=v===void 0?Me:v,xe=k??Ze,pe=c7("board",`showai.viewport-lock.v1:board:${g.replace(/:(expanded|embedded)$/,"")}`),Y=O&&pe.locked,Pe=R&&!["pan","eraser","lasso","text"].includes(R)?R:null,Be=R==="pan"?"hand":R==="text"?"text":null,zt=(0,Fe.useRef)(!1);zt.current=Be==="hand";let{rootRef:J,scrollRef:Te,worldRef:Se,camera:ye,controls:me,scale:$e}=Ly(p,w?`showai.viewport.v3:${g}`:void 0,B&&!Y,{reading:!w,anchorScreen:!O,panMode:zt}),[Et,Q]=(0,Fe.useState)(!1),fe=(0,Fe.useRef)(!1),ve=(0,Fe.useRef)(null),at=()=>{let y=!fe.current;fe.current=y,ve.current?.update({ruler:y}),Q(y)},Qe=sy({root:J,world:Se,camera:ye,control:ve,document:t,boardId:n??"",tool:R,color:E,width:M,pressure:Z,ruler:Et,enabled:B&&!Y&&!!I&&!N,onCamera:(y,L)=>me.current.navigateTo(y,L),onClearSelection:()=>ie.select(null),selection:()=>[...ie.ids],onSelection:y=>ie.selectIds(y),onLayout:y=>o?.(y,"native-board"),onDrawing:(y,L)=>I?.(y,L),onActivate:y=>V?.(y),fillColor:D,onShapeGesture:y=>{let L={clientX:y.x,clientY:y.y,altKey:!1,shiftKey:!1};y.phase==="began"?(ie.select(y.id),ie.start(y.id,"move",L)&&me.current.objectGesture(!0)):y.phase==="cancelled"?(ie.cancel(),me.current.objectGesture(!1)):(ie.update(L),y.phase==="ended"&&(ie.finish(),me.current.objectGesture(!1)))},onTool:y=>{if(y==="settings")J.current?.querySelector(".board-color-picker > summary")?.click();else if(y==="select")G?.(null);else switch(y){case"pen":case"highlighter":case"eraser":case"rectangle":case"ellipse":case"arrow":case"region":case"pan":case"lasso":case"text":G?.(y)}}}),ie=ay({geometry:a,document:t,containerId:n,world:Se,camera:ye,onTransform:Y?void 0:o,onSelect:xe,selected:K}),Kt=!!o&&!Y,Sr=()=>requestAnimationFrame(()=>J.current?.focus({preventScroll:!0})),dl=y=>{let L=r?.(y);L?.length&&(ie.selectIds(L),Sr())},Bn=y=>t?.layout?.[y],Ht=[...ie.ids],wi=Ht.length>0&&Ht.every(y=>Bn(y)?.locked),ki=Ht.length===1&&t&&nt(t,Ht[0])?.node.type==="region"&&Bn(Ht[0])?.mode==="free"?Ht[0]:null,Zs=y=>{let L=y?Se.current?.querySelector(`[data-surface-id="${CSS.escape(y)}"]`):null,oe=L?.querySelector(":scope > .surface-object-content .surface-layout-free");if(!L||!oe||!L.offsetWidth)return VC;let ke=L.getBoundingClientRect(),Ne=oe.getBoundingClientRect(),Ge=ke.width/L.offsetWidth||1;return{x:(Ne.left-ke.left)/Ge,y:(Ne.top-ke.top)/Ge}},Si=(y,L=!1)=>{let oe=l?.(y);return oe?(zd=oe,L&&(i?.(y),ie.select(null)),oe):null},Cr=(0,Fe.useRef)(null),Ci=(y,L=Cr.current&&me.current.point(Cr.current.x,Cr.current.y))=>{let oe=s?.(y,L);oe?.length&&(ie.selectIds(oe),Sr())},Hn=(y,L)=>y.length&&c?.(y,L),Tr=y=>{let L=Ht.filter(Ne=>!Bn(Ne)?.locked),oe=Nh(ie.measured(L),y),ke={};for(let[Ne,Ge]of Object.entries(oe)){let He=Bn(Ne);He&&(Math.abs(Ge.x)>1e-6||Math.abs(Ge.y)>1e-6)&&(ke[Ne]={...He,x:He.x+Ge.x,y:He.y+Ge.y})}Object.keys(ke).length&&o?.(ke)},ul=y=>{let L=d?.(y,Zs(y));L?.length&&(ie.selectIds(L),Sr())},A=y=>y.length&&f?.(y,!y.every(L=>Bn(L)?.locked)),[te,Ce]=(0,Fe.useState)(null),ze=(y,L)=>{if(!o||Y||y.closest("[contenteditable]")?.getAttribute("contenteditable")==="true"||y.closest('input,textarea,select,iframe,video,audio,[data-editor-keyboard-scope],[data-surface-gesture="own"],.react-flow'))return!1;let oe=y.closest(".surface-object");if(!oe||oe.closest(".page-surface")!==J.current)return!1;let ke=oe.dataset.surfaceId,Ne=ie.ids.has(ke)?[...ie.ids]:[ke];return ie.ids.has(ke)||ie.select(ke),Ce({anchor:oe,point:L,id:ke,ids:Ne,container:oe.classList.contains("is-container")}),!0},Le=(0,Fe.useRef)(!1),bt=(0,Fe.useRef)(null),Ya=(0,Fe.useRef)(null),ua=(0,Fe.useRef)({id:"",since:0,until:0}),Ja=(0,Fe.useRef)(0),pa=(0,Fe.useRef)(null),Ti=(0,Fe.useRef)(ie);(0,Fe.useLayoutEffect)(()=>{Ti.current=ie},[ie]);let ya=(0,Fe.useCallback)((y,L,oe)=>{let ke=null;if(y!==null&&Number.isFinite(y)&&Number.isFinite(L)){let Ne=Ti.current.hitTest(y,L);Ne&&Ne.id!==oe&&!(Ne.node.type==="drawing"&&Ne.node.attrs?.tool==="arrow")&&(ke=Ne.element)}ke!==pa.current&&(pa.current?.classList.remove("is-bind-target"),ke?.classList.add("is-bind-target"),pa.current=ke)},[]),Gs=()=>{cancelAnimationFrame(Ja.current),Ya.current?.classList.remove("is-hovered"),Ya.current=null,J.current?.classList.remove("has-drawing-hit")},lo=(0,Fe.useRef)({frame:0,x:0,y:0}),v1=()=>{cancelAnimationFrame(lo.current.frame),lo.current={frame:0,x:0,y:0}},Pm=(y,L)=>{let oe=J.current;if(!oe)return;let ke=oe.getBoundingClientRect(),Ne=40,Ge=16,He=(Ie,xn,va)=>va<Ie+Ne?Math.min(Ne,Ie+Ne-va)/Ne*Ge:va>xn-Ne?-(Math.min(Ne,va-(xn-Ne))/Ne)*Ge:0;if(lo.current.x=He(ke.left,ke.right,y),lo.current.y=He(ke.top,ke.bottom,L),(lo.current.x||lo.current.y)&&!lo.current.frame){let Ie=()=>{let{x:xn,y:va}=lo.current;if(!xn&&!va){lo.current.frame=0;return}me.current.panBy(xn,va),lo.current.frame=requestAnimationFrame(Ie)};lo.current.frame=requestAnimationFrame(Ie)}},x1=()=>{let y=bt.current?.pointer;bt.current=null,v1(),ie.cancel(),me.current.objectGesture(!1),y!==void 0&&J.current?.hasPointerCapture(y)&&J.current.releasePointerCapture(y)},vn=(0,Fe.useRef)(null),zr=(y=!1)=>{let L=vn.current;L?.element.remove(),vn.current=null,v1(),y&&L&&ie.selectIds(L.base),L&&J.current?.hasPointerCapture(L.id)&&J.current.releasePointerCapture(L.id)},Om=()=>{let y=vn.current;if(!y)return;let L=me.current.point(y.last.x,y.last.y);y.next={x:Math.min(y.start.x,L.x),y:Math.min(y.start.y,L.y),width:Math.abs(L.x-y.start.x),height:Math.abs(L.y-y.start.y)},ie.marquee(y.next,y.last.shift,y.base,y.last.wrap),Object.assign(y.element.style,{left:`${y.next.x}px`,top:`${y.next.y}px`,width:`${y.next.width}px`,height:`${y.next.height}px`})};(0,Fe.useEffect)(()=>{let y=J.current,L=oe=>{oe.target===y&&(bt.current?.moved&&ie.update(bt.current.input),vn.current&&Om())};return y.addEventListener("showai:viewport-change",L),()=>y.removeEventListener("showai:viewport-change",L)}),(0,Fe.useEffect)(()=>{let y=()=>{Le.current=!1,zr(!0),x1(),Gs()};window.addEventListener("blur",y);let L=J.current;return L?.addEventListener("showai-board-pinch",y),()=>{window.removeEventListener("blur",y),L?.removeEventListener("showai-board-pinch",y),y()}},[]);let[Lm,Bm]=(0,Fe.useState)(!1),[Hm,jm]=(0,Fe.useState)(new Set),[w1,Um]=(0,Fe.useState)(""),[_m,gx]=(0,Fe.useState)(()=>{try{return localStorage.getItem("showai.board-minimap")==="true"}catch{return!1}}),bx=()=>gx(y=>{try{localStorage.setItem("showai.board-minimap",String(!y))}catch{}return!y}),Vm=(0,Fe.useRef)(!1),Er=(0,Fe.useRef)({first:0,second:0});(0,Fe.useEffect)(()=>{let y=()=>(0,cm.flushSync)(()=>Bm(!0));return window.addEventListener("beforeprint",y),()=>{window.removeEventListener("beforeprint",y),cancelAnimationFrame(Er.current.first),cancelAnimationFrame(Er.current.second)}},[]),(0,Fe.useLayoutEffect)(()=>{let y=J.current,L=Se.current;if(!N)return;let oe=()=>{let Ne=[...L.children].filter(mt=>mt instanceof HTMLElement);if(!Ne.length)return;let Ge=Ne.map(mt=>({x:parseFloat(mt.style.left)||0,y:parseFloat(mt.style.top)||0,width:mt.offsetWidth,height:mt.offsetHeight})),He=Math.min(...Ge.map(mt=>mt.x))-12,Ie=Math.min(...Ge.map(mt=>mt.y))-12,xn=Math.max(...Ge.map(mt=>mt.x+mt.width))-He+12,va=Math.max(...Ge.map(mt=>mt.y+mt.height))-Ie+12,Un=Math.min(1,Math.max(1,y.clientWidth)/Math.max(1,xn),1e3/Math.max(1,va)),Nr=y.querySelector(":scope > .surface-metadata")?.offsetHeight??0;y.style.setProperty("--board-print-height",`${va*Un+Nr}px`),y.style.setProperty("--board-print-transform",`translateY(${Nr}px) scale(${Un}) translate(${-He}px,${-Ie}px)`)};oe();let ke=new ResizeObserver(oe);ke.observe(y);for(let Ne of L.children)ke.observe(Ne);return()=>{ke.disconnect(),y.style.removeProperty("--board-print-height"),y.style.removeProperty("--board-print-transform")}},[N,b.length]);let jn=(0,Fe.useRef)(null),$o=(y,L=!1,oe=!1)=>{y?.length?jm(ke=>new Set([...ke,...y.flatMap(Ne=>[...x[Ne]??[],Ne])])):Bm(!0),cancelAnimationFrame(Er.current.first),cancelAnimationFrame(Er.current.second),Er.current.first=requestAnimationFrame(()=>Er.current.second=requestAnimationFrame(()=>{L&&y?.[0]?me.current.focus(y[0],oe):me.current.fit(y,oe)}))};(0,Fe.useEffect)(()=>{if(Vm.current)return;if(Vm.current=!0,wt){me.current.moveTo(wt.cameras?.[n]??{x:0,y:0,scale:1},!0);return}if(me.current.restored&&(!me.current.restoredAnchor||Object.hasOwn(x,me.current.restoredAnchor))){let L=me.current.restoredTargets,oe=L.filter(ke=>Object.hasOwn(x,ke));if(!L.length||oe.length){jm(new Set(oe.flatMap(ke=>[...x[ke]??[],ke]))),Er.current.first=requestAnimationFrame(()=>{Er.current.second=requestAnimationFrame(()=>me.current.restore())});return}}let y=h.saved.find(L=>L.id===h.initial);y?$o(y.targets,!1,!0):b[0]&&$o([b[0].id],!0,!0)},[]);let Fd=(0,Fe.useRef)(null);(0,Fe.useEffect)(()=>()=>Fd.current?.cancel(),[]);let Zm=y=>{Fd.current?.cancel();let L=Se.current;if(!L)return;let oe=!1,ke=()=>{oe=!0,Ge.disconnect(),clearTimeout(He)},Ne=()=>{if(oe)return;let Ie=L.querySelector(`[data-surface-id="${CSS.escape(y)}"]`);Ie&&lm(Ie)&&ke()},Ge=new MutationObserver(Ne),He=setTimeout(ke,5e3);Ge.observe(L,{childList:!0,subtree:!0}),Fd.current={cancel:ke},requestAnimationFrame(Ne)};(0,Fe.useImperativeHandle)(u,()=>({scale:()=>ye.current.scale*(J.current.getBoundingClientRect().width/J.current.clientWidth||1),insertPosition:()=>{let y=J.current,L=ye.current;return{x:(y.clientWidth/2-L.x)/L.scale,y:(y.clientHeight/3-L.y)/L.scale,width:360}},reveal:y=>$o([y],!0),point:(y,L)=>me.current.point(y,L),edit:Zm,configureNativeInput:(y,L)=>{let oe=ve.current;return oe?(oe.update({tool:y??"select",color:L.color,fillColor:L.fillColor??"none",width:L.strokeWidth,pressure:L.pressure!==!1,ruler:fe.current}),!0):!1}}));let qd=y=>{let L=X?.("text",{x:y.x-Gy.x,y:y.y-Gy.y});L&&(ie.selectIds([L]),Zm(L))},Gm=new Map(b.map(y=>[y.id,y.name])),Wd=K?[K]:jn.current?.open?[...Se.current?.querySelectorAll("[data-surface-id]")??[]].filter(y=>{let L=y.getBoundingClientRect(),oe=J.current.getBoundingClientRect();return L.right>oe.left&&L.left<oe.right&&L.bottom>oe.top&&L.top<oe.bottom}).map(y=>y.dataset.surfaceId):[],hx=()=>{if(!w1.trim()||!T||!Wd.length)return;let y={id:crypto.randomUUID(),name:w1.trim(),targets:Wd};T({...h,saved:[...h.saved,y]}),Um("")},zi=t?Ht.flatMap(y=>{let L=nt(t,y)?.node;return L?[L]:[]}):[],yx=zi.length===1&&zi[0].type==="surface",Fm=()=>Ht.length&&(Ht.length===1?$o(Ht,!0):$o(Ht)),vx=!!_&&!!t&&Ht.length>1&&(()=>{let y=new Set(Ht);return((n&&nt(t,n)?.node||t.content).content??[]).some(oe=>oe.type==="drawing"&&oe.attrs?.tool==="arrow"&&y.has(oe.attrs.bindings?.start?.targetId)&&y.has(oe.attrs.bindings?.end?.targetId))})(),qm=[["left",H("align.left"),(0,ee.jsx)(Xd,{size:14}),"\u2325A"],["center",H("align.center"),(0,ee.jsx)(Xm,{size:14}),"\u2325H"],["right",H("align.right"),(0,ee.jsx)(Qm,{size:14}),"\u2325D"],["top",H("align.top"),(0,ee.jsx)(t5,{size:14}),"\u2325W"],["middle",H("align.middle"),(0,ee.jsx)(Jm,{size:14}),"\u2325V"],["bottom",H("align.bottom"),(0,ee.jsx)($m,{size:14}),"\u2325S"],["distribute-x",H("align.distributeX"),(0,ee.jsx)(e5,{size:14}),"\u2325\u21E7H"],["distribute-y",H("align.distributeY"),(0,ee.jsx)(a5,{size:14}),"\u2325\u21E7V"]],Kd=(y,L)=>({kind:"board",blockIds:y.slice(0,100),surfaceId:n??t?.content.attrs?.id,anchor:L}),Wm=(y,L)=>re?.open(Kd(y,L)),xx=(y,L,oe)=>{let ke=y.length>1,Ne=y.every(va=>Bn(va)?.locked),Ge=y.length===1&&t&&nt(t,L)?.node.type==="region"&&Bn(L)?.mode==="free",He=te?.point??{x:0,y:0},Ie={left:He.x,top:He.y,bottom:He.y};return[...re?[{label:ge("askAgent"),icon:(0,ee.jsx)(Ks,{size:14}),onSelect:()=>Wm(y,Ie)},{label:ge("copyReference"),icon:(0,ee.jsx)(Ni,{size:14}),onSelect:()=>re.reference(Kd(y,Ie))}]:[],{label:ke?H("menu.duplicateMany",{count:y.length}):H("menu.duplicate"),separatorBefore:!!re,icon:(0,ee.jsx)(fl,{size:14}),shortcut:"\u2318D",onSelect:()=>dl(y)},{label:H("menu.copy"),icon:(0,ee.jsx)(tu,{size:14}),shortcut:"\u2318C",disabled:!l,onSelect:()=>Si(y)},{label:H("menu.cut"),icon:(0,ee.jsx)(L5,{size:14}),shortcut:"\u2318X",disabled:!l,onSelect:()=>Si(y,!0)},{label:H("order.front"),icon:(0,ee.jsx)(eu,{size:14}),shortcut:"\u21E7]",separatorBefore:!0,onSelect:()=>Hn(y,"front")},{label:H("order.forward"),icon:(0,ee.jsx)(l5,{size:14}),shortcut:"]",onSelect:()=>Hn(y,"forward")},{label:H("order.backward"),icon:(0,ee.jsx)(z1,{size:14}),shortcut:"[",onSelect:()=>Hn(y,"backward")},{label:H("order.back"),icon:(0,ee.jsx)(su,{size:14}),shortcut:"\u21E7[",onSelect:()=>Hn(y,"back")},...ke?qm.map(([va,Un,Nr,mt],k1)=>({label:Un,icon:Nr,shortcut:mt,separatorBefore:k1===0,disabled:va.startsWith("distribute")&&y.length<3,onSelect:()=>Tr(va)})):[],...Ge?[{label:H("region.ungroup"),icon:(0,ee.jsx)(du,{size:14}),shortcut:"\u21E7\u2318G",separatorBefore:!0,onSelect:()=>ul(L)}]:[],{label:H(Ne?"lock.unlock":"lock.lock"),icon:Ne?(0,ee.jsx)(ru,{size:14}):(0,ee.jsx)(qs,{size:14}),shortcut:"\u21E7\u2318L",onSelect:()=>A(y)},{label:H("menu.settings"),icon:(0,ee.jsx)(Rr,{size:14}),onSelect:()=>{ie.selectIds([L]),j?.(L)}},...oe?[{label:H("menu.expand"),icon:(0,ee.jsx)(gl,{size:14}),onSelect:()=>V?.(L)}]:[],{label:ke?H("menu.deleteMany",{count:y.length}):ge("delete"),icon:(0,ee.jsx)(ia,{size:14}),danger:!0,separatorBefore:!0,onSelect:()=>{i?.(y),ie.select(null)}}]},Km=y=>{if(!Kt||!F||!t)return!1;let L=nt(t,y);return!!L&&To(L.node)&&(L.parent?.attrs?.id??t.content.attrs?.id)===(n??t.content.attrs?.id)&&!Bn(y)?.locked},wx=(y,L)=>{if(R||y.closest(".page-surface")!==J.current||y.closest("[data-surface-ui]"))return!1;let oe=ie.hitTest(L.clientX,L.clientY);return!oe||!Km(oe.id)?!1:(L.preventDefault(),ie.select(oe.id),Je(oe.id),!0)},kx=(0,Fe.useMemo)(()=>({componentActionsHost:Xe,nativeScene:Qe,get scale(){return ye.current.scale},geometry:a,selected:K,select:o?ie.select:xe,board:o&&!Y?ie:void 0,inspect:j,expand:V,remove:P,move:Y?void 0:w,connect:Y?void 0:z,highlightTarget:ya,labelEditing:Ye,editLabel:Je,setLabel:Y?void 0:F,readOnly:!w,revealAll:Lm||N||!!wt,revealed:Hm}),[Xe,Qe,a,K,[...ie.ids].join(":"),o,Y,j,V,P,w,z,ya,Ye,F,Lm,N,Hm,t]);return(0,ee.jsx)(Va.Provider,{value:kx,children:(0,ee.jsxs)("div",{ref:y=>{J.current=y,pe.ref.current=y},className:`page-surface${te?" has-object-menu":""}${w&&!O&&!N&&!wt?" has-board-grid":""}${Be==="hand"?" is-hand-tool":""}${Be==="text"?" is-text-tool":""}`,"data-input-surface":B&&!Y?g:void 0,"data-viewport-lock-scope":O?"board":void 0,"data-viewport-locked":Y,"data-board-id":g,"data-board-tool":R??"select",onContextMenu:y=>{if(j?.(null),bt.current||vn.current||y.target.closest('[data-drawing-active="true"]')){y.preventDefault(),y.stopPropagation();return}let L=y.target,oe=ie.selectionTarget(y.clientX,y.clientY);jn.current&&(jn.current.open=!1),ze(oe&&!L.closest(Zy)?oe.element:L,{x:y.clientX,y:y.clientY})?(y.preventDefault(),y.stopPropagation()):X&&o&&!Y&&L.closest(".page-surface")===y.currentTarget&&!L.closest('[data-surface-ui],input,textarea,select,[contenteditable=true],[data-surface-gesture="own"],.react-flow')&&(y.preventDefault(),y.stopPropagation(),Ce({anchor:y.currentTarget,point:{x:y.clientX,y:y.clientY},id:"",ids:[],container:!1,insertion:me.current.point(y.clientX,y.clientY)}))},onDoubleClick:y=>{let L=y.target;wx(L,y)||!Kt||!X||R||Be==="hand"||L.closest(".page-surface")!==y.currentTarget||L.closest("[data-surface-content],[data-surface-ui]")||ie.hitTest(y.clientX,y.clientY)||(y.preventDefault(),qd(me.current.point(y.clientX,y.clientY)))},onPointerDownCapture:y=>{let L=y.target;if(L.closest(".page-surface")!==y.currentTarget||L.closest("[data-surface-ui]")&&!L.closest(".board-resize-handle,.surface-object-rotate,.board-arrow-endpoint")||y.pointerType==="touch"&&!y.isPrimary)return;let oe=!R||y.pointerType==="touch"?ie.selectionTarget(y.clientX,y.clientY):ie.hitTest(y.clientX,y.clientY),ke=ie.selectionHit(y.clientX,y.clientY),Ne=y.pointerType==="touch"&&!!ke;!oe&&!ke&&y.button===0&&!y.shiftKey&&!Le.current&&!L.closest("[data-surface-ui], [data-surface-content]")&&ie.select(null);let Ge=Os(oe?.node)||!R&&oe?.node.type==="drawing"?oe.id:L.closest('[data-board-shape="true"]')?.dataset.surfaceId,He=!!Ge&&y.pointerType==="touch";if(Ge&&y.pointerType==="touch"&&y.button===0&&o&&!Y&&!ie.ids.has(Ge)&&!L.closest("[data-surface-ui]")){y.preventDefault(),me.current.cancel(),zr(),ie.select(Ge),Ce(null);return}if(Ge&&y.pointerType==="pen"&&R&&!L.closest("[data-resize-direction],.surface-object-rotate")){!Pe&&R!=="eraser"&&R!=="lasso"&&(y.preventDefault(),y.stopPropagation());return}if(["pan","eraser"].includes(R??"")&&!He&&!L.closest("[data-surface-ui]")||yo(y.pointerType)&&!He&&!Ne&&!L.closest("[data-surface-ui],button,input,textarea,select,iframe,[contenteditable=true]")||L.closest(".page-surface")!==y.currentTarget)return;if(!L.closest(".surface-popover-anchor")&&jn.current&&(jn.current.open=!1),L.closest("[data-surface-ui]")||Ce(null),Be==="text"&&!He&&Kt&&y.button===0&&!Le.current&&!L.closest("[data-surface-ui]")){y.preventDefault(),y.stopPropagation(),qd(me.current.point(y.clientX,y.clientY));return}let Ie=L.closest(".board-resize-handle,.surface-object-rotate")??(R&&L.closest("[data-board-drawing-input]")?[...Se.current?.querySelectorAll(".surface-object.is-selected > .board-resize-handle, .surface-object.is-selected > .surface-object-rotate, .board-group-outline > .board-resize-handle")??[]].find(so=>{let wn=so.getBoundingClientRect();return y.clientX>=wn.left-4&&y.clientX<=wn.right+4&&y.clientY>=wn.top-4&&y.clientY<=wn.bottom+4}):void 0),xn=R&&R!=="arrow"?ie.edgeHit(y.clientX,y.clientY):null,va=!!xn&&R!=="pen"&&R!=="highlighter"&&ua.current.id===xn.id&&performance.now()>=ua.current.since+180&&(Ya.current===xn.element||performance.now()<=ua.current.until);if((L.closest("[data-surface-handle]")||y.pointerType!=="touch"&&L.closest("[data-board-drawing-input]"))&&(zr(),me.current.cancel()),!o||Y||R&&!He&&!Ne&&!va&&!Ie&&!(R==="lasso"&&ke)||y.button!==0||y.pointerType==="touch"&&!Ie&&!He&&!Ne||Le.current&&!He||zt.current&&!He||!Ie&&L.closest("[data-surface-handle]")||!Ie&&L.closest("[data-surface-ui]")||!Ie&&L.closest(Zy))return;let Un=y.ctrlKey||y.metaKey,Nr=null,mt=null;if(Ie)mt=Ie.dataset.groupTarget??Ie.closest("[data-surface-id]")?.dataset.surfaceId;else if(He)mt=Ge;else if(!Un&&!y.shiftKey&&ke)mt=ke;else if(va)mt=xn?.id;else if(oe?.node.type==="drawing")mt=oe.id;else if(oe){let so=oe.element,wn=L.closest('[contenteditable="true"]'),Yd=!!wn&&so.contains(wn)&&so.contains(document.activeElement),Fs=ie.ids.size===1&&ie.ids.has(oe.id),Ei=oe.node.type!=="region"&&!!so.querySelector('[contenteditable="true"]');if(Yd||Fs&&!Ei&&oe.node.type!=="region"&&L!==so&&so.contains(L)&&!Un)return;Un||(mt=oe.id,Fs&&Ei&&!y.shiftKey&&(Nr=so))}if(mt&&(!Un||Ie)){y.preventDefault(),!He&&!Ne&&y.stopPropagation(),me.current.cancel(),zr(),Gs();let so=Ie?.dataset.resizeDirection?`resize-${Ie.dataset.resizeDirection}`:Ie?"rotate":"move",wn=ie.ids.has(mt);if(y.altKey&&so==="move"&&r){let Fs=wn?[...ie.ids]:[mt],Ei;(0,cm.flushSync)(()=>{Ei=r(Fs,{x:0,y:0}),Ei?.length&&ie.selectIds(Ei)});let Jd=Ei;Jd?.length&&(mt=Jd[Fs.indexOf(mt)]??Jd[0],wn=!0,Nr=null)}let Yd=!Ie&&!y.shiftKey&&ie.ids.size>1&&wn;if(y.shiftKey&&!wn&&ie.select(mt,!0),!ie.start(mt,so,y)){y.shiftKey||ie.select(mt),y.currentTarget.focus({preventScroll:!0});return}me.current.objectGesture(!0),bt.current={pointer:y.pointerId,id:mt,x:y.clientX,y:y.clientY,moved:!1,wasSelected:wn,additive:y.shiftKey,preserveSelection:!!Ie||!!ke&&!y.shiftKey,touch:y.pointerType==="touch",enterEdit:Nr,groupClick:Yd,input:y},(Ie??y.currentTarget).focus({preventScroll:!0}),y.currentTarget.setPointerCapture(y.pointerId);return}if(oe&&(!Un||oe.node.type!=="drawing")||L.closest("[data-surface-content]"))return;y.preventDefault(),y.stopPropagation(),y.currentTarget.focus({preventScroll:!0}),y.currentTarget.setPointerCapture(y.pointerId);let k1=me.current.point(y.clientX,y.clientY),S1=document.createElement("div");S1.className="board-marquee",S1.setAttribute("data-surface-ui",""),Se.current.append(S1),vn.current={id:y.pointerId,start:k1,next:{...k1,width:0,height:0},element:S1,base:[...ie.ids],hitId:oe?.id,additive:y.shiftKey,last:{x:y.clientX,y:y.clientY,shift:y.shiftKey,wrap:Un}},!y.shiftKey&&!Un&&ie.select(null)},onPointerMoveCapture:y=>{Cr.current={x:y.clientX,y:y.clientY};let L=bt.current;if(L?.pointer===y.pointerId){y.preventDefault(),L.touch||y.stopPropagation(),L.moved||=Math.hypot(y.clientX-L.x,y.clientY-L.y)>=3,L.input={clientX:y.clientX,clientY:y.clientY,altKey:y.altKey,shiftKey:y.shiftKey,ctrlKey:y.ctrlKey,metaKey:y.metaKey},ie.update(L.input),L.moved&&Pm(y.clientX,y.clientY);return}if(!vn.current&&!Y&&!y.buttons&&y.target.closest(".page-surface")===y.currentTarget){let ke=y.clientX,Ne=y.clientY;cancelAnimationFrame(Ja.current),Ja.current=requestAnimationFrame(()=>{let Ge=R?R==="arrow"?null:ie.edgeHit(ke,Ne):ie.hitTest(ke,Ne,!1),He=performance.now();Ge&&(ua.current.id!==Ge.id||Ya.current!==Ge.element&&He>ua.current.until?ua.current={id:Ge.id,since:He,until:He+900}:ua.current.until=He+900);let Ie=Ge?.element??null;Ie!==Ya.current&&(Ya.current?.classList.remove("is-hovered"),Ya.current=Ie,Ie?.classList.add("is-hovered")),J.current?.classList.toggle("has-drawing-hit",!!Ie&&!!R&&R!=="pen"&&R!=="highlighter"&&He>=ua.current.since+180)})}let oe=vn.current;!oe||oe.id!==y.pointerId||(y.preventDefault(),y.stopPropagation(),oe.last={x:y.clientX,y:y.clientY,shift:y.shiftKey,wrap:y.ctrlKey||y.metaKey},Om(),Pm(y.clientX,y.clientY))},onDragStartCapture:y=>{(bt.current||vn.current)&&y.preventDefault()},onPointerUpCapture:y=>{let L=bt.current;if(L?.pointer===y.pointerId){if(y.preventDefault(),L.touch||y.stopPropagation(),bt.current=null,v1(),L.moved||=Math.hypot(y.clientX-L.x,y.clientY-L.y)>=3,ie.update(y),ie.finish(),me.current.objectGesture(!1),!L.moved)if(L.enterEdit)lm(L.enterEdit,y.clientX,y.clientY);else if(L.groupClick){let ke=ie.selectionTarget(y.clientX,y.clientY);ie.select(ke&&ie.ids.has(ke.id)?ke.id:null)}else L.wasSelected&&!L.preserveSelection&&ie.select(L.id,L.additive);y.currentTarget.hasPointerCapture(y.pointerId)&&y.currentTarget.releasePointerCapture(y.pointerId);return}let oe=vn.current;!oe||oe.id!==y.pointerId||(y.preventDefault(),y.stopPropagation(),oe.hitId&&oe.next.width<3&&(oe.next.height??0)<3?(ie.selectIds(oe.base),ie.select(oe.hitId,y.shiftKey||y.ctrlKey||y.metaKey)):ie.marquee(oe.next,y.shiftKey,oe.base,y.ctrlKey||y.metaKey),zr(),y.currentTarget.hasPointerCapture(y.pointerId)&&y.currentTarget.releasePointerCapture(y.pointerId))},onPointerCancelCapture:y=>{y.pointerId!==bt.current?.pointer&&y.pointerId!==vn.current?.id||(zr(!0),x1(),Gs())},onLostPointerCapture:y=>{if(y.target!==y.currentTarget)return;zr(!0);let L=bt.current;L&&!L.touch&&L.moved?(bt.current=null,v1(),ie.update(L.input),ie.finish(),me.current.objectGesture(!1)):L&&x1()},onPointerLeave:()=>{Gs(),Cr.current=null},onCopy:y=>{if(!Kt||!ie.ids.size||sm(y.target))return;let L=Si([...ie.ids]);L&&(y.preventDefault(),y.clipboardData.setData(im,JSON.stringify(L)),y.clipboardData.setData("text/plain",JSON.stringify(L)))},onCut:y=>{if(!Kt||!ie.ids.size||sm(y.target))return;let L=Si([...ie.ids],!0);L&&(y.preventDefault(),y.clipboardData.setData(im,JSON.stringify(L)),y.clipboardData.setData("text/plain",JSON.stringify(L)))},onPaste:y=>{if(!Kt||!s||sm(y.target))return;let L=y.clipboardData.getData(im)||y.clipboardData.getData("text/plain"),oe=null;try{oe=JSON.parse(L)}catch{}y.preventDefault(),Th(oe)?Ci({clip:oe}):L.trim()&&Ci({text:L})},onKeyDownCapture:y=>{let L=y.target;if(L.closest('input,textarea,select,iframe,video,audio,[contenteditable=true],[data-editor-keyboard-scope],[data-surface-gesture="own"],.react-flow,.surface-toolbar')||L.closest(".page-surface")!==y.currentTarget)return;let oe=L.closest(".surface-object-content");if(oe&&oe.closest(".page-surface")===y.currentTarget&&L.closest(".surface-object")===oe.parentElement&&!oe.parentElement?.classList.contains("is-drawing"))return;if(y.key==="ContextMenu"||y.shiftKey&&y.key==="F10"){let Ie=L.getBoundingClientRect();if(ze(L,{x:Ie.left+Math.min(24,Ie.width/2),y:Ie.top+Math.min(24,Ie.height/2)})){y.preventDefault(),y.stopPropagation();return}}if(y.code==="Space"&&(Le.current=!0),y.key==="Escape"){let Ie=!!vn.current||!!bt.current;if(zr(!0),x1(),Ie){y.preventDefault(),y.stopPropagation();return}if((R||Be)&&!L.closest('[data-drawing-active="true"]')){y.preventDefault(),y.stopPropagation(),C?.();return}}let ke=y.metaKey||y.ctrlKey;if(y.shiftKey&&!ke&&!y.altKey&&!Y){let Ie={Digit0:0,Digit1:1,Digit2:2}[y.code];if(Ie!==void 0){y.preventDefault(),y.stopPropagation(),Ie===0?me.current.zoom(1):Ie===1?$o():Fm();return}}if(!Kt||L.closest('[data-drawing-active="true"]'))return;if(!ke&&!y.altKey&&!y.shiftKey&&!bt.current&&!vn.current){let Ie=uy(y.key);if(Ie&&(!he||!["region","lasso","pan"].includes(Ie.tool??""))){y.preventDefault(),y.stopPropagation(),Gs(),ie.select(null),G?.(Ie.tool);return}}let Ne=[...ie.ids],Ge=Ie=>{y.preventDefault(),y.stopPropagation(),Ie()};if(ke&&y.key.toLowerCase()==="a")return Ge(()=>ie.selectAll());if(ke&&y.key.toLowerCase()==="d"&&Ne.length)return Ge(()=>dl(Ne));if(ke&&y.shiftKey&&y.code==="KeyG"&&ki)return Ge(()=>ul(ki));if(ke&&y.shiftKey&&y.code==="KeyL"&&Ne.length)return Ge(()=>A(Ne));if((y.code==="BracketRight"||y.code==="BracketLeft")&&Ne.length)return Ge(()=>Hn(Ne,y.code==="BracketRight"?y.shiftKey||y.altKey?"front":"forward":y.shiftKey||y.altKey?"back":"backward"));if(y.altKey&&!ke&&Ne.length>1){let Ie={KeyA:"left",KeyD:"right",KeyW:"top",KeyS:"bottom",KeyH:y.shiftKey?"distribute-x":"center",KeyV:y.shiftKey?"distribute-y":"middle"}[y.code];if(Ie)return Ge(()=>Tr(Ie))}if(y.key==="Enter"&&!ke&&Ne.length===1&&Km(Ne[0]))return Ge(()=>Je(Ne[0]));if(y.key==="Enter"&&!ke&&Ne.length===1){let Ie=Se.current?.querySelector(`[data-surface-id="${CSS.escape(Ne[0])}"]`);if(Ie?.querySelector('[contenteditable="true"]'))return Ge(()=>lm(Ie))}let He={ArrowLeft:[-1,0],ArrowRight:[1,0],ArrowUp:[0,-1],ArrowDown:[0,1]}[y.key];if(He&&Ne.length&&!L.closest("[data-resize-direction],.surface-object-rotate,.board-arrow-endpoint,input,select"))return Ge(()=>ie.nudge(He[0]*(y.shiftKey?10:1),He[1]*(y.shiftKey?10:1)));if((y.key==="Delete"||y.key==="Backspace")&&Ne.length)return Ge(()=>{i?.(Ne),ie.select(null)})},onKeyUpCapture:y=>{y.code==="Space"&&(Le.current=!1)},onPointerDown:y=>{y.defaultPrevented||y.button!==0||Le.current||y.target.closest("[data-surface-content], [data-surface-ui]")||ie.select(null)},role:"region","aria-label":H("board"),tabIndex:0,onKeyDown:y=>{let L=y.target;if(L.closest("[data-input-surface]")!==y.currentTarget||y.key!=="Escape"||y.defaultPrevented||L.closest("input,textarea"))return;let oe=L.closest("[contenteditable]");if(oe?.getAttribute("contenteditable")==="true"){let ke=oe.closest(".surface-object");if(!ke||ke.closest(".page-surface")!==y.currentTarget)return;y.preventDefault(),window.getSelection()?.removeAllRanges(),y.currentTarget.focus({preventScroll:!0}),Kt&&ie.selectIds([ke.dataset.surfaceId]);return}ie.select(null),jn.current&&(jn.current.open=!1)},"aria-description":Y?H("board.descriptionLocked"):o?py(H):H("board.descriptionRead"),children:[te&&(0,ee.jsx)(Qh,{anchor:te.anchor,point:te.point,label:H("menu.objectActions"),onClose:()=>Ce(null),items:te.insertion?[{label:H("menu.addPage"),icon:(0,ee.jsx)(Ws,{size:14}),onSelect:()=>X?.("page",te.insertion)},{label:H("menu.addText"),icon:(0,ee.jsx)(Ir,{size:14}),shortcut:"T",onSelect:()=>qd(te.insertion)},{label:H("menu.addComponent"),icon:(0,ee.jsx)(jt,{size:14}),onSelect:()=>q?.(te.point,te.insertion)},{label:H("menu.paste"),icon:(0,ee.jsx)(tu,{size:14}),shortcut:"\u2318V",separatorBefore:!0,disabled:!zd||!s,onSelect:()=>zd&&Ci({clip:zd},te.insertion)},{label:H("menu.selectAll"),icon:(0,ee.jsx)(B5,{size:14}),shortcut:"\u2318A",disabled:!b.length,onSelect:()=>ie.selectAll()},...re?[{label:ie.ids.size?ge("copyReference"):H("menu.referenceBoard"),icon:(0,ee.jsx)(Ni,{size:14}),separatorBefore:!0,onSelect:()=>re.reference(Kd([...ie.ids],{left:te.point.x,top:te.point.y,bottom:te.point.y}))}]:[]]:xx(te.ids,te.id,te.container)}),O&&(0,ee.jsx)(d7,{...pe,label:H("board.lockTarget")}),(0,ee.jsx)("div",{className:"surface-metadata","data-surface-ui":!0,children:m}),(0,ee.jsxs)("div",{ref:Te,className:"surface-scroll",children:[(0,ee.jsx)("div",{className:"surface-grid","aria-hidden":"true"}),(0,ee.jsx)("div",{ref:Se,className:"surface-world",children:e})]}),(0,ee.jsx)(Vy,{pageId:t?.id??g,surfaceId:n??g,enabled:B&&!N&&!Y,root:J,world:Se,point:(y,L)=>me.current.point(y,L)}),B&&!N&&(0,ee.jsx)(Jh,{boardId:n??g,camera:ye}),(Pe==="pen"||Pe==="highlighter")&&!window.showai?.inlineInk&&B&&!Y&&I&&(0,ee.jsx)(Yh,{pageId:t?.id??g,boardId:n??g,tool:Pe,color:E,width:M,pressure:Z,camera:ye,panHeld:Le,ruler:Et,point:(y,L)=>me.current.point(y,L),name:H("drawing.area")}),Pe&&Pe!=="pen"&&Pe!=="highlighter"&&B&&!Y&&I&&(0,ee.jsx)(Wh,{tool:Pe,ruler:Et,panHeld:Le,makeSnapIndex:ie.drawingSnapIndex,color:E,fillColor:D,strokeWidth:M,pressure:Z,camera:ye,point:(y,L)=>me.current.point(y,L),onTarget:(y,L)=>ya(y,L),onDraw:(y,L)=>{let oe;if(y.type==="region"&&n&&t){let Ne=(nt(t,n)?.node?.content??[]).map(He=>He.attrs?.id).filter(He=>He&&!Bn(He)?.locked),Ge=Object.entries(ie.measured(Ne)).filter(([,He])=>He.x>=L.x&&He.y>=L.y&&He.x+He.width<=L.x+L.width&&He.y+He.height<=L.y+(L.height??0)).map(([He])=>He);Ge.length&&(oe={ids:Ge,offset:Zs()})}I(y,L,oe),requestAnimationFrame(()=>{J.current?.querySelector("[data-board-drawing-input]")||J.current?.focus({preventScroll:!0})})},onExit:()=>C?.()},Pe),(R==="eraser"||R==="lasso")&&B&&!Y&&i&&(0,ee.jsx)(dy,{tool:R,size:M,board:ie,onDelete:i,onExit:()=>C?.()},R),!b.length&&!R&&!w&&(0,ee.jsx)("div",{className:"surface-empty","data-surface-ui":!0,children:(0,ee.jsx)("p",{children:H("board.empty")})}),!b.length&&!R&&!Be&&Kt&&!O&&(0,ee.jsx)("div",{className:"surface-empty is-hint","aria-hidden":"true",children:(0,ee.jsx)("p",{children:H("board.emptyHint")})}),_m&&!O&&!N&&t&&n&&(0,ee.jsx)(Ty,{root:J,world:Se,camera:ye,layoutKey:p,onNavigate:y=>me.current.moveTo(y,!0)}),(0,ee.jsxs)(yy,{root:J,enabled:B&&!Y&&!N,actions:(0,ee.jsxs)(ee.Fragment,{children:[o&&!te&&ie.ids.size>1&&(0,ee.jsx)("span",{className:"board-selection-count",role:"status",children:H("board.selectedCount",{count:ie.ids.size})}),o&&!te&&ie.ids.size>0&&(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)(wy,{nodes:zi,onChange:y=>U?.(Ht,{labelSize:y})}),re&&(0,ee.jsx)("button",{type:"button","aria-label":H("board.assistant"),title:H("board.assistant"),onClick:y=>{let L=y.currentTarget.getBoundingClientRect();Wm(Ht,{left:L.left+L.width/2,top:L.top,bottom:L.bottom})},children:(0,ee.jsx)(Ks,{size:15})}),yx&&(0,ee.jsx)("button",{type:"button","aria-label":H("board.expandSelected"),onClick:()=>K&&V?.(K),children:(0,ee.jsx)(gl,{size:15})}),(0,ee.jsx)("button",{type:"button",onClick:()=>dl(Ht),"aria-label":H("board.duplicateSelected"),title:H("board.duplicateSelectedTitle"),children:H("board.duplicate")}),(0,ee.jsx)("button",{type:"button",onClick:()=>Hn(Ht,"front"),"aria-label":H("order.front"),title:H("tool.withShortcut",{label:H("order.front"),key:"\u21E7]"}),children:(0,ee.jsx)(eu,{size:15})}),(0,ee.jsx)("button",{type:"button",onClick:()=>Hn(Ht,"back"),"aria-label":H("order.back"),title:H("tool.withShortcut",{label:H("order.back"),key:"\u21E7["}),children:(0,ee.jsx)(su,{size:15})}),ie.ids.size>1&&(0,ee.jsxs)("details",{className:"surface-popover-anchor board-align-menu",children:[(0,ee.jsx)("summary",{"aria-label":H("align.menu"),title:H("align.menu"),children:(0,ee.jsx)(Xd,{size:15})}),(0,ee.jsxs)("div",{className:"board-align-options",role:"group",children:[qm.map(([y,L,oe,ke])=>(0,ee.jsx)("button",{type:"button","aria-label":L,title:H("tool.withShortcut",{label:L,key:ke}),disabled:y.startsWith("distribute")&&ie.ids.size<3,onClick:()=>Tr(y),children:oe},y)),vx&&[["right",H("align.tidyRight"),(0,ee.jsx)(Z5,{size:14})],["down",H("align.tidyDown"),(0,ee.jsx)(D5,{size:14})]].map(([y,L,oe])=>(0,ee.jsx)("button",{type:"button","aria-label":L,title:L,onClick:()=>_?.(Ht,y),children:oe},y))]})]}),ki?(0,ee.jsx)("button",{type:"button","aria-label":H("region.ungroup"),title:H("tool.withShortcut",{label:H("region.ungroup"),key:"\u21E7\u2318G"}),onClick:()=>ul(ki),children:(0,ee.jsx)(du,{size:15})}):null,(0,ee.jsx)("button",{type:"button","aria-label":H(wi?"lock.unlock":"lock.lock"),"aria-pressed":wi,title:H("tool.withShortcut",{label:H(wi?"lock.unlock":"lock.lock"),key:"\u21E7\u2318L"}),onClick:()=>A(Ht),children:wi?(0,ee.jsx)(qs,{size:15}):(0,ee.jsx)(ru,{size:15})}),(0,ee.jsx)("button",{type:"button",onClick:()=>{i?.(Ht),ie.select(null)},"aria-label":ge("delete"),title:H("tool.withShortcut",{label:ge("delete"),key:"Delete"}),children:(0,ee.jsx)(ia,{size:15})})]}),(0,ee.jsx)("div",{ref:Ae,className:"board-component-actions","data-surface-ui":!0})]}),properties:he&&ie.ids.size>1?null:(0,ee.jsxs)(ee.Fragment,{children:[o&&!Y&&!te?(0,ee.jsx)(ky,{tool:zi.length?null:R,style:{color:E,fillColor:D,strokeWidth:M,pressure:Z},nodes:zi,onChange:y=>U?.(zi.filter(yl).map(L=>L.attrs.id),y)}):null,he&&!zi.length&&I&&!Y&&(R==="pen"||R==="highlighter")&&(0,ee.jsx)("div",{className:"board-writing-options board-ruler-controls","data-surface-ui":!0,children:(0,ee.jsx)("button",{type:"button","aria-label":H("tool.ruler"),title:H("tool.ruler"),"aria-pressed":Et,onClick:at,children:(0,ee.jsx)(lu,{size:15})})})]}),children:[!he&&(0,ee.jsxs)("details",{ref:jn,className:"surface-popover-anchor",onKeyDownCapture:y=>{y.key==="Escape"&&(y.preventDefault(),y.stopPropagation(),jn.current.open=!1,jn.current.querySelector("summary")?.focus())},children:[(0,ee.jsx)("summary",{"aria-label":H("nav.regionsAndViews"),title:H("nav.regionsAndViews"),children:(0,ee.jsx)(T5,{size:16})}),(0,ee.jsxs)("div",{className:"surface-navigation",children:[(0,ee.jsxs)("div",{className:"board-view-controls",children:[(0,ee.jsx)("button",{type:"button","aria-label":H("board.fit"),disabled:Y,title:H("board.fitTitle"),onClick:()=>$o(),children:(0,ee.jsx)(gl,{size:15})}),(0,ee.jsx)("button",{type:"button","aria-label":H("board.locate"),title:H("board.locateTitle"),disabled:Y||!Ht.length,onClick:Fm,children:(0,ee.jsx)(h5,{size:15})}),(0,ee.jsx)("span",{className:"surface-toolbar-divider"}),(0,ee.jsx)(ZC,{scale:$e,controls:me,locked:Y}),!O&&!N&&(0,ee.jsx)("button",{type:"button","aria-label":H("board.minimap"),"aria-pressed":_m,title:H("board.minimap"),onClick:bx,children:(0,ee.jsx)(z5,{size:15})})]}),(0,ee.jsx)("strong",{children:H("nav.regionsAndContent")}),b.map(y=>(0,ee.jsxs)("div",{className:"surface-navigation-row",children:[(0,ee.jsxs)("button",{type:"button",disabled:Y,onClick:()=>{xe(y.id),$o([y.id],!0),jn.current.open=!1},children:[(0,ee.jsx)(Ws,{size:14,"aria-hidden":"true"}),y.name]}),T&&(0,ee.jsx)(ee.Fragment,{children:(0,ee.jsx)("button",{type:"button","aria-label":H("nav.moveEarlier",{name:y.name}),disabled:h.readingOrder.indexOf(y.id)<1,onClick:()=>{let L=[...h.readingOrder],oe=L.indexOf(y.id);[L[oe-1],L[oe]]=[L[oe],L[oe-1]],T({...h,readingOrder:L})},children:(0,ee.jsx)(Dr,{size:13,"aria-hidden":"true"})})})]},y.id)),(0,ee.jsx)("strong",{children:H("nav.namedViews")}),h.saved.map(y=>(0,ee.jsxs)("div",{className:"surface-navigation-row",children:[(0,ee.jsxs)("button",{type:"button",disabled:Y,onClick:()=>{$o(y.targets),jn.current.open=!1},children:[(0,ee.jsx)($d,{size:14,"aria-hidden":"true"}),y.name]}),T&&(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)("button",{type:"button","aria-label":H("nav.setInitial",{name:y.name}),"aria-pressed":h.initial===y.id,onClick:()=>T({...h,initial:h.initial===y.id?null:y.id}),children:(0,ee.jsx)(j5,{size:13})}),(0,ee.jsx)("button",{type:"button","aria-label":H("nav.deleteView",{name:y.name}),onClick:()=>T({...h,initial:h.initial===y.id?null:h.initial,saved:h.saved.filter(L=>L.id!==y.id)}),children:(0,ee.jsx)(ia,{size:13})})]})]},y.id)),T&&(0,ee.jsxs)("form",{onSubmit:y=>{y.preventDefault(),hx()},children:[(0,ee.jsx)("input",{"aria-label":H("nav.viewName"),placeholder:K?Gm.get(K)?H("nav.viewOf",{name:Gm.get(K)}):H("nav.viewOfSelection"):H("nav.viewOfVisible"),maxLength:200,value:w1,onChange:y=>Um(y.target.value)}),(0,ee.jsxs)("button",{type:"submit",disabled:!w1.trim()||!Wd.length,children:[(0,ee.jsx)($d,{size:14}),H("nav.saveView")]})]})]})]}),(0,ee.jsx)("fieldset",{className:"surface-extra-actions",disabled:Y,children:S}),!he&&I&&!Y&&(0,ee.jsx)("div",{className:"board-writing-options","data-surface-ui":!0,children:(0,ee.jsx)("button",{type:"button","aria-label":H("tool.ruler"),title:H("tool.ruler"),"aria-pressed":Et,onClick:at,children:(0,ee.jsx)(lu,{size:15})})})]})]})})}function ZC({scale:e,controls:t,locked:a}){let n=Oy(e),o=le(tt);return(0,ee.jsxs)(ee.Fragment,{children:[(0,ee.jsx)("button",{type:"button","aria-label":o("board.zoomOut"),title:o("tool.withShortcut",{label:o("board.zoomOut"),key:"-"}),disabled:a||n<=.1,onClick:()=>t.current.zoom(n/1.2),children:(0,ee.jsx)(bl,{size:15})}),(0,ee.jsxs)("button",{type:"button",className:"surface-zoom","aria-label":o("board.resetZoom"),title:o("board.resetZoomTitle"),disabled:a,onClick:()=>t.current.zoom(1),children:[Math.round(n*100),"%"]}),(0,ee.jsx)("button",{type:"button","aria-label":o("board.zoomIn"),title:o("tool.withShortcut",{label:o("board.zoomIn"),key:"+"}),disabled:a||n>=4,onClick:()=>t.current.zoom(n*1.2),children:(0,ee.jsx)(jt,{size:15})})]})}function sm(e){return e instanceof Element&&!!e.closest("input,textarea,select,[contenteditable=true],[data-editor-keyboard-scope]")}function Fy(e,t){if(e===t&&Mu(e))return!0;if(e.type!==t.type||e.attrs?.id!==t.attrs?.id||e.type==="surface"&&e.attrs?.kind!==t.attrs?.kind)return!1;if(e.content===t.content&&Mu(e.content))return!0;let a=(e.content??[]).filter(o=>o.type!=="text"),n=(t.content??[]).filter(o=>o.type!=="text");return a.length===n.length&&a.every((o,r)=>Fy(o,n[r]))}function GC(e,t,a){return a.normalize===!1&&Fy(e.content,t.content)?t:ja(t,{clone:!1})}var um=kt(tt);function qy(e,t,a,n={}){let o=!1,r=l=>{if(l.attrs?.id===t){let c=n.attributesOnly?{...l,attrs:{...l.attrs}}:structuredClone(l);return a(c),o=!0,Lr(c)}if(!l.content)return l;let s=l.content.map(r);return s.some((c,d)=>c!==l.content[d])?{...l,content:s}:l},i=r(e.content);return o?GC(e,{...e,content:i},n):e}function Wy(e,t,a,n=null){let o=c6(e),r=n?nt(o,n)?.node:o.content;if(!r||!["surface","region"].includes(r.type??""))throw new Error(um("error.regionMissing"));return r.content=[...r.content??[],t],o.layout[t.attrs.id]=a,ja(o)}function pm(e,t){let a=structuredClone(e),n=nt(a,t);return n?.parent?(n.parent.content=n.parent.content.filter(o=>o.attrs?.id!==t),ja(a)):e}function mm(e,t,a,n,o){let r=structuredClone(e),i=nt(r,t),l=a?nt(r,a)?.node:r.content;if(!i?.parent||!l||!["surface","region"].includes(l.type??""))throw new Error(um("error.cannotMove"));let s=new Set;if(Zn(i.node,d=>{d.attrs?.id&&s.add(d.attrs.id)}),a&&s.has(a))throw new Error(um("error.regionIntoSelf"));i.parent.content=i.parent.content.filter(d=>d.attrs?.id!==t);let c=l.content??[];return c.splice(o??c.length,0,i.node),l.content=c,n&&(r.layout[t]=n),ja(r)}rt(`.container-workspace{display:flex;flex-direction:column;height:100%;min-height:0;position:relative;background:var(--paper, var(--bg));color:var(--text, var(--ink))}.container-workspace-bar{display:flex;align-items:center;gap:4px;min-height:38px;padding:4px 18px;border-bottom:1px solid var(--line, var(--border));flex-shrink:0;z-index:30;background:var(--paper, var(--bg))}.container-workspace-bar nav{display:flex;align-items:center;flex:1;min-width:0;overflow:auto;gap:2px;font-size:12px;color:var(--muted)}.container-workspace-bar nav>span{display:flex;align-items:center;flex-shrink:0}.container-workspace button,.container-workspace summary{font:inherit}.container-workspace-bar button,.container-menu summary,.container-menu button,.container-activation button{border:0;background:transparent;color:inherit;padding:6px 8px;display:inline-flex;align-items:center;gap:6px;cursor:pointer;border-radius:5px;font-size:12px}.container-workspace-bar nav button span{max-width:180px;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.container-workspace button:disabled{opacity:.4;cursor:default}.container-workspace button:focus-visible,.container-workspace summary:focus-visible{outline:2px solid var(--accent);outline-offset:2px}.container-workspace-bar button:hover,.container-menu summary:hover,.container-menu button:hover,.container-activation button:hover{background:var(--hover, #00000006)}.container-main{flex:1;min-height:0;position:relative}.container-page{height:100%;overflow:auto;overscroll-behavior:contain;overflow-anchor:none;scrollbar-gutter:stable;background:var(--paper, var(--bg))}.container-page-column{max-width:1000px;margin:0 auto;padding:28px 40px 96px;min-width:0}.container-page[data-width-mode=wide]>.container-page-column{max-width:1500px}.container-page[data-width-mode=full]>.container-page-column{max-width:none}.container-page-heading{margin:12px 0 24px}.page-document-flow{border:0;padding:0}.page-document-module{margin:20px 0;font-size:14px}.page-document-module .document-content{min-height:80px}.container-page-heading h1,.container-page-heading .surface-page-title{font-size:32px;font-weight:650;line-height:1.25;color:var(--text, var(--ink));width:100%;max-width:100%}.container-page .surface-layout-flow>.surface-object{margin:22px 0}.container-page .surface-layout-flow>.surface-object.is-region{margin:18px 0}.container-page .surface-layout-flow>.surface-object.is-region>.surface-object-content{padding:14px 20px}.container-menu{position:relative}.container-menu summary{list-style:none;user-select:none}.container-menu summary::-webkit-details-marker{display:none}.container-menu>div{position:absolute;top:calc(100% + 4px);right:0;z-index:60;min-width:170px;padding:6px;border:1px solid var(--line, var(--border));border-radius:8px;background:var(--paper, var(--bg));box-shadow:0 8px 24px #00000010}.container-menu>div>button{display:flex;width:100%;white-space:nowrap}.surface-toolbar .container-menu>div{top:auto;bottom:calc(100% + 12px)}.container-board{height:100%;min-height:0;position:relative;background:var(--paper, var(--bg));isolation:isolate}.container-board-scene{height:100%;min-height:0}.container-board-scene.is-passive{pointer-events:none}.container-board-enter{position:absolute;inset:0;display:flex;align-items:center;justify-content:center;gap:8px;width:100%;height:100%;border:0;background:transparent;color:transparent;cursor:pointer;touch-action:pan-y}.container-board-enter:hover,.container-board-enter:focus-visible{background:#ffffff24;color:var(--muted)}.container-activation{position:absolute;top:6px;right:8px;z-index:40;display:flex;align-items:center;border-radius:6px;background:var(--paper, var(--bg))}.container-activation button[aria-pressed=true]{color:var(--accent)}.surface-object.is-container>.surface-object-content{padding:0;height:calc(100% - 32px);min-height:0;overflow:hidden;border-radius:0 0 8px 8px}.surface-object.is-container{border-color:var(--line, var(--border))}.surface-object.is-container:not([style*="height:"])>.surface-object-content{height:auto}.surface-object.is-container>.surface-object-content>.page-outline-shell>.container-page{min-height:120px}.surface-object.is-container .container-page-column{padding:20px 24px 56px}.surface-object.is-container>.surface-object-content>.page-outline-shell>.container-page[data-frameless=true]{min-height:0}.surface-object.is-container .container-page[data-frameless=true]>.container-page-column{padding:4px 8px}.surface-object.is-drawing>.surface-object-content{padding:0;width:100%;height:100%;overflow:visible}.surface-object.is-drawing{border:0;border-radius:0}.surface-object.is-drawing>.surface-object-header{position:absolute;bottom:100%;left:0;min-width:150px;background:var(--paper, var(--bg));display:none;z-index:5}.surface-object.is-drawing.is-hovered>.surface-object-header,.surface-object.is-drawing.is-selected>.surface-object-header{display:flex}.board-drawing{display:block;width:100%;height:100%;overflow:visible}.surface-object.is-drawing>.surface-object-content{position:relative}.board-drawing-label{position:absolute;display:flex;align-items:center;justify-content:center;color:var(--text, var(--ink));font-family:inherit;font-weight:500;text-align:center;white-space:pre-wrap;overflow-wrap:anywhere;pointer-events:none;user-select:none}.board-drawing-label>span{max-width:100%}.board-drawing-label[data-tool=arrow]{width:max-content;max-width:240px;padding:1px 6px;border-radius:4px;background:var(--paper, var(--bg));transform:translate(-50%,-50%)}.board-drawing-label[data-editing]{pointer-events:auto}.board-drawing-label[data-tool=arrow][data-editing]{min-width:96px}.board-drawing-label textarea{display:block;width:100%;min-height:1lh;margin:0;padding:0;border:0;outline:none;resize:none;overflow:hidden;background:transparent;color:inherit;font:inherit;line-height:inherit;text-align:inherit;caret-color:#467de3}.board-drawing-input{position:absolute;inset:0;width:100%;height:100%;z-index:16;touch-action:none;cursor:crosshair;outline:none}.board-pen-color{width:24px;height:24px;border:0;background:transparent;padding:2px;cursor:pointer}.container-board .surface-toolbar{max-width:calc(100% - 20px);gap:2px;overflow:visible;z-index:25}.container-board .surface-toolbar button[aria-pressed=true]{background:var(--hover, #00000009);color:var(--accent)}.container-board .surface-toolbar button{flex-shrink:0}.container-board .surface-empty{pointer-events:none}.container-inspector{position:absolute;right:12px;top:46px;bottom:auto;max-height:calc(100% - 70px);z-index:50;box-shadow:0 8px 32px #00000010}@media(max-width:650px){.container-page-column{padding:20px 18px 80px}.container-workspace-bar{padding:4px 8px}.container-workspace-bar nav button span{max-width:110px}.container-board .surface-toolbar{gap:0;padding:4px}.container-board .surface-toolbar button{padding:5px;min-width:24px}.container-board .surface-toolbar .surface-toolbar-divider{margin:0 2px}}@media print{.container-workspace,.container-main,.container-page,.container-page-column{height:auto!important;overflow:visible!important;display:block!important;max-width:none!important}.container-workspace-bar,.container-activation,.container-board-enter,.board-drawing-input,.container-inspector,.surface-object-header{display:none!important}.container-page-column{padding:0!important}.surface-object.is-container{height:auto!important;break-inside:auto}.surface-object.is-container>.surface-object-content{height:auto!important;overflow:visible!important}.container-board,.container-board-scene,.container-board .page-surface,.container-board .surface-scroll{height:auto!important;position:static!important;overflow:visible!important}.container-board .surface-object.is-drawing{position:relative!important;min-height:60px}}.surface-editor-shell>.container-workspace{flex:1;min-width:0;width:100%}.portable-app:has(>.container-workspace){height:100dvh}.portable-app>.container-workspace{height:100%}.container-inspector{margin:0;width:250px;right:12px;top:46px;position:absolute}@media print{.portable-app:has(>.container-workspace){height:auto!important}}.container-page .surface-layout-flow>div:not(:last-child) .document-content{min-height:0}.container-board .surface-toolbar{width:max-content;flex-wrap:wrap;justify-content:center}.container-file-error{position:absolute;bottom:50px;left:12px;right:12px;padding:8px 12px;background:var(--paper, var(--bg));border:1px solid var(--line, var(--border));font-size:12px;border-radius:6px;z-index:60}@media print{.container-board .page-surface{position:relative!important;height:var(--board-print-height, 420px)!important;min-height:0!important;break-inside:avoid}.container-board .surface-scroll{position:absolute!important;inset:0!important;height:100%!important;overflow:hidden!important}.container-board .surface-world{position:absolute!important;inset:0 auto auto 0!important;width:0!important;height:0!important;transform:var(--board-print-transform, none)!important;transform-origin:0 0!important}.container-board .surface-world>.surface-object{position:absolute!important;margin:0!important}.container-board .surface-world>.surface-object.is-container,.container-board .surface-world>.surface-object.is-drawing{height:var(--frame-height, 460px)!important;min-height:0!important}.container-board .surface-object.is-container>.surface-object-header{display:flex!important}.container-board .surface-object.is-container>.surface-object-header button{display:none!important}.container-board .surface-object.is-container>.surface-object-content{height:calc(100% - 32px)!important;overflow:hidden!important}.container-board .surface-object.is-container>.surface-object-content>.page-outline-shell>.container-page{height:100%!important;overflow:hidden!important}}.container-workspace{isolation:isolate}@media print{.container-board .surface-world>.surface-object,.container-board .surface-layout-free>.surface-object{position:absolute!important;left:var(--frame-x, 0px)!important;top:var(--frame-y, 0px)!important;width:var(--frame-width, 360px)!important}.container-board .surface-layout-free{position:relative!important;min-height:var(--free-height, 200px)!important}}.surface-object[data-board-drawing=true],.surface-object[data-board-drawing=true]>.surface-object-content{pointer-events:none}.surface-object[data-board-drawing=true] [data-surface-ui]{pointer-events:auto}.surface-object.is-drawing:focus-within{z-index:auto}.surface-object.is-drawing:not(.is-selected)>.board-resize-handle{display:none}.board-object-outline{position:absolute;pointer-events:none;outline:calc(1.5px * var(--board-inv, 1)) solid #467de3}.surface-object[data-erasing=true] .board-drawing-selection,.surface-object[data-erasing=true]>:is(.board-resize-handle,.surface-object-rotate,.board-lock-badge){display:none}.board-drawing-selection{position:absolute;inset:0;width:100%;height:100%;overflow:visible;pointer-events:none}.surface-object.is-drawing>.board-resize-handle:after,.board-group-outline[data-drawing-selection=true]>.board-resize-handle:after{border-radius:50%}.surface-object.is-drawing.is-hovered:not(.is-selected) .board-drawing{filter:none}@media print{.board-object-outline,.board-drawing-selection{display:none}}.page-surface.has-drawing-hit{cursor:move}.container-board.is-root>.container-board-scene>.page-surface:focus-visible{outline:none}.board-selection-drag-area{outline:none;pointer-events:auto;z-index:2;touch-action:none;cursor:move}
48
+ `);var xr=W(De(),1);function fm(e){return e&&typeof e=="object"&&"message"in e?String(e.message):String(e)}rt(`.page-icon-form{display:flex;flex-direction:column;gap:16px;padding:20px 24px}.page-icon-preview{display:grid;place-items:center;min-height:80px}.page-icon-form label{display:flex;flex-direction:column;gap:7px;font-size:13px}.page-icon-form input:not([type=file]){width:100%;padding:9px 11px;border:1px solid var(--line, #ddd);border-radius:7px;background:var(--bg, white);color:var(--text, #252525)}.page-icon-emoji{display:grid;grid-template-columns:repeat(8,1fr);gap:5px}.page-icon-emoji button{font-size:23px;min-height:37px;border:1px solid transparent;border-radius:6px}.page-icon-emoji button:hover,.page-icon-emoji button[aria-pressed=true]{background:var(--hover, #f1f1f1);border-color:var(--line, #ddd)}.page-icon-help{font-size:12px;color:var(--muted, #777);margin:-8px 0 0}.page-icon-form footer{display:flex;flex-wrap:wrap;gap:8px;padding-top:12px}.page-icon-form footer>span{flex:1}.page-icon-form button:focus-visible{outline:2px solid var(--accent, #5b66d8);outline-offset:2px}@media(max-width:420px){.page-icon-form{padding:16px}.page-icon-emoji{grid-template-columns:repeat(6,1fr)}}
49
+ `);var ra=W(de(),1),gm=kt(l1),qC=["\u{1F4C4}","\u{1F4DA}","\u{1F4DD}","\u{1F4CA}","\u{1F9EA}","\u{1F3A8}","\u{1F4A1}","\u{1F52C}","\u{1F331}","\u{1F680}","\u2B50","\u{1F4CC}","\u{1F3AF}","\u{1F5C2}\uFE0F","\u{1F3E0}","\u{1F4BB}","\u{1F30D}","\u{1F9E0}","\u2728","\u2764\uFE0F","\u{1F3AC}","\u{1F6E0}\uFE0F","\u{1F4F7}","\u{1F3B5}"];async function WC(e){if(!/^image\/(png|jpeg|gif|webp|avif)$/.test(e.type))throw new Error(gm("icon.unsupportedType"));if(e.size>8*1024*1024)throw new Error(gm("icon.tooLarge"));let t=await new Promise((r,i)=>{let l=new FileReader;l.onload=()=>r(String(l.result)),l.onerror=()=>i(l.error),l.onabort=()=>i(new Error(gm("icon.readCancelled"))),l.readAsDataURL(e)}),a=new Image;if(a.src=t,await a.decode(),Math.max(a.naturalWidth,a.naturalHeight)<=256&&t.length<=1e6)return t;let n=Math.min(1,256/Math.max(a.naturalWidth,a.naturalHeight)),o=document.createElement("canvas");return o.width=Math.max(1,Math.round(a.naturalWidth*n)),o.height=Math.max(1,Math.round(a.naturalHeight*n)),o.getContext("2d").drawImage(a,0,0,o.width,o.height),o.toDataURL("image/png")}function bm({value:e,onSave:t,onClose:a,title:n,fallback:o}){let r=le(l1),i=le(la),[l,s]=(0,xr.useState)(e),[c,d]=(0,xr.useState)(Ys(e)?"":e),[f,u]=(0,xr.useState)(/^https?:/i.test(e)?e:""),[g,b]=(0,xr.useState)(""),[p,x]=(0,xr.useState)(!1),h=(0,xr.useRef)(null),m=(0,xr.useRef)(0),v=Ys(l)||l.length<=64?l:"",k=async z=>{x(!0),b("");try{await t(G5(z.trim())),a()}catch(P){b(fm(P))}finally{x(!1)}},w=async z=>{let P=++m.current;x(!0),b("");try{let j=await WC(z);P===m.current&&s(j)}catch(j){P===m.current&&b(fm(j))}finally{P===m.current&&x(!1)}};return(0,ra.jsx)(c1,{title:n??r("icon.pageIcon"),onClose:a,children:(0,ra.jsxs)("form",{className:"page-icon-form",onSubmit:z=>{z.preventDefault(),k(l)},children:[(0,ra.jsx)("div",{className:"page-icon-preview",children:(0,ra.jsx)(No,{value:v,size:56,fallback:o})}),(0,ra.jsxs)("label",{children:[r("icon.text"),(0,ra.jsx)("input",{"aria-label":r("icon.text"),value:c,maxLength:64,disabled:p,onChange:z=>{d(z.target.value),s(z.target.value),b("")}})]}),(0,ra.jsx)("div",{className:"page-icon-emoji","aria-label":r("icon.common"),children:qC.map(z=>(0,ra.jsx)("button",{type:"button","aria-label":r("icon.use",{icon:z}),"aria-pressed":l===z,disabled:p,onClick:()=>{s(z),d(z),b("")},children:z},z))}),(0,ra.jsx)("input",{ref:h,type:"file",accept:"image/png,image/jpeg,image/gif,image/webp,image/avif",hidden:!0,onChange:z=>{let P=z.target.files?.[0];z.target.value="",P&&w(P)}}),(0,ra.jsx)("button",{className:"studio-button",type:"button",disabled:p,onClick:()=>h.current?.click(),children:r("icon.upload")}),(0,ra.jsx)("p",{className:"page-icon-help",children:r("icon.help")}),(0,ra.jsxs)("label",{children:[r("icon.url"),(0,ra.jsx)("input",{inputMode:"url","aria-label":r("icon.urlAria"),placeholder:"https://\u2026",value:f,disabled:p,onChange:z=>{u(z.target.value),s(z.target.value.trim()),b("")}})]}),g&&(0,ra.jsx)("p",{className:"studio-error",role:"alert",children:g}),(0,ra.jsxs)("footer",{children:[(0,ra.jsx)("button",{type:"button",className:"studio-button",disabled:p||!e,onClick:()=>{k("")},children:r("icon.remove")}),(0,ra.jsx)("span",{}),(0,ra.jsx)("button",{className:"studio-button",type:"button",disabled:p,onClick:a,children:i("cancel")}),(0,ra.jsx)("button",{className:"studio-button primary",disabled:p,type:"submit",children:p?r("icon.processing"):i("save")})]})]})})}rt(`.page-width-switch{position:relative;width:100%;padding:3px;border-radius:8px;background:var(--hover);isolation:isolate}.page-width-switch-thumb{position:absolute;left:3px;top:3px;bottom:3px;width:calc((100% - 6px) / 3);border-radius:6px;background:var(--paper, var(--bg));box-shadow:0 1px 4px #00000014;transition:transform .14s ease}.page-width-switch-labels{position:relative;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));text-align:center;font-size:12px;line-height:28px;color:var(--muted)}.page-width-switch-labels [data-active=true]{color:var(--text);font-weight:600}.page-width-switch>input[type=range]{position:absolute;inset:0;width:100%;height:100%;margin:0;padding:0;opacity:0;cursor:grab;touch-action:none}.page-width-switch>input[type=range]:active{cursor:grabbing}.page-width-switch:has(input:focus-visible){outline:2px solid var(--accent);outline-offset:2px}@media(prefers-reduced-motion:reduce){.page-width-switch-thumb{transition:none}}
50
+ `);var ol=W(de(),1),Ky=["standard","wide","full"],Yy=["width.standard","width.wide","width.full"];function Jy({value:e,onChange:t}){let a=le(tt),n=Ky.indexOf(e);return(0,ol.jsxs)("div",{className:"page-width-switch",children:[(0,ol.jsx)("span",{className:"page-width-switch-thumb",style:{transform:`translateX(${n*100}%)`},"aria-hidden":"true"}),(0,ol.jsx)("div",{className:"page-width-switch-labels","aria-hidden":"true",children:Yy.map((o,r)=>(0,ol.jsx)("span",{"data-active":r===n,children:a(o)},o))}),(0,ol.jsx)("input",{type:"range",min:0,max:2,step:1,value:n,"aria-label":a("pageWidth"),"aria-valuetext":a(Yy[n]),onChange:o=>t(Ky[Number(o.target.value)]),onKeyDown:o=>{["ArrowLeft","ArrowRight","ArrowUp","ArrowDown","Home","End"].includes(o.key)&&o.stopPropagation()}})]})}var Xy=W(De(),1);rt(`.board-tool-stack{position:relative;--board-tool-width: 34px}.board-tool-buttons,.board-tool-keys{box-sizing:border-box;width:100%;grid-template-columns:repeat(var(--board-tool-count),minmax(0,1fr));display:grid;grid-template-columns:repeat(var(--board-tool-count),var(--board-tool-width));gap:2px}.surface-toolbar .board-tool-buttons button{width:var(--board-tool-width);min-width:0;padding-inline:0}.board-tool-shortcuts{position:absolute;bottom:calc(100% + 10px);left:0;width:100%;display:flex;flex-direction:column;align-items:center}.board-tool-keys{padding-block:5px;border:1px solid var(--line, var(--border));border-radius:8px;background:var(--paper, var(--bg));box-shadow:0 3px 12px #00000008}.board-tool-keys kbd{text-align:center;font-family:inherit;font-size:11px;line-height:18px;color:var(--muted)}.surface-toolbar .board-tool-disclosure{min-width:24px;min-height:14px;height:14px;padding:0;border:1px solid var(--line, var(--border));border-radius:5px;background:var(--paper, var(--bg));margin-bottom:2px}@media(max-width:650px){.board-tool-stack{--board-tool-width: 24px}}@media(pointer:coarse){.board-tool-shortcuts{display:none}.board-tool-stack{--board-tool-width: 36px}}.board-writing-options{position:relative;display:flex;gap:3px;align-items:center}.board-writing-options details>summary{display:flex;padding:8px;cursor:pointer;border-radius:6px}.board-writing-options details[open]>div{position:absolute;bottom:calc(100% + 12px);right:0;padding:12px;min-width:190px;background:var(--paper, var(--bg));border:1px solid var(--line, var(--border));border-radius:8px;box-shadow:0 4px 20px #0002}.board-writing-options label{display:flex;align-items:center;gap:8px;white-space:nowrap}.page-surface[data-board-tool=pan]{cursor:grab}.page-surface[data-board-tool=eraser] .board-drawing-input{cursor:crosshair}.board-style-section{display:flex;align-items:center;gap:6px;white-space:nowrap}.board-style-section+.board-style-section{border-inline-start:1px solid var(--line, var(--border));padding-inline-start:8px}.board-label-size{display:inline-flex;align-items:center;gap:2px;padding-inline:4px;color:var(--muted, inherit)}.board-label-size select{height:26px;padding:0 2px;border:0;border-radius:6px;background:transparent;color:var(--text, inherit);font:inherit;font-size:12px;cursor:pointer}.board-label-size select:hover,.board-label-size select:focus-visible{background:var(--hover, color-mix(in srgb, currentColor 8%, transparent))}.board-width-controls,.board-width-controls>label,.board-pressure-controls{display:flex;flex-direction:row;align-items:center;gap:6px}.board-color-picker{position:relative}.board-color-picker>summary{width:25px;height:25px;border-radius:50%;box-shadow:inset 0 0 0 2px var(--paper, var(--bg)),0 0 0 1px var(--line, var(--border));cursor:pointer;list-style:none}.board-color-picker>summary::-webkit-details-marker{display:none}.board-color-menu{position:absolute;z-index:5;bottom:calc(100% + 12px);right:0;width:max-content;max-width:calc(100vw - 24px);padding:10px;border-radius:12px;background:var(--paper, var(--bg));border:1px solid var(--line, var(--border));box-shadow:0 5px 20px #0002}.board-color-presets{display:grid;grid-template-columns:repeat(4,28px);gap:8px}.surface-toolbar .board-color-presets button{width:28px;height:28px;min-width:28px;min-height:28px;padding:0;border-radius:50%;border:1px solid #8885}.surface-toolbar .board-color-presets button[aria-pressed=true]{outline:2px solid var(--accent, #467de3);outline-offset:2px}.board-color-menu .board-full-palette{display:flex;justify-content:space-between;border-top:1px solid var(--line, var(--border));margin-top:10px;padding-top:10px;font-size:12px}.surface-toolbar .board-pressure-toggle{min-width:28px;width:28px;height:28px;min-height:28px;border:1px solid var(--line, var(--border));border-radius:6px;padding:4px}.board-pressure-toggle svg{width:18px;height:18px}.board-pressure-toggle[aria-pressed=true]{background:var(--hover);color:var(--accent, #467de3)}.surface-toolbar .board-color-picker>summary{box-sizing:border-box;width:22px;height:22px;min-width:22px;min-height:22px;padding:0;border-radius:50%}.surface-toolbar :is(.board-color-empty,.board-color-picker>summary[data-empty]){background-color:#fff;background-image:linear-gradient(135deg,transparent 46%,#df4545 47%,#df4545 53%,transparent 54%)}.board-toolbar-inline-properties .board-style-controls{height:32px;box-sizing:border-box;padding-block:0}.board-toolbar-inline-properties .board-style-section{font-size:11px;line-height:16px}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-width-controls>label{flex-direction:column}.board-dockable-toolbar:is([data-dock=left],[data-dock=right]) .board-toolbar-inline-properties .board-style-controls{height:auto}@media(pointer:coarse){.board-color-presets{grid-template-columns:repeat(4,36px)}.surface-toolbar .board-color-presets button{width:36px;height:36px;min-width:36px;min-height:36px}}
51
+ `);var xo=W(de(),1),KC=[N5,M5,w5,H5,c5,C1,x5,m5,k5,M1];function $y({tool:e,onChange:t}){let a=le(tt),[n,o]=(0,Xy.useState)(!0),r=typeof document<"u"&&document.documentElement.dataset.native==="ios",i=m1.map((l,s)=>({...l,Icon:KC[s]})).filter(l=>!r||!["lasso","pan"].includes(l.tool??""));return(0,xo.jsxs)("div",{className:"board-tool-stack",style:{"--board-tool-count":i.length},children:[(0,xo.jsxs)("div",{className:"board-tool-shortcuts",children:[(0,xo.jsx)("button",{type:"button",className:"board-tool-disclosure","aria-label":a(n?"tool.hideShortcuts":"tool.showShortcuts"),"aria-expanded":n,onClick:()=>o(l=>!l),children:(0,xo.jsx)(z1,{size:12,style:n?void 0:{transform:"rotate(180deg)"}})}),n&&(0,xo.jsx)("div",{className:"board-tool-keys","aria-hidden":"true",children:i.map(({key:l})=>(0,xo.jsx)("kbd",{children:l},l))})]}),(0,xo.jsx)("div",{className:"board-tool-buttons",children:i.map(({tool:l,label:s,key:c,Icon:d})=>(0,xo.jsx)("button",{type:"button","aria-label":a(s),"aria-keyshortcuts":W4(l).join(" "),title:a("tool.withShortcut",{label:a(s),key:xd(l)}),"aria-pressed":e===l,onClick:()=>t(l),children:(0,xo.jsx)(d,{size:15})},c))})]})}var be=W(de(),1);function Xo(e,t,a){return Lr(qy(e,t,a,{normalize:!1,attributesOnly:!0}))}var Qy=320,ev=(0,Re.createContext)(null);function tv({document:e,geometry:t,onChange:a,renderContent:n,header:o,revealId:r,revealInPlace:i,onRevealHandled:l,undo:s,redo:c,canUndo:d=!1,canRedo:f=!1,reading:u=!1,nativeInkBackground:g=!1,hideTitle:b=!1,pageWidthModes:p=!1,onActiveSurfaceChange:x,onControlsChange:h,retainedState:m,inspectorHost:v,onOpenEmbeddedSurface:k}){let w=le(tt),z=le(la),P=le(Fo),[j,T]=(0,Re.useState)(null),S=(0,Re.useMemo)(()=>Lr(tc({...e})),[e]),B=(0,Re.useMemo)(()=>new dd,[S.id]),O=t??B,N=(0,Re.useRef)(S);N.current=S;let[V,R]=(0,Re.useState)(m?.selected??null),[E,D]=(0,Re.useState)(null),[M,Z]=(0,Re.useState)(m?.expanded??null),[U,F]=(0,Re.useState)(m?.active??S.content.attrs.id),[_,X]=(0,Re.useState)(null),[q,I]=(0,Re.useState)(null),[C,G]=(0,Re.useState)(null),[H,ge]=(0,Re.useState)([]),re=(0,Re.useCallback)(()=>G(null),[]),[he,Me]=(0,Re.useState)(!1);(0,Re.useEffect)(()=>{let Q=matchMedia("print"),fe=()=>(0,Ed.flushSync)(()=>Me(!0)),ve=()=>Me(!1),at=()=>Me(Q.matches);return window.addEventListener("beforeprint",fe),window.addEventListener("afterprint",ve),Q.addEventListener("change",at),()=>{window.removeEventListener("beforeprint",fe),window.removeEventListener("afterprint",ve),Q.removeEventListener("change",at)}},[]);let Ze=(0,Re.useRef)(m?.scrolls??new Map),Ye=(0,Re.useRef)(m?.outlines??new Map),Je=(0,Re.useRef)({selected:V,expanded:M,active:U});Je.current={selected:V,expanded:M,active:U},(0,Re.useLayoutEffect)(()=>()=>{m&&Object.assign(m,Je.current,{scrolls:Ze.current,outlines:Ye.current})},[m]),(0,Re.useEffect)(()=>{x?.(U)},[U,S.id]);let wt=(0,Re.useMemo)(()=>_1(S),[S.content]),Xe=M?nt(S,M)?.node:void 0,Ae=Xe?.type==="surface"?Xe:S.content,K=[...wt[Ae.attrs.id]??[],Ae.attrs.id].map(Q=>nt(S,Q)?.node).filter(Q=>Q?.type==="surface"),xe=S.content.attrs.id,pe=(0,Re.useCallback)(Q=>{if(Q!==xe&&k){k(Q);return}Z(Q===xe?null:Q),F(Q),R(null),D(null)},[xe,k]),Y=Ae.attrs.id,Pe=(0,Re.useCallback)(()=>I(Y),[Y]),Be=(0,Re.useCallback)(Q=>{let fe=Xo(N.current,Y,ve=>{ve.attrs={...ve.attrs,widthMode:Q}});N.current=fe,a?.(fe)},[Y,a]),zt=(0,Re.useCallback)(Q=>{let fe=m6(N.current,Y,Q);N.current=fe,a?.(fe),pe(nt(fe,Y)?.parent?.attrs?.id??fe.content.attrs.id)},[Y,a,pe]),J=Ae===S.content?S.title||bn(Ae):bn(Ae),Te=Ua(Ae);(0,Re.useEffect)(()=>{Te==="board"&&E&&E!==V&&D(null)},[Te,V,E]);let Se=(0,Re.useMemo)(()=>a&&s&&c?{documentId:S.id,surfaceId:Y,name:J,kind:Te,nested:Y!==xe,canUndo:d,canRedo:f,undo:s,redo:c,setIcon:Pe,wrap:zt,pageWidthMode:Ae.attrs?.widthMode??"standard",setPageWidthMode:Be,outlineSettings:()=>T(Y)}:null,[S.id,Y,J,Te,xe,d,f,s,c,Pe,zt,Ae.attrs?.widthMode,Be,a]);(0,Re.useLayoutEffect)(()=>{h?.(Se)},[h,Se]),(0,Re.useLayoutEffect)(()=>()=>{h?.(null)},[h]),(0,Re.useEffect)(()=>{M&&!Xe&&pe(S.content.attrs.id)},[M,!!Xe]),(0,Re.useEffect)(()=>{if(!r)return;X(r),R(r);let fe=[...wt[r]??[]].reverse().find(ve=>nt(S,ve)?.node.type==="surface");fe&&(F(fe),Z(fe===S.content.attrs.id?null:fe)),l?.()},[r]),(0,Re.useEffect)(()=>{i&&(R(i),X(i))},[i]);let ye={geometry:O,document:S,current:N,commit:(Q,fe)=>{let ve=Lr(O.materialize(Q));N.current=ve,a?.(ve,fe)},readOnly:!a,printing:he,pageWidthModes:p,selected:V,select:R,inspect:D,expand:pe,active:U,activate:F,render:n,scrolls:Ze.current,outlines:Ye.current,outlineSettings:T,revealRequest:_,requestReveal:X,openComponents:(Q,fe,ve)=>G({parentId:Q,left:fe.x,top:fe.y,position:ve})},me=E?nt(S,E):void 0,$e=E?S.layout[E]:void 0,Et=Q=>ye.commit(nl(ye.geometry.materialize(N.current),{[E]:Q}));return(0,be.jsx)(oh,{components:H,children:(0,be.jsx)(hi.Provider,{value:Q=>ge(fe=>[...fe,Q]),children:(0,be.jsxs)(ev.Provider,{value:ye,children:[j&&!ye.readOnly&&nt(S,j)?.node.attrs?.kind==="page"&&(0,be.jsx)(wh,{page:nt(S,j).node,onClose:()=>T(null),onSave:(Q,fe)=>{let ve=nt(N.current,j)?.node;if(!ve||ve.attrs?.kind!=="page"||JSON.stringify(ve.attrs.outline)!==fe)throw new Error(P("errorChanged"));ye.commit(Xo(N.current,j,at=>{at.attrs={...at.attrs},Q?at.attrs.outline=Q:delete at.attrs.outline}))}}),q&&!ye.readOnly&&(0,be.jsx)(bm,{value:q===S.content.attrs.id?S.icon:nt(S,q)?.node.attrs?.icon??"",onClose:()=>I(null),onSave:async Q=>{let fe=N.current;if(q===fe.content.attrs.id)ye.commit({...fe,icon:Q});else{if(!nt(fe,q))throw new Error(w("error.pageRemoved"));ye.commit(Xo(fe,q,ve=>{ve.attrs={...ve.attrs,icon:Q}}))}}}),C&&(0,be.jsx)(Oh,{left:C.left,top:C.top,onClose:re,onInsert:(Q,fe)=>{let ve=md(N.current,C.parentId,Q,fe);C.position&&Object.assign(ve.document.layout[ve.nodeId],C.position),ye.commit(ve.document),R(ve.nodeId),C.position||X(ve.nodeId),re()}}),(0,be.jsxs)(kh,{className:"container-workspace","data-resource-id":S.id,onKeyDown:Q=>{if(!(Q.defaultPrevented||Q.nativeEvent.isComposing)){if(!ye.readOnly&&(Q.metaKey||Q.ctrlKey)&&!Q.altKey&&!Q.target.closest("input,textarea,select")&&["z","y"].includes(Q.key.toLowerCase())){let fe=Q.shiftKey||Q.key.toLowerCase()==="y";if(fe?f&&c:d&&s){Q.preventDefault(),Q.stopPropagation(),fe?c?.():s?.();return}}if(Q.key==="/"&&!Q.metaKey&&!Q.ctrlKey&&!Q.altKey&&!ye.readOnly&&!Q.target.closest('input,textarea,select,[role="dialog"]')&&Q.target.closest("[contenteditable]")?.getAttribute("contenteditable")!=="true"){let fe=Q.target.closest("[data-component-container],[data-container-root]"),ve=fe?.dataset.componentContainer??fe?.dataset.containerRoot??U,at=fe?.getBoundingClientRect()??Q.currentTarget.getBoundingClientRect();Q.preventDefault(),Q.stopPropagation();let Qe=nt(N.current,ve);for(;Qe&&Qe.node.type!=="surface";)Qe=Qe.parent?.attrs?.id?nt(N.current,Qe.parent.attrs.id):void 0;F(Qe?.node.attrs?.id??U),G({parentId:ve,left:at.left+40,top:at.top+80});return}if(Q.key==="Escape"&&!Q.target.closest("input,textarea,select")){if(E){D(null);return}if(U!==Ae.attrs.id){F(Ae.attrs.id);return}K.length>1&&pe(K.at(-2).attrs.id)}}},children:[K.length>1&&(0,be.jsxs)("div",{className:"container-workspace-bar","data-surface-ui":!0,children:[(0,be.jsx)("nav",{"aria-label":w("nav.hierarchy"),children:K.map((Q,fe)=>(0,be.jsxs)("span",{children:[fe>0&&(0,be.jsx)(_n,{size:13}),(0,be.jsxs)("button",{type:"button","aria-current":Q===Ae?"page":void 0,onClick:()=>pe(Q.attrs.id),children:[Ua(Q)==="page"?(0,be.jsx)(No,{value:Q===S.content?S.icon:Q.attrs?.icon,size:14}):(0,be.jsx)(D1,{size:14}),(0,be.jsx)("span",{children:fe===0?!b&&S.title||w(Ua(Q)==="page"?"node.page":"node.board"):bn(Q)})]})]},Q.attrs.id))}),K.length>1&&(0,be.jsxs)("button",{type:"button",onClick:()=>pe(K.at(-2).attrs.id),children:[(0,be.jsx)(o5,{size:14}),w("nav.back")]})]}),(0,be.jsx)("div",{className:"container-main",children:(0,be.jsx)(av,{node:Ae,root:!0,header:Ae===S.content?o:(0,be.jsxs)("h1",{children:[(0,be.jsx)(No,{value:Ae.attrs?.icon,size:32})," ",bn(Ae)]}),reading:u,nativeInkBackground:g},Ae.attrs.id)}),me&&(0,be.jsx)(YC,{host:v,children:(0,be.jsxs)("aside",{className:`surface-inspector container-inspector${Te==="board"?" board-bottom-inspector":""}`,"data-surface-ui":!0,"aria-label":w("inspector.title"),children:[(0,be.jsxs)("header",{children:[(0,be.jsx)("strong",{children:w(v?"inspector.currentObject":"inspector.title")}),(0,be.jsx)("button",{type:"button","aria-label":w("inspector.close"),onClick:()=>D(null),children:(0,be.jsx)(Xa,{size:16})})]}),(0,be.jsxs)("label",{children:[w("inspector.name"),(0,be.jsx)("input",{"aria-label":w("inspector.nameLabel"),value:_4(me.node)?bn(me.node):me.node.attrs?.name??bn(me.node),maxLength:200,onChange:Q=>ye.commit(Xo(N.current,E,fe=>{fe.attrs={...fe.attrs,name:Q.target.value}}))})]}),me.node.type==="surface"&&(0,be.jsxs)("button",{type:"button",onClick:()=>I(me.node.attrs.id),children:[(0,be.jsx)(No,{value:me.node.attrs?.icon,size:18})," ",w("container.setIcon")]}),p&&me.node.type==="surface"&&Ua(me.node)==="page"&&(0,be.jsxs)("label",{children:[w("pageWidth"),(0,be.jsx)(Jy,{value:me.node.attrs?.widthMode??"standard",onChange:Q=>ye.commit(Xo(N.current,E,fe=>{fe.attrs={...fe.attrs,widthMode:Q}}))})]}),me.node.type==="surface"&&Ua(me.node)==="page"&&(0,be.jsxs)("label",{children:[(0,be.jsx)("input",{type:"checkbox",checked:!!me.node.attrs?.frameless,onChange:Q=>ye.commit(Xo(N.current,E,fe=>{fe.attrs={...fe.attrs,frameless:Q.target.checked}}))}),w("container.frameless")]}),me.node.type==="region"&&(0,be.jsxs)("label",{children:[w("inspector.arrange"),(0,be.jsxs)("select",{"aria-label":w("inspector.regionLayout"),value:$e?.mode??"flow",onChange:Q=>Et({...$e,mode:Q.target.value}),children:[(0,be.jsx)("option",{value:"flow",children:w("layout.flow")}),(0,be.jsx)("option",{value:"grid",children:w("layout.grid")}),(0,be.jsx)("option",{value:"free",children:w("layout.free")})]})]}),$e?.mode==="grid"&&(0,be.jsxs)("label",{children:[w("inspector.columns"),(0,be.jsx)("input",{"aria-label":w("inspector.gridColumns"),type:"number",min:1,max:12,value:$e.columns??2,onChange:Q=>{let fe=Number(Q.target.value);Number.isInteger(fe)&&fe>=1&&fe<=12&&Et({...$e,columns:fe})}})]}),$e&&!(me.node.type==="drawing"&&me.node.attrs?.tool==="arrow")&&(0,be.jsxs)(be.Fragment,{children:[(0,be.jsxs)("label",{children:[w("inspector.width"),(0,be.jsx)("input",{"aria-label":w("inspector.moduleWidth"),type:"number",min:me.node.type==="drawing"?1:120,max:1e4,value:Math.round($e.width),onChange:Q=>{let fe=Number(Q.target.value);fe>=(me.node.type==="drawing"?1:120)&&fe<=1e4&&Et({...$e,width:fe})}})]}),me.node.type==="surface"&&(0,be.jsxs)(be.Fragment,{children:[(0,be.jsxs)("label",{children:[w("inspector.heightMode"),(0,be.jsxs)("select",{"aria-label":w("inspector.moduleHeightMode"),value:$e.heightMode??"fixed",onChange:Q=>Et({...$e,heightMode:Q.target.value}),children:[(0,be.jsx)("option",{value:"fixed",children:w("heightMode.fixed")}),Ua(me.node)==="page"&&(0,be.jsx)("option",{value:"auto",children:w("heightMode.auto")})]})]}),$e.heightMode!=="auto"&&(0,be.jsxs)("label",{children:[w("inspector.height"),(0,be.jsx)("input",{"aria-label":w("inspector.moduleHeight"),type:"number",min:180,max:5e3,value:$e.height??460,onChange:Q=>{let fe=Number(Q.target.value);fe>=180&&fe<=5e3&&Et({...$e,height:fe})}})]})]})]}),(0,be.jsxs)("label",{children:[w("inspector.parent"),(0,be.jsx)("select",{"aria-label":w("inspector.parent"),value:me.parent?.attrs?.id??"",onChange:Q=>{let fe=Q.target.value;ye.commit(mm(ye.geometry.materialize(N.current),E,fe,{...$e??{width:640},x:0,y:0})),D(null),pe(fe),X(E)},children:JC(S,E).map(Q=>(0,be.jsx)("option",{value:Q.attrs.id,children:Q===S.content?w("inspector.rootOption",{name:bn(Q)}):bn(Q)},Q.attrs.id))})]}),(0,be.jsx)("div",{className:"surface-inspector-actions",children:[-1,1].map(Q=>(0,be.jsx)("button",{type:"button",onClick:()=>{let fe=nt(N.current,E),ve=fe.parent,at=ve.content.indexOf(fe.node),Qe=mm(N.current,E,ve.attrs?.id,void 0,Math.max(0,Math.min(ve.content.length-1,at+Q))),ie=nt(Qe,ve.attrs.id).node,Kt=Qe.surfaceViews[ve.attrs.id];Kt&&(Kt.readingOrder=ie.content.map(Sr=>Sr.attrs.id)),ye.commit(Qe)},children:Q<0?w("inspector.moveEarlier"):w("inspector.moveLater")},Q))}),(0,be.jsx)("button",{type:"button",onClick:()=>{ye.commit(pm(ye.geometry.materialize(N.current),E)),D(null),R(null)},children:z("delete")})]})})]})]})})})}function YC({host:e,children:t}){return e?(0,Ed.createPortal)(t,e):t}function JC(e,t){let a=new Set,n=nt(e,t)?.node;n&&Zn(n,r=>{r.attrs?.id&&a.add(r.attrs.id)});let o=[];return Zn(e.content,r=>{["surface","region"].includes(r.type??"")&&!a.has(r.attrs.id)&&o.push(r)}),n?.type==="drawing"?o.filter(r=>{let i=r;for(;i&&i.type!=="surface";)i=nt(e,i.attrs.id)?.parent??void 0;return i?.attrs?.kind==="board"}):o}function av({node:e,root:t=!1,header:a,reading:n=!1,nativeInkBackground:o=!1}){let r=le(tt),i=(0,Re.useContext)(ev),l=e.attrs.id,s=Ua(e),c=i.readOnly,d=(0,Re.useRef)(null),f=(0,Re.useRef)(null),u=(0,Re.useRef)(null),[g,b]=(0,Re.useState)(null),[p,x]=(0,Re.useState)({pen:{color:"#252629",fillColor:"none",strokeWidth:2.5},highlighter:{color:"#facc15",fillColor:"none",strokeWidth:16},shape:{color:"#252629",fillColor:"none",strokeWidth:2.5},arrow:{color:"#252629",fillColor:"none",strokeWidth:2.5},eraser:{color:"#252629",fillColor:"none",strokeWidth:24}}),h=(0,Re.useRef)(g),m=(0,Re.useRef)(p),v=D=>D==="pen"||D==="highlighter"||D==="eraser"||D==="arrow"?D:D==="text"?"pen":"shape",k=v(g),w=p[k],z=D=>{let M=d.current?.configureNativeInput(D,m.current[v(D)]),Z=D===h.current||M?void 0:window.showai?.inlineInk?.flush();return h.current=D,i.activate(l),i.select(null),i.inspect(null),b(D),Z},P=t||i.active===l,j=(0,Re.useContext)(pd),T=`showai.page-scroll.v3:${i.document.id}:${l}:${t?"expanded":"embedded"}${j?`:${j}`:""}`;i.outlines.has(T)||i.outlines.set(T,{});let S=i.outlines.get(T);(0,Re.useLayoutEffect)(()=>{let D=f.current;if(!D)return;let M=ud()?.pageScrolls?.[l];if(M){D.scrollLeft=M.x,D.scrollTop=M.y;return}let Z=i.scrolls.get(T)??XC(T);return Number.isFinite(Z)&&(D.scrollTop=Z),()=>{i.scrolls.set(T,D.scrollTop),$C(T,D.scrollTop)}},[T]),(0,Re.useLayoutEffect)(()=>{!i.printing&&f.current&&i.scrolls.has(T)&&(f.current.scrollTop=i.scrolls.get(T))},[i.printing,T]),(0,Re.useEffect)(()=>{let D=i.revealRequest;!D||[..._1(i.current.current)[D]??[]].reverse().find(U=>nt(i.current.current,U)?.node.type==="surface")!==l||(s==="board"&&!n?d.current?.reveal(D):requestAnimationFrame(()=>f.current?.querySelector(`[data-surface-id="${CSS.escape(D)}"],[data-block-id="${CSS.escape(D)}"]`)?.scrollIntoView({block:"nearest"})),i.requestReveal(null))},[i.revealRequest]);let B=(0,Re.useMemo)(()=>({geometry:i.geometry,scale:1,selected:i.selected,select:i.select,inspect:i.inspect,expand:i.expand,readOnly:c,revealAll:s==="page"||n,revealed:new Set,move:c?void 0:(D,M)=>i.commit(nl(i.geometry.materialize(i.current.current),{[D]:M})),remove:c?void 0:D=>{i.commit(pm(i.geometry.materialize(i.current.current),D)),i.select(null)}}),[i,c,s,n]),O=(0,Re.useCallback)((D,M)=>i.commit(nl(i.geometry.materialize(i.current.current),D),M),[i]),N=(0,Re.useCallback)((D,M,Z)=>{let U=i.geometry.materialize(i.current.current),F=nt(U,D);if(!F||!U.layout[D])return;let _=bu(F.node,U.layout[D]);_[M==="start"?0:1]=Z;let X={...F.node.attrs?.bindings},q=U1(U,F.parent.attrs.id,Z,8/(d.current?.scale()??1));q?X[M]=q:delete X[M];let I=j1(F.node,U.layout[D],_,X);i.commit(Xo({...U,layout:{...U.layout,[D]:I.frame}},D,C=>{C.attrs=I.node.attrs}))},[i]),V=(0,Re.useCallback)((D,M,Z)=>{let U=i.geometry.materialize(i.current.current),F=U.layout?.[D];Z&&F&&Z>(F.height??0)&&(U=nl(U,{[D]:{...F,height:Z}})),U=Xo(U,D,_=>{M?_.attrs={..._.attrs,label:M}:delete _.attrs.label}),i.commit(U)},[i]),R=a??(!t&&!e.attrs?.frameless?(0,be.jsxs)("h2",{children:[(0,be.jsx)(No,{value:e.attrs?.icon,size:24})," ",bn(e)]}):void 0),E=(0,Re.useCallback)(D=>(0,be.jsx)(av,{node:D}),[]);return t&&o&&c&&s==="board"?(0,be.jsx)(Va.Provider,{value:{...B,revealAll:!0},children:(0,be.jsx)("div",{className:"native-ink-background",children:(0,be.jsx)("div",{className:"native-ink-world","data-native-ink-world":!0,children:(0,be.jsx)(bd,{document:i.document,container:e,spatial:!0,renderContent:i.render,renderSurface:E})})})}):s==="page"||n?(0,be.jsx)(Va.Provider,{value:B,children:(0,be.jsxs)("div",{className:"page-outline-shell",ref:u,children:[(0,be.jsx)("div",{ref:f,className:`container-page${t?" is-root":""}${n?" is-reading-projection":""}`,"data-container-root":l,"data-frameless":e.attrs?.frameless||void 0,"data-width-mode":(i.pageWidthModes||e.attrs?.outline?.enabled)&&s==="page"?e.attrs?.widthMode??"standard":void 0,"data-input-surface":l,"aria-label":r("node.pageLabel",{name:bn(e)}),onScroll:D=>{!i.printing&&!matchMedia("print").matches&&i.scrolls.set(T,D.currentTarget.scrollTop)},onPointerDownCapture:D=>{D.target.closest("[data-container-root]")===D.currentTarget&&i.activate(l)},children:(0,be.jsxs)("div",{className:"container-page-column",children:[R&&(0,be.jsx)("div",{className:"container-page-heading",children:R}),s==="page"&&(0,be.jsx)(sh,{page:e}),(0,be.jsx)(bd,{document:i.document,container:e,spatial:!n,renderContent:i.render,renderSurface:E})]})}),s==="page"&&!i.printing&&(0,be.jsx)(lh,{page:e,documentId:i.document.id,scroll:f,shell:u,view:S,onSettings:c?void 0:()=>i.outlineSettings(l)})]})}):(0,be.jsx)("div",{className:`container-board${t?" is-root":""}${P?" is-active":""}`,"data-container-root":l,"aria-label":r("node.boardLabel",{name:bn(e)}),onPointerDownCapture:D=>{D.target.closest("[data-container-root]")===D.currentTarget&&i.activate(l)},children:(0,be.jsx)("div",{className:"container-board-scene",children:(0,be.jsx)(dm,{embedded:!t,geometry:i.geometry,boardDocument:i.document,containerId:l,onTransform:c?void 0:O,onDuplicate:c?void 0:(D,M)=>{let Z=zh(i.geometry.materialize(i.current.current),D,M);return i.commit(Z.document),i.select(Z.ids[0]??null),Z.ids},onCopyObjects:D=>B4(i.geometry.materialize(i.current.current),D),onPasteObjects:c?void 0:(D,M)=>{let Z=i.geometry.materialize(i.current.current);if("text"in D){let X=md(Z,l,"text",{format:"richtext",content:{type:"doc",content:D.text.split(/\r?\n/).slice(0,500).map(q=>({type:"paragraph",...q?{content:[{type:"text",text:q}]}:{}}))}});return Object.assign(X.document.layout[X.nodeId],{width:Qy,...M}),i.commit(X.document),i.select(X.nodeId),[X.nodeId]}let U=D.clip.nodes.map(X=>D.clip.layout[X.attrs.id]).filter(Boolean),F=M&&U.length?{x:M.x-(Math.min(...U.map(X=>X.x))+Math.max(...U.map(X=>X.x+X.width)))/2,y:M.y-Math.min(...U.map(X=>X.y))}:{x:24,y:24},_=H4(Z,l,D.clip,F);return i.commit(_.document),i.select(_.ids[0]??null),_.ids},onReorder:c?void 0:(D,M)=>i.commit(Eh(i.geometry.materialize(i.current.current),D,M)),onGroup:c?void 0:(D,M,Z)=>{let U=Dh(i.geometry.materialize(i.current.current),D,M,Z);return U?(i.commit(U.document),i.select(U.id),U.id):null},onUngroup:c?void 0:(D,M)=>{let Z=Mh(i.geometry.materialize(i.current.current),D,M);return Z?(i.commit(Z.document),i.select(Z.ids[0]??null),Z.ids):[]},onLock:c?void 0:(D,M)=>i.commit(Ah(i.geometry.materialize(i.current.current),D,M)),onDeleteSelection:c?void 0:D=>i.commit(Ih(i.geometry.materialize(i.current.current),D)),ref:d,pageId:`${i.document.id}:${l}:${t?"expanded":"embedded"}`,enabled:!0,printing:i.printing,nodes:V1(i.document,e).map(D=>({id:D.attrs.id,name:bn(D)})),layoutKey:i.document.layout,paths:_1({...i.document,content:e}),views:p6(i.document,e),header:t?R:void 0,selected:i.selected,onSelect:i.select,onInspect:i.inspect,onExpand:i.expand,onMove:B.move,onConnect:c?void 0:N,onRemove:B.remove,onViews:c?void 0:D=>i.commit({...i.current.current,surfaceViews:{...i.current.current.surfaceViews,[l]:D}}),drawTool:g,drawColor:w.color,drawFillColor:w.fillColor,drawStrokeWidth:w.strokeWidth,drawPressure:w.pressure!==!1,onStyleChange:(D,M)=>{let Z=D.filter(F=>yl(nt(i.current.current,F)?.node));if(!Z.length){let F=v(h.current),_={...m.current,[F]:{...m.current[F],...M}};m.current=_,d.current?.configureNativeInput(h.current,_[F]),x(_);return}let U=i.current.current;for(let F of Z)U=Xo(U,F,_=>{let X={...M};["rectangle","ellipse"].includes(_.attrs.tool)||delete X.fillColor,To(_)||delete X.labelSize,_.attrs={..._.attrs,...X}});if(M.labelSize!==void 0){let F={};for(let _ of Z){let X=nt(U,_)?.node,q=U.layout?.[_];if(!X?.attrs?.label||!q||X.attrs.tool==="arrow"||!To(X))continue;let I=y6(X.attrs.tool,X.attrs.label,M.labelSize,q.width,X.attrs.strokeWidth);I>(q.height??0)&&(F[_]={...q,height:I})}Object.keys(F).length&&(U=nl(U,F))}i.commit(U,`style:${[...Z].sort().join(",")}`)},onLabel:c?void 0:V,onTidy:c?void 0:(D,M)=>{let Z=i.geometry.materialize(i.current.current),U=Bh(Z,D,M);if(!U)return;let F=nl(Z,U.frames);for(let[_,X]of Object.entries(U.anchors))F=Xo(F,_,q=>{let I=q.attrs.bindings;q.attrs.bindings={start:{...I.start,anchor:X.start},end:{...I.end,anchor:X.end}}});i.commit(tc({...F}))},onAddComponent:c?void 0:(D,M)=>{let Z=md(i.current.current,l,D,D==="text"?{format:"richtext",content:{type:"doc",content:[{type:"paragraph"}]}}:{});return Object.assign(Z.document.layout[Z.nodeId],D==="text"?{width:Qy}:{},M),i.commit(Z.document),i.select(Z.nodeId),z(null),Z.nodeId},onOpenComponents:c?void 0:(D,M)=>i.openComponents(l,D,M),onDrawExit:()=>z(null),onToolChange:z,onDraw:c?void 0:(D,M,Z)=>{if(D.attrs?.tool==="arrow"){let F=bu(D,M),_=U1(i.geometry.materialize(i.current.current),l,F[0],8/(d.current?.scale()??1)),X=U1(i.geometry.materialize(i.current.current),l,F[1],8/(d.current?.scale()??1));(_||X)&&(D.attrs.bindings={..._?{start:_}:{},...X?{end:X}:{}})}let U=Wy(i.current.current,D,M,l);Z&&(U=j4(U,D.attrs.id,Z.ids,Z.offset)),i.commit(U),i.select(null)},extraActions:(0,be.jsx)(be.Fragment,{children:!c&&(0,be.jsxs)(be.Fragment,{children:[(0,be.jsx)("span",{className:"surface-toolbar-divider"}),(0,be.jsx)($y,{tool:g,onChange:z})]})}),children:(0,be.jsx)(bd,{document:i.document,container:e,renderContent:i.render,renderSurface:E})})})})}function XC(e){try{return Number(localStorage.getItem(e)||0)}catch{return 0}}function $C(e,t){try{localStorage.setItem(e,String(t))}catch{}}var _d=W(De(),1);var Ba=W(De(),1);var oo=W(De(),1);var _s=W(De(),1);var iv=W(de(),1),nv,QC;function eT(){return QC??=import("./chunks/code-highlighting-F3WJZEML.js").then(e=>nv=e)}function ov(e){return e.map((t,a)=>{if(t.type==="text")return t.value;if(t.type!=="element")return null;let n=t.properties.className;return(0,iv.jsx)("span",{className:Array.isArray(n)?n.join(" "):void 0,children:ov(t.children)},a)})}function rv({code:e,language:t}){let[a,n]=(0,_s.useState)(nv);return(0,_s.useEffect)(()=>{a||eT().then(n)},[a]),(0,_s.useMemo)(()=>a?ov(a.highlightCode(e,t).children):e,[a,e,t])}var hm=W(De(),1);var Oe=W(de(),1),lv=kt(t0);function sv(e){let t=e.attrs??{};return{...Sl(t.componentStyle),...t.textAlign?{textAlign:t.textAlign}:{},...t.backgroundColor?{backgroundColor:t.backgroundColor}:{}}}function tT(e){let t=e.text??"";for(let[a,n]of(e.marks??[]).entries()){let o={key:`${n.type}-${a}`};switch(n.type){case"bold":t=(0,Oe.jsx)("strong",{...o,children:t});break;case"italic":t=(0,Oe.jsx)("em",{...o,children:t});break;case"underline":t=(0,Oe.jsx)("u",{...o,children:t});break;case"strike":t=(0,Oe.jsx)("s",{...o,children:t});break;case"code":t=(0,Oe.jsx)("code",{...o,children:t});break;case"highlight":t=(0,Oe.jsx)("mark",{...o,"data-color":n.attrs?.color??n.attrs?.backgroundColor,"data-highlight-mode":n.attrs?.mode??"lower",style:{"--showai-highlight-color":n.attrs?.color??n.attrs?.backgroundColor},children:t});break;case"annotation":t=(0,Oe.jsx)("span",{...o,...o0(String(n.attrs?.note??"")),children:t});break;case"textStyle":t=(0,Oe.jsx)("span",{...o,style:{color:n.attrs?.color,fontSize:n.attrs?.fontSize,fontFamily:n.attrs?.fontFamily},children:t});break;case"link":t=(0,Oe.jsx)("a",{...o,href:Fn(n.attrs?.href)||(String(n.attrs?.href??"").startsWith("#")?n.attrs?.href:void 0),title:n.attrs?.title,target:String(n.attrs?.href??"").startsWith("#")?void 0:"_blank",rel:"noopener noreferrer",children:t});break;default:throw new Error(`Unsupported text format: ${n.type}`)}}return t}function aT(e){let t=(e.content?.[0]?.content??[]).flatMap(a=>{let n=Number(a.attrs?.colspan??1),o=a.attrs?.colwidth??[];return Array.from({length:n},(r,i)=>o[i]||void 0)});return t.some(Boolean)?(0,Oe.jsx)("colgroup",{children:t.map((a,n)=>(0,Oe.jsx)("col",{style:a?{width:a}:void 0},n))}):null}function rl({node:e,renderWidget:t}){let a=e.attrs??{},n=e.content?.map((r,i)=>(0,Oe.jsx)(rl,{node:r,renderWidget:t},r.attrs?.id??i)),o={id:a.id,"data-block-id":a.id,style:sv(e)};switch(e.type){case"richText":return(0,Oe.jsx)("div",{...o,className:"rich-text-component","data-component-kind":"text",style:Sl(a.data),children:n});case"region":case"doc":return(0,Oe.jsx)(Oe.Fragment,{children:n});case"text":return tT(e);case"mathInline":case"mathBlock":return n0(),(0,hm.createElement)(e.type==="mathBlock"?"div":"span",{...o,className:e.type==="mathBlock"||a.display?"sb-math-display":"sb-math-inline",dangerouslySetInnerHTML:{__html:x6(a.latex??"",e.type==="mathBlock"||!!a.display)}});case"hardBreak":return(0,Oe.jsx)("br",{...o});case"paragraph":return(0,Oe.jsx)("p",{...o,children:n?.length?n:(0,Oe.jsx)("br",{})});case"heading":return(0,hm.createElement)(`h${a.level??1}`,o,n);case"blockquote":return(0,Oe.jsx)("blockquote",{...o,children:n});case"bulletList":return(0,Oe.jsx)("ul",{...o,children:n});case"orderedList":return(0,Oe.jsx)("ol",{...o,start:a.start??1,type:a.type,children:n});case"listItem":return(0,Oe.jsx)("li",{...o,children:n});case"taskList":return(0,Oe.jsx)("ul",{...o,className:"portable-task-list",children:n});case"taskItem":return(0,Oe.jsxs)("li",{...o,className:"portable-task","data-checked":!!a.checked,children:[(0,Oe.jsx)("input",{type:"checkbox",checked:!!a.checked,disabled:!0,"aria-label":lv("block.todoDone")}),(0,Oe.jsx)("div",{children:n})]});case"codeBlock":return(0,Oe.jsx)("pre",{...o,className:"code-block",children:(0,Oe.jsx)("code",{className:a.language?`language-${a.language}`:void 0,children:(0,Oe.jsx)(rv,{code:(e.content??[]).map(r=>r.text??"").join(""),language:a.language})})});case"horizontalRule":return(0,Oe.jsx)("hr",{...o,style:{...o.style,borderTopColor:a.componentStyle?.color}});case"image":return(0,Oe.jsx)("div",{id:a.id,"data-block-id":a.id,children:(0,Oe.jsx)(y7,{attrs:a})});case"table":return(0,Oe.jsx)("div",{className:"portable-table-scroll",children:(0,Oe.jsxs)("table",{...o,children:[a.title&&(0,Oe.jsx)("caption",{children:a.title}),aT(e),(0,Oe.jsx)("tbody",{children:n})]})});case"tableRow":return(0,Oe.jsx)("tr",{...o,children:n});case"tableCell":return(0,Oe.jsx)("td",{...o,colSpan:a.colspan??1,rowSpan:a.rowspan??1,children:n});case"tableHeader":return(0,Oe.jsx)("th",{...o,colSpan:a.colspan??1,rowSpan:a.rowspan??1,children:n});case"callout":return(0,Oe.jsxs)("aside",{...o,className:`portable-callout tone-${a.tone??"sage"}`,children:[(0,Oe.jsx)("span",{className:"portable-callout-icon","aria-hidden":"true",children:a.icon??"\u{1F4A1}"}),(0,Oe.jsxs)("div",{children:[a.title&&(0,Oe.jsx)("strong",{children:a.title}),n]})]});case"toggle":return(0,Oe.jsxs)("details",{...o,className:"portable-toggle",open:!!a.open,children:[(0,Oe.jsx)("summary",{children:a.title||a.summary||lv("toggle.expand")}),(0,Oe.jsx)("div",{className:"portable-toggle-body",children:n})]});case"stepper":return(0,Oe.jsx)(w7,{id:a.id,style:sv(e),titles:(e.content??[]).map((r,i)=>x7(r.attrs?.title,i)),steps:(e.content??[]).map((r,i)=>(0,Oe.jsx)(rl,{node:{...r,type:"region"},renderWidget:t},r.attrs?.id??i))});case"step":return(0,Oe.jsx)("section",{...o,children:n});case"widget":return["image","code","table","callout","toggle","divider"].includes(a.kind)?(0,Oe.jsx)(rl,{node:S6(e),renderWidget:t}):(0,Oe.jsx)("div",{...o,className:"portable-widget","data-widget-kind":a.kind,children:t?.(a.kind,a.data??{})});default:throw new Error(`Unsupported page block: ${e.type}`)}}function cv({content:e,data:t,renderWidget:a}){return(0,Oe.jsx)("div",{className:"portable-content sb-rich-text",style:Sl(t),children:(0,Oe.jsx)(rl,{node:e,renderWidget:a})})}var yi=W(de(),1),nT=(0,oo.lazy)(()=>import("./chunks/RichTextEditor-YUH3JEI6.js"));function b1({data:e,onChange:t,readOnly:a,host:n}){let o=le(t0);n0(),w6(e);let r=(0,oo.useMemo)(()=>kl(e),[e.content,e.format]),{renderWidget:i}=(0,oo.useContext)(a0),l=!a&&!!(t||n?.onContentChange),s=Sl(e);return(0,yi.jsx)("section",{className:"sb-primitive sb-text rich-text-component","data-component-kind":"text","aria-label":o("region"),style:s,children:l?(0,yi.jsx)(oo.Suspense,{fallback:(0,yi.jsx)(oT,{label:o("opening")}),children:(0,yi.jsx)(nT,{...n,trailingNode:!n?.continuousPage,content:r,readOnly:!1,onChange:(c,d)=>{n?.onContentChange?n.onContentChange(c,d):t?.({...e,content:c,format:"richtext"})}})}):(0,yi.jsx)("div",{className:"sb-rich-text portable-content",children:(0,yi.jsx)(rl,{node:r,renderWidget:(c,d)=>i({kind:c,data:d,readOnly:!0})})})})}function oT({label:e}){let[t,a]=(0,oo.useState)(!1);return(0,oo.useEffect)(()=>{let n=setTimeout(()=>a(!0),180);return()=>clearTimeout(n)},[]),(0,yi.jsx)("div",{role:"status",style:{minHeight:120,color:"var(--muted, #6b6b6b)",fontSize:13},children:t&&e})}var wr=W(de(),1);function il({kind:e,data:t,onChange:a,readOnly:n}){F1(e,t);let o=t.document?void 0:G1(e,t);return(0,wr.jsx)(b1,{data:{content:t.document??{type:"doc",content:o?[o]:[]},format:"richtext"},readOnly:n,onChange:a?r=>{a({document:r.content})}:void 0})}var dv=e=>(0,wr.jsx)(il,{...e,kind:"image"}),uv=e=>(0,wr.jsx)(il,{...e,kind:"table"}),pv=e=>(0,wr.jsx)(il,{...e,kind:"code"}),mv=e=>(0,wr.jsx)(il,{...e,kind:"callout"}),fv=e=>(0,wr.jsx)(il,{...e,kind:"toggle"}),gv=e=>(0,wr.jsx)(il,{...e,kind:"stepper"}),bv=e=>(0,wr.jsx)(il,{...e,kind:"divider"});var ea=W(De(),1);var Dd=W(De(),1);var Nd=ct("references",{"zh-CN":{invalid:"\u53C2\u8003\u6587\u732E\u683C\u5F0F\u4E0D\u6B63\u786E\u3002",references:"\u53C2\u8003\u6587\u732E",title:"\u6807\u9898",entry:"\u6587\u732E {index}",entryTitle:"\u6587\u732E\u6807\u9898",authors:"\u4F5C\u8005",authorsPlaceholder:"\u591A\u4E2A\u4F5C\u8005\u7528\u9017\u53F7\u5206\u9694",year:"\u5E74\u4EFD",venue:"\u671F\u520A\u6216\u4F1A\u8BAE",url:"\u7F51\u5740",note:"\u5907\u6CE8",deleteEntry:"\u5220\u9664\u6587\u732E {index}",addEntry:"\u6DFB\u52A0\u6587\u732E",emptyTitle:"\u6DFB\u52A0\u53C2\u8003\u6587\u732E",emptyDescription:"\u6574\u7406\u4F5C\u8005\u3001\u5E74\u4EFD\u3001\u51FA\u5904\u4E0E DOI","bookmark.invalidUrl":"\u8BF7\u8F93\u5165\u5B8C\u6574\u7684 http \u6216 https \u7F51\u5740\u3002","bookmark.invalidImage":"\u5C01\u9762\u9700\u8981 http\u3001https \u6216\u5185\u5D4C\u56FE\u7247\u5730\u5740\u3002","bookmark.label":"\u6765\u6E90\u4E66\u7B7E","bookmark.url":"\u7F51\u5740","bookmark.title":"\u6807\u9898","bookmark.titlePlaceholder":"\u6765\u6E90\u7684\u540D\u79F0","bookmark.summary":"\u6458\u8981","bookmark.image":"\u5C01\u9762\u56FE\u7247\u5730\u5740\uFF08\u53EF\u9009\uFF09","bookmark.save":"\u4FDD\u5B58\u4E66\u7B7E","bookmark.emptyTitle":"\u4E3A\u7ED3\u8BBA\u7559\u4E0B\u51FA\u5904","bookmark.add":"\u6DFB\u52A0\u6765\u6E90"},en:{invalid:"The references are not in a valid format.",references:"References",title:"Title",entry:"Reference {index}",entryTitle:"Reference title",authors:"Authors",authorsPlaceholder:"Separate multiple authors with commas",year:"Year",venue:"Journal or conference",url:"URL",note:"Note",deleteEntry:"Delete reference {index}",addEntry:"Add reference",emptyTitle:"Add references",emptyDescription:"Organize authors, years, venues and DOIs","bookmark.invalidUrl":"Enter a complete http or https URL.","bookmark.invalidImage":"The cover needs an http, https or embedded image URL.","bookmark.label":"Source bookmark","bookmark.url":"URL","bookmark.title":"Title","bookmark.titlePlaceholder":"Name of the source","bookmark.summary":"Summary","bookmark.image":"Cover image URL (optional)","bookmark.save":"Save bookmark","bookmark.emptyTitle":"Show where a conclusion comes from","bookmark.add":"Add source"}});var xt=W(de(),1);function hv({data:e,onChange:t,readOnly:a}){let n=le(Nd),[o,r]=(0,Dd.useState)(!1),[i,l]=(0,Dd.useState)({title:"",description:"",url:"",image:""}),[s,c]=(0,Dd.useState)(""),d=!!(t&&!a),f=Fn(e.url),u=qn(e.image),g=f?new URL(f).hostname.replace(/^www\./,""):"",b=()=>{l({title:se(e.title),description:se(e.description),url:se(e.url),image:se(e.image)}),c(""),r(!o)},p=()=>{if(!Fn(i.url.trim())){c(n("bookmark.invalidUrl"));return}if(i.image.trim()&&!qn(i.image.trim())){c(n("bookmark.invalidImage"));return}t?.({...e,...i,url:i.url.trim(),image:i.image.trim()}),r(!1)};return(0,xt.jsxs)("section",{className:"sb-block sb-bookmark","aria-label":se(e.title)||n("bookmark.label"),children:[(0,xt.jsx)(ma,{icon:(0,xt.jsx)(Qd,{size:16}),editable:d,editing:o,onEdit:b}),o&&(0,xt.jsx)(_a,{children:(0,xt.jsxs)("div",{className:"sb-editor-panel",children:[(0,xt.jsx)(je,{label:n("bookmark.url"),children:(0,xt.jsx)("input",{type:"url",placeholder:"https://\u2026",value:i.url,onChange:x=>l(h=>({...h,url:x.target.value}))})}),(0,xt.jsx)(je,{label:n("bookmark.title"),children:(0,xt.jsx)("input",{placeholder:n("bookmark.titlePlaceholder"),value:i.title,onChange:x=>l(h=>({...h,title:x.target.value}))})}),(0,xt.jsx)(je,{label:n("bookmark.summary"),children:(0,xt.jsx)("textarea",{rows:3,value:i.description,onChange:x=>l(h=>({...h,description:x.target.value}))})}),(0,xt.jsx)(je,{label:n("bookmark.image"),children:(0,xt.jsx)("input",{type:"url",value:i.image,onChange:x=>l(h=>({...h,image:x.target.value}))})}),s&&(0,xt.jsx)("p",{className:"sb-error",role:"alert",children:s}),(0,xt.jsx)("div",{className:"sb-panel-footer",children:(0,xt.jsxs)("button",{type:"button",className:"sb-button sb-primary",onClick:p,children:[(0,xt.jsx)(Ha,{size:14}),n("bookmark.save")]})})]})}),f?(0,xt.jsxs)("a",{className:"sb-bookmark-link",href:f,target:"_blank",rel:"noopener noreferrer",children:[(0,xt.jsxs)("div",{className:"sb-bookmark-copy",children:[(0,xt.jsx)("strong",{children:se(e.title)||g}),se(e.description)&&(0,xt.jsx)("p",{children:se(e.description)}),(0,xt.jsxs)("span",{className:"sb-bookmark-domain",children:[(0,xt.jsx)(ou,{size:12}),g,(0,xt.jsx)(Di,{size:12})]})]}),u&&(0,xt.jsx)("img",{src:u,alt:"",loading:"lazy",referrerPolicy:"no-referrer"})]}):(0,xt.jsx)(xa,{icon:(0,xt.jsx)(Qd,{size:27,strokeWidth:1.4}),title:n("bookmark.emptyTitle"),action:d&&!o?(0,xt.jsxs)("button",{type:"button",className:"sb-button",onClick:b,children:[(0,xt.jsx)(ou,{size:14}),n("bookmark.add")]}):void 0})]})}var ym=W(De(),1);var Md=W(De(),1);var yv=ct("resourceEditor",{"zh-CN":{wrongType:"\u8BF7\u9009\u62E9\u5BF9\u5E94\u7C7B\u578B\u7684\u6587\u4EF6\u3002",tooLarge:"\u300C{name}\u300D\u4E3A {size}\uFF0C\u5355\u4E2A\u8D44\u6E90\u4E0A\u9650 {limit}\u3002\u8F83\u5927\u7684\u5A92\u4F53\u53EF\u586B\u5199\u5728\u7EBF\u6587\u4EF6\u5730\u5740\u3002",readFailed:"\u6587\u4EF6\u8BFB\u53D6\u5931\u8D25\u3002",invalid:"\u6587\u4EF6\u8BBE\u7F6E\u4E0D\u6B63\u786E\u3002",reading:"\u8BFB\u53D6\u6587\u4EF6\u2026",chooseLocal:"\u9009\u62E9\u672C\u5730\u6587\u4EF6",onlineUrl:"\u5728\u7EBF\u6587\u4EF6\u5730\u5740",title:"\u6807\u9898",caption:"\u8BF4\u660E",aspectRatio:"\u753B\u9762\u6BD4\u4F8B",poster:"\u5C01\u9762\u56FE\u7247\u5730\u5740",initialPage:"\u521D\u59CB\u9875\u7801",readerHeight:"\u9605\u8BFB\u533A\u9AD8\u5EA6",hint:"\u672C\u5730\u6587\u4EF6\u968F\u9875\u9762\u4FDD\u5B58\uFF1B\u5728\u7EBF\u5730\u5740\u9700\u8981\u7F51\u7EDC\u3002\u5355\u4E2A\u539F\u59CB\u6587\u4EF6\u6700\u591A 64 MiB\uFF0C\u9875\u9762\u8D44\u6E90\u5408\u8BA1\u6700\u591A 128 MiB\uFF1B\u9875\u9762\u6587\u5B57\u4E0E\u7ED3\u6784\u53E6\u884C\u8BA1\u7B97\u3002"},en:{wrongType:"Choose a file of the matching type.",tooLarge:"\u201C{name}\u201D is {size}. Each resource can be up to {limit}. For larger media, enter an online file URL.",readFailed:"Couldn't read the file.",invalid:"The file settings are invalid.",reading:"Reading file\u2026",chooseLocal:"Choose local file",onlineUrl:"Online file URL",title:"Title",caption:"Caption",aspectRatio:"Aspect ratio",poster:"Cover image URL",initialPage:"Starting page",readerHeight:"Reader height",hint:"Local files are saved with the page; online URLs need a network connection. Each original file can be up to 64 MiB and a page's resources up to 128 MiB in total. Page text and structure are counted separately."}});var ft=W(de(),1);function Ad({kind:e,data:t,onSave:a,onClose:n}){let o=le(yv),r=le(la),[i,l]=(0,Md.useState)(t),[s,c]=(0,Md.useState)(""),[d,f]=(0,Md.useState)(!1),u=(p,x)=>l(h=>({...h,[p]:x})),g=async p=>{c("");let x=K6(e,p);if(!x){c(o("wrongType"));return}if(p.size>W6){c(o("tooLarge",{name:p.name,size:hl(p.size),limit:hl(So.resourceBytes)}));return}f(!0);try{let h=await new Promise((m,v)=>{let k=new FileReader;k.onload=()=>m(String(k.result).replace(/^data:[^;,]*;base64,/,`data:${x};base64,`)),k.onerror=()=>v(k.error??new Error(o("readFailed"))),k.readAsDataURL(p)});l(m=>({...m,src:h,fileName:p.name}))}catch(h){c(h instanceof Error?h.message:o("readFailed"))}finally{f(!1)}},b=()=>{try{Qo(e,i),a(i)}catch(p){c(p instanceof Error?p.message:o("invalid"))}};return(0,ft.jsx)(_a,{children:(0,ft.jsxs)("div",{className:"sb-editor-panel",onKeyDown:p=>{p.stopPropagation(),p.key==="Escape"&&n()},children:[(0,ft.jsxs)("div",{className:"sb-resource-source",children:[(0,ft.jsxs)("label",{className:"sb-button sb-resource-upload",children:[(0,ft.jsx)(A1,{size:14}),o(d?"reading":"chooseLocal"),(0,ft.jsx)("input",{type:"file","aria-label":o("chooseLocal"),disabled:d,accept:e==="pdf"?".pdf,application/pdf":`${e}/*`,onChange:p=>{let x=p.target.files?.[0];x&&g(x),p.target.value=""}})]}),se(i.fileName)&&(0,ft.jsx)("span",{className:"sb-resource-file-name",children:se(i.fileName)})]}),(0,ft.jsx)(je,{label:o("onlineUrl"),children:(0,ft.jsx)("input",{type:"url",placeholder:"https://\u2026",value:se(i.src).startsWith("data:")?"":se(i.src),onChange:p=>l(x=>({...x,src:p.target.value,fileName:""}))})}),(0,ft.jsx)(je,{label:o("title"),children:(0,ft.jsx)("input",{value:se(i.title),onChange:p=>u("title",p.target.value)})}),(0,ft.jsx)(je,{label:o("caption"),children:(0,ft.jsx)("textarea",{rows:2,value:se(i.caption),onChange:p=>u("caption",p.target.value)})}),e==="video"&&(0,ft.jsxs)(ft.Fragment,{children:[(0,ft.jsx)(je,{label:o("aspectRatio"),children:(0,ft.jsx)("select",{value:se(i.aspectRatio,"16:9"),onChange:p=>u("aspectRatio",p.target.value),children:["16:9","4:3","1:1","9:16"].map(p=>(0,ft.jsx)("option",{children:p},p))})}),(0,ft.jsx)(je,{label:o("poster"),children:(0,ft.jsx)("input",{value:se(i.poster),onChange:p=>u("poster",p.target.value)})})]}),e==="pdf"&&(0,ft.jsxs)("div",{className:"sb-resource-fields",children:[(0,ft.jsx)(je,{label:o("initialPage"),children:(0,ft.jsx)("input",{type:"number",min:1,value:Number(i.page??1),onChange:p=>u("page",p.target.valueAsNumber)})}),(0,ft.jsx)(je,{label:o("readerHeight"),children:(0,ft.jsx)("input",{type:"number",min:240,max:1200,value:Number(i.height??560),onChange:p=>u("height",p.target.valueAsNumber)})})]}),(0,ft.jsx)("p",{className:"sb-resource-hint",children:o("hint")}),s&&(0,ft.jsx)("p",{className:"sb-error",role:"alert",children:s}),(0,ft.jsx)("div",{className:"sb-panel-footer",children:(0,ft.jsxs)("button",{className:"sb-button sb-primary",type:"button",disabled:d,onClick:b,children:[(0,ft.jsx)(Ha,{size:14}),r("save")]})})]})})}var Wt=W(de(),1);function vv({kind:e,data:t,onChange:a,readOnly:n}){let o=le(h7),[r,i]=(0,ym.useState)(!1),[l,s]=(0,ym.useState)(""),c=!!(a&&!n),d=J1(e,t.src),f=o(e==="video"?"video":"audio"),u=e==="video"?V5:iu;return(0,Wt.jsxs)("section",{className:`sb-block sb-media sb-${e}`,"aria-label":Za(t.title,f),children:[(e==="audio"||!d)&&(0,Wt.jsx)(ma,{editable:c,editing:r,onEdit:()=>i(!r)}),r&&(0,Wt.jsx)(Ad,{kind:e,data:t,onClose:()=>i(!1),onSave:g=>{a?.(g),i(!1),s("")}}),d?(0,Wt.jsxs)("figure",{className:"sb-media-figure",children:[e==="video"?(0,Wt.jsxs)("div",{className:"sb-video-stage","data-surface-gesture":"own",children:[(0,Wt.jsx)(ma,{title:se(t.title),defaultTitle:f,editable:c,editing:r,onEdit:()=>i(!r)}),(0,Wt.jsx)("video",{controls:!0,playsInline:!0,preload:"metadata",poster:qn(t.poster),loop:t.loop===!0,muted:t.muted===!0,style:{aspectRatio:se(t.aspectRatio,"16:9").replace(":"," / ")},src:d,"aria-label":Za(t.title,o("videoPlayer")),onError:()=>s(d)},d)]}):(0,Wt.jsxs)("div",{className:"sb-audio-body","data-surface-gesture":"own",children:[(0,Wt.jsx)("div",{className:"sb-audio-icon",children:(0,Wt.jsx)(iu,{size:20})}),(0,Wt.jsxs)("div",{className:"sb-audio-track",children:[(0,Wt.jsx)("div",{className:"sb-audio-name",children:se(t.title)||se(t.fileName)||o("audio")}),(0,Wt.jsx)("audio",{controls:!0,preload:"metadata",src:d,loop:t.loop===!0,"aria-label":Za(t.title,o("audioPlayer")),onError:()=>s(d)},d)]})]}),l===d&&(0,Wt.jsxs)("p",{className:"sb-error",role:"alert",children:[o("playFailed")," ",(0,Wt.jsx)("a",{href:d,download:se(t.fileName)||void 0,target:"_blank",rel:"noopener noreferrer",children:o("openOriginal")})]}),se(t.caption)&&(0,Wt.jsx)("figcaption",{className:"sb-resource-caption",children:se(t.caption)})]}):(0,Wt.jsx)(xa,{icon:(0,Wt.jsx)(u,{size:28,strokeWidth:1.4}),title:o(e==="video"?"addVideo":"addAudio"),description:o("emptyDescription"),action:c&&!r?(0,Wt.jsxs)("button",{type:"button",className:"sb-button",onClick:()=>i(!0),children:[(0,Wt.jsx)(Ir,{size:14}),o("chooseFile")]}):void 0})]})}var xv=e=>(0,Wt.jsx)(vv,{...e,kind:"video"}),wv=e=>(0,Wt.jsx)(vv,{...e,kind:"audio"});var Oa=W(De(),1);var ut=W(de(),1);function rT({src:e,initialPage:t,height:a,name:n}){let o=le(Au),[r,i]=(0,Oa.useState)(),[l,s]=(0,Oa.useState)(t),[c,d]=(0,Oa.useState)(1),[f,u]=(0,Oa.useState)(600),[g,b]=(0,Oa.useState)(""),[p,x]=(0,Oa.useState)(!0),[h,m]=(0,Oa.useState)(""),v=(0,Oa.useRef)(null),k=(0,Oa.useRef)(null),w=(0,Oa.useRef)(null);return(0,Oa.useEffect)(()=>{let z=!0,P;return import("./chunks/pdf-engine-XQHKQXXX.js").then(j=>{if(z)return P=j.loadPdf(e),P.promise.then(T=>{z&&(i(T),s(Math.min(t,T.numPages)))})}).catch(j=>{z&&(b(o("loadFailed",{error:j instanceof Error?j.message:String(j)})),x(!1))}),()=>{z=!1,P?.destroy()}},[e]),(0,Oa.useEffect)(()=>{if(!k.current)return;let z=new ResizeObserver(P=>u(P[0].contentRect.width));return z.observe(k.current),()=>z.disconnect()},[]),(0,Oa.useEffect)(()=>{if(!r||!v.current)return;let z=!0,P,j=v.current;return x(!0),b(""),m(""),r.getPage(l).then(async T=>{if(!z)return;let S=T.getViewport({scale:1}),B=Math.max(120,f-40)/S.width*c,O=T.getViewport({scale:B}),N=Math.min(2,window.devicePixelRatio||1);j.width=Math.ceil(O.width*N),j.height=Math.ceil(O.height*N),j.style.width=`${O.width}px`,j.style.height=`${O.height}px`,P=T.render({canvas:j,viewport:O,transform:[N,0,0,N,0,0]}),await P.promise;let V=await T.getTextContent();z&&(m(V.items.map(R=>"str"in R?R.str+(R.hasEOL?`
52
+ `:" "):"").join("")),x(!1))}).catch(T=>{z&&(b(o("pageFailed",{error:T instanceof Error?T.message:String(T)})),x(!1))}),()=>{z=!1,P?.cancel()}},[r,l,f,c]),(0,ut.jsxs)("div",{className:"sb-pdf-reader","data-surface-gesture":"own","aria-busy":p,children:[(0,ut.jsxs)("div",{className:"sb-pdf-toolbar",role:"group","aria-label":o("controls"),children:[(0,ut.jsxs)("div",{className:"sb-pdf-pagination",children:[(0,ut.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":o("previousPage"),disabled:!r||l<=1,onClick:()=>s(l-1),children:(0,ut.jsx)(Mr,{size:16})}),(0,ut.jsxs)("label",{className:"sb-pdf-page",children:[(0,ut.jsx)("input",{ref:w,type:"number","aria-label":o("pageNumber"),min:1,max:r?.numPages??1,defaultValue:l,disabled:!r,onKeyDown:z=>{z.stopPropagation(),z.key==="Enter"&&z.currentTarget.blur()},onBlur:z=>{let P=z.target.valueAsNumber;r&&Number.isInteger(P)&&s(Math.min(r.numPages,Math.max(1,P))),z.currentTarget.value=String(Number.isInteger(P)&&r?Math.min(r.numPages,Math.max(1,P)):l)}},l),(0,ut.jsxs)("span",{children:["/ ",r?.numPages??"\u2014"]})]}),(0,ut.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":o("nextPage"),disabled:!r||l>=r.numPages,onClick:()=>s(l+1),children:(0,ut.jsx)(_n,{size:16})})]}),(0,ut.jsxs)("div",{className:"sb-pdf-zoom",children:[(0,ut.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":o("zoomOut"),disabled:c<=.5,onClick:()=>d(Math.max(.5,c-.25)),children:(0,ut.jsx)(bl,{size:14})}),(0,ut.jsxs)("button",{type:"button",className:"sb-pdf-fit",title:o("fitWidth"),"aria-label":o("fitWidthLabel"),onClick:()=>d(1),children:[Math.round(c*100),"%"]}),(0,ut.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":o("zoomIn"),disabled:c>=3,onClick:()=>d(Math.min(3,c+.25)),children:(0,ut.jsx)(jt,{size:14})})]}),(0,ut.jsx)("a",{className:"sb-icon-button","aria-label":o("download"),href:e,download:n||"document.pdf",target:"_blank",rel:"noopener noreferrer",children:(0,ut.jsx)(Ar,{size:15})})]}),(0,ut.jsxs)("div",{className:"sb-pdf-viewport",ref:k,style:{height:a},tabIndex:0,"aria-label":o("viewportLabel",{page:l}),onKeyDown:z=>{z.stopPropagation(),!(z.target!==z.currentTarget||!r)&&(z.key==="ArrowRight"&&l<r.numPages&&(z.preventDefault(),s(l+1)),z.key==="ArrowLeft"&&l>1&&(z.preventDefault(),s(l-1)))},children:[p&&(0,ut.jsx)("p",{className:"sb-pdf-status",role:"status",children:o("loading")}),g&&(0,ut.jsxs)("p",{className:"sb-pdf-status sb-error",role:"alert",children:[g," ",(0,ut.jsx)("a",{href:e,download:n||"document.pdf",target:"_blank",rel:"noopener noreferrer",children:o("openOriginal")})]}),(0,ut.jsx)("canvas",{ref:v,"aria-label":o("pageContent",{page:l}),style:{visibility:p||g?"hidden":"visible"}})]}),h&&(0,ut.jsxs)("details",{className:"sb-pdf-text",children:[(0,ut.jsx)("summary",{children:o("pageText")}),(0,ut.jsx)("p",{children:h})]})]})}function kv({data:e,onChange:t,readOnly:a}){let n=le(Au),[o,r]=(0,Oa.useState)(!1),i=J1("pdf",e.src),l=!!(t&&!a);return(0,ut.jsxs)("section",{className:"sb-block sb-pdf","aria-label":se(e.title)||n("document"),children:[(0,ut.jsx)(ma,{title:se(e.title),defaultTitle:n("document"),editable:l,editing:o,onEdit:()=>r(!o)}),o&&(0,ut.jsx)(Ad,{kind:"pdf",data:e,onClose:()=>r(!1),onSave:s=>{t?.(s),r(!1)}}),i?(0,ut.jsx)(rT,{src:i,initialPage:Number(e.page??1),height:Number(e.height??560),name:se(e.fileName)},`${i}-${e.page}`):(0,ut.jsx)(xa,{icon:(0,ut.jsx)(Ir,{size:28,strokeWidth:1.4}),title:n("emptyTitle"),description:n("emptyDescription"),action:l&&!o?(0,ut.jsx)("button",{type:"button",className:"sb-button",onClick:()=>r(!0),children:n("choose")}):void 0}),i&&se(e.caption)&&(0,ut.jsx)("p",{className:"sb-resource-caption",children:se(e.caption)})]})}var Id=W(De(),1);var Ve=W(de(),1);function Sv({data:e,onChange:t,readOnly:a}){let n=le(Nd),o=le(la),[r,i]=(0,Id.useState)(!1),[l,s]=(0,Id.useState)(e),[c,d]=(0,Id.useState)(""),f=!!(t&&!a),u=e.items??[],g=l.items??[],b=()=>{s(e),d(""),i(!r)},p=(h,m,v)=>s(k=>({...k,items:k.items.map(w=>w.id===h?{...w,[m]:v}:w)})),x=()=>{try{Qo("references",l),t?.(l),i(!1)}catch(h){d(h instanceof Error?h.message:n("invalid"))}};return(0,Ve.jsxs)("section",{className:"sb-block sb-references","aria-label":Za(e.title,n("references")),children:[(0,Ve.jsx)(ma,{title:se(e.title),defaultTitle:n("references"),editable:f,editing:r,onEdit:b}),r&&(0,Ve.jsx)(_a,{children:(0,Ve.jsxs)("div",{className:"sb-editor-panel",onKeyDown:h=>{h.stopPropagation(),h.key==="Escape"&&i(!1)},children:[(0,Ve.jsx)(je,{label:n("title"),children:(0,Ve.jsx)("input",{value:se(l.title),onChange:h=>s(m=>({...m,title:h.target.value}))})}),g.map((h,m)=>(0,Ve.jsxs)("fieldset",{className:"sb-reference-editor",children:[(0,Ve.jsx)("legend",{children:n("entry",{index:m+1})}),(0,Ve.jsx)(je,{label:n("entryTitle"),children:(0,Ve.jsx)("input",{value:h.title,onChange:v=>p(h.id,"title",v.target.value)})}),(0,Ve.jsx)(je,{label:n("authors"),children:(0,Ve.jsx)("input",{placeholder:n("authorsPlaceholder"),value:h.authors??"",onChange:v=>p(h.id,"authors",v.target.value)})}),(0,Ve.jsxs)("div",{className:"sb-resource-fields",children:[(0,Ve.jsx)(je,{label:n("year"),children:(0,Ve.jsx)("input",{value:h.year??"",onChange:v=>p(h.id,"year",v.target.value)})}),(0,Ve.jsx)(je,{label:n("venue"),children:(0,Ve.jsx)("input",{value:h.venue??"",onChange:v=>p(h.id,"venue",v.target.value)})})]}),(0,Ve.jsx)(je,{label:"DOI",children:(0,Ve.jsx)("input",{placeholder:"10.xxxx/\u2026",value:h.doi??"",onChange:v=>p(h.id,"doi",v.target.value)})}),(0,Ve.jsx)(je,{label:n("url"),children:(0,Ve.jsx)("input",{type:"url",value:h.url??"",onChange:v=>p(h.id,"url",v.target.value)})}),(0,Ve.jsx)(je,{label:n("note"),children:(0,Ve.jsx)("textarea",{rows:2,value:h.note??"",onChange:v=>p(h.id,"note",v.target.value)})}),(0,Ve.jsxs)("button",{type:"button",className:"sb-button","aria-label":n("deleteEntry",{index:m+1}),onClick:()=>s(v=>({...v,items:v.items.filter(k=>k.id!==h.id)})),children:[(0,Ve.jsx)(ia,{size:14}),o("delete")]})]},h.id)),c&&(0,Ve.jsx)("p",{className:"sb-error",role:"alert",children:c}),(0,Ve.jsxs)("div",{className:"sb-panel-footer",children:[(0,Ve.jsxs)("button",{type:"button",className:"sb-button",disabled:g.length>=500,onClick:()=>s(h=>({...h,items:[...h.items,{id:zo(),title:""}]})),children:[(0,Ve.jsx)(jt,{size:14}),n("addEntry")]}),(0,Ve.jsxs)("button",{type:"button",className:"sb-button sb-primary",onClick:x,children:[(0,Ve.jsx)(Ha,{size:14}),o("save")]})]})]})}),u.length?(0,Ve.jsx)("ol",{className:"sb-reference-list",children:u.map((h,m)=>{let v=Eu(h);return(0,Ve.jsxs)("li",{id:`ref-${h.id}`,children:[(0,Ve.jsxs)("span",{className:"sb-reference-number",children:["[",m+1,"]"]}),(0,Ve.jsxs)("div",{className:"sb-reference-entry",children:[(0,Ve.jsx)("div",{className:"sb-reference-meta",children:[h.authors,h.year].filter(Boolean).join(" \xB7 ")}),v?(0,Ve.jsxs)("a",{className:"sb-reference-title",href:v,target:"_blank",rel:"noopener noreferrer",children:[h.title,(0,Ve.jsx)(Di,{size:12})]}):(0,Ve.jsx)("strong",{className:"sb-reference-title",children:h.title}),h.venue&&(0,Ve.jsx)("div",{className:"sb-reference-venue",children:h.venue}),h.doi&&(0,Ve.jsxs)("a",{className:"sb-reference-doi",href:Eu({doi:h.doi}),target:"_blank",rel:"noopener noreferrer",children:["doi:",h.doi.replace(/^https?:\/\/(?:dx\.)?doi\.org\//i,"")]}),h.note&&(0,Ve.jsx)("p",{className:"sb-reference-note",children:h.note})]})]},h.id)})}):(0,Ve.jsx)(xa,{icon:(0,Ve.jsx)(r5,{size:28,strokeWidth:1.4}),title:n("emptyTitle"),description:n("emptyDescription"),action:f&&!r?(0,Ve.jsxs)("button",{type:"button",className:"sb-button",onClick:b,children:[(0,Ve.jsx)(jt,{size:14}),n("addEntry")]}):void 0})]})}var kr=W(De(),1);rt(`.sb-block.wk-block-root :is(h3,h4,p,ul,ol,li,dl,dt,dd,pre):not(svg){margin:0}.sb-block.wk-block-root :is(ul,ol,li):not(svg){padding:0}.sb-block.wk-block-root pre:not(svg){border:0;border-radius:0;background:none;color:inherit}.sb-block.wk-block-root{--wk-text: var(--sb-text);--wk-muted: var(--sb-muted);--wk-faint: color-mix(in srgb, var(--sb-muted) 70%, transparent);--wk-line: var(--sb-line);--wk-paper: var(--sb-surface);--wk-soft: var(--sb-soft);--wk-accent: var(--sb-accent);--wk-accent-soft: var(--sb-accent-soft);--wk-teal: #0d8579;--wk-teal-soft: #e6f4f2;--wk-orange: #bf6528;--wk-orange-soft: #fbefe6;--wk-violet: #7348d0;--wk-violet-soft: #f2edfc;--wk-rose: #c4415a;--wk-rose-soft: #fbebee;--wk-slate: #526476;--wk-slate-soft: #edf1f4;--wk-new: #1f7a4d;--wk-new-soft: #dcf1e4;--wk-changed: #8a5a00;--wk-changed-soft: #fbecc8;--wk-add: #1a7f37;--wk-add-soft: #e6f6ea;--wk-del: #b3261e;--wk-del-soft: #fbe9e7;--t: var(--wk-accent);--ts: var(--wk-accent-soft);color:var(--wk-text);font-family:inherit;font-size:14px;line-height:1.6;padding:8px 0;container-type:inline-size;overflow-wrap:anywhere}:root[data-theme=dark] .sb-block.wk-block-root,[data-theme=dark] .sb-block.wk-block-root{--wk-teal: #4fc4b6;--wk-teal-soft: #163734;--wk-orange: #e79c64;--wk-orange-soft: #3b2b1e;--wk-violet: #b497ff;--wk-violet-soft: #2e2648;--wk-rose: #f0839a;--wk-rose-soft: #3e222a;--wk-slate: #a2b2c2;--wk-slate-soft: #242d35;--wk-new: #6fd19a;--wk-new-soft: #183528;--wk-changed: #e8c06a;--wk-changed-soft: #3a2f16;--wk-add: #7ee2a0;--wk-add-soft: #173421;--wk-del: #ff9b92;--wk-del-soft: #3d1f1d}.sb-block.wk-block-root *{box-sizing:border-box}.wk-block-root [data-tone=accent]{--t: var(--wk-accent);--ts: var(--wk-accent-soft)}.wk-block-root [data-tone=teal]{--t: var(--wk-teal);--ts: var(--wk-teal-soft)}.wk-block-root [data-tone=orange]{--t: var(--wk-orange);--ts: var(--wk-orange-soft)}.wk-block-root [data-tone=violet]{--t: var(--wk-violet);--ts: var(--wk-violet-soft)}.wk-block-root [data-tone=rose]{--t: var(--wk-rose);--ts: var(--wk-rose-soft)}.wk-block-root [data-tone=slate]{--t: var(--wk-slate);--ts: var(--wk-slate-soft)}.sb-block.wk-block-root .wk-title{font-size:18px;font-weight:680;line-height:1.35}.sb-block.wk-block-root .wk-question{margin-top:6px;font-size:15px;display:flex;flex-wrap:wrap;gap:2px 10px;align-items:baseline}.wk-question>span{font-size:12px;color:var(--wk-faint)}.sb-block.wk-block-root .wk-legend{list-style:none;margin-top:10px;display:flex;flex-wrap:wrap;gap:6px}.sb-block.wk-block-root .wk-legend li{display:inline-flex;gap:6px;align-items:baseline;padding:2px 10px;border-radius:999px;background:var(--ts);color:var(--wk-muted);font-size:13px}.wk-legend b{color:var(--t);font-weight:650}.wk-tabs{display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:6px;margin-top:14px}.sb-block.wk-block-root .wk-tab{font:inherit;display:flex;align-items:center;gap:8px;min-width:0;padding:7px 10px;border:1px solid var(--wk-line);border-radius:8px;background:var(--wk-paper);color:var(--wk-muted);text-align:left;cursor:pointer}.sb-block.wk-block-root .wk-tab:hover{border-color:var(--wk-faint)}.sb-block.wk-block-root .wk-tab:focus-visible,.sb-block.wk-block-root .wk-btn:focus-visible,.sb-block.wk-block-root .wk-toggle:focus-visible{outline:2px solid var(--wk-accent);outline-offset:2px}.wk-tab-n{flex:none;display:inline-flex;align-items:center;justify-content:center;width:22px;height:22px;border-radius:50%;border:1.5px solid var(--wk-faint);font-size:12px;font-weight:650}.wk-tab-label{overflow:hidden;text-overflow:ellipsis;white-space:nowrap;font-size:13.5px}.sb-block.wk-block-root .wk-tab[data-done] .wk-tab-n{border-color:var(--wk-accent);color:var(--wk-accent)}.sb-block.wk-block-root .wk-tab[aria-selected=true]{border-color:var(--wk-accent);background:var(--wk-accent-soft);color:var(--wk-text);font-weight:600}.sb-block.wk-block-root .wk-tab[aria-selected=true] .wk-tab-n{border-color:var(--wk-accent);background:var(--wk-accent);color:var(--wk-paper)}.wk-takeaway{margin-top:12px;padding:10px 14px;border-left:3px solid var(--wk-accent);border-radius:0 8px 8px 0;background:var(--wk-soft)}.wk-takeaway>span{font-size:12px;color:var(--wk-faint)}.sb-block.wk-block-root .wk-takeaway p{margin-top:2px;font-size:15px;font-weight:560;line-height:1.6}.wk-body{display:grid;grid-template-columns:minmax(0,5fr) minmax(0,7fr);gap:14px;margin-top:14px;align-items:start}.sb-block.wk-block-root .wk-col-title{font-size:13px;font-weight:650;color:var(--wk-muted);margin-bottom:8px}.wk-col-head{display:flex;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:6px 12px;margin-bottom:8px}.sb-block.wk-block-root .wk-col-head .wk-col-title{margin-bottom:0}.sb-block.wk-block-root .wk-actions{list-style:none;display:grid;gap:8px}.sb-block.wk-block-root .wk-action{display:grid;gap:3px;padding:8px 12px;border:1px solid var(--wk-line);border-radius:10px;background:var(--wk-paper)}.sb-block.wk-block-root .wk-action[data-kind=input]{background:var(--wk-accent-soft);border-color:color-mix(in srgb,var(--wk-accent) 25%,transparent)}.sb-block.wk-block-root .wk-action[data-kind=result]{background:var(--wk-soft)}.sb-block.wk-block-root .wk-action[data-kind=note]{border-style:dashed}.wk-actor{display:flex;align-items:center;gap:6px;font-size:11.5px;color:var(--wk-faint)}.wk-illustrative{font-style:normal;font-size:11px;padding:0 5px;border-radius:3px;background:var(--wk-changed-soft);color:var(--wk-changed)}.wk-action-text{font-size:13.5px}.sb-block.wk-block-root :is(.wk-code,.wk-block-text){margin-top:4px;padding:7px 9px;border-radius:6px;background:var(--wk-soft);font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;white-space:pre-wrap;overflow-wrap:anywhere}.wk-code [data-diff=add]{color:var(--wk-add);background:var(--wk-add-soft)}.wk-code [data-diff=del]{color:var(--wk-del);background:var(--wk-del-soft)}.wk-parts,.wk-blocks{display:grid;gap:10px}.wk-part,.wk-block{display:grid;gap:8px;padding:10px 12px;border:1px solid var(--wk-line);border-left:3px solid var(--t);border-radius:0 10px 10px 0;background:var(--wk-paper)}.wk-part-head{display:flex;flex-wrap:wrap;align-items:baseline;gap:2px 10px}.wk-part-head b{color:var(--t);font-weight:680}.wk-part-head span{font-size:13px;color:var(--wk-muted)}.wk-part-head small{margin-left:auto;padding:1px 8px;border-radius:999px;background:var(--ts);color:var(--t);font-size:11.5px}.sb-block.wk-block-root .wk-part-note{padding:6px 9px;border-radius:6px;background:var(--wk-soft);font-size:13px;color:var(--wk-muted)}.sb-block.wk-block-root .wk-part-empty{font-size:13px;color:var(--wk-faint)}.wk-entry{padding:8px 10px;border:1px solid var(--wk-line);border-radius:8px;background:var(--wk-paper)}.wk-entry[data-status=new]{border-color:var(--wk-new);box-shadow:0 0 0 2px var(--wk-new-soft)}.wk-entry[data-status=changed]{border-color:var(--wk-changed);box-shadow:0 0 0 2px var(--wk-changed-soft)}.wk-entry[data-status=retired]{background:var(--wk-soft)}.wk-entry[data-status=retired] dd{color:var(--wk-faint);text-decoration:line-through}.wk-entry[data-status=kept]{opacity:.75}.wk-entry-head{display:flex;justify-content:space-between;align-items:center;gap:8px;margin-bottom:4px;font-size:13px}.wk-badge{flex:none;padding:0 7px;border-radius:999px;font-size:11.5px;background:var(--wk-soft);color:var(--wk-muted)}.wk-badge[data-status=new]{background:var(--wk-new-soft);color:var(--wk-new)}.wk-badge[data-status=changed]{background:var(--wk-changed-soft);color:var(--wk-changed)}.sb-block.wk-block-root .wk-fields{display:grid;gap:3px}.wk-fields>div{display:grid;grid-template-columns:92px minmax(0,1fr);gap:8px;font-size:13px}.wk-fields dt{color:var(--wk-faint)}.wk-fields dd{white-space:pre-wrap}.wk-fields dd[data-mono]{font:12px/1.55 ui-monospace,SFMono-Regular,Menlo,Consolas,monospace}.sb-block.wk-block-root .wk-entry-note{margin-top:6px;font-size:12.5px;color:var(--wk-muted)}.wk-switch{display:inline-flex;align-items:center;gap:6px;font-size:13px;color:var(--wk-muted);cursor:pointer}.wk-switch input{margin:0;accent-color:var(--wk-accent)}.wk-block[data-hidden]{border-style:dashed;background:var(--wk-soft)}.wk-block-head{display:flex;flex-wrap:wrap;align-items:center;gap:8px}.wk-chip{padding:0 8px;border-radius:999px;background:var(--ts);color:var(--t);font-size:11.5px;font-weight:600}.wk-block-label{font:12px ui-monospace,SFMono-Regular,Menlo,Consolas,monospace;color:var(--wk-muted)}.sb-block.wk-block-root .wk-callouts{list-style:none;display:grid;gap:4px}.sb-block.wk-block-root .wk-callouts li{position:relative;padding-left:16px;font-size:13px}.wk-callouts li:before{content:"\\21b3";position:absolute;left:0;color:var(--t)}.sb-block.wk-block-root .wk-hidden-note{font-size:13.5px;color:var(--wk-muted)}.wk-sr{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0)}.wk-foot{display:grid;gap:8px;margin-top:14px}.wk-nav{display:flex;align-items:center;gap:10px}.sb-block.wk-block-root .wk-btn{font:inherit;font-size:13px;padding:4px 12px;border:1px solid var(--wk-line);border-radius:7px;background:var(--wk-paper);color:var(--wk-text);cursor:pointer}.sb-block.wk-block-root .wk-btn:disabled{opacity:.4;cursor:default}.sb-block.wk-block-root .wk-btn[data-primary]:not(:disabled){border-color:var(--wk-accent);background:var(--wk-accent);color:var(--wk-paper)}.wk-count{font-size:12.5px;color:var(--wk-faint);font-variant-numeric:tabular-nums}.sb-block.wk-block-root .wk-toggle{font:inherit;font-size:12.5px;padding:0;border:0;background:transparent;color:var(--wk-faint);text-decoration:underline;cursor:pointer}.wk-details{margin-top:6px;padding:8px 12px;border-radius:6px;background:var(--wk-soft);font-size:13px;color:var(--wk-muted)}.sb-block.wk-block-root .wk-details ul{display:grid;gap:3px;padding-left:18px}.sb-block.wk-block-root .wk-details li{list-style:disc}.sb-block.wk-block-root .wk-sources{margin-top:6px;font-size:12.5px;color:var(--wk-faint)}.wk-sources a{color:inherit}.sb-block.wk-block-root .wk-note{margin-top:8px;font-size:12.5px;color:var(--wk-faint)}.wk-print{display:none}@container (max-width: 720px){.wk-body{grid-template-columns:minmax(0,1fr)}.wk-tabs{grid-auto-flow:row;grid-auto-columns:auto}.wk-part-head small{margin-left:0}.wk-fields>div{grid-template-columns:minmax(0,1fr);gap:0}}@media print{.wk-live{display:none}.wk-print{display:grid;gap:18px;margin-top:12px}.sb-block.wk-block-root .wk-print-title{font-size:15px;font-weight:650}.wk-print-step{break-inside:avoid-page}}
53
+ `);var Cv=ct("stepWalkthrough",{"zh-CN":{title:"\u5206\u6B65\u6F14\u793A",question:"\u672C\u4F8B\u56DE\u7B54\u7684\u95EE\u9898",parts:"\u7EC4\u6210\u90E8\u5206",steps:"\u6B65\u9AA4",takeaway:"\u7B2C {n} \u6B65\u8981\u70B9",actions:"\u672C\u6B65\u7684\u8F93\u5165\u4E0E\u64CD\u4F5C",state:"\u6B64\u65F6\u7684\u72B6\u6001",empty:"\u65E0\u5185\u5BB9",illustrative:"\u793A\u610F",hide:"\u9690\u85CF\u300C{part}\u300D\u4EE5\u4F5C\u5BF9\u6BD4",hidden:"\u8BE5\u90E8\u5206\u5DF2\u9690\u85CF\u3002",hiddenLive:"\u5DF2\u9690\u85CF{part}",previous:"\u4E0A\u4E00\u6B65",next:"\u4E0B\u4E00\u6B65",count:"{current} / {total}",details:"\u524D\u63D0\u6761\u4EF6\u4E0E\u51FA\u5904",hideDetails:"\u6536\u8D77\u524D\u63D0\u4E0E\u51FA\u5904",sources:"\u51FA\u5904\uFF1A","status.new":"\u65B0\u589E","status.changed":"\u5DF2\u66F4\u65B0","status.retired":"\u5DF2\u5931\u6548","status.kept":"\u672A\u53D8",noSteps:"\u5C1A\u65E0\u6B65\u9AA4\u3002"},en:{title:"Step walkthrough",question:"Question this example answers",parts:"Parts",steps:"Steps",takeaway:"Step {n} key point",actions:"Inputs and operations",state:"State at this point",empty:"Empty",illustrative:"Illustrative",hide:"Hide \u201C{part}\u201D to compare",hidden:"This part is hidden.",hiddenLive:"{part} hidden",previous:"Previous",next:"Next",count:"{current} / {total}",details:"Conditions and sources",hideDetails:"Hide conditions and sources",sources:"Sources: ","status.new":"New","status.changed":"Updated","status.retired":"Retired","status.kept":"Unchanged",noSteps:"No steps yet."}});var ce=W(de(),1),iT=e=>`status.${e}`;function lT({code:e}){return(0,ce.jsx)("pre",{className:"wk-code",children:e.split(`
54
+ `).map((t,a)=>(0,ce.jsxs)("span",{"data-diff":t.startsWith("+")?"add":t.startsWith("-")?"del":void 0,children:[t,`
55
+ `]},a))})}function Tv({step:e,index:t,parts:a,stateHeading:n,hidden:o,onHide:r,t:i}){let l=f=>a.find(u=>u.id===f),s=e.output,c=s&&o?l(s.hidePartId):void 0,d=s?.hidePartId?l(s.hidePartId):void 0;return(0,ce.jsxs)("div",{className:"wk-step-view",children:[(0,ce.jsxs)("div",{className:"wk-takeaway",children:[(0,ce.jsx)("span",{children:i("takeaway",{n:t+1})}),(0,ce.jsx)("p",{children:(0,ce.jsx)(Eo,{source:e.takeaway})})]}),(0,ce.jsxs)("div",{className:"wk-body",children:[(0,ce.jsxs)("div",{className:"wk-col",children:[(0,ce.jsx)("h4",{className:"wk-col-title",children:e.actionsHeading??i("actions")}),(0,ce.jsx)("ol",{className:"wk-actions",children:e.actions.map((f,u)=>(0,ce.jsxs)("li",{className:"wk-action","data-kind":f.kind??"action",children:[(0,ce.jsxs)("span",{className:"wk-actor",children:[f.actor,f.illustrative&&(0,ce.jsx)("em",{className:"wk-illustrative",children:i("illustrative")})]}),(0,ce.jsx)("span",{className:"wk-action-text",children:(0,ce.jsx)(Eo,{source:f.text})}),f.code&&(0,ce.jsx)(lT,{code:f.code})]},u))})]}),(0,ce.jsx)("div",{className:"wk-col",children:s?(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsxs)("div",{className:"wk-col-head",children:[(0,ce.jsx)("h4",{className:"wk-col-title",children:s.heading}),d&&r&&(0,ce.jsxs)("label",{className:"wk-switch",children:[(0,ce.jsx)("input",{type:"checkbox",checked:o,onChange:f=>r(f.target.checked)}),s.hideLabel??i("hide",{part:d.label})]})]}),(0,ce.jsx)("div",{className:"wk-blocks",children:s.blocks.map(f=>{let u=l(f.partId),g=c&&f.partId===c.id;return(0,ce.jsxs)("div",{className:"wk-block","data-tone":u?.tone??"slate","data-hidden":g?"":void 0,children:[(0,ce.jsxs)("div",{className:"wk-block-head",children:[u&&(0,ce.jsx)("span",{className:"wk-chip",children:u.label}),(0,ce.jsx)("span",{className:"wk-block-label",children:f.label})]}),g?(0,ce.jsx)("p",{className:"wk-hidden-note",children:(0,ce.jsx)(Eo,{source:s.hideNote??i("hidden")})}):(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)("pre",{className:"wk-block-text",children:f.text}),!!f.callouts?.length&&(0,ce.jsx)("ul",{className:"wk-callouts",children:f.callouts.map((b,p)=>(0,ce.jsx)("li",{children:(0,ce.jsx)(Eo,{source:b})},p))})]})]},f.id)})}),c&&(0,ce.jsx)("p",{className:"wk-sr","aria-live":"polite",children:i("hiddenLive",{part:c.label})})]}):(0,ce.jsxs)(ce.Fragment,{children:[(0,ce.jsx)("h4",{className:"wk-col-title",children:n??i("state")}),(0,ce.jsx)("div",{className:"wk-parts",children:a.map(f=>{let u=(e.entries??[]).filter(b=>b.partId===f.id),g=e.partNotes?.find(b=>b.partId===f.id)?.text;return(0,ce.jsxs)("section",{className:"wk-part","data-tone":f.tone,"aria-label":f.label,children:[(0,ce.jsxs)("div",{className:"wk-part-head",children:[(0,ce.jsx)("b",{children:f.label}),f.plain&&(0,ce.jsx)("span",{children:f.plain}),f.how&&(0,ce.jsx)("small",{children:f.how})]}),g&&(0,ce.jsx)("p",{className:"wk-part-note",children:(0,ce.jsx)(Eo,{source:g})}),!u.length&&!g&&(0,ce.jsx)("p",{className:"wk-part-empty",children:i("empty")}),u.map(b=>(0,ce.jsxs)("article",{className:"wk-entry","data-status":b.status,children:[(0,ce.jsxs)("div",{className:"wk-entry-head",children:[(0,ce.jsx)("b",{children:b.title}),(0,ce.jsx)("span",{className:"wk-badge","data-status":b.status,children:b.statusLabel??i(iT(b.status))})]}),(0,ce.jsx)("dl",{className:"wk-fields",children:b.fields.map((p,x)=>(0,ce.jsxs)("div",{children:[(0,ce.jsx)("dt",{children:p.label}),(0,ce.jsx)("dd",{"data-mono":p.mono?"":void 0,children:p.value})]},x))}),b.note&&(0,ce.jsx)("p",{className:"wk-entry-note",children:(0,ce.jsx)(Eo,{source:b.note})})]},b.id))]},f.id)})})]})})]})]})}function zv({step:e,t}){return(0,ce.jsxs)("div",{className:"wk-details",children:[!!e.details?.length&&(0,ce.jsx)("ul",{children:e.details.map((a,n)=>(0,ce.jsx)("li",{children:(0,ce.jsx)(Eo,{source:a})},n))}),!!e.sources?.length&&(0,ce.jsxs)("p",{className:"wk-sources",children:[t("sources"),e.sources.map((a,n)=>(0,ce.jsxs)("span",{children:[n>0&&" \xB7 ",(0,ce.jsx)("a",{href:a.url,target:"_blank",rel:"noopener noreferrer",children:a.label})]},n))]})]})}function Ev({data:e}){let t=le(Cv),a=e,n=(0,kr.useMemo)(()=>(Array.isArray(a.parts)?a.parts:[]).map((w,z)=>({...w,tone:N6.includes(w.tone)?w.tone:xu[z%xu.length]})),[a.parts]),o=Array.isArray(a.steps)?a.steps:[],r=Math.max(0,o.findIndex(w=>w.id===a.initialStep)),[i,l]=(0,kr.useState)(r),[s,c]=(0,kr.useState)(r);s!==r&&(c(r),l(r));let[d,f]=(0,kr.useState)(!1),[u,g]=(0,kr.useState)(!1),b=(0,kr.useRef)(new Map),p=Za(a.title,t("title"));if(!o.length)return(0,ce.jsx)("section",{className:"sb-block wk-block-root","aria-label":p,children:(0,ce.jsx)("p",{className:"wk-part-empty",children:t("noSteps")})});let x=Math.min(i,o.length-1),h=o[x],m=(w,z=!1)=>{let P=Math.max(0,Math.min(o.length-1,w));l(P),f(!1),z&&b.current.get(P)?.focus()},v=w=>{let z=w.key==="ArrowRight"?1:w.key==="ArrowLeft"?-1:0;z&&(w.preventDefault(),m(x+z,!0))},k=!!h.details?.length||!!h.sources?.length;return(0,ce.jsxs)("section",{className:"sb-block wk-block-root","aria-label":p,children:[(0,ce.jsxs)("header",{className:"wk-head",children:[(0,ce.jsx)("h3",{className:"wk-title",children:a.title}),a.question&&(0,ce.jsxs)("p",{className:"wk-question",children:[(0,ce.jsx)("span",{children:t("question")}),(0,ce.jsx)(Eo,{source:a.question})]}),(0,ce.jsx)("ul",{className:"wk-legend","aria-label":t("parts"),children:n.map(w=>(0,ce.jsxs)("li",{"data-tone":w.tone,children:[(0,ce.jsx)("b",{children:w.label}),w.plain&&(0,ce.jsx)("span",{children:w.plain})]},w.id))})]}),(0,ce.jsxs)("div",{className:"wk-live",children:[(0,ce.jsx)("div",{className:"wk-tabs",role:"tablist","aria-label":t("steps"),onKeyDown:v,children:o.map((w,z)=>(0,ce.jsxs)("button",{ref:P=>{P?b.current.set(z,P):b.current.delete(z)},type:"button",role:"tab","aria-selected":z===x,tabIndex:z===x?0:-1,"data-done":z<x?"":void 0,className:"wk-tab",onClick:()=>m(z),children:[(0,ce.jsx)("span",{className:"wk-tab-n",children:z+1}),(0,ce.jsx)("span",{className:"wk-tab-label",children:w.label})]},w.id))}),(0,ce.jsx)("div",{role:"tabpanel","aria-label":h.label,children:(0,ce.jsx)(Tv,{step:h,index:x,parts:n,stateHeading:a.stateHeading,hidden:d,onHide:f,t})}),(0,ce.jsxs)("footer",{className:"wk-foot",children:[(0,ce.jsxs)("div",{className:"wk-nav",children:[(0,ce.jsxs)("button",{type:"button",className:"wk-btn",disabled:x===0,onClick:()=>m(x-1),children:["\u2190 ",t("previous")]}),(0,ce.jsx)("span",{className:"wk-count",children:t("count",{current:x+1,total:o.length})}),(0,ce.jsxs)("button",{type:"button",className:"wk-btn","data-primary":"",disabled:x===o.length-1,onClick:()=>m(x+1),children:[t("next")," \u2192"]})]}),k&&(0,ce.jsxs)("div",{children:[(0,ce.jsx)("button",{type:"button",className:"wk-toggle","aria-expanded":u,onClick:()=>g(!u),children:t(u?"hideDetails":"details")}),u&&(0,ce.jsx)(zv,{step:h,t})]})]})]}),(0,ce.jsx)("div",{className:"wk-print",children:o.map((w,z)=>(0,ce.jsxs)("section",{className:"wk-print-step",children:[(0,ce.jsxs)("h4",{className:"wk-print-title",children:[z+1,". ",w.label]}),(0,ce.jsx)(Tv,{step:w,index:z,parts:n,stateHeading:a.stateHeading,hidden:!1,t}),(!!w.details?.length||!!w.sources?.length)&&(0,ce.jsx)(zv,{step:w,t})]},w.id))}),a.note&&(0,ce.jsx)("p",{className:"wk-note",children:(0,ce.jsx)(Eo,{source:a.note})})]})}var ro=W(De(),1);var Nv=ct("chart",{"zh-CN":{seriesName:"\u7CFB\u5217 {index}",invalidData:"\u6570\u636E\u683C\u5F0F\u4E0D\u6B63\u786E\u3002",csvLabel:"\u6807\u7B7E",fileName:"\u56FE\u8868",chart:"\u56FE\u8868",dataChart:"\u6570\u636E\u56FE\u8868",exportData:"\u5BFC\u51FA\u56FE\u8868\u6570\u636E",exportCsv:"\u5BFC\u51FA CSV",chartType:"\u56FE\u8868\u7C7B\u578B",line:"\u6298\u7EBF\u56FE",bar:"\u67F1\u72B6\u56FE",title:"\u6807\u9898",unit:"\u5355\u4F4D",unitPlaceholder:"\u4F8B\u5982\uFF1Ams\u3001%",dataField:"\u6570\u636E \xB7 labels \u662F\u6A2A\u8F74\uFF0Cseries \u662F\u6570\u503C\u7CFB\u5217",applyData:"\u5E94\u7528\u6570\u636E",emptyTitle:"\u8BA9\u6570\u636E\u6210\u4E3A\u56FE\u8868",addData:"\u6DFB\u52A0\u6570\u636E",unitValue:"\u5355\u4F4D\uFF1A{unit}",summary:"{title}\uFF0C{points} \u4E2A\u6570\u636E\u70B9\uFF0C{series} \u4E2A\u7CFB\u5217",rawData:"\u67E5\u770B\u539F\u59CB\u6570\u636E",rows:"{count} \u884C",label:"\u6807\u7B7E"},en:{seriesName:"Series {index}",invalidData:"The data format is invalid.",csvLabel:"Label",fileName:"chart",chart:"Chart",dataChart:"Data chart",exportData:"Export chart data",exportCsv:"Export CSV",chartType:"Chart type",line:"Line chart",bar:"Bar chart",title:"Title",unit:"Unit",unitPlaceholder:"e.g. ms, %",dataField:"Data \xB7 labels are the x-axis, series are the value series",applyData:"Apply data",emptyTitle:"Turn your data into a chart",addData:"Add data",unitValue:"Unit: {unit}",summary:"{title}, data points: {points}, series: {series}",rawData:"View raw data",rows:{one:"{count} row",other:"{count} rows"},label:"Label"}});var we=W(de(),1);function sT({label:e}){let t=Gn(e);if(t.length<=12)return(0,we.jsx)(v7,{text:e});let a=v6(e).map(n=>n.note);return(0,we.jsx)("tspan",{...o0([t,...a].join(`
56
+ `),!1),children:t.slice(0,10)+"\u2026"})}var h1=760,Rd=272,ll=54,Dv=24,Pd=22,Mv=36,Av=e=>new Intl.NumberFormat(Tl(),{notation:Math.abs(e)>=1e4?"compact":"standard",maximumFractionDigits:2}).format(e);function Iv({data:e,onChange:t,readOnly:a}){let n=le(Nv),[o,r]=(0,ro.useState)(!1),[i,l]=(0,ro.useState)([]),[s,c]=(0,ro.useState)(null),[d,f]=(0,ro.useState)(""),[u,g]=(0,ro.useState)(""),[b,p]=(0,ro.useState)(""),[x,h]=(0,ro.useState)(""),m=Array.isArray(e.labels)?e.labels.map(q=>se(q)):[],v=Array.isArray(e.series)?e.series.filter(q=>q&&typeof q=="object"&&Array.isArray(q.values)).map((q,I)=>({name:se(q.name,n("seriesName",{index:I+1})),values:q.values.map(C=>El(C)),color:/^#[0-9a-f]{3,8}$/i.test(q.color)?q.color:Nu[I%Nu.length]})):[],k=v.filter((q,I)=>!i.includes(I)),w=e.type==="bar"?"bar":"line",z=k.flatMap(q=>q.values.slice(0,m.length)),P=Math.min(0,...z),j=Math.max(0,...z),T=(j-P)*.12||1,S=P<0?P-T:0,B=j+T,O=h1-ll-Dv,N=Rd-Pd-Mv,V=O/Math.max(m.length,1),R=q=>w==="bar"?ll+V*(q+.5):ll+(m.length===1?O/2:q/(m.length-1)*O),E=q=>Pd+(B-q)/(B-S)*N,D=E(0),M=(0,ro.useId)().replaceAll(":",""),Z=(0,ro.useMemo)(()=>Array.from({length:5},(q,I)=>I/4),[]),U=!!(t&&!a),F=()=>{f(JSON.stringify({labels:m,series:v.map(q=>({name:q.name,values:q.values,...q.color?{color:q.color}:{}}))},null,2)),g(se(e.title)),p(se(e.unit)),h(""),r(!o)},_=()=>{let q;try{q=X1(d)}catch(I){h(I instanceof Error?I.message:n("invalidData"));return}t?.({...e,...q,title:u,unit:b}),l([]),r(!1)},X=()=>Nl($1([{id:"label",name:n("csvLabel"),type:"text"},...v.map((q,I)=>({id:`s${I}`,name:Gn(q.name),type:"number"}))],m.map((q,I)=>({id:String(I),label:Gn(q),...Object.fromEntries(v.map((C,G)=>[`s${G}`,C.values[I]??""]))}))),`${Gn(se(e.title))||n("fileName")}.csv`,"text/csv;charset=utf-8");return(0,we.jsxs)("section",{className:"sb-block sb-chart","aria-label":Za(e.title,n("dataChart")),children:[(0,we.jsxs)(ma,{title:se(e.title),defaultTitle:n("dataChart"),description:se(e.description),icon:(0,we.jsx)(T1,{size:17}),editable:U,editing:o,onEdit:F,children:[m.length>0&&(0,we.jsx)("button",{type:"button",className:"sb-icon-button",onClick:X,"aria-label":n("exportData"),title:n("exportCsv"),children:(0,we.jsx)(Ar,{size:15})}),U&&(0,we.jsxs)("div",{className:"sb-segmented","aria-label":n("chartType"),children:[(0,we.jsx)("button",{type:"button","aria-label":n("line"),className:w==="line"?"is-active":"",onClick:()=>t?.({...e,type:"line"}),children:(0,we.jsx)(T1,{size:15})}),(0,we.jsx)("button",{type:"button","aria-label":n("bar"),className:w==="bar"?"is-active":"",onClick:()=>t?.({...e,type:"bar"}),children:(0,we.jsx)(i5,{size:15})})]})]}),o&&(0,we.jsx)(_a,{children:(0,we.jsxs)("div",{className:"sb-editor-panel",children:[(0,we.jsxs)("div",{className:"sb-form-row",children:[(0,we.jsx)(je,{label:n("title"),children:(0,we.jsx)("input",{value:u,onChange:q=>g(q.target.value)})}),(0,we.jsx)(je,{label:n("unit"),children:(0,we.jsx)("input",{placeholder:n("unitPlaceholder"),value:b,onChange:q=>p(q.target.value)})})]}),(0,we.jsx)(je,{label:n("dataField"),children:(0,we.jsx)("textarea",{className:"sb-code-input",rows:10,spellCheck:!1,value:d,onChange:q=>f(q.target.value)})}),x&&(0,we.jsx)("p",{role:"alert",className:"sb-error",children:x}),(0,we.jsx)("div",{className:"sb-panel-footer",children:(0,we.jsxs)("button",{type:"button",className:"sb-button sb-primary",onClick:_,children:[(0,we.jsx)(Ha,{size:14}),n("applyData")]})})]})}),!m.length||!v.length?(0,we.jsx)(xa,{icon:(0,we.jsx)(T1,{size:30,strokeWidth:1.4}),title:n("emptyTitle"),action:U&&!o?(0,we.jsxs)("button",{type:"button",className:"sb-button",onClick:F,children:[(0,we.jsx)(u5,{size:14}),n("addData")]}):void 0}):(0,we.jsxs)(we.Fragment,{children:[(0,we.jsxs)("div",{className:"sb-chart-legend",children:[v.map((q,I)=>(0,we.jsxs)("button",{type:"button","aria-pressed":!i.includes(I),className:i.includes(I)?"is-muted":"",onClick:()=>l(C=>C.includes(I)?C.filter(G=>G!==I):[...C,I]),children:[(0,we.jsx)("span",{style:{backgroundColor:q.color}}),(0,we.jsx)(r0,{text:q.name,focusable:!1})]},`${q.name}-${I}`)),se(e.unit)&&(0,we.jsx)("span",{className:"sb-chart-unit",children:n("unitValue",{unit:se(e.unit)})})]}),(0,we.jsxs)("div",{className:"sb-chart-canvas",onMouseLeave:()=>c(null),children:[(0,we.jsxs)("svg",{viewBox:`0 0 ${h1} ${Rd}`,role:"img","aria-label":n("summary",{title:Gn(se(e.title))||n("chart"),points:m.length,series:v.length}),onPointerMove:q=>{let I=q.currentTarget.getBoundingClientRect(),C=(q.clientX-I.left)/I.width*h1,G=w==="bar"?Math.floor((C-ll)/V):Math.round((C-ll)/O*(m.length-1));c(Math.min(m.length-1,Math.max(0,G)))},children:[(0,we.jsx)("defs",{children:k.map((q,I)=>(0,we.jsxs)("linearGradient",{id:`${M}-fill-${I}`,x1:"0",y1:"0",x2:"0",y2:"1",children:[(0,we.jsx)("stop",{offset:"0%",stopColor:q.color,stopOpacity:".11"}),(0,we.jsx)("stop",{offset:"100%",stopColor:q.color,stopOpacity:".01"})]},`${q.name}-${I}`))}),Z.map(q=>{let I=B-q*(B-S),C=Pd+N*q;return(0,we.jsxs)("g",{children:[(0,we.jsx)("line",{x1:ll,x2:h1-Dv,y1:C,y2:C,className:"sb-chart-grid"}),(0,we.jsx)("text",{x:ll-12,y:C+4,textAnchor:"end",className:"sb-chart-label",children:Av(I)})]},q)}),m.map((q,I)=>(m.length<=10||I%Math.ceil(m.length/8)===0||I===m.length-1)&&(0,we.jsx)("text",{x:R(I),y:Rd-12,textAnchor:"middle",className:"sb-chart-label",children:(0,we.jsx)(sT,{label:q})},I)),k.map((q,I)=>{let C=m.map((G,H)=>`${R(H)},${E(q.values[H]??0)}`).join(" ");if(w==="bar"){let G=V*.66,H=Math.max(1,G/Math.max(k.length,1)-3);return(0,we.jsx)("g",{children:m.map((ge,re)=>(0,we.jsx)("rect",{x:R(re)-G/2+I*(H+3),y:Math.min(E(q.values[re]??0),D),width:H,height:Math.max(1,Math.abs(D-E(q.values[re]??0))),rx:3,fill:q.color,opacity:s===null||s===re?".9":".5",children:(0,we.jsxs)("title",{children:[Gn(ge)," \xB7 ",Gn(q.name),":"," ",q.values[re]??0,se(e.unit)]})},re))},`${q.name}-${I}`)}return(0,we.jsxs)("g",{children:[(0,we.jsx)("polygon",{points:`${R(0)},${D} ${C} ${R(m.length-1)},${D}`,fill:`url(#${M}-fill-${I})`}),(0,we.jsx)("polyline",{points:C,fill:"none",stroke:q.color,strokeWidth:2.3,strokeLinejoin:"round",strokeLinecap:"round"}),(m.length<=20||s!==null)&&m.map((G,H)=>(m.length<=20||s===H)&&(0,we.jsx)("circle",{cx:R(H),cy:E(q.values[H]??0),r:s===H?5:3,fill:q.color,stroke:"var(--sb-surface)",strokeWidth:2,children:(0,we.jsxs)("title",{children:[Gn(G)," \xB7 ",Gn(q.name),":"," ",q.values[H]??0,se(e.unit)]})},H))]},`${q.name}-${I}`)}),s!==null&&(0,we.jsx)("line",{x1:R(s),x2:R(s),y1:Pd,y2:Rd-Mv,className:"sb-chart-crosshair"})]}),s!==null&&(0,we.jsxs)("div",{className:"sb-chart-tooltip",style:{left:`${Math.min(78,Math.max(8,R(s)/h1*100))}%`},children:[(0,we.jsx)("strong",{children:Gn(m[s])}),k.map((q,I)=>(0,we.jsxs)("div",{children:[(0,we.jsx)("span",{className:"sb-dot",style:{background:q.color}}),Gn(q.name),(0,we.jsxs)("b",{children:[Av(q.values[s]??0),se(e.unit)]})]},`${q.name}-${I}`))]})]}),(0,we.jsxs)("details",{className:"sb-data-details",children:[(0,we.jsxs)("summary",{children:[n("rawData")," ",(0,we.jsx)("span",{children:n("rows",{count:m.length})})]}),(0,we.jsx)("div",{className:"sb-table-scroll",children:(0,we.jsxs)("table",{children:[(0,we.jsx)("thead",{children:(0,we.jsxs)("tr",{children:[(0,we.jsx)("th",{children:n("label")}),v.map((q,I)=>(0,we.jsx)("th",{children:(0,we.jsx)(r0,{text:q.name})},I))]})}),(0,we.jsx)("tbody",{children:m.map((q,I)=>(0,we.jsxs)("tr",{children:[(0,we.jsx)("td",{children:(0,we.jsx)(r0,{text:q})}),v.map((C,G)=>(0,we.jsx)("td",{children:C.values[I]??"\u2014"},G))]},I))})]})})]})]})]})}var Ta=W(De(),1);var La=W(De(),1);var y1=ct("database",{"zh-CN":{database:"\u6570\u636E\u5E93",property:"\u5C5E\u6027","type.text":"\u6587\u672C","type.number":"\u6570\u5B57","type.select":"\u5355\u9009","type.checkbox":"\u590D\u9009\u6846","type.url":"\u94FE\u63A5",notSet:"\u672A\u8BBE\u7F6E",openLink:"\u6253\u5F00{name}","error.keepOneProperty":"\u8BF7\u81F3\u5C11\u4FDD\u7559\u4E00\u4E2A\u5C5E\u6027\u3002","error.nameEveryProperty":"\u8BF7\u4E3A\u6BCF\u4E2A\u5C5E\u6027\u586B\u5199\u540D\u79F0\u3002",exportDatabase:"\u5BFC\u51FA\u6570\u636E\u5E93",exportCsv:"\u5BFC\u51FA CSV",viewAndFilterMenu:"\u6570\u636E\u5E93\u89C6\u56FE\u4E0E\u7B5B\u9009",viewAndFilter:"\u89C6\u56FE\u4E0E\u7B5B\u9009",table:"\u8868\u683C",board:"\u770B\u677F",searchDatabase:"\u641C\u7D22\u6570\u636E\u5E93",filterDatabase:"\u7B5B\u9009\u6570\u636E\u5E93",newRecord:"\u65B0\u5EFA",groupBy:"\u5206\u7EC4\u4F9D\u636E",boardGroupProperty:"\u770B\u677F\u5206\u7EC4\u5C5E\u6027",databaseName:"\u6570\u636E\u5E93\u540D\u79F0",propertyName:"\u5C5E\u6027\u540D\u79F0",propertyType:"{name}\u7684\u7C7B\u578B",propertyOptions:"{name}\u7684\u9009\u9879\uFF0C\u7528\u9017\u53F7\u5206\u9694",optionsPlaceholder:"\u9009\u9879\uFF0C\u7528\u9017\u53F7\u5206\u9694",deleteProperty:"\u5220\u9664\u5C5E\u6027{name}",addProperty:"\u6DFB\u52A0\u5C5E\u6027",saveProperties:"\u4FDD\u5B58\u5C5E\u6027",filterProperty:"\u7B5B\u9009\u5C5E\u6027",allRecords:"\u5168\u90E8\u8BB0\u5F55",equals:"\u7B49\u4E8E",filterValue:"\u7B5B\u9009\u503C",clear:"\u6E05\u9664",rowActions:"\u884C\u64CD\u4F5C",deleteNamedRecord:"\u5220\u9664\u8BB0\u5F55{name}",deleteRecord:"\u5220\u9664\u8BB0\u5F55","empty.noMatches":"\u6CA1\u6709\u7B26\u5408\u6761\u4EF6\u7684\u8BB0\u5F55","empty.start":"\u4ECE\u7B2C\u4E00\u6761\u8BB0\u5F55\u5F00\u59CB",newRecordIn:"\u5728{group}\u4E2D\u65B0\u5EFA\u8BB0\u5F55",moveToGroup:"\u79FB\u52A8\u5230\u5206\u7EC4",addRecord:"\u65B0\u8BB0\u5F55",recordCount:"{count} \u6761\u8BB0\u5F55",filteredRecordCount:"{shown} / {count} \u6761\u8BB0\u5F55",clearSort:"\u6E05\u9664\u6392\u5E8F",previousPage:"\u4E0A\u4E00\u9875",nextPage:"\u4E0B\u4E00\u9875",calendar:"\u65E5\u5386","type.date":"\u65E5\u671F",untitled:"\u672A\u547D\u540D","calendar.noDateColumn":"\u65E5\u5386\u9700\u8981\u4E00\u4E2A\u65E5\u671F\u5C5E\u6027","calendar.noDateColumnHint":"\u5728\u5C5E\u6027\u8BBE\u7F6E\u4E2D\u6DFB\u52A0\u65E5\u671F\u7C7B\u578B\u7684\u5C5E\u6027\u540E\uFF0C\u8BB0\u5F55\u4F1A\u6309\u65E5\u671F\u6392\u8FDB\u65E5\u5386\u3002","calendar.dateProperty":"\u65E5\u5386\u65E5\u671F\u5C5E\u6027","calendar.endDateProperty":"\u7ED3\u675F\u65E5\u671F\u5C5E\u6027","calendar.colorProperty":"\u989C\u8272\u4F9D\u636E","calendar.doneProperty":"\u5B8C\u6210\u6807\u8BB0","calendar.none":"\u65E0","calendar.mode":"\u65E5\u5386\u6A21\u5F0F","calendar.mode.month":"\u6708","calendar.mode.week":"\u5468","calendar.mode.heatmap":"\u70ED\u529B\u56FE","calendar.previousMonth":"\u4E0A\u4E2A\u6708","calendar.nextMonth":"\u4E0B\u4E2A\u6708","calendar.previousWeek":"\u4E0A\u4E00\u5468","calendar.nextWeek":"\u4E0B\u4E00\u5468","calendar.previousRange":"\u66F4\u65E9","calendar.nextRange":"\u66F4\u665A","calendar.today":"\u4ECA\u5929","calendar.now":"\u73B0\u5728","calendar.agenda":"\u65E5\u7A0B\u5217\u8868","calendar.allDay":"\u5168\u5929","calendar.noRecordsInRange":"\u8FD9\u6BB5\u65F6\u95F4\u6CA1\u6709\u8BB0\u5F55","calendar.noRecordsOnDay":"\u8FD9\u4E00\u5929\u6CA1\u6709\u8BB0\u5F55","calendar.addOnDay":"\u5728{date}\u65B0\u5EFA\u8BB0\u5F55","calendar.moreRecords":"\u8FD8\u6709 {count} \u6761","calendar.showLess":"\u6536\u8D77","calendar.colorLegend":"\u6309{name}\u7740\u8272","calendar.hours":"{hours}h","calendar.closeDetail":"\u5173\u95ED\u8BB0\u5F55\u8BE6\u60C5","calendar.undated":"{count} \u6761\u8BB0\u5F55\u6CA1\u6709{name}\uFF0C\u672A\u663E\u793A\u5728\u65E5\u5386\u4E2D","calendar.currentStreak":"\u5F53\u524D\u8FDE\u7EED","calendar.longestStreak":"\u6700\u957F\u8FDE\u7EED","calendar.activeDays":"\u6709\u8BB0\u5F55\u7684\u5929\u6570","calendar.days":"{count} \u5929","calendar.doneCount":"\u5B8C\u6210 {count} \u6761","calendar.heatmapLabel":"\u6BCF\u65E5\u8BB0\u5F55\u70ED\u529B\u56FE\uFF0C{range}","calendar.less":"\u5C11","calendar.more":"\u591A"},en:{database:"Database",property:"Property","type.text":"Text","type.number":"Number","type.select":"Select","type.checkbox":"Checkbox","type.url":"URL",notSet:"Not set",openLink:"Open {name}","error.keepOneProperty":"Keep at least one property.","error.nameEveryProperty":"Give every property a name.",exportDatabase:"Export database",exportCsv:"Export CSV",viewAndFilterMenu:"Database view and filters",viewAndFilter:"View and filter",table:"Table",board:"Kanban",searchDatabase:"Search database",filterDatabase:"Filter database",newRecord:"New",groupBy:"Group by",boardGroupProperty:"Kanban grouping property",databaseName:"Database name",propertyName:"Property name",propertyType:"Type of {name}",propertyOptions:"Options for {name}, separated by commas",optionsPlaceholder:"Options, separated by commas",deleteProperty:"Delete property {name}",addProperty:"Add property",saveProperties:"Save properties",filterProperty:"Filter property",allRecords:"All records",equals:"is",filterValue:"Filter value",clear:"Clear",rowActions:"Row actions",deleteNamedRecord:"Delete record {name}",deleteRecord:"Delete record","empty.noMatches":"No matching records","empty.start":"Start with your first record",newRecordIn:"New record in {group}",moveToGroup:"Move to group",addRecord:"New record",recordCount:{one:"{count} record",other:"{count} records"},filteredRecordCount:{one:"{shown} of {count} record",other:"{shown} of {count} records"},clearSort:"Clear sort",previousPage:"Previous",nextPage:"Next",calendar:"Calendar","type.date":"Date",untitled:"Untitled","calendar.noDateColumn":"The calendar needs a date property","calendar.noDateColumnHint":"Add a property of type Date in the property settings to place records on the calendar.","calendar.dateProperty":"Calendar date property","calendar.endDateProperty":"End date property","calendar.colorProperty":"Color by","calendar.doneProperty":"Done marker","calendar.none":"None","calendar.mode":"Calendar mode","calendar.mode.month":"Month","calendar.mode.week":"Week","calendar.mode.heatmap":"Heatmap","calendar.previousMonth":"Previous month","calendar.nextMonth":"Next month","calendar.previousWeek":"Previous week","calendar.nextWeek":"Next week","calendar.previousRange":"Earlier","calendar.nextRange":"Later","calendar.today":"Today","calendar.now":"Now","calendar.agenda":"Agenda","calendar.allDay":"All day","calendar.noRecordsInRange":"No records in this period","calendar.noRecordsOnDay":"No records on this day","calendar.addOnDay":"New record on {date}","calendar.moreRecords":"{count} more","calendar.showLess":"Show less","calendar.colorLegend":"Colored by {name}","calendar.hours":"{hours}h","calendar.closeDetail":"Close record details","calendar.undated":{one:"{count} record has no {name} and is not on the calendar",other:"{count} records have no {name} and are not on the calendar"},"calendar.currentStreak":"Current streak","calendar.longestStreak":"Longest streak","calendar.activeDays":"Active days","calendar.days":{one:"{count} day",other:"{count} days"},"calendar.doneCount":"{count} done","calendar.heatmapLabel":"Daily record heatmap, {range}","calendar.less":"Less","calendar.more":"More"}});rt(`.sb-block.sb-database .sb-dbc{--dbc-0: #6b7c53;--dbc-0-soft: #e9eee2;--dbc-1: #5b7a9a;--dbc-1-soft: #e8eef4;--dbc-2: #9a804d;--dbc-2-soft: #f3edde;--dbc-3: #986e91;--dbc-3-soft: #f0e8ee;--dbc-4: #a3765d;--dbc-4-soft: #f3e7e0;--dbc-n: var(--sb-muted);--dbc-n-soft: var(--sb-soft);--dbc-a: var(--sb-accent);--dbc-a-soft: var(--sb-accent-soft);--dbc-today: #c4673f;--dbc-hour: 30px;container-type:inline-size;padding:10px 0 4px}:root[data-theme=dark] .sb-block.sb-database .sb-dbc{--dbc-0: #c1d2ae;--dbc-0-soft: #34432d;--dbc-1: #b1c8df;--dbc-1-soft: #2d3e4b;--dbc-2: #d5c59e;--dbc-2-soft: #443d2b;--dbc-3: #d1b3ca;--dbc-3-soft: #443142;--dbc-4: #d9bfa9;--dbc-4-soft: #49372d;--dbc-today: #e79a76}.sb-block.sb-database .sb-dbc-bar{display:flex;align-items:center;justify-content:space-between;gap:10px;flex-wrap:wrap;margin-bottom:8px}.sb-block.sb-database .sb-dbc-modes{display:inline-flex;border:1px solid var(--sb-line);border-radius:6px;overflow:hidden}.sb-block.sb-database .sb-dbc-modes>button{font-size:10px;padding:3px 10px;color:var(--sb-muted);border-radius:0}.sb-block.sb-database .sb-dbc-modes>button+button{border-left:1px solid var(--sb-line)}.sb-block.sb-database .sb-dbc-modes>button.is-active{background:var(--sb-accent-soft);color:var(--sb-accent);font-weight:600}.sb-block.sb-database .sb-dbc-nav{display:flex;align-items:center;gap:4px}.sb-block.sb-database .sb-dbc-nav>strong{font-size:11px;min-width:96px;text-align:center;font-variant-numeric:tabular-nums}.sb-block.sb-database .sb-dbc-today{font-size:10px;padding:2px 9px;border:1px solid var(--sb-line);border-radius:999px;color:var(--sb-muted);margin-left:4px}.sb-block.sb-database .sb-dbc-legend{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:8px}.sb-block.sb-database .sb-dbc-legend>button{--dbc-c: var(--sb-text);display:inline-flex;align-items:center;gap:5px;font-size:10px;padding:2px 9px;border-radius:999px;border:1px solid var(--sb-line);background:var(--sb-surface)}.sb-block.sb-database .sb-dbc-legend i{width:7px;height:7px;border-radius:50%;background:var(--dbc-c)}.sb-block.sb-database .sb-dbc-legend b{font-weight:600;color:var(--sb-muted);font-variant-numeric:tabular-nums}.sb-block.sb-database .sb-dbc-legend>button.is-active{border-color:var(--dbc-c);background:var(--dbc-c-soft, var(--sb-accent-soft));color:var(--dbc-c)}.sb-block.sb-database .sb-calendar-settings>label{display:inline-flex;align-items:center;gap:5px}.sb-block.sb-database .sb-dbc-chip{display:flex;align-items:center;gap:4px;width:100%;min-width:0;font-size:10px;line-height:1.35;text-align:left;padding:2px 5px;margin-top:2px;border-radius:4px;border-left:3px solid var(--dbc-c);background:var(--dbc-c-soft);color:var(--sb-text);transition:opacity .15s,box-shadow .15s}.sb-block.sb-database .sb-dbc-chip:not(:disabled):hover{background:var(--dbc-c-soft);box-shadow:0 1px 4px color-mix(in srgb,var(--sb-text) 18%,transparent)}.sb-block.sb-database .sb-dbc-chip.is-selected{box-shadow:0 0 0 2px var(--dbc-c)}.sb-block.sb-database .sb-dbc-chip.is-faded{opacity:.25}.sb-block.sb-database .sb-dbc-chip.continues-before{border-top-left-radius:0;border-bottom-left-radius:0;border-left-style:dashed}.sb-block.sb-database .sb-dbc-chip.is-done .sb-dbc-chip-title{text-decoration:line-through;color:var(--sb-muted)}.sb-block.sb-database .sb-dbc-chip[draggable=true]{cursor:grab}.sb-block.sb-database .sb-dbc-chip-title{min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sb-block.sb-database .sb-dbc-time{flex:none;color:var(--dbc-c);font-variant-numeric:tabular-nums}.sb-block.sb-database .sb-dbc-check{flex:none;width:11px;height:11px;border-radius:3px;border:1px solid var(--dbc-c);font-size:8px;line-height:9px;text-align:center;color:var(--sb-surface)}.sb-block.sb-database .sb-dbc-chip.is-done .sb-dbc-check{background:var(--dbc-c)}.sb-block.sb-database .sb-dbc-muted{color:var(--sb-muted);font-size:10px}.sb-block.sb-database .sb-dbc-add{width:18px;height:18px;opacity:0}.sb-block.sb-database .sb-dbc-day:hover .sb-dbc-add,.sb-block.sb-database .sb-dbc-weekday-head:hover .sb-dbc-add,.sb-block.sb-database .sb-dbc-heat-day .sb-dbc-add,.sb-block.sb-database .sb-dbc-add:focus-visible{opacity:1}.sb-block.sb-database .sb-dbc-month{border:1px solid var(--sb-line);border-radius:6px;overflow:hidden}.sb-block.sb-database .sb-dbc-weekdays,.sb-block.sb-database .sb-dbc-week-row{display:grid;grid-template-columns:repeat(7,minmax(0,1fr))}.sb-block.sb-database .sb-dbc-weekdays>span{font-size:9px;color:var(--sb-muted);padding:4px 6px;background:var(--sb-soft);border-bottom:1px solid var(--sb-line)}.sb-block.sb-database .sb-dbc-day{min-height:78px;padding:3px 4px 5px;border-right:1px solid var(--sb-line);border-bottom:1px solid var(--sb-line);min-width:0}.sb-block.sb-database .sb-dbc-week-row>.sb-dbc-day:nth-child(7){border-right:0}.sb-block.sb-database .sb-dbc-week-row:last-child>.sb-dbc-day{border-bottom:0}.sb-block.sb-database .sb-dbc-day.is-outside{background:var(--sb-soft)}.sb-block.sb-database .sb-dbc-day.is-outside .sb-dbc-day-number{color:var(--sb-muted);opacity:.7}.sb-block.sb-database .sb-dbc-day-head{display:flex;align-items:center;justify-content:space-between}.sb-block.sb-database .sb-dbc-day-number{font-size:10px;font-variant-numeric:tabular-nums;min-width:18px;height:18px;line-height:18px;text-align:center;border-radius:999px}.sb-block.sb-database .sb-dbc-day.is-today .sb-dbc-day-number{background:var(--dbc-today);color:var(--sb-surface);font-weight:700}.sb-block.sb-database .sb-dbc-more{font-size:9px;color:var(--sb-muted);padding:1px 4px;margin-top:2px;border-radius:3px}.sb-block.sb-database .sb-dbc-agenda{display:none;list-style:none;margin:0;padding:0}.sb-block.sb-database .sb-dbc-agenda>li{display:grid;grid-template-columns:112px minmax(0,1fr);gap:8px;padding:6px 2px;border-bottom:1px dashed var(--sb-line)}.sb-block.sb-database .sb-dbc-agenda-day{font-size:10px;color:var(--sb-muted);font-variant-numeric:tabular-nums}.sb-block.sb-database .sb-dbc-agenda-day>b{margin-left:5px;color:var(--dbc-today)}.sb-block.sb-database .sb-dbc-agenda>li.is-today .sb-dbc-agenda-day{color:var(--dbc-today);font-weight:600}.sb-block.sb-database .sb-dbc-agenda-items>.sb-dbc-chip:first-child{margin-top:0}.sb-block.sb-database .sb-dbc-agenda-empty{font-size:10px;color:var(--sb-muted)}.sb-block.sb-database .sb-dbc-weekgrid{display:grid;grid-template-columns:repeat(7,minmax(0,1fr));border:1px solid var(--sb-line);border-radius:6px;overflow:hidden}.sb-block.sb-database .sb-dbc-weekgrid.is-timed{grid-template-columns:38px repeat(7,minmax(0,1fr));grid-template-rows:auto auto auto}.sb-block.sb-database .sb-dbc-weekgrid.is-timed>.sb-dbc-weekday,.sb-block.sb-database .sb-dbc-weekgrid.is-timed>.sb-dbc-axis{grid-row:1 / 4;grid-template-rows:subgrid}.sb-block.sb-database .sb-dbc-weekday{display:grid;grid-template-rows:auto auto 1fr;border-left:1px solid var(--sb-line);min-width:0;min-height:140px}.sb-block.sb-database .sb-dbc-weekgrid:not(.is-timed)>.sb-dbc-weekday:first-child{border-left:0}.sb-block.sb-database .sb-dbc-weekday.is-today{background:color-mix(in srgb,var(--dbc-today) 6%,transparent)}.sb-block.sb-database .sb-dbc-weekday-head,.sb-block.sb-database .sb-dbc-axis-head{display:flex;align-items:baseline;gap:4px;padding:4px 5px;min-height:28px;font-size:9px;color:var(--sb-muted);border-bottom:1px solid var(--sb-line);background:var(--sb-soft)}.sb-block.sb-database .sb-dbc-weekday-head>strong{font-size:10px;color:var(--sb-text)}.sb-block.sb-database .sb-dbc-weekday.is-today .sb-dbc-weekday-head>*{color:var(--dbc-today)}.sb-block.sb-database .sb-dbc-weekday-head>.sb-dbc-add{margin-left:auto;align-self:center}.sb-block.sb-database .sb-dbc-weekday-list{padding:2px 4px 4px;min-height:24px}.sb-block.sb-database .is-timed .sb-dbc-weekday-list{border-bottom:1px solid var(--sb-line)}.sb-block.sb-database .sb-dbc-axis{display:grid;grid-template-rows:auto auto 1fr}.sb-block.sb-database .sb-dbc-axis-allday{font-size:8px;color:var(--sb-muted);padding:4px 3px;min-height:24px;border-bottom:1px solid var(--sb-line)}.sb-block.sb-database .sb-dbc-axis-hours,.sb-block.sb-database .sb-dbc-hours{position:relative;height:calc(var(--dbc-hours) * var(--dbc-hour))}.sb-block.sb-database .sb-dbc-hours{background-image:repeating-linear-gradient(to bottom,var(--sb-line) 0,var(--sb-line) 1px,transparent 1px,transparent var(--dbc-hour))}.sb-block.sb-database .sb-dbc-axis-hours>span{position:absolute;right:4px;font-size:8px;color:var(--sb-muted);transform:translateY(-50%);font-variant-numeric:tabular-nums}.sb-block.sb-database .sb-dbc-axis-hours>span:first-child{transform:none}.sb-block.sb-database .sb-dbc-slot{position:absolute;padding:1px 2px}.sb-block.sb-database .sb-dbc-slot>.sb-dbc-chip{height:100%;margin:0;align-items:flex-start;flex-wrap:wrap;align-content:flex-start;overflow:hidden}.sb-block.sb-database .sb-dbc-slot .sb-dbc-chip-title{white-space:normal}.sb-block.sb-database .sb-dbc-now{position:absolute;left:0;right:0;border-top:2px solid var(--dbc-today);z-index:2;pointer-events:none}.sb-block.sb-database .sb-dbc-now>b{position:absolute;right:2px;top:-14px;font-size:8px;color:var(--dbc-today);background:var(--sb-surface);padding:0 3px;border-radius:3px}.sb-block.sb-database .sb-dbc-stats{display:flex;flex-wrap:wrap;gap:8px 22px;margin:0 0 10px}.sb-block.sb-database .sb-dbc-stats>div{display:flex;flex-direction:column-reverse}.sb-block.sb-database .sb-dbc-stats dt{font-size:9px;color:var(--sb-muted)}.sb-block.sb-database .sb-dbc-stats dd{margin:0;font-size:17px;font-weight:700;color:var(--dbc-c);font-variant-numeric:tabular-nums}.sb-block.sb-database .sb-dbc-stats dd>small{margin-left:6px;font-size:10px;font-weight:500;color:var(--sb-muted)}.sb-block.sb-database .sb-dbc-heat-scroll{overflow-x:auto;padding:2px}.sb-block.sb-database .sb-dbc-heat-grid{display:grid;grid-template-columns:24px repeat(var(--dbc-weeks),12px);grid-template-rows:14px repeat(7,12px);gap:3px;width:max-content}.sb-block.sb-database .sb-dbc-heat-month,.sb-block.sb-database .sb-dbc-heat-weekday{font-size:8px;color:var(--sb-muted);white-space:nowrap;line-height:12px;overflow:visible}.sb-block.sb-database .sb-dbc-heat-corner{grid-row:1;grid-column:1}.sb-block.sb-database .sb-dbc-heat-month{grid-row:1}.sb-block.sb-database .sb-dbc-heat-weekday{grid-column:1}.sb-block.sb-database .sb-dbc-heat-cell,.sb-block.sb-database .sb-dbc-heat-legend>i{display:block;width:12px;height:12px;padding:0;border-radius:3px;background:var(--sb-soft);box-shadow:inset 0 0 0 1px color-mix(in srgb,var(--sb-line) 70%,transparent)}.sb-block.sb-database .sb-dbc-heat-cell.level-1,.sb-block.sb-database .sb-dbc-heat-legend>i.level-1{background:color-mix(in srgb,var(--dbc-c) 28%,var(--sb-soft))}.sb-block.sb-database .sb-dbc-heat-cell.level-2,.sb-block.sb-database .sb-dbc-heat-legend>i.level-2{background:color-mix(in srgb,var(--dbc-c) 50%,var(--sb-soft))}.sb-block.sb-database .sb-dbc-heat-cell.level-3,.sb-block.sb-database .sb-dbc-heat-legend>i.level-3{background:color-mix(in srgb,var(--dbc-c) 75%,var(--sb-soft))}.sb-block.sb-database .sb-dbc-heat-cell.level-4,.sb-block.sb-database .sb-dbc-heat-legend>i.level-4{background:var(--dbc-c)}.sb-block.sb-database .sb-dbc-heat-cell:not(:disabled):hover{box-shadow:inset 0 0 0 1px var(--sb-text)}.sb-block.sb-database .sb-dbc-heat-cell.is-future{opacity:.35}.sb-block.sb-database .sb-dbc-heat-cell.is-today{box-shadow:inset 0 0 0 2px var(--dbc-today)}.sb-block.sb-database .sb-dbc-heat-cell.is-picked{outline:2px solid var(--sb-text);outline-offset:1px}.sb-block.sb-database .sb-dbc-heat-legend{display:flex;align-items:center;gap:3px;justify-content:flex-end;margin-top:6px;font-size:9px;color:var(--sb-muted)}.sb-block.sb-database .sb-dbc-heat-legend>span{margin:0 3px}.sb-block.sb-database .sb-dbc-heat-day{display:grid;grid-template-columns:auto auto 1fr;align-items:start;gap:4px 8px;margin-top:10px;padding-top:8px;border-top:1px dashed var(--sb-line)}.sb-block.sb-database .sb-dbc-heat-day>strong{font-size:10px;line-height:20px}.sb-block.sb-database .sb-dbc-heat-day .sb-dbc-agenda-items{display:flex;flex-wrap:wrap;gap:4px}.sb-block.sb-database .sb-dbc-heat-day .sb-dbc-chip{width:auto;margin:0}.sb-block.sb-database .sb-dbc-detail{margin-top:10px;padding:10px 12px;border:1px solid var(--sb-line);border-top:3px solid var(--dbc-c);border-radius:6px;background:var(--sb-surface);animation:sb-reveal .15s ease-out}.sb-block.sb-database .sb-dbc-detail-head{display:flex;align-items:center;gap:8px;flex-wrap:wrap}.sb-block.sb-database .sb-dbc-detail-head>strong{font-size:12px}.sb-block.sb-database .sb-dbc-detail-head>.sb-icon-button:first-of-type{margin-left:auto}.sb-block.sb-database .sb-dbc-fields{display:grid;grid-template-columns:repeat(auto-fill,minmax(180px,1fr));gap:6px 14px;margin:8px 0 0}.sb-block.sb-database .sb-dbc-fields dt{font-size:9px;color:var(--sb-muted)}.sb-block.sb-database .sb-dbc-fields dd{margin:0;min-width:0}.sb-block.sb-database .sb-dbc-fields .sb-tag{margin:0}.sb-block.sb-database .sb-dbc-undated{margin:8px 0 0}.sb-block.sb-database .sb-dbc-empty-glyph{font-weight:700;font-size:18px}@container (max-width: 560px){.sb-block.sb-database .sb-dbc-month,.sb-block.sb-database .sb-dbc-weekgrid{display:none}.sb-block.sb-database .sb-dbc-agenda{display:block}.sb-block.sb-database .sb-dbc-agenda>li{grid-template-columns:1fr;gap:3px}.sb-block.sb-database .sb-dbc-nav>strong{min-width:0}}@media(prefers-reduced-motion:reduce){.sb-block.sb-database .sb-dbc-detail{animation:none}.sb-block.sb-database .sb-dbc-chip{transition:none}}@media print{.sb-block.sb-database .sb-dbc-nav>button,.sb-block.sb-database .sb-dbc-modes,.sb-block.sb-database .sb-dbc-add,.sb-block.sb-database .sb-dbc-detail .sb-icon-button{display:none}.sb-block.sb-database .sb-dbc-heat-scroll{overflow:visible}.sb-block.sb-database .sb-dbc-agenda{display:block;margin-top:10px}.sb-block.sb-database .sb-dbc-chip-title{white-space:normal}}
57
+ `);var ue=W(de(),1),Rv=["month","week","heatmap"],Sm=864e5,vm=3,sl=(e,t,a)=>e.find(n=>n.id===t&&n.type===a);function Pv(e,t={}){let a=sl(e,t.dateColumn,"date")??e.find(r=>r.type==="date"),n=sl(e,t.endDateColumn,"date"),o=sl(e,t.startTimeColumn,"text");return{dateColumn:a,endDateColumn:n&&n!==a?n:void 0,startTimeColumn:o,endTimeColumn:o?sl(e,t.endTimeColumn,"text"):void 0,colorColumn:t.colorColumn===""?void 0:sl(e,t.colorColumn,"select")??e.find(r=>r.type==="select"),doneColumn:sl(e,t.doneColumn,"checkbox"),mode:Rv.includes(t.mode)?t.mode:"month",initialDay:zu(t.initialDate),weekStartsOn:t.weekStartsOn===0?0:1,weeks:Number.isInteger(t.weeks)&&t.weeks>=1&&t.weeks<=j6?t.weeks:12}}function Ov(e,t){if(!e)return;let a={...e},n=(o,r)=>{a[o]!==void 0&&!sl(t,a[o],r)&&delete a[o]};return n("dateColumn","date"),n("endDateColumn","date"),n("startTimeColumn","text"),n("endTimeColumn","text"),n("colorColumn","select"),n("doneColumn","checkbox"),a.endDateColumn&&a.endDateColumn===a.dateColumn&&delete a.endDateColumn,a.startTimeColumn||delete a.endTimeColumn,a}var cl=e=>new Date(e*Sm),xm=e=>{let t=cl(e);return Math.round(Date.UTC(t.getUTCFullYear(),t.getUTCMonth(),1)/Sm)},wm=(e,t)=>{let a=cl(e);return Math.round(Date.UTC(a.getUTCFullYear(),a.getUTCMonth()+t,1)/Sm)},km=e=>`${Math.floor(e/60)}:${String(e%60).padStart(2,"0")}`,vi=(e,t)=>Array.from({length:t-e+1},(a,n)=>e+n);function cT(e){return(0,La.useMemo)(()=>{let t=a=>{let n=new Intl.DateTimeFormat(e,{...a,timeZone:"UTC"});return o=>n.format(cl(o))};return{month:t({year:"numeric",month:"long"}),monthShort:t({month:"short"}),day:t({month:"short",day:"numeric"}),full:t({year:"numeric",month:"short",day:"numeric",weekday:"short"}),weekday:t({weekday:"short"})}},[e])}function Lv({columns:e,rows:t,settings:a,editable:n,renderCell:o,onMove:r,onAdd:i,onRemove:l}){let s=le(y1),c=zl(),d=cT(c),f=(0,La.useContext)(e0),u=J=>!f?.get(J)?.readOnly.includes(a.dateColumn?.id??""),g=U6(),[b,p]=(0,La.useState)(a.mode),[x,h]=(0,La.useState)(a.initialDay??g),[m,v]=(0,La.useState)(null),[k,w]=(0,La.useState)(null),[z,P]=(0,La.useState)(null),[j,T]=(0,La.useState)(null),[S,B]=(0,La.useState)(null),O=(0,La.useRef)(null),{dateColumn:N,endDateColumn:V,startTimeColumn:R,endTimeColumn:E,colorColumn:D,doneColumn:M,weekStartsOn:Z}=a,U=e.find(J=>J.type==="text")??e[0],F=(0,La.useMemo)(()=>N?Z6(t,{dateColumn:N.id,endDateColumn:V?.id,startTimeColumn:R?.id,endTimeColumn:E?.id,doneColumn:M?.id}):[],[t,N,V,R,E,M]),_=D?Array.from(new Set([...D.options??[],...F.map(J=>se(J.row[D.id]))])).filter(Boolean):[],X=J=>{let Te=D?_.indexOf(se(J[D.id])):-1;return Te<0?"n":String(Te%5)},q=J=>({"--dbc-c":`var(--dbc-${J})`,"--dbc-c-soft":`var(--dbc-${J}-soft)`}),I=J=>!k||D&&se(J.row[D.id])===k;if((0,La.useEffect)(()=>{let J=Te=>{Te.key==="Escape"&&v(null)};if(m)return window.addEventListener("keydown",J),()=>window.removeEventListener("keydown",J)},[m]),!N)return(0,ue.jsx)(xa,{icon:(0,ue.jsx)("span",{className:"sb-dbc-empty-glyph",children:"31"}),title:s("calendar.noDateColumn"),description:s("calendar.noDateColumnHint")});let C,G,H;if(b==="month"){let J=xm(x),Te=wm(x,1)-1;C=Cl(J,Z),G=Cl(Te,Z)+6,H=d.month(J)}else b==="week"?(C=Cl(x,Z),G=C+6,H=`${d.day(C)} \u2013 ${d.day(G)}`):(G=Cl(x,Z)+6,C=G-a.weeks*7+1,H=`${d.month(C)} \u2013 ${d.month(G)}`);let ge=G6(F,C,G),re=new Set;for(let J of ge.values())for(let Te of J)re.add(Te);let he=t.length-F.length,Me=J=>{P(null),h(Te=>b==="month"?wm(Te,J):Te+J*7*(b==="week"?1:a.weeks))},Ze={month:[s("calendar.previousMonth"),s("calendar.nextMonth")],week:[s("calendar.previousWeek"),s("calendar.nextWeek")],heatmap:[s("calendar.previousRange"),s("calendar.nextRange")]}[b],Ye=vi(0,6).map(J=>d.weekday(Cl(g,Z)+J)),Je=F.find(J=>J.row.id===m),wt=J=>J.startMinute===null?"":J.endMinute===null?km(J.startMinute):`${km(J.startMinute)}\u2013${km(J.endMinute)}`,Xe=J=>{let Te=i?.(Y1(J));Te&&v(Te)},Ae=J=>{if(!S||!r)return;let Te=J-S.start;Te&&r(S.row.id,Y1(S.start+Te),V&&zu(S.row[V.id])!==null?Y1(S.end+Te):void 0),B(null)},K=J=>r&&n?{onDragOver:Te=>{S&&Te.preventDefault()},onDrop:Te=>{Te.preventDefault(),Ae(J)}}:{},xe=(J,Te,Se=!1)=>{let ye=X(J.row),me=se(J.row[U?.id])||s("untitled"),$e=wt(J);return(0,ue.jsxs)("button",{type:"button",className:["sb-dbc-chip",J.row.id===m&&"is-selected",I(J)?"":"is-faded",J.done&&"is-done",J.start<Te&&"continues-before",J.end>Te&&"continues-after"].filter(Boolean).join(" "),style:q(ye),"aria-pressed":J.row.id===m,title:[$e,me].filter(Boolean).join(" "),draggable:!!(n&&r&&u(J.row.id)),onDragStart:()=>B(J),onDragEnd:()=>B(null),onClick:()=>v(J.row.id===m?null:J.row.id),children:[M&&(0,ue.jsx)("span",{className:"sb-dbc-check","aria-hidden":"true",children:J.done?"\u2713":""}),$e&&!Se&&(0,ue.jsx)("span",{className:"sb-dbc-time",children:$e}),(0,ue.jsx)("span",{className:"sb-dbc-chip-title",children:me})]},J.row.id)},pe=J=>{let Te=J.filter(Se=>ge.get(Se).length);return(0,ue.jsxs)("ol",{className:"sb-dbc-agenda","aria-label":s("calendar.agenda"),children:[Te.map(Se=>(0,ue.jsxs)("li",{className:Se===g?"is-today":"",...K(Se),children:[(0,ue.jsxs)("span",{className:"sb-dbc-agenda-day",children:[d.full(Se),Se===g&&(0,ue.jsx)("b",{children:s("calendar.today")})]}),(0,ue.jsx)("div",{className:"sb-dbc-agenda-items",children:ge.get(Se).map(ye=>xe(ye,Se))})]},Se)),!Te.length&&(0,ue.jsx)("li",{className:"sb-dbc-agenda-empty",children:s("calendar.noRecordsInRange")})]})},Y=J=>n&&i?(0,ue.jsx)("button",{type:"button",className:"sb-icon-button sb-dbc-add","aria-label":s("calendar.addOnDay",{date:d.full(J)}),onClick:()=>Xe(J),children:(0,ue.jsx)(jt,{size:12})}):null,Pe=()=>{let J=cl(xm(x)).getUTCMonth(),Te=vi(C,G);return(0,ue.jsxs)(ue.Fragment,{children:[(0,ue.jsxs)("div",{className:"sb-dbc-month",role:"grid","aria-label":H,children:[(0,ue.jsx)("div",{className:"sb-dbc-weekdays",role:"row",children:Ye.map(Se=>(0,ue.jsx)("span",{role:"columnheader",children:Se},Se))}),vi(0,Te.length/7-1).map(Se=>(0,ue.jsx)("div",{className:"sb-dbc-week-row",role:"row",children:Te.slice(Se*7,Se*7+7).map(ye=>{let me=ge.get(ye),$e=z===ye,Et=$e?me:me.slice(0,vm);return(0,ue.jsxs)("div",{role:"gridcell","aria-label":d.full(ye),className:["sb-dbc-day",cl(ye).getUTCMonth()!==J&&"is-outside",ye===g&&"is-today"].filter(Boolean).join(" "),...K(ye),children:[(0,ue.jsxs)("div",{className:"sb-dbc-day-head",children:[(0,ue.jsx)("span",{className:"sb-dbc-day-number",children:cl(ye).getUTCDate()}),Y(ye)]}),Et.map(Q=>xe(Q,ye)),me.length>vm&&(0,ue.jsx)("button",{type:"button",className:"sb-dbc-more","aria-expanded":$e,onClick:()=>P($e?null:ye),children:$e?s("calendar.showLess"):s("calendar.moreRecords",{count:me.length-vm})})]},ye)})},Se))]}),pe(vi(xm(x),wm(x,1)-1))]})},Be=()=>{let J=vi(C,G),Te=F.some(Q=>Q.startMinute!==null&&re.has(Q)),Se=8,ye=18;for(let Q of re)Q.startMinute!==null&&(Se=Math.min(Se,Math.floor(Q.startMinute/60)),ye=Math.max(ye,Math.ceil((Q.endMinute??Q.startMinute+60)/60)));ye=Math.min(24,ye);let me=(ye-Se)*60,$e=new Date,Et=$e.getHours()*60+$e.getMinutes();return(0,ue.jsxs)(ue.Fragment,{children:[(0,ue.jsxs)("div",{className:`sb-dbc-weekgrid ${Te?"is-timed":""}`,style:{"--dbc-hours":ye-Se},children:[Te&&(0,ue.jsxs)("div",{className:"sb-dbc-axis","aria-hidden":"true",children:[(0,ue.jsx)("span",{className:"sb-dbc-axis-head"}),(0,ue.jsx)("span",{className:"sb-dbc-axis-allday",children:s("calendar.allDay")}),(0,ue.jsx)("div",{className:"sb-dbc-axis-hours",children:vi(Se,ye-1).map(Q=>(0,ue.jsxs)("span",{style:{top:`${(Q-Se)*6e3/me}%`},children:[Q,":00"]},Q))})]}),J.map(Q=>{let fe=ge.get(Q),ve=Te?fe.filter(Qe=>Qe.startMinute===null||Qe.start!==Q):fe,at=F6(fe.filter(Qe=>Qe.start===Q));return(0,ue.jsxs)("div",{className:`sb-dbc-weekday ${Q===g?"is-today":""}`,...K(Q),children:[(0,ue.jsxs)("div",{className:"sb-dbc-weekday-head",children:[(0,ue.jsx)("span",{children:d.weekday(Q)}),(0,ue.jsx)("strong",{children:d.day(Q)}),Y(Q)]}),(0,ue.jsx)("div",{className:"sb-dbc-weekday-list",children:ve.map(Qe=>xe(Qe,Q))}),Te&&(0,ue.jsxs)("div",{className:"sb-dbc-hours",children:[at.placed.map(({entry:Qe,lane:ie,end:Kt})=>(0,ue.jsx)("div",{className:"sb-dbc-slot",style:{top:`${(Qe.startMinute-Se*60)*100/me}%`,height:`${(Kt-Qe.startMinute)*100/me}%`,left:`${ie*100/at.laneCount}%`,width:`${100/at.laneCount}%`},children:xe(Qe,Q)},Qe.row.id)),Q===g&&Et>=Se*60&&Et<=ye*60&&(0,ue.jsx)("span",{className:"sb-dbc-now",style:{top:`${(Et-Se*60)*100/me}%`},children:(0,ue.jsx)("b",{children:s("calendar.now")})})]})]},Q)})]}),pe(J)]})},zt=()=>{let J=F.filter(I),Te=Math.min(g,x),Se=q6(J,{endDay:G,today:Te,weeks:a.weeks,weekStartsOn:Z,countDone:!!M}),ye=k&&D?String(_.indexOf(k)%5):null,me=j??Math.min(G,Math.max(C,Te)),$e=ve=>{let at={ArrowUp:-1,ArrowDown:1,ArrowLeft:-7,ArrowRight:7,Home:C-me,End:Se.to-me}[ve.key];if(at===void 0)return;ve.preventDefault();let Qe=Math.min(Se.to,Math.max(Se.from,me+at));T(Qe),O.current?.querySelector(`[data-day="${Qe}"]`)?.focus()},Et=Se.elapsedDays?Math.round(Se.activeDays*100/Se.elapsedDays):0,Q=ge.get(me).filter(I),fe=ve=>M?s("calendar.doneCount",{count:ve}):s("recordCount",{count:ve});return(0,ue.jsxs)("div",{className:"sb-dbc-heat",style:q(ye??"a"),children:[(0,ue.jsxs)("dl",{className:"sb-dbc-stats",children:[(0,ue.jsxs)("div",{children:[(0,ue.jsx)("dt",{children:s("calendar.currentStreak")}),(0,ue.jsx)("dd",{children:s("calendar.days",{count:Se.current})})]}),(0,ue.jsxs)("div",{children:[(0,ue.jsx)("dt",{children:s("calendar.longestStreak")}),(0,ue.jsx)("dd",{children:s("calendar.days",{count:Se.longest})})]}),(0,ue.jsxs)("div",{children:[(0,ue.jsx)("dt",{children:s("calendar.activeDays")}),(0,ue.jsxs)("dd",{children:[Se.activeDays," / ",Se.elapsedDays,(0,ue.jsxs)("small",{children:[Et,"%"]})]})]})]}),(0,ue.jsx)("div",{className:"sb-dbc-heat-scroll",children:(0,ue.jsxs)("div",{ref:O,className:"sb-dbc-heat-grid",role:"group","aria-label":s("calendar.heatmapLabel",{range:H}),style:{"--dbc-weeks":a.weeks},onKeyDown:$e,children:[(0,ue.jsx)("span",{className:"sb-dbc-heat-corner"}),vi(0,a.weeks-1).map(ve=>{let at=Se.from+ve*7,Qe=vi(at,at+6).find(ie=>cl(ie).getUTCDate()===1);return(0,ue.jsx)("span",{className:"sb-dbc-heat-month",style:{gridColumn:ve+2},"aria-hidden":"true",children:Qe!==void 0||ve===0?d.monthShort(Qe??at):""},ve)}),Ye.map((ve,at)=>(0,ue.jsx)("span",{className:"sb-dbc-heat-weekday",style:{gridRow:at+2},"aria-hidden":"true",children:at%2===0?ve:""},ve)),Se.cells.map((ve,at)=>(0,ue.jsx)("button",{type:"button","data-day":ve.day,tabIndex:ve.day===me?0:-1,className:["sb-dbc-heat-cell",`level-${ve.level}`,ve.day>g&&"is-future",ve.day===g&&"is-today",ve.day===j&&"is-picked"].filter(Boolean).join(" "),style:{gridColumn:Math.floor(at/7)+2,gridRow:at%7+2},"aria-label":`${d.full(ve.day)}: ${fe(ve.count)}`,"aria-pressed":ve.day===j,title:`${d.full(ve.day)} \xB7 ${fe(ve.count)}`,onClick:()=>T(ve.day===j?null:ve.day)},ve.day))]})}),(0,ue.jsxs)("div",{className:"sb-dbc-heat-legend","aria-hidden":"true",children:[(0,ue.jsx)("span",{children:s("calendar.less")}),[0,1,2,3,4].map(ve=>(0,ue.jsx)("i",{className:`sb-dbc-heat-cell level-${ve}`},ve)),(0,ue.jsx)("span",{children:s("calendar.more")})]}),(0,ue.jsxs)("div",{className:"sb-dbc-heat-day",children:[(0,ue.jsx)("strong",{children:d.full(me)}),Y(me),(0,ue.jsx)("div",{className:"sb-dbc-agenda-items",children:Q.length?Q.map(ve=>xe(ve,me)):(0,ue.jsx)("span",{className:"sb-dbc-muted",children:s("calendar.noRecordsOnDay")})})]})]})};return(0,ue.jsxs)("div",{className:`sb-dbc sb-dbc-${b}`,children:[(0,ue.jsxs)("div",{className:"sb-dbc-bar",children:[(0,ue.jsx)("div",{className:"sb-dbc-modes",role:"group","aria-label":s("calendar.mode"),children:Rv.map(J=>(0,ue.jsx)("button",{type:"button","aria-pressed":b===J,className:b===J?"is-active":"",onClick:()=>p(J),children:s(`calendar.mode.${J}`)},J))}),(0,ue.jsxs)("div",{className:"sb-dbc-nav",children:[(0,ue.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":Ze[0],onClick:()=>Me(-1),children:(0,ue.jsx)(Mr,{size:14})}),(0,ue.jsx)("strong",{"aria-live":"polite",children:H}),(0,ue.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":Ze[1],onClick:()=>Me(1),children:(0,ue.jsx)(_n,{size:14})}),(0,ue.jsx)("button",{type:"button",className:"sb-dbc-today",onClick:()=>{h(g),T(null)},children:s("calendar.today")})]})]}),D&&_.length>0&&(0,ue.jsxs)("div",{className:"sb-dbc-legend",role:"group","aria-label":s("calendar.colorLegend",{name:D.name}),children:[(0,ue.jsx)("button",{type:"button","aria-pressed":!k,className:k?"":"is-active",onClick:()=>w(null),children:s("allRecords")}),_.map((J,Te)=>{let Se=[...re].filter(me=>se(me.row[D.id])===J),ye=Se.reduce((me,$e)=>me+($e.startMinute!==null&&$e.endMinute!==null?$e.endMinute-$e.startMinute:0),0);return(0,ue.jsxs)("button",{type:"button","aria-pressed":k===J,className:k===J?"is-active":"",style:q(String(Te%5)),onClick:()=>w(k===J?null:J),children:[(0,ue.jsx)("i",{"aria-hidden":"true"}),J,(0,ue.jsx)("b",{children:b==="week"&&ye?s("calendar.hours",{hours:Math.round(ye/6)/10}):Se.length})]},J)})]}),b==="month"?Pe():b==="week"?Be():zt(),Je&&(0,ue.jsxs)("div",{className:"sb-dbc-detail",role:"region","aria-label":se(Je.row[U?.id])||s("untitled"),style:q(X(Je.row)),children:[(0,ue.jsxs)("div",{className:"sb-dbc-detail-head",children:[(0,ue.jsx)("strong",{children:se(Je.row[U?.id])||s("untitled")}),(0,ue.jsxs)("span",{className:"sb-dbc-muted",children:[d.full(Je.start),Je.end>Je.start&&` \u2013 ${d.full(Je.end)}`,wt(Je)&&` \xB7 ${wt(Je)}`]}),n&&l&&f?.get(Je.row.id)?.removable!==!1&&(0,ue.jsx)("button",{type:"button",className:"sb-icon-button sb-danger","aria-label":s("deleteRecord"),onClick:()=>{l(Je.row.id),v(null)},children:(0,ue.jsx)(ia,{size:13})}),(0,ue.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":s("calendar.closeDetail"),onClick:()=>v(null),children:(0,ue.jsx)(Xa,{size:13})})]}),(0,ue.jsx)("dl",{className:"sb-dbc-fields",children:e.filter(J=>n||J.id!==U?.id).map(J=>(0,ue.jsxs)("div",{children:[(0,ue.jsx)("dt",{children:J.name}),(0,ue.jsx)("dd",{children:o(Je.row,J)})]},J.id))})]}),he>0&&(0,ue.jsx)("p",{className:"sb-dbc-muted sb-dbc-undated",children:s("calendar.undated",{count:he,name:N.name})})]})}var ae=W(de(),1),Bv=[{value:"text",label:"type.text"},{value:"number",label:"type.number"},{value:"select",label:"type.select"},{value:"checkbox",label:"type.checkbox"},{value:"url",label:"type.url"},{value:"date",label:"type.date"}],dT=["table","board","calendar"],uT={text:"Aa",number:"#",select:"\u25C9",checkbox:"\u2611",url:"\u2197",date:"\u25EB"};function Cm({row:e,column:t,editable:a,update:n}){let o=le(y1),r=e[t.id];return t.type==="checkbox"?(0,ae.jsx)("input",{type:"checkbox","aria-label":t.name,checked:!!r,disabled:!a,onChange:i=>n(i.target.checked)}):a?t.type==="select"?(0,ae.jsxs)("select",{"aria-label":t.name,value:se(r),className:`sb-cell-select sb-tag-${(t.options?.indexOf(String(r))??0)%5}`,onChange:i=>n(i.target.value),children:[(0,ae.jsx)("option",{value:"",children:o("notSet")}),t.options?.map(i=>(0,ae.jsx)("option",{value:i,children:i},i)),r&&!t.options?.includes(String(r))&&(0,ae.jsx)("option",{value:String(r),children:String(r)})]}):(0,ae.jsxs)("div",{className:"sb-cell-input-wrap",children:[(0,ae.jsx)("input",{"aria-label":t.name,type:t.type==="number"||t.type==="url"?t.type:t.type==="date"?"date":"text",className:"sb-cell-input",value:se(r),placeholder:t.type==="url"?"https://\u2026":"\u2014",onChange:i=>n(t.type==="number"&&i.target.value!==""?Number(i.target.value):i.target.value)}),t.type==="url"&&Fn(r)&&(0,ae.jsx)("a",{className:"sb-icon-button",href:Fn(r),target:"_blank",rel:"noopener noreferrer","aria-label":o("openLink",{name:t.name}),children:(0,ae.jsx)(Di,{size:12})})]}):t.type==="select"&&r?(0,ae.jsx)("span",{className:`sb-tag sb-tag-${(t.options?.indexOf(String(r))??0)%5}`,children:se(r)}):t.type==="url"&&Fn(r)?(0,ae.jsxs)("a",{className:"sb-cell-link",href:Fn(r),target:"_blank",rel:"noopener noreferrer",children:[se(r),(0,ae.jsx)(Di,{size:12})]}):(0,ae.jsx)("span",{className:"sb-cell-value",children:se(r)||(0,ae.jsx)("span",{className:"sb-placeholder",children:"\u2014"})})}function Hv({data:e,onChange:t,readOnly:a}){let n=le(y1),o=(0,Ta.useMemo)(()=>Array.isArray(e.columns)?e.columns.filter(K=>K&&typeof K.id=="string").map(K=>({id:K.id,name:se(K.name,n("property")),type:Bv.some(xe=>xe.value===K.type)?K.type:"text",options:Array.isArray(K.options)?K.options.map(xe=>se(xe)):[]})):[],[e.columns,n]),r=Array.isArray(e.rows)?e.rows.filter(K=>K&&typeof K.id=="string"):[],[i,l]=(0,Ta.useState)(dT.includes(e.view)?e.view:"table"),[s,c]=(0,Ta.useState)({}),[d,f]=(0,Ta.useState)(""),[u,g]=(0,Ta.useState)(null),[b,p]=(0,Ta.useState)(!1),[x,h]=(0,Ta.useState)({column:"",value:""}),[m,v]=(0,Ta.useState)(!1),[k,w]=(0,Ta.useState)(""),[z,P]=(0,Ta.useState)([]),[j,T]=(0,Ta.useState)(""),[S,B]=(0,Ta.useState)(se(e.groupBy)),[O,N]=(0,Ta.useState)(0),[V,R]=(0,Ta.useState)(null),E=!!(t&&!a),D=(0,Ta.useContext)(e0),M=(K,xe)=>E&&!D?.get(K.id)?.readOnly.includes(xe.id),Z=K=>D?.get(K.id)?.removable??!0,U=o.filter(K=>K.type==="select"),F=o.find(K=>K.id===S&&K.type==="select")??U[0],_=u7(r,o,d,x,u),X=e.calendar&&typeof e.calendar=="object"?e.calendar:{},q=Pv(o,{...X,...s}),I=o.filter(K=>K.type==="date"),C=30,G=Math.max(1,Math.ceil(_.length/C)),H=Math.min(O,G-1),ge=x.column?Array.from(new Set(r.map(K=>String(K[x.column]??"")))):[],re=F?Array.from(new Set([...F.options??[],..._.map(K=>se(K[F.id])),""])):[""],he=(K,xe)=>t?.({...e,rows:r.map(pe=>pe.id===K?{...pe,...xe}:pe)}),Me=(K,xe,pe)=>he(K,{[xe]:pe}),Ze=(K,xe={})=>{let pe={id:zo(),...Object.fromEntries(o.map(Y=>[Y.id,Y.type==="checkbox"?!1:""])),...xe};return F&&K!==void 0&&(pe[F.id]=K),t?.({...e,rows:[...r,pe]}),N(Math.floor(r.length/C)),f(""),h({column:"",value:""}),pe.id},Ye=K=>{D?.get(K)?.removable!==!1&&t?.({...e,rows:r.filter(xe=>xe.id!==K)})},Je=K=>{g(xe=>xe?.column===K?xe.direction==="asc"?{column:K,direction:"desc"}:null:{column:K,direction:"asc"}),N(0)},wt=()=>{w(se(e.title)),P(o.map(K=>({...K,options:[...K.options??[]]}))),T(""),v(!m)},Xe=()=>{if(!z.length){T(n("error.keepOneProperty"));return}if(z.some(Y=>!Y.name.trim())){T(n("error.nameEveryProperty"));return}let K=z.map(Y=>({...Y,name:Y.name.trim(),options:[...new Set((Y.options??[]).map(Pe=>Pe.trim()).filter(Boolean))]})),xe={...e,title:k,columns:K,rows:r.map(Y=>D?.has(Y.id)?Y:{id:Y.id,...Object.fromEntries(K.map(Pe=>{let Be=Y[Pe.id],zt=Pe.type==="checkbox"?Be===!0||Be==="true":Pe.type==="number"?Be===""||Be===void 0||Be===null?"":Number.isFinite(Number(Be))?Number(Be):"":Pe.type==="date"?_6(se(Be)):se(Be);return[Pe.id,zt]}))})},pe=Ov(e.calendar?X:void 0,K);pe&&(xe.calendar=pe),xe.view==="calendar"&&!K.some(Y=>Y.type==="date")&&delete xe.view,t?.(xe),c({}),K.some(Y=>Y.id===x.column)||h({column:"",value:""}),v(!1)},Ae=(K,xe)=>P(pe=>pe.map(Y=>Y.id===K?{...Y,...xe}:Y));return(0,ae.jsxs)("section",{className:"sb-block sb-database","aria-label":Za(e.title,n("database")),children:[(0,ae.jsxs)(ma,{title:se(e.title),defaultTitle:"\u6570\u636E\u5E93",icon:(0,ae.jsx)(cu,{size:17}),editable:E,editing:m,onEdit:wt,children:[(0,ae.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":n("exportDatabase"),title:n("exportCsv"),onClick:()=>Nl($1(o,_),`${se(e.title,n("database"))}.csv`,"text/csv;charset=utf-8"),children:(0,ae.jsx)(Ar,{size:15})}),(0,ae.jsxs)("details",{className:"sb-tools-menu",children:[(0,ae.jsxs)("summary",{"aria-label":n("viewAndFilterMenu"),children:[(0,ae.jsx)(E1,{size:14,"aria-hidden":"true"}),n("viewAndFilter")]}),(0,ae.jsxs)("div",{className:"sb-database-toolbar",children:[(0,ae.jsxs)("div",{className:"sb-view-tabs",children:[(0,ae.jsxs)("button",{type:"button",className:i==="table"?"is-active":"",onClick:()=>l("table"),children:[(0,ae.jsx)(cu,{size:14}),n("table")]}),(0,ae.jsxs)("button",{type:"button",className:i==="board"?"is-active":"",onClick:()=>l("board"),children:[(0,ae.jsx)(d5,{size:14}),n("board")]}),(0,ae.jsxs)("button",{type:"button",className:i==="calendar"?"is-active":"",onClick:()=>l("calendar"),children:[(0,ae.jsx)(D1,{size:14}),n("calendar")]})]}),(0,ae.jsxs)("div",{className:"sb-database-tools",children:[(0,ae.jsx)(Q1,{label:n("searchDatabase"),value:d,onChange:K=>{f(K),N(0)}}),(0,ae.jsx)("button",{type:"button",className:`sb-icon-button ${b||x.column?"is-active":""}`,"aria-label":n("filterDatabase"),onClick:()=>p(!b),children:(0,ae.jsx)(E1,{size:15})}),E&&(0,ae.jsxs)("button",{type:"button",className:"sb-button sb-primary sb-small",onClick:()=>Ze(),children:[(0,ae.jsx)(jt,{size:14}),n("newRecord")]})]}),i==="board"&&U.length>0&&(0,ae.jsxs)("div",{className:"sb-board-grouping",children:[(0,ae.jsx)("span",{children:n("groupBy")}),(0,ae.jsx)("select",{"aria-label":n("boardGroupProperty"),value:F?.id??"",onChange:K=>B(K.target.value),children:U.map(K=>(0,ae.jsx)("option",{value:K.id,children:K.name},K.id))})]}),i==="calendar"&&q.dateColumn&&(0,ae.jsx)("div",{className:"sb-board-grouping sb-calendar-settings",children:[["dateColumn","calendar.dateProperty",I,!1],["endDateColumn","calendar.endDateProperty",I.filter(K=>K.id!==q.dateColumn?.id),!0],["colorColumn","calendar.colorProperty",U,!0],["doneColumn","calendar.doneProperty",o.filter(K=>K.type==="checkbox"),!0]].map(([K,xe,pe,Y])=>pe.length>(Y?0:1)?(0,ae.jsxs)("label",{children:[(0,ae.jsx)("span",{children:n(xe)}),(0,ae.jsxs)("select",{value:q[K]?.id??"",onChange:Pe=>c(Be=>({...Be,[K]:Pe.target.value})),children:[Y&&(0,ae.jsx)("option",{value:"",children:n("calendar.none")}),pe.map(Pe=>(0,ae.jsx)("option",{value:Pe.id,children:Pe.name},Pe.id))]})]},K):null)})]})]})]}),m&&(0,ae.jsx)(_a,{children:(0,ae.jsxs)("div",{className:"sb-editor-panel",children:[(0,ae.jsx)(je,{label:n("databaseName"),children:(0,ae.jsx)("input",{value:k,onChange:K=>w(K.target.value)})}),(0,ae.jsx)("div",{className:"sb-property-list",children:z.map(K=>(0,ae.jsxs)("div",{className:"sb-property-row",children:[(0,ae.jsx)("input",{"aria-label":n("propertyName"),value:K.name,onChange:xe=>Ae(K.id,{name:xe.target.value})}),(0,ae.jsx)("select",{"aria-label":n("propertyType",{name:K.name}),value:K.type,onChange:xe=>Ae(K.id,{type:xe.target.value}),children:Bv.map(xe=>(0,ae.jsx)("option",{value:xe.value,children:n(xe.label)},xe.value))}),K.type==="select"&&(0,ae.jsx)("input",{className:"sb-options-input","aria-label":n("propertyOptions",{name:K.name}),placeholder:n("optionsPlaceholder"),value:K.options?.join(","),onChange:xe=>Ae(K.id,{options:xe.target.value.split(/[,,]/)})}),(0,ae.jsx)("button",{type:"button",className:"sb-icon-button sb-danger","aria-label":n("deleteProperty",{name:K.name}),onClick:()=>P(xe=>xe.filter(pe=>pe.id!==K.id)),children:(0,ae.jsx)(ia,{size:14})})]},K.id))}),j&&(0,ae.jsx)("p",{role:"alert",className:"sb-error",children:j}),(0,ae.jsxs)("div",{className:"sb-panel-footer",children:[(0,ae.jsxs)("button",{type:"button",className:"sb-button",onClick:()=>P(K=>[...K,{id:zo(),name:"\u65B0\u5C5E\u6027",type:"text"}]),children:[(0,ae.jsx)(jt,{size:14}),n("addProperty")]}),(0,ae.jsxs)("button",{type:"button",className:"sb-button sb-primary",onClick:Xe,children:[(0,ae.jsx)(Ha,{size:14}),n("saveProperties")]})]})]})}),b&&(0,ae.jsxs)("div",{className:"sb-filter-row",children:[(0,ae.jsx)(E1,{size:13}),(0,ae.jsxs)("select",{"aria-label":n("filterProperty"),value:x.column,onChange:K=>{let xe=K.target.value;h({column:xe,value:xe?String(r[0]?.[xe]??""):""}),N(0)},children:[(0,ae.jsx)("option",{value:"",children:n("allRecords")}),o.map(K=>(0,ae.jsx)("option",{value:K.id,children:K.name},K.id))]}),x.column&&(0,ae.jsxs)(ae.Fragment,{children:[(0,ae.jsx)("span",{children:n("equals")}),(0,ae.jsx)("select",{"aria-label":n("filterValue"),value:x.value,onChange:K=>{h(xe=>({...xe,value:K.target.value})),N(0)},children:ge.map(K=>(0,ae.jsx)("option",{value:K,children:K||n("notSet")},K))}),(0,ae.jsx)("button",{type:"button",className:"sb-text-button",onClick:()=>h({column:"",value:""}),children:n("clear")})]})]}),i==="calendar"?(0,ae.jsx)(Lv,{columns:o,rows:_,settings:q,editable:E,renderCell:(K,xe)=>(0,ae.jsx)(Cm,{row:K,column:xe,editable:M(K,xe),update:pe=>Me(K.id,xe.id,pe)}),onMove:(K,xe,pe)=>he(K,{[q.dateColumn.id]:xe,...pe&&q.endDateColumn?{[q.endDateColumn.id]:pe}:{}}),onAdd:q.dateColumn?K=>Ze(void 0,{[q.dateColumn.id]:K}):void 0,onRemove:Ye},JSON.stringify(X)):i==="table"?(0,ae.jsxs)(ae.Fragment,{children:[(0,ae.jsx)("div",{className:"sb-table-scroll",children:(0,ae.jsxs)("table",{className:"sb-database-table",children:[(0,ae.jsx)("thead",{children:(0,ae.jsxs)("tr",{children:[o.map(K=>(0,ae.jsx)("th",{children:(0,ae.jsxs)("button",{type:"button",onClick:()=>Je(K.id),children:[(0,ae.jsx)("span",{className:"sb-type-symbol",children:uT[K.type]}),K.name,u?.column===K.id&&(u.direction==="asc"?(0,ae.jsx)(Dr,{size:12}):(0,ae.jsx)(ml,{size:12}))]})},K.id)),E&&(0,ae.jsx)("th",{className:"sb-row-action","aria-label":n("rowActions")})]})}),(0,ae.jsx)("tbody",{children:_.slice(H*C,(H+1)*C).map(K=>(0,ae.jsxs)("tr",{title:D?.get(K.id)?.label,children:[o.map(xe=>(0,ae.jsx)("td",{children:(0,ae.jsx)(Cm,{row:K,column:xe,editable:M(K,xe),update:pe=>Me(K.id,xe.id,pe)})},xe.id)),E&&(0,ae.jsx)("td",{className:"sb-row-action",children:Z(K)&&(0,ae.jsx)("button",{type:"button",className:"sb-icon-button sb-danger","aria-label":n("deleteNamedRecord",{name:se(K[o[0]?.id])}),onClick:()=>Ye(K.id),children:(0,ae.jsx)(ia,{size:13})})})]},K.id))})]})}),_.length===0&&(0,ae.jsx)(xa,{icon:(0,ae.jsx)(S5,{size:25,strokeWidth:1.4}),title:r.length?n("empty.noMatches"):n("empty.start")})]}):(0,ae.jsx)(ae.Fragment,{children:(0,ae.jsx)("div",{className:"sb-board",children:re.map((K,xe)=>{let pe=F?_.filter(Y=>se(Y[F.id])===K):_;return(0,ae.jsxs)("div",{className:`sb-board-column ${V?"is-droppable":""}`,onDragOver:Y=>{E&&F&&V&&Y.preventDefault()},onDrop:Y=>{!E||!F||!V||(Y.preventDefault(),Me(V,F.id,K),R(null))},children:[(0,ae.jsxs)("div",{className:"sb-board-column-header",children:[(0,ae.jsx)("span",{className:`sb-tag sb-tag-${xe%5}`,children:K||n(F?"notSet":"allRecords")}),(0,ae.jsx)("span",{children:pe.length}),E&&(0,ae.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":n("newRecordIn",{group:K||n("notSet")}),onClick:()=>Ze(K),children:(0,ae.jsx)(jt,{size:14})})]}),pe.map(Y=>(0,ae.jsxs)("div",{className:`sb-board-card ${V===Y.id?"is-dragging":""}`,draggable:E&&!!F,onDragStart:()=>R(Y.id),onDragEnd:()=>R(null),children:[o.filter(Pe=>Pe.id!==F?.id).map((Pe,Be)=>(0,ae.jsxs)("div",{className:Be===0?"sb-board-card-title":"sb-board-card-field",children:[Be>0&&(0,ae.jsx)("span",{children:Pe.name}),(0,ae.jsx)(Cm,{row:Y,column:Pe,editable:M(Y,Pe),update:zt=>Me(Y.id,Pe.id,zt)})]},Pe.id)),E&&(0,ae.jsxs)("div",{className:"sb-board-card-footer",children:[F&&(0,ae.jsxs)("select",{"aria-label":n("moveToGroup"),value:se(Y[F.id]),onChange:Pe=>Me(Y.id,F.id,Pe.target.value),children:[(0,ae.jsx)("option",{value:"",children:n("notSet")}),re.filter(Boolean).map(Pe=>(0,ae.jsx)("option",{children:Pe},Pe))]}),Z(Y)&&(0,ae.jsx)("button",{type:"button",className:"sb-icon-button sb-danger","aria-label":n("deleteRecord"),onClick:()=>Ye(Y.id),children:(0,ae.jsx)(ia,{size:13})})]})]},Y.id)),E&&(0,ae.jsxs)("button",{type:"button",className:"sb-add-row",onClick:()=>Ze(K),children:[(0,ae.jsx)(jt,{size:13}),n("addRecord")]})]},K)})})}),(0,ae.jsxs)("div",{className:"sb-database-footer",children:[(0,ae.jsxs)("span",{children:[_.length===r.length?n("recordCount",{count:r.length}):n("filteredRecordCount",{shown:_.length,count:r.length}),u&&(0,ae.jsx)("button",{type:"button",className:"sb-text-button",onClick:()=>g(null),children:n("clearSort")})]}),i==="table"&&G>1&&(0,ae.jsxs)("div",{className:"sb-pagination",children:[(0,ae.jsx)("button",{type:"button",disabled:H===0,onClick:()=>N(H-1),children:n("previousPage")}),(0,ae.jsxs)("span",{children:[H+1," / ",G]}),(0,ae.jsx)("button",{type:"button",disabled:H+1===G,onClick:()=>N(H+1),children:n("nextPage")})]})]})]})}var yn=W(De(),1),Uv=W(Vn(),1);var Od=ct("gallery",{"zh-CN":{gallery:"\u56FE\u7247\u753B\u5ECA","error.unsupportedType":"\u652F\u6301 PNG\u3001JPEG\u3001GIF\u3001WebP \u548C AVIF \u56FE\u7247\u3002","error.tooLarge":"\u300C{name}\u300D\u4E3A {size}\uFF0C\u5355\u4E2A\u8D44\u6E90\u4E0A\u9650 {limit}\u3002","error.cannotRead":"\u65E0\u6CD5\u8BFB\u53D6\u300C{name}\u300D\u3002","error.readFailed":"\u56FE\u7247\u8BFB\u53D6\u5931\u8D25\u3002","error.importFailed":"\u56FE\u7247\u5BFC\u5165\u5931\u8D25\u3002","error.invalidSource":"\u6BCF\u5F20\u56FE\u7247\u9700\u8981\u6709\u6548\u7684\u7F51\u5740\u6216\u672C\u5730\u56FE\u7247\u3002",imagePreview:"\u56FE\u7247\u9884\u89C8",closePreview:"\u5173\u95ED\u56FE\u7247\u9884\u89C8",previousImage:"\u4E0A\u4E00\u5F20\u56FE\u7247",nextImage:"\u4E0B\u4E00\u5F20\u56FE\u7247",title:"\u6807\u9898",arrangement:"\u6392\u5217",oneColumn:"\u5355\u5217",twoColumns:"\u4E24\u5217",threeColumns:"\u4E09\u5217",imageAddress:"\u56FE\u7247 {index} \u5730\u5740",embeddedImage:"\u5DF2\u5D4C\u5165\u672C\u5730\u56FE\u7247",altText:"\u56FE\u7247\u63CF\u8FF0",caption:"\u56FE\u6CE8",moveUp:"\u4E0A\u79FB\u56FE\u7247 {index}",moveDown:"\u4E0B\u79FB\u56FE\u7247 {index}",deleteImage:"\u5220\u9664\u56FE\u7247 {index}",chooseLocalImages:"\u9009\u62E9\u672C\u5730\u56FE\u7247",reading:"\u8BFB\u53D6\u4E2D\u2026",uploadImages:"\u4E0A\u4F20\u56FE\u7247",addLink:"\u6DFB\u52A0\u94FE\u63A5",saveGallery:"\u4FDD\u5B58\u753B\u5ECA",viewImage:"\u67E5\u770B\u56FE\u7247\uFF1A{name}","empty.title":"\u7ED9\u60F3\u6CD5\u66F4\u591A\u753B\u9762",addImages:"\u6DFB\u52A0\u56FE\u7247"},en:{gallery:"Image gallery","error.unsupportedType":"Supported images: PNG, JPEG, GIF, WebP, and AVIF.","error.tooLarge":"\u201C{name}\u201D is {size}. Each resource can be up to {limit}.","error.cannotRead":"Couldn't read \u201C{name}\u201D.","error.readFailed":"Couldn't read the image.","error.importFailed":"Couldn't import the images.","error.invalidSource":"Each image needs a valid URL or a local image.",imagePreview:"Image preview",closePreview:"Close image preview",previousImage:"Previous image",nextImage:"Next image",title:"Title",arrangement:"Layout",oneColumn:"One column",twoColumns:"Two columns",threeColumns:"Three columns",imageAddress:"Image {index} URL",embeddedImage:"Embedded local image",altText:"Image description",caption:"Caption",moveUp:"Move image {index} up",moveDown:"Move image {index} down",deleteImage:"Delete image {index}",chooseLocalImages:"Choose local images",reading:"Reading\u2026",uploadImages:"Upload images",addLink:"Add link",saveGallery:"Save gallery",viewImage:"View image: {name}","empty.title":"Give your ideas more pictures",addImages:"Add images"}});var Ee=W(de(),1),jv=So.resourceBytes,Ld=kt(Od),pT=new Set(["image/png","image/jpeg","image/gif","image/webp","image/avif"]);function mT(e){return pT.has(e.type)?e.size>jv?Promise.reject(new Error(Ld("error.tooLarge",{name:e.name,size:hl(e.size),limit:hl(jv)}))):new Promise((t,a)=>{let n=new FileReader;n.onerror=()=>a(new Error(Ld("error.cannotRead",{name:e.name}))),n.onload=()=>typeof n.result=="string"?t(n.result):a(new Error(Ld("error.readFailed"))),n.readAsDataURL(e)}):Promise.reject(new Error(Ld("error.unsupportedType")))}function fT({images:e,index:t,onIndex:a,close:n,portalHost:o}){let r=le(Od),i=(0,yn.useRef)(null);(0,yn.useEffect)(()=>{let s=document.activeElement,c=o.style.overflow;return o.style.overflow="hidden",i.current?.focus(),()=>{o.style.overflow=c,s?.focus({preventScroll:!0})}},[o]);let l=e[t];return l?(0,Uv.createPortal)((0,Ee.jsxs)("div",{className:"sb-lightbox",role:"dialog","aria-modal":"true","aria-label":l.alt||r("imagePreview"),onClick:s=>{s.target===s.currentTarget&&n()},onKeyDown:s=>{if(s.key==="Escape"&&(s.stopPropagation(),n()),s.key==="ArrowLeft"&&(s.preventDefault(),a((t-1+e.length)%e.length)),s.key==="ArrowRight"&&(s.preventDefault(),a((t+1)%e.length)),s.key==="Tab"){let c=Array.from(s.currentTarget.querySelectorAll("button")),d=c[0],f=c.at(-1);s.shiftKey&&document.activeElement===d&&(s.preventDefault(),f?.focus()),!s.shiftKey&&document.activeElement===f&&(s.preventDefault(),d?.focus())}},children:[(0,Ee.jsx)("button",{ref:i,type:"button",className:"sb-lightbox-close","aria-label":r("closePreview"),onClick:n,children:(0,Ee.jsx)(Xa,{size:24})}),e.length>1&&(0,Ee.jsx)("button",{type:"button",className:"sb-lightbox-prev","aria-label":r("previousImage"),onClick:()=>a((t-1+e.length)%e.length),children:(0,Ee.jsx)(Mr,{size:28})}),(0,Ee.jsxs)("figure",{children:[(0,Ee.jsx)("img",{src:qn(l.src),alt:l.alt,referrerPolicy:"no-referrer"}),(0,Ee.jsxs)("figcaption",{children:[l.caption||l.alt,(0,Ee.jsxs)("span",{children:[t+1," / ",e.length]})]})]}),e.length>1&&(0,Ee.jsx)("button",{type:"button",className:"sb-lightbox-next","aria-label":r("nextImage"),onClick:()=>a((t+1)%e.length),children:(0,Ee.jsx)(_n,{size:28})})]}),o):null}function _v({data:e,onChange:t,readOnly:a}){let n=le(Od),o=(0,yn.useRef)(null),r=Array.isArray(e.images)?e.images.filter(N=>N&&typeof N=="object").map((N,V)=>({id:se(N.id,String(V)),src:se(N.src),alt:se(N.alt),caption:se(N.caption)})):[],[i,l]=(0,yn.useState)(!1),[s,c]=(0,yn.useState)(""),[d,f]=(0,yn.useState)([]),[u,g]=(0,yn.useState)(2),[b,p]=(0,yn.useState)(""),[x,h]=(0,yn.useState)(!1),[m,v]=(0,yn.useState)(null),k=(0,yn.useRef)(null),w=!!(t&&!a),z=r.filter(N=>qn(N.src)),P=e.columns===1||e.columns===3?e.columns:2,j=()=>{c(se(e.title)),f(r.map(N=>({...N}))),g(P),p(""),l(!i)},T=(N,V)=>f(R=>R.map((E,D)=>D===N?{...E,...V}:E)),S=(N,V)=>f(R=>{let E=[...R];return[E[N],E[N+V]]=[E[N+V],E[N]],E}),B=async N=>{if(N?.length){h(!0),p("");try{let V=await Promise.all(Array.from(N).map(async R=>({id:zo(),src:await mT(R),alt:R.name.replace(/\.[^.]+$/,""),caption:""})));Pr([...d,...V],"Gallery structure"),f(R=>[...R,...V])}catch(V){p(V instanceof Error?V.message:n("error.importFailed"))}finally{h(!1),k.current&&(k.current.value="")}}},O=()=>{if(d.some(N=>!qn(N.src.trim()))){p(n("error.invalidSource"));return}t?.({...e,title:s,columns:u,images:d.map(N=>({...N,src:N.src.trim()}))}),l(!1)};return(0,Ee.jsxs)("section",{ref:o,className:"sb-block sb-gallery","aria-label":Za(e.title,n("gallery")),children:[(0,Ee.jsx)(ma,{title:se(e.title),defaultTitle:"\u56FE\u7247\u753B\u5ECA",description:se(e.description),icon:(0,Ee.jsx)(N1,{size:17}),editable:w&&!x,editing:i,onEdit:j}),i&&(0,Ee.jsx)(_a,{children:(0,Ee.jsxs)("div",{className:"sb-editor-panel",children:[(0,Ee.jsxs)("div",{className:"sb-form-row",children:[(0,Ee.jsx)(je,{label:n("title"),children:(0,Ee.jsx)("input",{value:s,onChange:N=>c(N.target.value)})}),(0,Ee.jsx)(je,{label:n("arrangement"),children:(0,Ee.jsxs)("select",{value:u,onChange:N=>g(Number(N.target.value)),children:[(0,Ee.jsx)("option",{value:1,children:n("oneColumn")}),(0,Ee.jsx)("option",{value:2,children:n("twoColumns")}),(0,Ee.jsx)("option",{value:3,children:n("threeColumns")})]})})]}),d.map((N,V)=>(0,Ee.jsxs)("div",{className:"sb-gallery-editor",children:[(0,Ee.jsx)("div",{className:"sb-gallery-editor-preview",children:qn(N.src)?(0,Ee.jsx)("img",{src:qn(N.src),alt:"",referrerPolicy:"no-referrer"}):(0,Ee.jsx)(N1,{size:20})}),(0,Ee.jsxs)("div",{className:"sb-gallery-editor-fields",children:[(0,Ee.jsx)(je,{label:n("imageAddress",{index:V+1}),children:(0,Ee.jsx)("input",{value:N.src.startsWith("data:")?n("embeddedImage"):N.src,readOnly:N.src.startsWith("data:"),placeholder:"https://\u2026",onChange:R=>T(V,{src:R.target.value})})}),(0,Ee.jsx)(je,{label:n("altText"),children:(0,Ee.jsx)("input",{value:N.alt,onChange:R=>T(V,{alt:R.target.value})})}),(0,Ee.jsx)(je,{label:n("caption"),children:(0,Ee.jsx)("input",{value:N.caption,onChange:R=>T(V,{caption:R.target.value})})})]}),(0,Ee.jsxs)("div",{className:"sb-gallery-editor-actions",children:[(0,Ee.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":n("moveUp",{index:V+1}),disabled:V===0||x,onClick:()=>S(V,-1),children:(0,Ee.jsx)(Dr,{size:14})}),(0,Ee.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":n("moveDown",{index:V+1}),disabled:V===d.length-1||x,onClick:()=>S(V,1),children:(0,Ee.jsx)(ml,{size:14})}),(0,Ee.jsx)("button",{type:"button",className:"sb-icon-button sb-danger","aria-label":n("deleteImage",{index:V+1}),disabled:x,onClick:()=>f(R=>R.filter((E,D)=>D!==V)),children:(0,Ee.jsx)(ia,{size:14})})]})]},N.id)),(0,Ee.jsx)("input",{className:"sb-hidden",ref:k,type:"file",accept:"image/png,image/jpeg,image/gif,image/webp,image/avif",multiple:!0,"aria-label":n("chooseLocalImages"),onChange:N=>{B(N.target.files)}}),b&&(0,Ee.jsx)("p",{className:"sb-error",role:"alert",children:b}),(0,Ee.jsxs)("div",{className:"sb-panel-footer",children:[(0,Ee.jsxs)("div",{className:"sb-actions",children:[(0,Ee.jsxs)("button",{type:"button",className:"sb-button",disabled:x,onClick:()=>k.current?.click(),children:[(0,Ee.jsx)(A1,{size:14}),n(x?"reading":"uploadImages")]}),(0,Ee.jsxs)("button",{type:"button",className:"sb-button",disabled:x,onClick:()=>f(N=>[...N,{id:zo(),src:"",alt:"",caption:""}]),children:[(0,Ee.jsx)(jt,{size:14}),n("addLink")]})]}),(0,Ee.jsxs)("button",{type:"button",className:"sb-button sb-primary",disabled:x,onClick:O,children:[(0,Ee.jsx)(Ha,{size:14}),n("saveGallery")]})]})]})}),z.length?(0,Ee.jsx)("div",{className:`sb-gallery-grid sb-gallery-columns-${P}`,children:z.map((N,V)=>(0,Ee.jsxs)("figure",{children:[(0,Ee.jsxs)("button",{type:"button",onClick:()=>v(V),"aria-label":n("viewImage",{name:N.alt||N.caption||V+1}),children:[(0,Ee.jsx)("img",{src:qn(N.src),alt:N.alt,loading:"lazy",referrerPolicy:"no-referrer"}),(0,Ee.jsx)("span",{className:"sb-gallery-expand",children:(0,Ee.jsx)(f5,{size:16})})]}),N.caption&&(0,Ee.jsx)("figcaption",{children:N.caption})]},`${N.id}-${V}`))}):(0,Ee.jsx)(xa,{icon:(0,Ee.jsx)(N1,{size:29,strokeWidth:1.4}),title:n("empty.title"),action:w&&!i?(0,Ee.jsxs)("button",{type:"button",className:"sb-button",onClick:j,children:[(0,Ee.jsx)(jt,{size:14}),n("addImages")]}):void 0}),m!==null&&z[m]&&(0,Ee.jsx)(fT,{images:z,index:m,onIndex:v,close:()=>v(null),portalHost:o.current?.closest("[data-showai-inline-root]")??document.body})]})}var xi=W(De(),1);var Vv=ct("metrics",{"zh-CN":{metrics:"\u5173\u952E\u6307\u6807",title:"\u6807\u9898",name:"\u540D\u79F0",value:"\u6570\u503C",unit:"\u5355\u4F4D",detail:"\u8BF4\u660E",trend:"\u53D8\u5316\u7387 %\uFF08\u53EF\u7559\u7A7A\uFF09",deleteMetric:"\u5220\u9664\u6307\u6807{label}",newMetric:"\u65B0\u6307\u6807",addMetric:"\u6DFB\u52A0\u6307\u6807",emptyTitle:"\u628A\u5173\u952E\u6570\u5B57\u653E\u5728\u773C\u524D"},en:{metrics:"Key metrics",title:"Title",name:"Name",value:"Value",unit:"Unit",detail:"Description",trend:"Change % (optional)",deleteMetric:"Delete metric {label}",newMetric:"New metric",addMetric:"Add metric",emptyTitle:"Keep the key numbers in view"}});var qe=W(de(),1),gT=/^(\D*?)(-?\d{1,3}(?:,\d{3})+|-?\d+)(\.\d+)?(\D*)$/;function bT({value:e}){let t=(0,xi.useRef)(null);return(0,xi.useLayoutEffect)(()=>{let a=t.current,n=gT.exec(e);if(!a||!n||typeof IntersectionObserver>"u"||matchMedia("(prefers-reduced-motion: reduce)").matches||a.closest(".component-capture-stage"))return;let[,o,r,i="",l]=n,s=Number(r.replaceAll(",","")+i),c=!i&&/^(19|20)\d\d$/.test(r);if(!s||c)return;let d=Math.max(0,i.length-1),f=x=>o+x.toLocaleString("en-US",{minimumFractionDigits:d,maximumFractionDigits:d,useGrouping:r.includes(",")})+l,u=0,g=()=>{b.disconnect(),a.setAttribute("aria-busy","true"),a.textContent=f(0);let x=performance.now(),h=m=>{let v=Math.min(1,(m-x)/1e3);a.textContent=v<1?f(s*(1-(1-v)**4)):e,v<1?u=requestAnimationFrame(h):a.removeAttribute("aria-busy")};u=requestAnimationFrame(h)},b=new IntersectionObserver(x=>{x.some(h=>h.isIntersecting)&&g()}),p=a.getBoundingClientRect();return document.visibilityState==="visible"&&p.bottom>0&&p.top<innerHeight?g():b.observe(a),()=>{b.disconnect(),cancelAnimationFrame(u),a.removeAttribute("aria-busy"),a.textContent=e}},[e]),(0,qe.jsx)("span",{ref:t,className:"sb-metric-figure",children:e})}function Zv({data:e,onChange:t,readOnly:a}){let n=le(Vv),o=le(la),[r,i]=(0,xi.useState)(!1),[l,s]=(0,xi.useState)(""),[c,d]=(0,xi.useState)([]),f=Array.isArray(e.items)?e.items:[],u=!!(t&&!a),g=()=>{s(se(e.title)),d(f.map(p=>({...p}))),i(!r)},b=(p,x)=>d(h=>h.map((m,v)=>v===p?{...m,...x}:m));return(0,qe.jsxs)("section",{className:"sb-block sb-metrics","aria-label":Za(e.title,n("metrics")),children:[(0,qe.jsx)(ma,{title:se(e.title),defaultTitle:n("metrics"),icon:(0,qe.jsx)(nu,{size:17}),editable:u,editing:r,onEdit:g}),r&&(0,qe.jsx)(_a,{children:(0,qe.jsxs)("div",{className:"sb-editor-panel",children:[(0,qe.jsx)(je,{label:n("title"),children:(0,qe.jsx)("input",{value:l,onChange:p=>s(p.target.value)})}),(0,qe.jsx)("div",{className:"sb-metric-editors",children:c.map((p,x)=>(0,qe.jsxs)("div",{className:"sb-metric-editor",children:[(0,qe.jsxs)("div",{className:"sb-form-row",children:[(0,qe.jsx)(je,{label:n("name"),children:(0,qe.jsx)("input",{value:p.label,onChange:h=>b(x,{label:h.target.value})})}),(0,qe.jsx)(je,{label:n("value"),children:(0,qe.jsx)("input",{value:p.value,onChange:h=>b(x,{value:h.target.value})})}),(0,qe.jsx)(je,{label:n("unit"),children:(0,qe.jsx)("input",{value:p.unit??"",onChange:h=>b(x,{unit:h.target.value})})})]}),(0,qe.jsxs)("div",{className:"sb-form-row",children:[(0,qe.jsx)(je,{label:n("detail"),children:(0,qe.jsx)("input",{value:p.detail??"",onChange:h=>b(x,{detail:h.target.value})})}),(0,qe.jsx)(je,{label:n("trend"),children:(0,qe.jsx)("input",{type:"number",value:p.trend??"",onChange:h=>b(x,{trend:h.target.value===""?void 0:Number(h.target.value)})})}),(0,qe.jsx)("button",{type:"button",className:"sb-icon-button sb-danger","aria-label":n("deleteMetric",{label:p.label}),onClick:()=>d(h=>h.filter((m,v)=>v!==x)),children:(0,qe.jsx)(ia,{size:14})})]})]},x))}),(0,qe.jsxs)("div",{className:"sb-panel-footer",children:[(0,qe.jsxs)("button",{type:"button",className:"sb-button",onClick:()=>d(p=>[...p,{label:n("newMetric"),value:""}]),children:[(0,qe.jsx)(jt,{size:14}),n("addMetric")]}),(0,qe.jsxs)("button",{type:"button",className:"sb-button sb-primary",onClick:()=>{t?.({...e,title:l,items:c.map(({trend:p,...x})=>({...x,...typeof p=="number"&&Number.isFinite(p)?{trend:p}:{}}))}),i(!1)},children:[(0,qe.jsx)(Ha,{size:14}),o("save")]})]})]})}),f.length?(0,qe.jsx)("div",{className:"sb-metric-grid",children:f.map((p,x)=>(0,qe.jsxs)("div",{className:"sb-metric",children:[(0,qe.jsx)("span",{className:"sb-metric-label",children:se(p.label)}),(0,qe.jsxs)("div",{className:"sb-metric-value",children:[(0,qe.jsx)(bT,{value:se(p.value,"\u2014")}),(0,qe.jsx)("span",{children:se(p.unit)})]}),(0,qe.jsxs)("div",{className:"sb-metric-foot",children:[typeof p.trend=="number"&&(0,qe.jsxs)("span",{className:`sb-trend ${p.trend<0?"is-negative":""}`,children:[p.trend<0?(0,qe.jsx)(n5,{size:13}):(0,qe.jsx)(C1,{size:13}),Math.abs(El(p.trend)),"%"]}),p.detail&&(0,qe.jsx)("span",{children:se(p.detail)})]})]},x))}):(0,qe.jsx)(xa,{icon:(0,qe.jsx)(nu,{size:28,strokeWidth:1.4}),title:n("emptyTitle"),action:u&&!r?(0,qe.jsxs)("button",{type:"button",className:"sb-button",onClick:g,children:[(0,qe.jsx)(jt,{size:14}),n("addMetric")]}):void 0})]})}var Ka=W(De(),1);rt(`.sb-block.sb-playground{--pg-c1: #4b6fae;--pg-c2: #c98a3a;--pg-c3: #3f8b78;--pg-c4: #8a62b0;--pg-c5: #c0584f;--pg-c6: #5d9a45;--pg-c7: #b56a8f;--pg-c8: #7a8590;--pg-good: #2f6b4f;--pg-bad: #b0473f;container-type:inline-size}:root[data-theme=dark] .sb-block.sb-playground,[data-theme=dark] .sb-block.sb-playground{--pg-c1: #86a6e0;--pg-c2: #e2ab65;--pg-c3: #6fc0aa;--pg-c4: #b597d6;--pg-c5: #e48b83;--pg-c6: #94c77d;--pg-c7: #d99abb;--pg-c8: #a7b0b9;--pg-good: #7cc3a0;--pg-bad: #e48b83}.sb-block.sb-playground .pg-visually-hidden{position:absolute;width:1px;height:1px;overflow:hidden;clip:rect(0 0 0 0);white-space:nowrap}.sb-block.sb-playground .pg-hint{margin:4px 0 0;font-size:10px;line-height:1.5;color:var(--sb-muted)}.sb-block.sb-playground .pg-editor-note{margin:0;font-size:11px;color:var(--sb-muted)}.sb-block.sb-playground .pg-presets{display:flex;flex-wrap:wrap;gap:6px;margin-bottom:-6px}.sb-block.sb-playground .pg-chip{border:1px solid var(--sb-line);border-radius:999px;padding:3px 11px;font-size:11px;font-weight:600;color:var(--sb-text);background:var(--sb-surface)}.sb-block.sb-playground .pg-chip[aria-pressed=true]{background:var(--sb-accent);border-color:var(--sb-accent);color:var(--sb-surface)}.sb-block.sb-playground .pg-stepper-row,.sb-block.sb-playground .pg-toggle-row{display:flex;align-items:center;justify-content:space-between;gap:12px;font-size:11px}.sb-block.sb-playground .pg-toggle-copy{min-width:0}.sb-block.sb-playground .pg-stepper{flex:none;display:inline-flex;align-items:center;border:1px solid var(--sb-line);border-radius:999px;background:var(--sb-surface);overflow:hidden}.sb-block.sb-playground .pg-stepper button{width:32px;height:30px;display:grid;place-items:center;color:var(--sb-text)}.sb-block.sb-playground .pg-stepper output{min-width:52px;text-align:center;font-size:13px;font-weight:600;font-variant-numeric:tabular-nums}.sb-block.sb-playground .pg-stepper small{margin-left:3px;font-size:10px;font-weight:400;color:var(--sb-muted)}.sb-block.sb-playground .pg-switch{flex:none;position:relative;width:36px;height:20px;border-radius:999px;background:var(--sb-line)}.sb-block.sb-playground .pg-switch span{position:absolute;top:2px;left:2px;width:16px;height:16px;border-radius:50%;background:var(--sb-surface);box-shadow:0 1px 2px #0003;transition:transform .15s}.sb-block.sb-playground .pg-switch[aria-checked=true],.sb-block.sb-playground .sb-block .pg-switch[aria-checked=true]:not(:disabled):hover{background:var(--sb-accent)}.sb-block.sb-playground .pg-switch[aria-checked=true] span{transform:translate(16px)}.sb-block.sb-playground .pg-choices{display:grid;grid-template-columns:repeat(auto-fit,minmax(120px,1fr));gap:7px}.sb-block.sb-playground .pg-choice{display:flex;flex-direction:column;align-items:flex-start;gap:2px;padding:8px 10px;border:1.5px solid var(--sb-line);border-radius:8px;background:var(--sb-surface);text-align:left;min-width:0}.sb-block.sb-playground .pg-choice[aria-checked=true]{border-color:var(--sb-accent);background:var(--sb-accent-soft)}.sb-block.sb-playground .pg-choice b{font-size:12px;font-weight:600}.sb-block.sb-playground .pg-choice span{font-size:10px;line-height:1.45;color:var(--sb-muted)}.sb-block.sb-playground .sb-calculation-result.pg-results{justify-content:flex-start;gap:12px}.sb-block.sb-playground .pg-headline,.sb-block.sb-playground .pg-figure{display:flex;flex-direction:column;min-width:0;width:100%}.sb-block.sb-playground .pg-headline>strong{font-size:30px;font-weight:500;color:var(--sb-accent);letter-spacing:-1px;line-height:1.4;overflow-wrap:anywhere;font-variant-numeric:tabular-nums}.sb-block.sb-playground .pg-headline small,.sb-block.sb-playground .pg-figure small{font-size:10px;color:var(--sb-muted);letter-spacing:0;font-weight:400;margin-left:4px}.sb-block.sb-playground .pg-figure{flex-direction:row;flex-wrap:wrap;justify-content:space-between;align-items:baseline;gap:2px 10px;padding-top:8px;border-top:1px solid var(--sb-line)}.sb-block.sb-playground .pg-figure>b{font-size:15px;font-weight:600;color:var(--sb-text);font-variant-numeric:tabular-nums}.sb-block.sb-playground .pg-figure>.pg-hint,.sb-block.sb-playground .pg-figure>.pg-target{flex-basis:100%}.sb-block.sb-playground .pg-target{width:100%;margin-top:8px}.sb-block.sb-playground .pg-target-track{position:relative;height:8px;border-radius:4px;background:var(--sb-line)}.sb-block.sb-playground .pg-target-fill{position:absolute;inset:0 auto 0 0;border-radius:4px;transition:width .25s ease,background .25s}.sb-block.sb-playground .is-hit .pg-target-fill{background:var(--pg-good)}.sb-block.sb-playground .is-miss .pg-target-fill{background:var(--pg-bad)}.sb-block.sb-playground .pg-target-mark{position:absolute;top:-4px;bottom:-4px;width:2px;margin-left:-1px;background:var(--sb-text)}.sb-block.sb-playground .pg-target-copy{display:flex;flex-wrap:wrap;justify-content:space-between;gap:2px 10px;margin-top:6px;font-size:10px}.sb-block.sb-playground .pg-target-copy b{font-size:11px}.sb-block.sb-playground .is-hit .pg-target-copy b{color:var(--pg-good)}.sb-block.sb-playground .is-miss .pg-target-copy b{color:var(--pg-bad)}.sb-block.sb-playground .pg-note{margin:0;font-size:10px;line-height:1.5;color:var(--sb-muted)}.sb-block.sb-playground .pg-note-wide{padding:0 22px 20px}.sb-block.sb-playground .pg-section-title{font-size:10px;font-weight:600;letter-spacing:.3px;color:var(--sb-muted)}.sb-block.sb-playground .pg-breakdown{width:100%;display:flex;flex-direction:column;gap:6px;padding-top:8px;border-top:1px solid var(--sb-line)}.sb-block.sb-playground .pg-bar{display:flex;height:10px;border-radius:5px;overflow:hidden;background:var(--sb-line)}.sb-block.sb-playground .pg-bar span{height:100%;transition:width .3s ease}.sb-block.sb-playground .pg-bar .is-negative,.sb-block.sb-playground .pg-table i.is-negative{background-image:repeating-linear-gradient(135deg,transparent 0 3px,color-mix(in srgb,var(--sb-surface) 70%,transparent) 3px 5px)!important}.sb-block.sb-playground .pg-table{width:100%;border-collapse:collapse;font-size:11px;color:var(--sb-text);font-variant-numeric:tabular-nums}.sb-block.sb-playground .pg-table thead th{font-size:9px;font-weight:500;color:var(--sb-muted);text-align:right;padding:0 0 3px 8px}.sb-block.sb-playground .pg-table thead th:first-child{text-align:left;padding-left:0}.sb-block.sb-playground .pg-table tbody th{font-weight:400;text-align:left;padding:3px 0;display:flex;align-items:center;gap:6px;min-width:0}.sb-block.sb-playground .pg-table td{text-align:right;padding:3px 0 3px 8px;white-space:nowrap}.sb-block.sb-playground .pg-table td:nth-child(2){font-weight:600}.sb-block.sb-playground .pg-table td:last-child{color:var(--sb-muted)}.sb-block.sb-playground .pg-table i{flex:none;width:9px;height:9px;border-radius:2px}.sb-block.sb-playground .pg-ranking-body{grid-template-columns:minmax(0,.85fr) minmax(0,1.4fr)}.sb-block.sb-playground .pg-ranking-wide{padding:0 22px 24px}.sb-block.sb-playground .pg-ranking{min-width:0;display:flex;flex-direction:column;gap:10px}.sb-block.sb-playground .pg-ranking-head{display:flex;flex-direction:column;gap:6px}.sb-block.sb-playground .pg-legend{list-style:none;margin:0;padding:0;display:flex;flex-wrap:wrap;gap:4px 12px;font-size:10px}.sb-block.sb-playground .pg-legend li{display:inline-flex;align-items:center;gap:5px}.sb-block.sb-playground .pg-legend li.is-off{opacity:.45}.sb-block.sb-playground .pg-legend i{width:9px;height:9px;border-radius:2px}.sb-block.sb-playground .pg-legend b{font-weight:600;font-variant-numeric:tabular-nums}.sb-block.sb-playground .pg-rank-list{list-style:none;margin:0;padding:0;display:flex;flex-direction:column}.sb-block.sb-playground .pg-rank-list li{display:grid;grid-template-columns:22px minmax(90px,.9fr) minmax(0,1.4fr) 40px;align-items:center;gap:10px;padding:7px 0;border-bottom:1px solid var(--sb-line);background:var(--sb-surface)}.sb-block.sb-playground .pg-rank-number{font-size:11px;color:var(--sb-muted);text-align:center;font-variant-numeric:tabular-nums}.sb-block.sb-playground .is-first .pg-rank-number{color:var(--sb-surface);background:var(--sb-accent);border-radius:50%;width:20px;height:20px;line-height:20px}.sb-block.sb-playground .pg-rank-copy{display:flex;flex-direction:column;min-width:0}.sb-block.sb-playground .pg-rank-copy b{font-size:12px;font-weight:600}.sb-block.sb-playground .pg-rank-copy span{font-size:10px;color:var(--sb-muted);line-height:1.4}.sb-block.sb-playground .pg-rank-bar{display:flex;height:10px;border-radius:5px;overflow:hidden;background:var(--sb-soft)}.sb-block.sb-playground .pg-rank-bar span{height:100%;transition:width .3s ease}.sb-block.sb-playground .pg-rank-score{text-align:right;font-size:15px;font-weight:600;font-variant-numeric:tabular-nums}.sb-block.sb-playground .is-first .pg-rank-score{color:var(--sb-accent)}@container (max-width: 560px){.sb-block.sb-playground .sb-playground-body{grid-template-columns:1fr;gap:20px;padding:13px 15px 18px}.sb-block.sb-playground .pg-ranking-body{grid-template-columns:1fr}.sb-block.sb-playground .pg-ranking-wide,.sb-block.sb-playground .pg-note-wide{padding-left:15px;padding-right:15px}.sb-block.sb-playground .pg-choices{grid-template-columns:1fr}.sb-block.sb-playground .pg-rank-list li{grid-template-columns:22px minmax(0,1fr) 36px}.sb-block.sb-playground .pg-rank-bar{grid-column:2 / 4;grid-row:2}}@media print{.sb-block.sb-playground .pg-presets{display:none}.sb-block.sb-playground .pg-bar,.sb-block.sb-playground .pg-rank-bar,.sb-block.sb-playground .pg-target-track,.sb-block.sb-playground .pg-legend i,.sb-block.sb-playground .pg-table i{print-color-adjust:exact;-webkit-print-color-adjust:exact}}
58
+ `);var Gv=ct("playground",{"zh-CN":{"operation.sum":"\u6C42\u548C","operation.product":"\u4E58\u79EF","operation.average":"\u5E73\u5747\u503C",outOfRange:"\u8D85\u51FA\u6570\u503C\u8303\u56F4",defaultTitle:"\u4EA4\u4E92\u8BA1\u7B97",defaultResult:"\u8BA1\u7B97\u7ED3\u679C",invalidInputs:"\u6BCF\u4E2A\u53C2\u6570\u9700\u8981\u540D\u79F0\uFF0C\u6700\u5927\u503C\u987B\u5927\u4E8E\u6700\u5C0F\u503C\uFF0C\u6B65\u957F\u987B\u5927\u4E8E 0\u3002",reset:"\u91CD\u7F6E\u53C2\u6570",title:"\u6807\u9898",operation:"\u8BA1\u7B97\u65B9\u5F0F",resultLabel:"\u7ED3\u679C\u540D\u79F0",resultUnit:"\u7ED3\u679C\u5355\u4F4D",parameterName:"\u53C2\u6570\u540D\u79F0",unit:"\u5355\u4F4D",deleteParameter:"\u5220\u9664\u53C2\u6570{label}",min:"\u6700\u5C0F\u503C",max:"\u6700\u5927\u503C",step:"\u6B65\u957F",initial:"\u521D\u59CB\u503C",newParameter:"\u65B0\u53C2\u6570",addParameter:"\u6DFB\u52A0\u53C2\u6570",parameterValue:"{label}\u6570\u503C",emptyTitle:"\u8BD5\u7740\u6539\u53D8\u4E00\u4E2A\u53D8\u91CF",setUp:"\u8BBE\u7F6E\u53C2\u6570",averageSuffix:"\uFF0C\xF7 {count}",waiting:"\u7B49\u5F85\u8BBE\u7F6E\u53C2\u6570",presets:"\u9884\u8BBE\u65B9\u6848",decrease:"\u51CF\u5C11{label}",increase:"\u589E\u52A0{label}",target:"\u76EE\u6807",above:"\u9AD8\u4E8E\u76EE\u6807",below:"\u4F4E\u4E8E\u76EE\u6807",onTarget:"\u6070\u597D\u8FBE\u5230\u76EE\u6807",breakdown:"\u6784\u6210",share:"\u5360\u6BD4",value:"\u6570\u503C",item:"\u9879\u76EE",ranking:"\u52A0\u6743\u6392\u540D",weights:"\u6743\u91CD",score:"\u5F97\u5206",contribution:"{label}\u8D21\u732E {value} \u5206",advancedNote:"\u516C\u5F0F\u3001\u7ED3\u679C\u3001\u6784\u6210\u3001\u9884\u8BBE\u4E0E\u6392\u540D\u5728\u9875\u9762\u6570\u636E\u4E2D\u5B9A\u4E49\uFF1B\u8FD9\u91CC\u53EA\u4FEE\u6539\u6807\u9898\u4E0E\u53C2\u6570\uFF0C\u4FDD\u5B58\u65F6\u4FDD\u7559\u5176\u4F59\u8BBE\u7F6E\u3002",invalidData:"\u6570\u636E\u672A\u901A\u8FC7\u68C0\u67E5\uFF1A{message}"},en:{"operation.sum":"Sum","operation.product":"Product","operation.average":"Average",outOfRange:"Out of range",defaultTitle:"Interactive calculator",defaultResult:"Result",invalidInputs:"Each parameter needs a name, a maximum greater than its minimum, and a step greater than 0.",reset:"Reset parameters",title:"Title",operation:"Calculation",resultLabel:"Result name",resultUnit:"Result unit",parameterName:"Parameter name",unit:"Unit",deleteParameter:"Delete parameter {label}",min:"Minimum",max:"Maximum",step:"Step",initial:"Initial value",newParameter:"New parameter",addParameter:"Add parameter",parameterValue:"{label} value",emptyTitle:"Try changing a variable",setUp:"Set up parameters",averageSuffix:", \xF7 {count}",waiting:"Waiting for parameters",presets:"Presets",decrease:"Decrease {label}",increase:"Increase {label}",target:"Target",above:"above target",below:"below target",onTarget:"Exactly on target",breakdown:"Breakdown",share:"Share",value:"Value",item:"Item",ranking:"Weighted ranking",weights:"Weights",score:"Score",contribution:"{label} contributes {value} points",advancedNote:"Formulas, results, breakdown, presets and ranking live in the page data. Here you edit the title and parameters; other settings are kept on save.",invalidData:"Data check failed: {message}"}});var $=W(de(),1),hT=[{value:"sum",label:"operation.sum"},{value:"product",label:"operation.product"},{value:"average",label:"operation.average"}],yT=[{key:"min",label:"min"},{key:"max",label:"max"},{key:"step",label:"step"},{key:"value",label:"initial"}],Tm=e=>["slider","stepper"].includes(W1(e)),Bd=(e,t)=>e??`var(--pg-c${t%8+1})`,Fv=e=>Number(e.toFixed(10));function vT(e,t){if(!e.length)return 0;if(t==="product")return e.reduce((n,o)=>n*o,1);let a=e.reduce((n,o)=>n+o,0);return t==="average"?a/e.length:a}function Wv({data:e,onChange:t,readOnly:a}){let n=(0,Ka.useId)(),o=le(Gv),r=le(la),i=Array.isArray(e.inputs)?e.inputs:[],[l,s]=(0,Ka.useState)({}),[c,d]=(0,Ka.useState)(!1),[f,u]=(0,Ka.useState)({title:"",resultLabel:"",unit:"",operation:"sum"}),[g,b]=(0,Ka.useState)([]),[p,x]=(0,Ka.useState)(""),h=!!(t&&!a),m=R6(e),v=Tl(),k=(0,Ka.useMemo)(()=>{try{return{formulas:P6(e),problem:""}}catch(C){return{formulas:[],problem:C.message}}},[e]),w=k.problem?{}:O6(e,l,k.formulas),z=C=>Tu(C,l[C.id]??I6(C)),P=(C,G)=>s(H=>({...H,[C.id]:Tu(C,G)})),j=vT(i.map(z),se(e.operation,"sum")),T=Number.isFinite(j)?new Intl.NumberFormat(v,{maximumFractionDigits:4}).format(j):o("outOfRange"),S=Array.isArray(e.formulas)?e.formulas:[],B=Array.isArray(e.outputs)?e.outputs:!m&&S.length?[{formula:S[S.length-1].id}]:[],O=e.breakdown,N=Array.isArray(e.presets)?e.presets:[],V=e.ranking,R=m||B.length>0||!!O,E=()=>{u({title:se(e.title,o("defaultTitle")),resultLabel:se(e.resultLabel,o("defaultResult")),unit:se(e.unit),operation:se(e.operation,"sum")}),b(i.map(C=>({...C}))),x(""),d(!c)},D=()=>{if(g.some(H=>!H.label.trim()||Tm(H)&&(![H.min,H.max,H.value].every(Number.isFinite)||H.min>=H.max||(H.step!==void 0||W1(H)==="slider"?!Number.isFinite(H.step)||H.step<=0:!1)))){x(o("invalidInputs"));return}let C=g.map(H=>Tm(H)?{...H,value:Math.min(H.max,Math.max(H.min,H.value))}:H),G=m?{...e,...f,inputs:C}:{...e,title:f.title,inputs:C};try{K1(G)}catch(H){x(o("invalidData",{message:H.message}));return}t?.(G),s({}),d(!1)},M=(C,G)=>b(H=>H.map((ge,re)=>re===C?{...ge,...G}:ge)),Z=new Map(S.map(C=>[C.id,C])),U=new Map(i.map(C=>[C.id,C])),F=C=>Z.get(C)?.label??U.get(C)?.label??C,_=(C,G)=>G??Z.get(C)?.format,X=(C,G)=>G??Z.get(C)?.unit??U.get(C)?.unit??"",q=(C,G)=>Number.isFinite(C)?H6(C,G,v):o("outOfRange"),I=C=>Object.entries(C.values).every(([G,H])=>{let ge=U.get(G);return ge!==void 0&&z(ge)===H});return(0,$.jsxs)("section",{className:"sb-block sb-playground","aria-label":se(e.title)||o("defaultTitle"),children:[(0,$.jsx)(ma,{title:se(e.title),defaultTitle:o("defaultTitle"),description:se(e.description),icon:(0,$.jsx)(au,{size:17}),editable:h,editing:c,onEdit:E,children:(0,$.jsx)("button",{type:"button",className:"sb-icon-button","aria-label":o("reset"),title:o("reset"),onClick:()=>s({}),children:(0,$.jsx)(O5,{size:15})})}),c&&(0,$.jsx)(_a,{children:(0,$.jsxs)("div",{className:"sb-editor-panel",children:[(0,$.jsxs)("div",{className:"sb-form-row",children:[(0,$.jsx)(je,{label:o("title"),children:(0,$.jsx)("input",{value:f.title,onChange:C=>u(G=>({...G,title:C.target.value}))})}),m&&(0,$.jsx)(je,{label:o("operation"),children:(0,$.jsx)("select",{value:f.operation,onChange:C=>u(G=>({...G,operation:C.target.value})),children:hT.map(C=>(0,$.jsx)("option",{value:C.value,children:o(C.label)},C.value))})})]}),m?(0,$.jsxs)("div",{className:"sb-form-row",children:[(0,$.jsx)(je,{label:o("resultLabel"),children:(0,$.jsx)("input",{value:f.resultLabel,onChange:C=>u(G=>({...G,resultLabel:C.target.value}))})}),(0,$.jsx)(je,{label:o("resultUnit"),children:(0,$.jsx)("input",{value:f.unit,onChange:C=>u(G=>({...G,unit:C.target.value}))})})]}):(0,$.jsx)("p",{className:"pg-editor-note",children:o("advancedNote")}),g.map((C,G)=>(0,$.jsxs)("div",{className:"sb-parameter-editor",children:[(0,$.jsxs)("div",{className:"sb-form-row",children:[(0,$.jsx)(je,{label:o("parameterName"),children:(0,$.jsx)("input",{value:C.label,onChange:H=>M(G,{label:H.target.value})})}),(0,$.jsx)(je,{label:o("unit"),children:(0,$.jsx)("input",{value:C.unit??"",onChange:H=>M(G,{unit:H.target.value})})}),(0,$.jsx)("button",{type:"button",className:"sb-icon-button sb-danger","aria-label":o("deleteParameter",{label:C.label}),onClick:()=>b(H=>H.filter((ge,re)=>re!==G)),children:(0,$.jsx)(ia,{size:14})})]}),Tm(C)&&(0,$.jsx)("div",{className:"sb-form-row",children:yT.map(({key:H,label:ge})=>(0,$.jsx)(je,{label:o(ge),children:(0,$.jsx)("input",{type:"number",value:C[H]??"",onChange:re=>M(G,{[H]:re.target.value===""?0:Number(re.target.value)})})},H))})]},C.id)),p&&(0,$.jsx)("p",{className:"sb-error",role:"alert",children:p}),(0,$.jsxs)("div",{className:"sb-panel-footer",children:[(0,$.jsxs)("button",{type:"button",className:"sb-button",onClick:()=>b(C=>[...C,{id:zo(),label:o("newParameter"),min:0,max:100,step:1,value:0}]),children:[(0,$.jsx)(jt,{size:14}),o("addParameter")]}),(0,$.jsxs)("button",{type:"button",className:"sb-button sb-primary",onClick:D,children:[(0,$.jsx)(Ha,{size:14}),r("save")]})]})]})}),k.problem&&(0,$.jsx)("p",{className:"sb-error",role:"alert",children:o("invalidData",{message:k.problem})}),(0,$.jsxs)("div",{className:`sb-playground-body${!R&&V?" pg-ranking-body":""}`,children:[(0,$.jsxs)("div",{className:"sb-parameters",children:[N.length>0&&(0,$.jsx)("div",{className:"pg-presets",role:"group","aria-label":o("presets"),children:N.map((C,G)=>(0,$.jsx)("button",{type:"button",className:"pg-chip","aria-pressed":I(C),onClick:()=>s(H=>({...H,...C.values})),children:C.label},G))}),i.length?i.map(C=>{let G=W1(C),H=z(C),ge=`${n}-param-${C.id}`;return G==="stepper"?(0,$.jsx)(xT,{id:ge,input:C,value:H,locale:v,t:o,onChange:re=>P(C,re)},C.id):G==="toggle"?(0,$.jsxs)("div",{className:"sb-parameter pg-toggle-row",children:[(0,$.jsxs)("div",{className:"pg-toggle-copy",children:[(0,$.jsx)("label",{htmlFor:ge,children:C.label}),C.hint&&(0,$.jsx)("p",{className:"pg-hint",children:C.hint})]}),(0,$.jsx)("button",{id:ge,type:"button",role:"switch","aria-checked":H===1,className:"pg-switch",onClick:()=>P(C,H?0:1),children:(0,$.jsx)("span",{"aria-hidden":"true"})})]},C.id):G==="choice"?(0,$.jsx)(wT,{id:ge,input:C,value:H,onChange:re=>P(C,re)},C.id):(0,$.jsxs)("div",{className:"sb-parameter",children:[(0,$.jsxs)("div",{className:"sb-parameter-label",children:[(0,$.jsx)("label",{htmlFor:ge,children:C.label}),(0,$.jsxs)("div",{children:[(0,$.jsx)("input",{"aria-label":o("parameterValue",{label:C.label}),type:"number",min:C.min,max:C.max,step:C.step,value:H,onChange:re=>{re.target.value!==""&&P(C,Number(re.target.value))}}),(0,$.jsx)("span",{children:C.unit})]})]}),(0,$.jsx)("input",{id:ge,"aria-label":C.label,type:"range",min:C.min,max:C.max,step:C.step,value:H,onChange:re=>s(he=>({...he,[C.id]:Number(re.target.value)})),style:{"--range-progress":`${(H-C.min)/(C.max-C.min)*100}%`}}),(0,$.jsxs)("div",{className:"sb-range-labels",children:[(0,$.jsxs)("span",{children:[C.min,C.unit]}),(0,$.jsxs)("span",{children:[C.max,C.unit]})]}),C.hint&&(0,$.jsx)("p",{className:"pg-hint",children:C.hint})]},C.id)}):(0,$.jsxs)("div",{className:"sb-empty",children:[(0,$.jsx)(au,{size:26}),(0,$.jsx)("strong",{children:o("emptyTitle")}),h&&!c&&(0,$.jsx)("button",{type:"button",className:"sb-button",onClick:E,children:o("setUp")})]})]}),m?(0,$.jsxs)("div",{className:"sb-calculation-result",children:[(0,$.jsx)("span",{children:se(e.resultLabel,o("defaultResult"))}),(0,$.jsxs)("strong",{"aria-live":"polite",children:[T,(0,$.jsx)("small",{children:se(e.unit)})]}),(0,$.jsx)("span",{className:"sb-formula",children:i.length?i.map(C=>C.label).join(e.operation==="product"?" \xD7 ":" + ")+(e.operation==="average"?o("averageSuffix",{count:i.length}):""):o("waiting")})]}):R?(0,$.jsxs)("div",{className:"sb-calculation-result pg-results",children:[B.map((C,G)=>{let H=w[C.formula]??Number.NaN,ge=_(C.formula,C.format),re=(0,$.jsxs)($.Fragment,{children:[q(H,ge),X(C.formula,C.unit)&&(0,$.jsx)("small",{children:X(C.formula,C.unit)})]});return(0,$.jsxs)("div",{className:G?"pg-figure":"pg-headline",children:[(0,$.jsx)("span",{children:C.label??F(C.formula)}),G?(0,$.jsx)("b",{children:re}):(0,$.jsx)("strong",{"aria-live":"polite",children:re}),C.hint&&(0,$.jsx)("p",{className:"pg-hint",children:C.hint}),C.target&&(0,$.jsx)(kT,{value:H,target:typeof C.target.value=="string"?w[C.target.value]??Number.NaN:C.target.value,label:C.target.label??o("target"),above:C.target.above??o("above"),below:C.target.below??o("below"),show:he=>q(he,ge),t:o})]},`${C.formula}-${G}`)}),O&&(0,$.jsx)(ST,{breakdown:O,parts:L6(e,w).map(C=>({...C,label:C.label??F(C.formula),text:q(C.value,O.format??_(C.formula))})),locale:v,t:o}),se(e.note)&&(0,$.jsx)("p",{className:"pg-note",children:se(e.note)})]}):null,V&&!R&&(0,$.jsx)(qv,{ranking:V,scope:w,locale:v,t:o})]}),V&&R&&(0,$.jsx)("div",{className:"pg-ranking-wide",children:(0,$.jsx)(qv,{ranking:V,scope:w,locale:v,t:o})}),V&&!R&&se(e.note)&&(0,$.jsx)("p",{className:"pg-note pg-note-wide",children:se(e.note)})]})}function xT({id:e,input:t,value:a,locale:n,t:o,onChange:r}){let i=El(t.step,1)||1;return(0,$.jsxs)("div",{className:"sb-parameter pg-stepper-row",children:[(0,$.jsxs)("div",{className:"pg-toggle-copy",children:[(0,$.jsx)("span",{id:`${e}-label`,children:t.label}),t.hint&&(0,$.jsx)("p",{className:"pg-hint",children:t.hint})]}),(0,$.jsxs)("div",{className:"pg-stepper",role:"group","aria-labelledby":`${e}-label`,children:[(0,$.jsx)("button",{type:"button","aria-label":o("decrease",{label:t.label}),disabled:a<=t.min,onClick:()=>r(Fv(a-i)),children:(0,$.jsx)(bl,{size:14})}),(0,$.jsxs)("output",{"aria-live":"polite",children:[new Intl.NumberFormat(n,{maximumFractionDigits:4}).format(a),t.unit&&(0,$.jsx)("small",{children:t.unit})]}),(0,$.jsx)("button",{type:"button","aria-label":o("increase",{label:t.label}),disabled:a>=t.max,onClick:()=>r(Fv(a+i)),children:(0,$.jsx)(jt,{size:14})})]})]})}function wT({id:e,input:t,value:a,onChange:n}){let o=t.options??[],r=(0,Ka.useRef)(null),i=l=>{let s={ArrowRight:1,ArrowDown:1,ArrowLeft:-1,ArrowUp:-1}[l.key];if(!s)return;l.preventDefault();let d=(o.findIndex(f=>f.value===a)+s+o.length)%o.length;n(o[d].value),r.current?.querySelectorAll("[role=radio]")[d]?.focus()};return(0,$.jsxs)("div",{className:"sb-parameter",children:[(0,$.jsx)("div",{className:"sb-parameter-label",children:(0,$.jsx)("span",{id:`${e}-label`,children:t.label})}),(0,$.jsx)("div",{ref:r,className:"pg-choices",role:"radiogroup","aria-labelledby":`${e}-label`,onKeyDown:i,children:o.map(l=>(0,$.jsxs)("button",{type:"button",role:"radio","aria-checked":l.value===a,tabIndex:l.value===a?0:-1,className:"pg-choice",onClick:()=>n(l.value),children:[(0,$.jsx)("b",{children:l.label}),l.note&&(0,$.jsx)("span",{children:l.note})]},l.value))}),t.hint&&(0,$.jsx)("p",{className:"pg-hint",children:t.hint})]})}function kT({value:e,target:t,label:a,above:n,below:o,show:r,t:i}){if(!Number.isFinite(e)||!Number.isFinite(t))return null;let l=Math.min(0,e,t),s=Math.max(0,e,t),c=s+(s-l||1)*.08,d=g=>`${(g-l)/(c-l)*100}%`,f=e-t,u=f>=0;return(0,$.jsxs)("div",{className:`pg-target ${u?"is-hit":"is-miss"}`,children:[(0,$.jsxs)("div",{className:"pg-target-track","aria-hidden":"true",children:[(0,$.jsx)("span",{className:"pg-target-fill",style:{width:d(e)}}),(0,$.jsx)("span",{className:"pg-target-mark",style:{left:d(t)}})]}),(0,$.jsxs)("div",{className:"pg-target-copy",children:[(0,$.jsxs)("span",{children:[a," ",r(t)]}),(0,$.jsx)("b",{children:f===0?i("onTarget"):`${u?"\u25B2":"\u25BC"} ${r(Math.abs(f))} ${u?n:o}`})]})]})}function ST({breakdown:e,parts:t,locale:a,t:n}){let o=new Intl.NumberFormat(a,{style:"percent",maximumFractionDigits:0}),r=e.title??n("breakdown");return(0,$.jsxs)("div",{className:"pg-breakdown",role:"group","aria-label":r,children:[(0,$.jsx)("span",{className:"pg-section-title",children:r}),(0,$.jsx)("div",{className:"pg-bar","aria-hidden":"true",children:t.map((i,l)=>(0,$.jsx)("span",{className:i.value<0?"is-negative":void 0,style:{width:`${i.share*100}%`,background:Bd(i.color,l)}},i.formula))}),(0,$.jsxs)("table",{className:"pg-table",children:[(0,$.jsx)("thead",{children:(0,$.jsxs)("tr",{children:[(0,$.jsx)("th",{scope:"col",children:n("item")}),(0,$.jsx)("th",{scope:"col",children:n("value")}),(0,$.jsx)("th",{scope:"col",children:n("share")})]})}),(0,$.jsx)("tbody",{children:t.map((i,l)=>(0,$.jsxs)("tr",{children:[(0,$.jsxs)("th",{scope:"row",children:[(0,$.jsx)("i",{className:i.value<0?"is-negative":void 0,style:{background:Bd(i.color,l)}}),i.label]}),(0,$.jsx)("td",{children:i.text}),(0,$.jsx)("td",{children:o.format(i.share)})]},i.formula))})]})]})}function qv({ranking:e,scope:t,locale:a,t:n}){let o=B6(e,t),r=(0,Ka.useRef)(null),i=(0,Ka.useRef)(new Map),l=o.map(g=>g.item.id).join("\0");(0,Ka.useLayoutEffect)(()=>{let g=[...r.current?.querySelectorAll("[data-rank-id]")??[]],b=typeof window>"u"||window.matchMedia?.("(prefers-reduced-motion: reduce)").matches;for(let p of g){let x=p.dataset.rankId,h=p.offsetTop,m=i.current.get(x);i.current.set(x,h),!(b||m===void 0||m===h)&&p.animate?.([{transform:`translateY(${m-h}px)`},{transform:"translateY(0)"}],{duration:280,easing:"cubic-bezier(.2,.7,.2,1)"})}},[l]);let s=e.criteria.map(g=>{let b=typeof g.weight=="string"?t[g.weight]:g.weight??1;return Number.isFinite(b)?Math.max(0,b):0}),c=s.reduce((g,b)=>g+b,0),d=new Intl.NumberFormat(a,{minimumFractionDigits:e.decimals??0,maximumFractionDigits:e.decimals??0}),f=new Intl.NumberFormat(a,{style:"percent",maximumFractionDigits:0}),u=e.title??n("ranking");return(0,$.jsxs)("div",{className:"pg-ranking",role:"group","aria-label":u,children:[(0,$.jsxs)("div",{className:"pg-ranking-head",children:[(0,$.jsx)("span",{className:"pg-section-title",children:u}),(0,$.jsx)("ul",{className:"pg-legend","aria-label":n("weights"),children:e.criteria.map((g,b)=>(0,$.jsxs)("li",{className:s[b]?void 0:"is-off",title:g.hint,children:[(0,$.jsx)("i",{style:{background:Bd(g.color,b)}}),g.label,(0,$.jsx)("b",{children:f.format(c?s[b]/c:0)})]},g.id))})]}),(0,$.jsx)("ol",{className:"pg-rank-list",ref:r,children:o.map((g,b)=>(0,$.jsxs)("li",{"data-rank-id":g.item.id,className:b===0&&c?"is-first":void 0,children:[(0,$.jsx)("span",{className:"pg-rank-number","aria-hidden":"true",children:b+1}),(0,$.jsxs)("div",{className:"pg-rank-copy",children:[(0,$.jsx)("b",{children:g.item.label}),g.item.note&&(0,$.jsx)("span",{children:g.item.note})]}),(0,$.jsx)("div",{className:"pg-rank-bar",children:g.parts.map((p,x)=>p.value>0?(0,$.jsx)("span",{title:n("contribution",{label:e.criteria[x].label,value:p.value.toFixed(1)}),style:{width:`${p.value}%`,background:Bd(e.criteria[x].color,x)}},p.id):null)}),(0,$.jsxs)("strong",{className:"pg-rank-score",children:[(0,$.jsxs)("span",{className:"pg-visually-hidden",children:[n("score")," "]}),d.format(g.score)]})]},g.item.id))})]})}var CT=(0,ea.lazy)(()=>import("./chunks/Flowchart-NF7DISE3.js").then(e=>({default:e.FlowchartBlock}))),TT=(0,ea.lazy)(()=>import("./chunks/Mindmap-4ZEIMJJR.js").then(e=>({default:e.MindmapBlock}))),zT=(0,ea.lazy)(()=>import("./chunks/ComparisonMatrix-VLKYNZGW.js").then(e=>({default:e.ComparisonMatrixBlock}))),ET=(0,ea.lazy)(()=>import("./chunks/StatusTree-FRWHUMOY.js").then(e=>({default:e.StatusTreeBlock}))),NT=(0,ea.lazy)(()=>import("./chunks/ExperimentTracker-X54VMIP4.js").then(e=>({default:e.ExperimentTrackerBlock}))),DT=(0,ea.lazy)(()=>import("./chunks/Scene3D-Q2SNC4ON.js").then(e=>({default:e.Scene3DBlock}))),MT=(0,ea.lazy)(()=>import("./chunks/SequenceDiagram-WNAPJU4P.js").then(e=>({default:e.SequenceDiagramBlock}))),AT=(0,ea.lazy)(()=>import("./chunks/LayerDiagram-UIIXNYD4.js").then(e=>({default:e.LayerDiagramBlock}))),IT=(0,ea.lazy)(()=>import("./chunks/StepGuide-E73WCPQL.js").then(e=>({default:e.StepGuideBlock}))),RT=(0,ea.lazy)(()=>import("./chunks/CommandReference-WFVW3NGJ.js").then(e=>({default:e.CommandReferenceBlock}))),PT=(0,ea.lazy)(()=>import("./chunks/StructureBrowser-OXUHMI5L.js").then(e=>({default:e.StructureBrowserBlock}))),OT=(0,ea.lazy)(()=>import("./chunks/CardGrid-2YIDC7WN.js").then(e=>({default:e.CardGridBlock}))),LT=(0,ea.lazy)(()=>import("./chunks/Roadmap-SPBF7DMS.js").then(e=>({default:e.RoadmapBlock}))),BT=(0,ea.lazy)(()=>import("./chunks/Waterfall-XTV3FJRF.js").then(e=>({default:e.WaterfallBlock}))),HT=(0,ea.lazy)(()=>import("./chunks/EventTimeline-CZ5H3KFR.js").then(e=>({default:e.EventTimelineBlock}))),jT=(0,ea.lazy)(()=>import("./chunks/G2Chart-6OYHYTZG.js").then(e=>({default:e.G2ChartBlock}))),UT={archify:(0,ea.lazy)(()=>import("./chunks/ExternalDiagram-4YPOLN5P.js").then(e=>({default:e.ArchifyBlock}))),"diagram-design":(0,ea.lazy)(()=>import("./chunks/ExternalDiagram-4YPOLN5P.js").then(e=>({default:e.DiagramDesignBlock}))),"fireworks-tech-graph":(0,ea.lazy)(()=>import("./chunks/ExternalDiagram-4YPOLN5P.js").then(e=>({default:e.FireworksTechGraphBlock})))},_T=[],Kv=[],zm=new Set,Yv=0,Jv=e=>(zm.add(e),()=>{zm.delete(e)}),Em=()=>Yv;function Tt(e){if(!/^[a-z][a-z0-9-]{0,79}$/.test(e.kind))throw new Error("Block kind must use lowercase letters, numbers, and hyphens.");if(Hd(e.kind))throw new Error(`Block "${e.kind}" is already registered.`);let t="Component"in e?{kind:e.kind,title:e.label,description:e.description,icon:e.icon??"\u25C7",defaultData:e.createData(),createData:e.createData,renderer:e.Component,validate:e.validate}:{...e};if(!t.title.trim())throw new Error("Block title is required.");t.defaultData=VT(t.defaultData),t.validate?.(t.defaultData),Kv.push(t),t.replacedBy||_T.push(t),Yv++;for(let a of zm)a()}function Hd(e){return Kv.find(t=>t.kind===e)}function VT(e){if(!e||typeof e!="object"||Array.isArray(e))throw new Error("Block data must be a JSON object.");let t=structuredClone(e),a=(n,o=0)=>{if(o>40)throw new Error("Block data is nested too deeply.");if(!(n===null||typeof n=="string"||typeof n=="boolean")&&!(typeof n=="number"&&Number.isFinite(n))){if(Array.isArray(n)){n.forEach(r=>a(r,o+1));return}if(n&&typeof n=="object"&&Object.getPrototypeOf(n)===Object.prototype){for(let[r,i]of Object.entries(n)){if(["__proto__","constructor","prototype"].includes(r))throw new Error("Block data contains a reserved key.");a(i,o+1)}return}throw new Error("Block data must contain only finite, serializable JSON values.")}};return a(t),t}function Xv(e,t){if(e[t]===void 0)return[];if(!Array.isArray(e[t])||e[t].some(a=>!a||typeof a!="object"||Array.isArray(a)))throw new Error(`${t} \u5FC5\u987B\u662F\u5BF9\u8C61\u6570\u7EC4\u3002`);return e[t]}for(let e of od)Tt({kind:e.kind,title:e.name,description:e.description,icon:{text:"T",image:"\u25A7",table:"\u25A6",callout:"!",toggle:"\u2304",stepper:"\u21E5",divider:"\u2014",code:"{}"}[e.kind],defaultData:e.defaultData,renderer:{text:b1,image:dv,table:uv,callout:mv,toggle:fv,stepper:gv,divider:bv,code:pv}[e.kind],validate:t=>F1(e.kind,t)});Tt({kind:"mindmap",title:"\u601D\u7EF4\u5BFC\u56FE",description:"\u81EA\u52A8\u6392\u5E03\u7684\u4E3B\u9898\u5206\u652F\uFF0C\u652F\u6301\u5FEB\u6377\u952E\u521B\u5EFA\u4E0E\u7F16\u8F91\u8282\u70B9",icon:"\u2442",defaultData:Lt.find(e=>e.kind==="mindmap").defaultData,renderer:TT,validate:C6});for(let e of id)Tt({kind:e.kind,title:e.name,description:e.description,icon:"\u25C7",defaultData:e.defaultData,renderer:UT[e.kind],validate:t=>z6(e.kind,t)});Tt({kind:"flowchart",title:"\u4EA4\u4E92\u6D41\u7A0B\u56FE",description:"\u8282\u70B9\u5206\u652F\u3001\u8DEF\u7EBF\u8BB2\u89E3\u4E0E\u9636\u6BB5\u56DE\u653E",icon:"\u2318",defaultData:Lt.find(e=>e.kind==="flowchart").defaultData,renderer:CT,validate:T6});Tt({kind:"chart",title:"\u6570\u636E\u56FE\u8868",description:"\u4EA4\u4E92\u5F0F\u6298\u7EBF\u56FE\u3001\u67F1\u72B6\u56FE\u4E0E\u539F\u59CB\u6570\u636E",icon:"\u2197",defaultData:{title:"\u6570\u636E\u56FE\u8868",type:"line",labels:[],series:[],unit:""},renderer:Iv,validate:e=>{X1(JSON.stringify({...e,labels:e.labels??[],series:e.series??[]}))}});Tt({kind:"database",title:"\u6570\u636E\u5E93",description:"\u8868\u683C\u3001\u770B\u677F\u3001\u65E5\u5386\u3001\u7B5B\u9009\u548C\u6392\u5E8F",icon:"\u25A6",defaultData:{title:"\u6570\u636E\u5E93",columns:[{id:"name",name:"\u540D\u79F0",type:"text"},{id:"status",name:"\u72B6\u6001",type:"select",options:["\u5F85\u5F00\u59CB","\u8FDB\u884C\u4E2D","\u5DF2\u5B8C\u6210"]}],rows:[]},renderer:Hv,validate:e=>{V6(e)}});Tt({kind:"metrics",title:"\u5173\u952E\u6307\u6807",description:"\u6570\u503C\u3001\u53D8\u5316\u7387\u4E0E\u7B80\u6D01\u8BF4\u660E",icon:"\u25F4",defaultData:{title:"\u5173\u952E\u6307\u6807",items:[]},renderer:Zv,validate:e=>{Xv(e,"items")}});Tt({kind:"playground",title:"\u4EA4\u4E92\u8BA1\u7B97",description:"\u8C03\u53C2\u6570\uFF0C\u770B\u516C\u5F0F\u7ED3\u679C\u3001\u6784\u6210\u4E0E\u6392\u540D",icon:"\u2301",defaultData:{title:"\u4EA4\u4E92\u8BA1\u7B97",inputs:[],operation:"sum",resultLabel:"\u8BA1\u7B97\u7ED3\u679C",unit:""},renderer:Wv,validate:e=>{K1(e)}});Tt({kind:"gallery",title:"\u56FE\u7247\u753B\u5ECA",description:"\u672C\u5730\u56FE\u7247\u3001\u56FE\u6CE8\u4E0E\u5168\u5C4F\u9884\u89C8",icon:"\u25A7",defaultData:{title:"\u56FE\u7247\u753B\u5ECA",columns:2,images:[]},renderer:_v,validate:e=>{Xv(e,"images")}});Tt({kind:"bookmark",title:"\u6765\u6E90\u4E66\u7B7E",description:"\u4FDD\u5B58\u7F51\u9875\u3001\u8BBA\u6587\u548C\u9879\u76EE\u51FA\u5904",icon:"\u2197",defaultData:{title:"",description:"",url:"",image:""},renderer:hv});Tt({kind:"video",title:"\u89C6\u9891",description:Lt.find(e=>e.kind==="video").description,icon:"\u25B7",defaultData:Lt.find(e=>e.kind==="video").defaultData,renderer:xv,validate:e=>Qo("video",e)});Tt({kind:"audio",title:"\u97F3\u9891",description:Lt.find(e=>e.kind==="audio").description,icon:"\u266B",defaultData:Lt.find(e=>e.kind==="audio").defaultData,renderer:wv,validate:e=>Qo("audio",e)});Tt({kind:"pdf",title:"PDF \u6587\u6863",description:Lt.find(e=>e.kind==="pdf").description,icon:"\u25A4",defaultData:Lt.find(e=>e.kind==="pdf").defaultData,renderer:kv,validate:e=>Qo("pdf",e)});Tt({kind:"references",title:"\u53C2\u8003\u6587\u732E",description:Lt.find(e=>e.kind==="references").description,icon:"[1]",defaultData:Lt.find(e=>e.kind==="references").defaultData,renderer:Sv,validate:e=>Qo("references",e)});Tt({kind:"custom",title:"\u81EA\u5B9A\u4E49\u7EC4\u4EF6",description:"\u4F7F\u7528\u9879\u76EE\u4E2D\u5B89\u88C5\u7684 React \u7EC4\u4EF6",icon:"\u25C7",defaultData:{componentId:"value-slider",version:"1.0.0",props:{label:"\u6570\u503C",value:0,min:0,max:100}},renderer:rh,validate:e=>{mi(e)}});for(let e of rd)Tt({kind:e.kind,title:e.name,description:e.description,icon:"\u2197",defaultData:e.defaultData,renderer:t=>(0,ea.createElement)(jT,{...t,chartType:e.kind.slice(3)}),validate:E6});Tt({kind:"step-walkthrough",title:"\u5206\u6B65\u6F14\u793A",description:"\u9010\u6B65\u5C55\u793A\u5B9E\u9645\u64CD\u4F5C\u4E0E\u5404\u90E8\u5206\u7684\u5177\u4F53\u5185\u5BB9\u53D8\u5316",icon:"\u21C4",defaultData:Lt.find(e=>e.kind==="step-walkthrough").defaultData,renderer:Ev,validate:e=>{D6(e)}});Tt({kind:"comparison-matrix",title:"\u5BF9\u6BD4\u77E9\u9635",description:"\u6309\u7EF4\u5EA6\u9010\u884C\u5BF9\u6BD4\u591A\u4E2A\u65B9\u6848\uFF0C\u7A81\u51FA\u5DEE\u5F02\u4E0E\u81EA\u5DF1\u7684\u65B9\u6848",icon:"\u25A6",defaultData:Lt.find(e=>e.kind==="comparison-matrix").defaultData,renderer:zT,validate:e=>{q1("comparison-matrix",e)}});Tt({kind:"status-tree",title:"\u72B6\u6001\u6811",description:"\u6309\u7C7B\u522B\u5C55\u5F00\u6761\u76EE\uFF0C\u533A\u5206\u8D70\u901A\u3001\u6CA1\u8D70\u901A\u4E0E\u8FDB\u884C\u4E2D",icon:"\u2442",defaultData:Lt.find(e=>e.kind==="status-tree").defaultData,renderer:ET,validate:e=>{q1("status-tree",e)}});Tt({kind:"experiment-tracker",title:"\u5B9E\u9A8C\u8FFD\u8E2A",description:"\u5B9E\u9A8C\u6563\u70B9\u4E0E\u6700\u4F18\u524D\u6CBF\u3001\u8FD0\u884C\u5217\u8868\u3001\u8D44\u6E90\u4E0E\u8BAD\u7EC3\u66F2\u7EBF",icon:"\u25CE",defaultData:Lt.find(e=>e.kind==="experiment-tracker").defaultData,renderer:NT,validate:e=>{q1("experiment-tracker",e)}});Tt({kind:"scene-3d",title:"3D \u573A\u666F",description:"\u53EF\u65CB\u8F6C\u7684\u4E09\u7EF4\u6A21\u578B\uFF0C\u5E26\u6807\u6CE8\u3001\u5750\u6807\u7BAD\u5934\u4E0E\u53C2\u6570\u9A71\u52A8\u7684\u52A8\u4F5C",icon:"\u25C8",defaultData:Lt.find(e=>e.kind==="scene-3d").defaultData,renderer:DT,validate:e=>{M6(e)}});Tt({kind:"sequence-diagram",title:"\u65F6\u5E8F\u56FE",description:"\u53C2\u4E0E\u8005\u4E4B\u95F4\u9010\u6B65\u64AD\u653E\u7684\u6D88\u606F\u5F80\u8FD4",icon:"\u21C4",defaultData:Lt.find(e=>e.kind==="sequence-diagram").defaultData,renderer:MT,validate:e=>{wu("sequence-diagram",e)}});Tt({kind:"layer-diagram",title:"\u5206\u5C42\u67B6\u6784\u56FE",description:"\u81EA\u4E0A\u800C\u4E0B\u7684\u5206\u5C42\u4E0E\u53EF\u70B9\u9009\u6A21\u5757",icon:"\u2630",defaultData:Lt.find(e=>e.kind==="layer-diagram").defaultData,renderer:AT,validate:e=>{wu("layer-diagram",e)}});Tt({kind:"step-guide",title:"\u64CD\u4F5C\u6B65\u9AA4",description:"\u7F16\u53F7\u6B65\u9AA4\u3001\u53EF\u590D\u5236\u4EE3\u7801\u4E0E\u8BA1\u65F6",icon:"\u2460",defaultData:Lt.find(e=>e.kind==="step-guide").defaultData,renderer:IT,validate:e=>{ku("step-guide",e)}});Tt({kind:"command-reference",title:"\u547D\u4EE4\u53C2\u8003",description:"\u53EF\u641C\u7D22\u7684\u5206\u7EC4\u547D\u4EE4\u4E0E\u53C2\u6570",icon:"\u2318",defaultData:Lt.find(e=>e.kind==="command-reference").defaultData,renderer:RT,validate:e=>{ku("command-reference",e)}});Tt({kind:"structure-browser",title:"\u7ED3\u6784\u6D4F\u89C8\u5668",description:"\u53EF\u5C55\u5F00\u7684\u76EE\u5F55\u6216\u5B57\u6BB5\u6811\uFF0C\u9644\u8BF4\u660E\u4E0E\u793A\u4F8B",icon:"\u229F",defaultData:Lt.find(e=>e.kind==="structure-browser").defaultData,renderer:PT,validate:e=>{Su("structure-browser",e)}});Tt({kind:"card-grid",title:"\u5361\u7247\u5BFC\u822A",description:"\u5E26\u56FE\u6807\u4E0E\u8BF4\u660E\u7684\u5165\u53E3\u5361\u7247\uFF0C\u53EF\u6574\u5361\u94FE\u63A5",icon:"\u25A4",defaultData:Lt.find(e=>e.kind==="card-grid").defaultData,renderer:OT,validate:e=>{Su("card-grid",e)}});Tt({kind:"roadmap",title:"\u8DEF\u7EBF\u56FE",description:"\u6309\u65E5\u671F\u9605\u8BFB\u8BA1\u5212\u3001\u4F9D\u8D56\u4E0E\u8D1F\u8D23\u4EBA",icon:"\u25A4",defaultData:Lt.find(e=>e.kind==="roadmap").defaultData,renderer:LT,validate:e=>{Cu("roadmap",e)}});Tt({kind:"waterfall",title:"\u7011\u5E03\u6865\u56FE",description:"\u671F\u521D\u5230\u671F\u672B\u7684\u9010\u9879\u589E\u51CF\u4E0E\u6784\u6210",icon:"\u25A5",defaultData:Lt.find(e=>e.kind==="waterfall").defaultData,renderer:BT,validate:e=>{Cu("waterfall",e)}});Tt({kind:"event-timeline",title:"\u4E8B\u4EF6\u65F6\u95F4\u7EBF",description:"\u66F2\u7EBF\u3001\u9636\u6BB5\u4E0E\u4E8B\u4EF6\u540C\u8F74\u56DE\u653E",icon:"\u2316",defaultData:Lt.find(e=>e.kind==="event-timeline").defaultData,renderer:HT,validate:e=>{A6(e)}});rt(`.sb-block{--sb-surface: var(--paper, var(--surface, #fff));--sb-soft: var(--surface, #f7f8f5);--sb-text: var(--text, #343a35);--sb-muted: var(--muted, #92968f);--sb-line: var(--line, var(--border, #e9ece5));--sb-accent: var(--accent, #50745e);--sb-hover: var(--hover, #f0f2ed);--sb-accent-soft: var(--accent-soft, #eaf0e8);font-family:Avenir Next,PingFang SC,Microsoft YaHei,sans-serif;color:var(--sb-text);font-size:12px;line-height:1.6;position:relative;border:0;border-radius:0;background:transparent;overflow:visible;margin:18px 0;isolation:isolate}.sb-block *{box-sizing:border-box}.sb-block button,.sb-block input,.sb-block textarea,.sb-block select{font:inherit;color:inherit}.sb-block button{cursor:pointer;border:0;background:transparent;transition:background .15s,color .15s,opacity .15s;line-height:1.45}.sb-block button:disabled{opacity:.4;cursor:default}.sb-block button:not(:disabled):hover{background:var(--sb-hover)}.sb-block button:focus-visible,.sb-block a:focus-visible,.sb-block summary:focus-visible{outline:2px solid var(--sb-accent);outline-offset:2px}.sb-block input,.sb-block textarea,.sb-block select{accent-color:var(--sb-accent)}.sb-block input:is([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset]):focus-visible,.sb-block select:focus-visible{outline:2px solid color-mix(in srgb,var(--sb-accent) 50%,transparent);outline-offset:1px}.sb-block input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset]):focus,.sb-block textarea:focus{outline:none}.sb-block input::placeholder,.sb-block textarea::placeholder{color:var(--sb-muted)}.sb-block svg{flex-shrink:0;vertical-align:middle}.sb-header{position:absolute;top:0;right:0;z-index:8;padding:4px}.sb-header.has-caption{position:relative;padding:0 0 8px;min-height:24px}.sb-header.has-caption>.sb-heading{padding-right:44px}.sb-header>.sb-actions{position:relative;min-height:28px;padding:3px;background:var(--sb-surface);border-radius:5px;opacity:0;transition:opacity .15s}.sb-header.has-caption>.sb-actions{position:absolute;top:0;right:0}.sb-header>.sb-actions:hover,.sb-header>.sb-actions:focus-within,.sb-header>.sb-actions:has(details[open]),.sb-header.is-editing>.sb-actions{opacity:1}.sb-heading{min-width:0}.sb-title{font-size:11px;font-weight:500;color:var(--sb-muted);display:flex;align-items:center;gap:8px;overflow-wrap:anywhere}.sb-title>svg{color:var(--sb-accent);stroke-width:1.6}.sb-description{font-size:10px;color:var(--sb-muted);margin:5px 0 0!important;line-height:1.7}.sb-tools-menu>summary{display:inline-flex;align-items:center;gap:6px;cursor:pointer;list-style:none;padding:4px 8px;color:var(--sb-muted);white-space:nowrap}.sb-tools-menu>summary::-webkit-details-marker{display:none}.sb-tools-menu>.sb-database-toolbar{position:absolute;right:0;top:100%;width:max-content;max-width:min(520px,85vw);padding:8px 12px;background:var(--sb-surface);border:1px solid var(--sb-line);border-radius:6px;box-shadow:0 4px 18px #00000012;flex-wrap:wrap}.sb-actions{display:flex;gap:5px;align-items:center;flex-wrap:wrap;flex-shrink:0}.sb-block .sb-icon-button{width:26px;height:26px;padding:0;display:inline-flex;align-items:center;justify-content:center;border-radius:4px;color:var(--sb-muted);flex-shrink:0;text-decoration:none}.sb-block .sb-icon-button:hover{color:var(--sb-text)}.sb-block .is-active{color:var(--sb-accent);background:var(--sb-accent-soft)}.sb-block .sb-danger:hover{color:#bd6654;background:#b46b5812}.sb-block .sb-button{display:inline-flex;align-items:center;justify-content:center;gap:6px;border:1px solid var(--sb-line);border-radius:5px;padding:7px 11px;background:var(--sb-surface);font-size:10px;white-space:nowrap}.sb-block .sb-button.sb-primary{background:var(--sb-accent);color:var(--sb-surface);border-color:var(--sb-accent)}.sb-block .sb-button.sb-primary:hover{filter:brightness(1.09)}.sb-block .sb-small{padding:5px 9px}.sb-block .sb-text-button{font-size:10px;padding:3px 6px;border-radius:3px;color:var(--sb-accent)}.sb-block .sb-hidden{display:none}.sb-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:9px;padding:32px 20px 35px;text-align:center;color:var(--sb-muted)}.sb-empty>svg{color:color-mix(in srgb,var(--sb-accent) 65%,transparent);margin-bottom:4px}.sb-empty strong{font-size:12px;color:var(--sb-text);font-weight:500}.sb-empty p{font-size:10px;max-width:300px;margin:0 0 6px!important;line-height:1.8}.sb-editor-panel{background:var(--sb-soft);border-block:1px solid var(--sb-line);padding:17px 19px;display:flex;flex-direction:column;gap:13px;animation:sb-reveal .17s ease}.sb-field{display:flex;flex-direction:column;gap:5px;font-size:10px;flex:1;min-width:0}.sb-field>span{color:var(--sb-muted);font-weight:500}.sb-field input,.sb-field select,.sb-field textarea,.sb-property-row>input,.sb-property-row>select{background:var(--sb-surface);border:1px solid var(--sb-line);border-radius:4px;padding:7px 9px;min-width:0;width:100%;font-size:11px}.sb-field textarea{resize:vertical;min-height:60px}.sb-form-row{display:flex;gap:10px;align-items:flex-end}.sb-form-row>.sb-icon-button{margin-bottom:4px}.sb-panel-footer{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap}.sb-panel-footer>span{font-size:9px;color:var(--sb-muted);flex:1}.sb-block .sb-code-input{font:11px/1.7 SFMono-Regular,Consolas,monospace;tab-size:2;white-space:pre;min-height:175px}.sb-error{font-size:11px;color:#b66550;margin:0!important}.sb-inline-hint{font-size:10px;color:var(--sb-muted);padding:0 19px;margin:12px 0!important}.sb-editor-panel>.sb-inline-hint{padding:0;margin:0!important}.sb-segmented{display:flex;background:var(--sb-soft);padding:2px;border-radius:4px}.sb-segmented>button{width:26px;height:23px;border-radius:3px;display:flex;align-items:center;justify-content:center;color:var(--sb-muted)}.sb-segmented>.is-active{background:var(--sb-surface);box-shadow:0 1px 3px #0000000a}.sb-chart-legend{display:flex;align-items:center;gap:15px;flex-wrap:wrap;padding:8px 19px 6px}.sb-chart-legend>button{display:flex;align-items:center;gap:6px;font-size:10px;color:var(--sb-muted);padding:3px 0;border-radius:3px}.sb-chart-legend>button:hover{background:none;text-decoration:underline}.sb-chart-legend>button>span:not([data-showai-note]),.sb-dot{display:inline-block;width:6px;height:6px;border-radius:50%;flex-shrink:0}.sb-chart-legend>.is-muted{opacity:.4;text-decoration:line-through}.sb-chart-unit{margin-left:auto;font-size:9px;color:var(--sb-muted)}.sb-chart-canvas{padding:0 11px;position:relative;touch-action:pan-y}.sb-chart-canvas>svg{display:block;width:100%;height:auto;overflow:visible}.sb-chart-grid{stroke:var(--sb-line);stroke-dasharray:3 4;stroke-width:1}.sb-chart-label{font-size:10px;fill:var(--sb-muted);font-family:inherit}.sb-chart-crosshair{stroke:var(--sb-muted);stroke-width:1;stroke-dasharray:3 3;opacity:.5;pointer-events:none}.sb-chart-tooltip{position:absolute;top:13px;pointer-events:none;border:1px solid var(--sb-line);background:var(--sb-surface);border-radius:6px;padding:9px 12px;box-shadow:0 5px 20px #00000010;font-size:10px;min-width:112px;z-index:2}.sb-chart-tooltip>strong{display:block;font-size:10px;font-weight:500;margin-bottom:5px}.sb-chart-tooltip>div{display:flex;align-items:center;gap:6px;color:var(--sb-muted);margin-top:3px}.sb-chart-tooltip b{font-weight:500;margin-left:auto;color:var(--sb-text);padding-left:10px}.sb-data-details{border-top:1px solid var(--sb-line);font-size:10px;margin-top:10px}.sb-data-details>summary{list-style:none;cursor:pointer;padding:11px 19px;color:var(--sb-muted);display:flex;align-items:center;gap:8px;user-select:none}.sb-data-details>summary::-webkit-details-marker{display:none}.sb-data-details>summary:before{content:"\\203a";font-size:15px;line-height:1;transition:transform .15s}.sb-data-details[open]>summary:before{transform:rotate(90deg)}.sb-data-details>summary>span{margin-left:auto;font-size:9px}.sb-table-scroll{overflow:auto;max-width:100%;overscroll-behavior-x:contain}.sb-block table{border-collapse:collapse;width:100%;margin:0!important;font-size:11px;table-layout:auto}.sb-block th,.sb-block td{border:0;border-bottom:1px solid var(--sb-line);border-right:1px solid var(--sb-line);text-align:left;padding:9px 12px;vertical-align:middle;min-width:85px}.sb-block th:last-child,.sb-block td:last-child{border-right:0}.sb-block tbody tr:last-child>td{border-bottom:0}.sb-block th{font-weight:500;color:var(--sb-muted);background:var(--sb-soft);font-size:10px}.sb-block .sb-data-details th,.sb-block .sb-data-details td{padding:8px 19px}.sb-data-details .sb-table-scroll{max-height:320px}.sb-database-toolbar{display:flex;align-items:center;justify-content:space-between;gap:12px;padding:0 15px;border-bottom:1px solid var(--sb-line);min-height:43px}.sb-view-tabs{display:flex;align-self:stretch;gap:13px;flex-shrink:0}.sb-view-tabs>button{display:flex;gap:5px;align-items:center;padding:7px 2px;font-size:10px;position:relative;color:var(--sb-muted)}.sb-view-tabs>button.is-active{background:none;color:var(--sb-accent)}.sb-view-tabs>button.is-active:after{content:"";position:absolute;left:0;right:0;height:2px;background:var(--sb-accent);bottom:-1px}.sb-view-tabs>button:hover{background:none}.sb-database-tools{display:flex;align-items:center;gap:5px;min-width:0}.sb-search{display:flex;align-items:center;gap:5px;max-width:155px;color:var(--sb-muted)}.sb-search>input{min-width:0;width:90px;border:0;background:transparent;padding:6px 0;font-size:10px;color:var(--sb-text)}.sb-search .sb-icon-button{width:19px}.sb-filter-row,.sb-board-grouping{display:flex;align-items:center;gap:9px;padding:10px 17px;font-size:10px;color:var(--sb-muted);flex-wrap:wrap;border-bottom:1px solid var(--sb-line);background:var(--sb-soft)}.sb-filter-row select,.sb-board-grouping select{font-size:10px;border:1px solid var(--sb-line);padding:4px 6px;background:var(--sb-surface);border-radius:4px;max-width:180px}.sb-property-list{display:flex;flex-direction:column;gap:9px}.sb-property-row{display:flex;gap:8px;align-items:center}.sb-property-row>input{flex:2}.sb-property-row>select{flex:1.2}.sb-property-row>.sb-options-input{flex:2}.sb-database-table th{padding:0}.sb-database-table th>button{display:flex;align-items:center;gap:6px;padding:10px 12px;white-space:nowrap;width:100%;font-size:10px;text-align:left}.sb-type-symbol{font-size:10px;color:var(--sb-muted);min-width:13px;font-weight:400}.sb-database-table td{padding:0;min-width:115px;height:37px}.sb-database-table tbody tr:hover{background:color-mix(in srgb,var(--sb-soft) 50%,transparent)}.sb-cell-value{padding:8px 12px;display:block;overflow-wrap:anywhere;max-width:420px}.sb-placeholder{color:var(--sb-muted);opacity:.6}.sb-cell-input-wrap{display:flex;min-width:0;align-items:center}.sb-cell-input{border:0;background:transparent;outline-offset:-2px!important;min-width:70px;width:100%;padding:9px 12px;font-size:11px!important;height:37px}.sb-cell-input-wrap>.sb-icon-button{margin-right:5px}.sb-cell-link{color:var(--sb-accent);padding:8px 12px;display:flex;align-items:center;gap:6px;text-decoration:none;overflow-wrap:anywhere;max-width:350px}.sb-cell-link:hover{text-decoration:underline}.sb-cell-select{font-size:10px!important;border:0;border-radius:3px;padding:2px 5px;margin:7px 10px;max-width:calc(100% - 20px);outline-offset:1px!important;background:var(--sb-soft)}.sb-database-table input[type=checkbox]{display:block;margin:0 13px;width:13px;height:13px}.sb-tag{display:inline-flex;align-items:center;gap:5px;font-size:10px;border-radius:3px;padding:1px 7px;white-space:nowrap;background:var(--sb-soft);color:var(--sb-text);max-width:100%;overflow:hidden;text-overflow:ellipsis}.sb-database-table .sb-tag{margin:7px 12px}.sb-tag-0{background:#e9eee2;color:#6b7c53}.sb-tag-1{background:#e8eef4;color:#5b7a9a}.sb-tag-2{background:#f3edde;color:#9a804d}.sb-tag-3{background:#f0e8ee;color:#986e91}.sb-tag-4{background:#f3e7e0;color:#a3765d}.sb-block .sb-row-action{min-width:33px;width:33px;text-align:center;padding:0}.sb-row-action>.sb-icon-button{opacity:0}.sb-database-table tr:hover .sb-row-action>.sb-icon-button,.sb-row-action>.sb-icon-button:focus-visible{opacity:1}.sb-block .sb-add-row{display:flex;align-items:center;gap:8px;font-size:10px;color:var(--sb-muted);padding:10px 13px;width:100%;text-align:left}.sb-database-footer{padding:9px 15px;border-top:1px solid var(--sb-line);color:var(--sb-muted);font-size:9px;display:flex;justify-content:space-between;align-items:center;gap:10px;min-height:35px}.sb-database-footer>span{display:flex;gap:9px;align-items:center}.sb-pagination{display:flex;gap:8px;align-items:center}.sb-pagination>button{font-size:9px;color:var(--sb-muted);padding:3px;border-radius:3px}.sb-board-grouping{border:0;background:transparent}.sb-board-hint{margin-left:auto;font-size:9px}.sb-board{display:flex;gap:12px;overflow:auto;padding:8px 15px 16px;align-items:flex-start;max-height:600px}.sb-board-column{flex:1;min-width:200px;max-width:290px;background:var(--sb-soft);border:1px solid transparent;padding:8px;border-radius:6px;transition:border-color .2s}.sb-board-column.is-droppable{border-color:var(--sb-line)}.sb-board-column.is-droppable:hover{border-color:var(--sb-accent)}.sb-board-column-header{display:flex;gap:8px;align-items:center;font-size:9px;color:var(--sb-muted);margin-bottom:9px;padding:0 2px}.sb-board-column-header>.sb-icon-button{margin-left:auto;height:20px;width:20px}.sb-board-card{border:1px solid var(--sb-line);border-radius:5px;background:var(--sb-surface);padding:6px 4px;margin-bottom:8px;box-shadow:0 2px 3px #00000002;transition:opacity .15s,box-shadow .15s}.sb-board-card[draggable=true]{cursor:grab}.sb-board-card[draggable=true]:active{cursor:grabbing}.sb-board-card:hover{box-shadow:0 2px 8px #00000006}.sb-board-card.is-dragging{opacity:.35}.sb-board-card-title{font-size:11px;font-weight:500;min-width:0}.sb-board-card-field{display:flex;align-items:center;gap:5px;padding:0 6px}.sb-board-card-field>span:first-child{font-size:9px;color:var(--sb-muted);width:47px;flex-shrink:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.sb-board-card-field input{min-width:0}.sb-board-card .sb-cell-input{padding:5px;height:29px;font-size:10px!important}.sb-board-card .sb-cell-input-wrap{flex:1}.sb-board-card .sb-cell-value{padding:5px;font-size:10px;line-height:1.5}.sb-board-card .sb-cell-link{padding:5px;font-size:9px;max-width:140px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}.sb-board-card .sb-cell-select{margin:3px 5px;max-width:125px}.sb-board-card input[type=checkbox]{width:12px;height:12px}.sb-board-card-footer{display:flex;justify-content:space-between;align-items:center;padding:7px 6px 0;margin-top:5px;border-top:1px solid var(--sb-line)}.sb-board-card-footer>select{font-size:9px;border:0;background:var(--sb-soft);padding:4px 6px;border-radius:3px;color:var(--sb-muted);max-width:150px}.sb-board-card-footer .sb-icon-button{width:21px;height:21px}.sb-board-column>.sb-add-row{padding:5px;font-size:9px}.sb-metric-grid{display:grid;grid-template-columns:repeat(auto-fit,minmax(140px,1fr));padding:9px 0 20px}.sb-metric{padding:3px 22px;border-right:1px solid var(--sb-line);min-width:0}.sb-metric:last-child{border-right:0}.sb-metric-label{color:var(--sb-muted);font-size:10px}.sb-metric-value{font-size:31px;line-height:1.5;letter-spacing:-1px;font-weight:500;overflow-wrap:anywhere}.sb-metric-figure{font-variant-numeric:tabular-nums}.sb-metric-value>span:not(.sb-metric-figure){font-size:12px;font-weight:400;color:var(--sb-muted);letter-spacing:0;margin-left:6px}.sb-metric-foot{display:flex;flex-wrap:wrap;gap:5px 8px;font-size:9px;color:var(--sb-muted);margin-top:3px;min-height:17px}.sb-trend{display:inline-flex;align-items:center;gap:2px;color:var(--sb-accent)}.sb-trend.is-negative{color:#bd7b62}.sb-metric-editors{display:flex;flex-direction:column;gap:15px}.sb-metric-editor,.sb-parameter-editor{padding-top:13px;border-top:1px solid var(--sb-line);display:flex;flex-direction:column;gap:9px}.sb-playground-body{display:grid;grid-template-columns:1.4fr 1fr;gap:28px;padding:13px 22px 24px}.sb-parameters{display:flex;flex-direction:column;gap:24px}.sb-parameter{min-width:0}.sb-parameter-label{display:flex;justify-content:space-between;align-items:center;gap:10px;font-size:11px;margin-bottom:7px}.sb-parameter-label>div{display:flex;align-items:center;gap:5px;color:var(--sb-muted);font-size:9px}.sb-parameter-label input{width:64px;padding:3px 5px;font-size:11px;border:1px solid var(--sb-line);border-radius:4px;background:var(--sb-surface);text-align:right}.sb-parameter input[type=range]{display:block;width:100%;height:5px;margin:13px 0 9px;appearance:none;border-radius:5px;background:linear-gradient(to right,var(--sb-accent) var(--range-progress),var(--sb-line) var(--range-progress));cursor:pointer}.sb-parameter input[type=range]::-webkit-slider-thumb{appearance:none;width:13px;height:13px;background:var(--sb-surface);border:2px solid var(--sb-accent);border-radius:50%;box-shadow:0 1px 3px #0002;transition:box-shadow .15s}.sb-parameter input[type=range]::-webkit-slider-thumb:hover{box-shadow:0 0 0 4px var(--sb-accent-soft)}.sb-parameter input[type=range]::-moz-range-thumb{width:10px;height:10px;background:var(--sb-surface);border:2px solid var(--sb-accent);border-radius:50%}.sb-range-labels{display:flex;justify-content:space-between;font-size:9px;color:var(--sb-muted)}.sb-calculation-result{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:0;background:transparent;border:0;font-size:10px;color:var(--sb-muted);min-width:0}.sb-calculation-result>strong{font-size:30px;font-weight:500;color:var(--sb-accent);letter-spacing:-1px;line-height:1.5;overflow-wrap:anywhere;max-width:100%}.sb-calculation-result small{font-size:10px;color:var(--sb-muted);letter-spacing:0;font-weight:400;margin-left:5px}.sb-formula{font-size:9px;line-height:1.8;margin-top:5px}.sb-local-state-note{font-size:8px;letter-spacing:.3px;border-top:1px solid var(--sb-line);margin-top:20px;padding-top:9px;width:100%;color:var(--sb-muted)}.sb-bookmark>.sb-header{padding-bottom:8px}.sb-block.sb-bookmark .sb-bookmark-link{display:flex;align-items:stretch;gap:12px;color:inherit;text-decoration:none;margin:0;padding:0;border:1px solid var(--sb-line);border-radius:8px;background:var(--sb-soft);overflow:hidden;transition:background .15s,border-color .15s}.sb-block.sb-bookmark .sb-bookmark-link:hover{background:var(--sb-hover);border-color:color-mix(in srgb,var(--sb-accent) 20%,var(--sb-line));text-decoration:none}.sb-bookmark-copy{flex:1;min-width:0;padding:10px 12px}.sb-bookmark-copy>strong{font-size:13px;font-weight:500;overflow-wrap:anywhere}.sb-bookmark-copy>p{font-size:11px;color:var(--sb-muted);line-height:1.6;margin:4px 0 6px!important;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.sb-bookmark-domain{display:flex;gap:6px;align-items:center;color:var(--sb-muted);font-size:9px;margin-top:6px}.sb-bookmark-domain>svg:last-child{margin-left:auto}.sb-bookmark-link>img{display:block;object-fit:cover;width:120px;max-height:140px;align-self:stretch;border:0;border-radius:0}.sb-gallery-grid{display:grid;gap:13px;padding:8px 18px 18px}.sb-gallery-columns-1{grid-template-columns:1fr}.sb-gallery-columns-2{grid-template-columns:repeat(2,minmax(0,1fr))}.sb-gallery-columns-3{grid-template-columns:repeat(3,minmax(0,1fr))}.sb-gallery-grid:has(>figure:only-child){grid-template-columns:1fr}.sb-gallery-grid figure{margin:0!important;min-width:0}.sb-gallery-grid figure>button{display:block;position:relative;width:100%;aspect-ratio:4/3;border-radius:5px;overflow:hidden;background:var(--sb-soft);padding:0}.sb-gallery-grid figure>button>img{display:block;width:100%;height:100%;object-fit:cover;transition:transform .3s;max-width:100%;margin:0!important;border:0!important;border-radius:0!important}.sb-gallery-columns-1 figure>button{aspect-ratio:16/9}.sb-gallery-grid figure>button:hover>img{transform:scale(1.025)}.sb-gallery-grid figcaption{color:var(--sb-muted);font-size:10px;padding:7px 2px 0;line-height:1.6;overflow-wrap:anywhere}.sb-gallery-expand{position:absolute;right:8px;bottom:8px;width:27px;height:27px;display:flex;align-items:center;justify-content:center;border-radius:4px;background:#ffffffd9;color:#343a35;opacity:0;transition:opacity .15s}.sb-gallery-grid figure>button:hover .sb-gallery-expand,.sb-gallery-grid figure>button:focus-visible .sb-gallery-expand{opacity:1}.sb-gallery-editor{display:flex;gap:11px;align-items:flex-start;border-top:1px solid var(--sb-line);padding-top:14px}.sb-gallery-editor-preview{width:70px;height:70px;flex-shrink:0;background:var(--sb-surface);border:1px solid var(--sb-line);border-radius:5px;display:flex;align-items:center;justify-content:center;margin-top:18px;color:var(--sb-muted);overflow:hidden}.sb-gallery-editor-preview>img{object-fit:cover;width:100%;height:100%;margin:0!important;border:0!important;border-radius:0!important}.sb-gallery-editor-fields{flex:1;min-width:0;display:flex;flex-direction:column;gap:8px}.sb-gallery-editor-actions{display:flex;flex-direction:column;gap:3px;padding-top:18px}.sb-lightbox{position:fixed;inset:0;background:#101611f2;backdrop-filter:blur(12px);z-index:500;display:flex;align-items:center;justify-content:center;padding:50px 65px;color:#f1f5ee;font-family:Avenir Next,PingFang SC,sans-serif;animation:sb-reveal .2s ease}.sb-lightbox figure{margin:0;min-width:0;max-width:100%;max-height:100%;display:flex;flex-direction:column}.sb-lightbox figure>img{animation:showai-pop-in var(--duration-slow) var(--ease-out);max-width:100%;max-height:calc(100dvh - 150px);object-fit:contain;display:block;margin:auto}.sb-lightbox figcaption{font-size:12px;line-height:1.8;text-align:center;padding:15px 0;overflow-wrap:anywhere}.sb-lightbox figcaption>span{display:block;color:#a8b2a7;font-size:10px;padding-top:5px}.sb-lightbox>button{position:absolute;background:#ffffff0b;border:1px solid #ffffff15;color:#f1f5ee;cursor:pointer;width:39px;height:39px;border-radius:50%;display:flex;align-items:center;justify-content:center}.sb-lightbox>button:hover{background:#ffffff20}.sb-lightbox>button:focus-visible{outline:2px solid #b8ceba;outline-offset:4px}.sb-lightbox-close{top:20px;right:22px}.sb-lightbox-prev{left:15px}.sb-lightbox-next{right:15px}.sb-unavailable{padding:20px;background:var(--sb-soft)}.sb-unavailable-heading{display:flex;gap:12px;align-items:flex-start}.sb-unavailable-heading>svg{color:var(--sb-muted);margin-top:3px}.sb-unavailable-heading strong{font-size:12px;font-weight:500}.sb-unavailable-heading p{font-size:10px;color:var(--sb-muted);line-height:1.8;margin:5px 0!important}.sb-unavailable>.sb-data-details{margin:10px 0 13px}.sb-unavailable .sb-data-details>summary{padding-left:0}.sb-unavailable pre{font:10px/1.7 monospace;overflow:auto;max-height:300px;white-space:pre;background:var(--sb-surface);padding:12px;border:1px solid var(--sb-line);border-radius:5px}.sb-block input[type=number]{font-variant-numeric:tabular-nums}.sb-block .sb-cell-input[type=number]{appearance:textfield}.sb-block .sb-cell-input[type=number]::-webkit-inner-spin-button{appearance:none}:root[data-theme=dark] .sb-tag-0{background:#34432d;color:#c1d2ae}:root[data-theme=dark] .sb-tag-1{background:#2d3e4b;color:#b1c8df}:root[data-theme=dark] .sb-tag-2{background:#443d2b;color:#d5c59e}:root[data-theme=dark] .sb-tag-3{background:#443142;color:#d1b3ca}:root[data-theme=dark] .sb-tag-4{background:#49372d;color:#d9bfa9}@keyframes sb-reveal{0%{opacity:0;transform:translateY(-3px)}to{opacity:1;transform:translateY(0)}}@media(max-width:600px){.sb-header{padding:4px}.sb-title{font-size:11px;gap:6px}.sb-description{font-size:9px}.sb-actions{gap:3px}.sb-editor-panel{padding:14px 12px}.sb-form-row{gap:8px;flex-wrap:wrap}.sb-form-row>.sb-field{flex-basis:80px}.sb-panel-footer{gap:10px}.sb-panel-footer>span{flex-basis:100%}.sb-database-toolbar{padding:0 10px;gap:8px;flex-wrap:wrap}.sb-view-tabs{height:37px}.sb-database-tools{padding-bottom:4px}.sb-search{max-width:110px}.sb-search>input{width:68px}.sb-property-row{flex-wrap:wrap}.sb-property-row>.sb-options-input{flex-basis:100%;order:3}.sb-property-row>.sb-icon-button{width:22px}.sb-metric-grid{grid-template-columns:repeat(2,minmax(0,1fr));gap:17px 0}.sb-metric{padding:0 16px}.sb-metric:nth-child(2n){border-right:0}.sb-metric-value{font-size:27px}.sb-playground-body{padding:13px 15px 18px;gap:20px;grid-template-columns:1fr}.sb-calculation-result{padding:15px}.sb-calculation-result>strong{font-size:29px}.sb-local-state-note{margin-top:10px}.sb-board-column{min-width:185px}.sb-bookmark-copy{padding:10px 12px}.sb-bookmark-link>img{width:100px;max-height:150px}.sb-bookmark-copy>strong{font-size:12px}.sb-bookmark-copy>p{font-size:10px}.sb-gallery-grid{padding:7px 12px 14px;gap:10px}.sb-gallery-columns-3{grid-template-columns:repeat(2,minmax(0,1fr))}.sb-gallery-editor-preview{width:45px;height:45px}.sb-gallery-editor{gap:7px}.sb-gallery-editor-actions{gap:1px}.sb-chart-legend{padding:7px 13px 6px;gap:10px}.sb-chart-tooltip{font-size:9px;padding:6px 9px;max-width:150px}.sb-row-action>.sb-icon-button{opacity:1}.sb-lightbox{padding:55px 42px}.sb-lightbox>button{width:31px;height:31px}.sb-lightbox-prev{left:6px}.sb-lightbox-next{right:6px}}@media(prefers-reduced-motion:reduce){.sb-block *,.sb-lightbox{transition:none!important;animation:none!important}}@media print{.sb-header>.sb-actions,.sb-editor-panel,.sb-database-tools,.sb-filter-row,.sb-board-card-footer,.sb-add-row,.sb-pagination,.sb-lightbox,.sb-gallery-expand,.sb-database-table .sb-row-action{display:none!important}.sb-block{break-inside:avoid;border-color:#ddd;background:#fff;color:#222;--sb-surface: #fff;--sb-soft: #f6f7f4;--sb-line: #ddd;--sb-text: #222;--sb-muted: #666;--sb-accent: #42674e;box-shadow:none}.sb-chart-legend{pointer-events:none}.sb-chart-grid{stroke:#ddd}.sb-table-scroll,.sb-board{overflow:visible;max-height:none}.sb-gallery-grid,.sb-metric-grid{-webkit-print-color-adjust:exact;print-color-adjust:exact}}.sb-primitive{margin:0;min-width:0;overflow-wrap:anywhere}.sb-rich-text{line-height:1.75}.sb-rich-text>:first-child{margin-top:0}.sb-rich-text>:last-child{margin-bottom:0}.sb-rich-text h1,.sb-rich-text h2,.sb-rich-text h3{line-height:1.35;letter-spacing:-.02em}.sb-rich-text blockquote{margin:20px 0;padding:8px 18px;border-left:3px solid #62836b;background:#edf3ee}.sb-rich-text pre{padding:14px;overflow:auto;background:#f1f3ef;border-radius:5px}.sb-rich-text img,.sb-image img{display:block;max-width:100%}.sb-image figcaption{font-size:12px;color:#73796f;text-align:center;padding-top:9px}.sb-image-empty{padding:55px 15px;background:#f1f3ef;text-align:center;color:#73796f}.sb-primitive-editor{margin-top:14px;font-size:12px;color:#73796f}.sb-primitive-editor summary{cursor:pointer}.sb-primitive-editor textarea,.sb-primitive-editor input{display:block;width:100%;padding:8px;border:1px solid #dce1d7;border-radius:5px;background:#fff;font:inherit;color:#292d29}.sb-primitive-editor textarea{min-height:130px;margin-top:8px}.sb-primitive-editor label{display:block;margin-top:8px}.sb-table-scroll{overflow-x:auto}.sb-table table,.sb-rich-text table{width:100%;border-collapse:collapse;font-size:inherit}.sb-table th,.sb-table td,.sb-rich-text th,.sb-rich-text td{padding:10px 14px;text-align:left;border-bottom:1px solid #dce1d7}.sb-table th,.sb-table td{border:1px solid var(--line, var(--border, #e8ece5))}.sb-table th,.sb-rich-text th{background:#f1f3ef;font-weight:600}.sb-table input{width:100%;min-width:70px;color:inherit;background:transparent;border:0;font:inherit}.sb-table-actions{display:flex;gap:12px;margin-top:10px;font-size:12px}.sb-toggle>summary{cursor:pointer;font-weight:600;padding:8px 0}.sb-toggle>.sb-text{padding:8px 0 8px 20px}.sb-callout>strong{display:block;margin-bottom:7px}.sb-code pre{margin:0;padding:16px;overflow-x:auto;background:#f1f3ef;border-radius:5px;font:13px/1.65 ui-monospace,monospace}.sb-code textarea{width:100%;margin-top:10px;min-height:130px;font:13px/1.65 ui-monospace,monospace}.table-alignment-buttons{display:inline-flex;align-items:center;gap:2px;padding:2px;border:1px solid var(--border, #dedee5);border-radius:6px;background:var(--surface, #fff);box-shadow:0 2px 8px #0000000d;color:var(--muted, #70717c)}.table-alignment-buttons>button{display:inline-flex;align-items:center;justify-content:center;width:26px;height:24px;padding:0;border:0;border-radius:4px;background:transparent;color:inherit;cursor:pointer}.table-alignment-buttons>button:hover,.table-alignment-buttons>button:focus-visible{background:var(--hover, #f1f1f5);color:var(--text, #222)}.table-alignment-buttons>button:focus-visible{outline:2px solid var(--accent, #635bff);outline-offset:1px}.table-alignment-buttons>button[aria-pressed=true]{background:color-mix(in srgb,var(--accent, #635bff) 12%,transparent);color:var(--accent, #635bff)}.sb-table,.sb-table-frame,.sb-table th{position:relative}.sb-table input{text-align:inherit}.sb-table-global-alignment,.sb-table-context-menu,.table-global-alignment{display:flex;align-items:center;gap:4px;width:max-content;padding:3px 4px;border:1px solid var(--border, #dedee5);border-radius:7px;background:var(--surface, #fff);box-shadow:0 3px 12px #00000012;color:var(--muted, #70717c);font-size:11px;line-height:1.4;white-space:nowrap;text-align:left}.sb-table-global-alignment .table-alignment-buttons,.sb-table-context-menu .table-alignment-buttons,.table-global-alignment .table-alignment-buttons{border:0;box-shadow:none}.sb-table-context-menu{position:absolute;z-index:20}.document-table-controls,.table-hover-controls{position:fixed;z-index:1100}@media print{.sb-table-global-alignment,.sb-table-column-alignment,.sb-table-context-menu,.document-table-controls,.table-hover-controls{display:none!important}}.sb-block>.sb-data-details:not([open]),.sb-primitive>.sb-primitive-editor:not([open]){position:absolute;right:0;bottom:0;z-index:6;margin:0;border:0}.sb-block>.sb-data-details:not([open])>summary,.sb-primitive-editor:not([open])>summary{opacity:0;padding:6px 10px;background:var(--sb-surface, #fff);border-radius:4px}.sb-data-details:not([open]):hover>summary,.sb-data-details:not([open]):focus-within>summary,.sb-primitive-editor:not([open]):hover>summary,.sb-primitive-editor:not([open]):focus-within>summary{opacity:1}.sb-primitive{position:relative}.sb-table-actions{position:absolute;right:0;top:0;z-index:6;margin:0;padding:6px 10px;background:var(--paper, #fff);border-radius:4px;opacity:0}.sb-table-actions:hover,.sb-table-actions:focus-within{opacity:1}.sb-gallery-grid,.sb-metric-grid{padding-inline:0}.sb-chart-legend{padding-left:0;padding-right:0}.sb-g2-chart>.sb-g2-toolbar{position:absolute;right:0;top:36px;z-index:7;margin:0;padding:5px 8px;background:var(--sb-surface);border-radius:5px;opacity:0}.sb-g2-chart>.sb-g2-toolbar:hover,.sb-g2-chart>.sb-g2-toolbar:focus-within{opacity:1}.sb-g2-toolbar>span{display:none}@media(hover:none){.sb-header>.sb-actions,.sb-block>.sb-data-details:not([open])>summary,.sb-primitive-editor:not([open])>summary,.sb-table-actions,.sb-g2-chart>.sb-g2-toolbar{opacity:1}}@media print{.sb-header>.sb-actions,.sb-block>.sb-data-details:not([open]),.sb-primitive-editor,.sb-table-actions,.sb-g2-toolbar{display:none!important}}.sb-metric-foot:empty{display:none}.sb-board-column>.sb-add-row{opacity:0}.sb-board-column>.sb-add-row:hover,.sb-board-column>.sb-add-row:focus-visible{opacity:1}@media(hover:none){.sb-board-column>.sb-add-row{opacity:1}}
59
+ `);var $v=W(De(),1),Qv=(0,$v.createContext)(null);function ex(e){let t=e&&typeof e=="object"&&!Array.isArray(e)?e.$binding:void 0;return!!t&&typeof t=="object"&&!Array.isArray(t)}var Jt=W(de(),1),ax=kt(fi);function jd({kind:e,data:t,readOnly:a,state:n,error:o,stack:r,onRetry:i,unavailable:l}){let s=le(fi),c=(0,Ba.useContext)(gi),d=Hd(e);return(0,Jt.jsx)(al,{state:n,name:d?.title??e,title:l?s("status.unavailable",{name:d?.title??e}):void 0,reference:e,query:e,error:o,stack:r,cause:n==="missing"?s("status.missingBuiltinCause",{kind:e}):n==="invalid"?o:void 0,data:t,readOnly:a,assistant:a?null:c,onRetry:i})}var Nm=class extends Ba.Component{state={error:null};static getDerivedStateFromError(t){return{error:{message:t?.message||ax("renderFailed"),...typeof t?.stack=="string"?{stack:t.stack}:{}}}}componentDidUpdate(t){this.state.error&&(t.data!==this.props.data||t.kind!==this.props.kind)&&this.setState({error:null})}render(){return this.state.error?(0,Jt.jsx)(jd,{kind:this.props.kind,data:this.props.data,readOnly:this.props.readOnly,state:"crashed",error:this.state.error.message,stack:this.state.error.stack,onRetry:()=>this.setState({error:null})}):this.props.children}},Dm=(0,Ba.memo)(function(t){let a=(0,Ba.useContext)(Qv);return ex(t.data)?a?(0,Jt.jsxs)(Jt.Fragment,{children:[(0,Jt.jsx)(a.Action,{...t}),(0,Jt.jsx)(a.Bound,{...t,render:n=>(0,Jt.jsx)(tx,{...n})})]}):(0,Jt.jsx)(jd,{kind:t.kind,data:t.data,readOnly:t.readOnly,state:"invalid",unavailable:!0,error:ax("sharedDataUnavailable")}):(0,Jt.jsxs)(Jt.Fragment,{children:[a&&(0,Jt.jsx)(a.Action,{...t}),(0,Jt.jsx)(tx,{...t})]})}),tx=(0,Ba.memo)(function({kind:t,data:a,onChange:n,readOnly:o,host:r}){let i=(0,Ba.useMemo)(()=>b7(a),[a]),l=n&&!o?b=>n(Lr(b)):void 0,s=(0,Ba.useContext)(hi),c=(0,Ba.useContext)(gi),d=(0,Ba.useMemo)(()=>({useCatalog:As,registerComponent:s,renderWidget:b=>(0,Jt.jsx)(Dm,{...b}),assistant:o?null:c}),[s,c,o]);(0,Ba.useSyncExternalStore)(Jv,Em,Em);let f=le(fi),u=Hd(t);if(!u)return(0,Jt.jsx)(jd,{kind:t,data:a,readOnly:o,state:"missing"});if(u.validate)try{u.validate(i)}catch(b){return(0,Jt.jsx)(jd,{kind:t,data:a,readOnly:o,state:"invalid",error:b instanceof Error?b.message:f("invalidData")})}let g=u.renderer;return(0,Jt.jsx)(Nm,{kind:t,data:a,readOnly:o,children:(0,Jt.jsx)(Ba.Suspense,{fallback:(0,Jt.jsx)(td,{className:"sb-block","data-preview-pending":"true",label:f("loading"),lines:2,minHeight:typeof a.height=="number"?a.height:t.startsWith("g2-")?320:180}),children:(0,Jt.jsx)(a0.Provider,{value:d,children:(0,Jt.jsx)(g,{data:i,onChange:l,readOnly:o,host:r})})})},t)});var Ud=W(de(),1);function nx({content:e,data:t}){return(0,Ud.jsx)(cv,{content:e,data:t,renderWidget:(a,n)=>(0,Ud.jsx)(ZT,{kind:a,data:n})})}function ZT({kind:e,data:t}){let[a,n]=(0,_d.useState)(t);(0,_d.useEffect)(()=>n(t),[t]);let o=typeof window>"u"?void 0:window.document.querySelector('script#showai-read-options[type="application/json"]')?.textContent,r=o?JSON.parse(o).draft===!0:!1;return(0,Ud.jsx)(Dm,{kind:e,data:a,readOnly:!r,onChange:r?n:void 0})}var Mm=W(de(),1);function rx({document:e,heading:t,presentation:a="spatial",partial:n=!1}){let o=(0,ox.useMemo)(()=>Z1(e,{includeTitle:!n}),[e,n]),r=typeof window>"u"?null:window.document.querySelector('script#showai-read-options[type="application/json"]')?.textContent,i=r?JSON.parse(r).nativeInkBackground===!0:!1;return(0,Mm.jsx)(tv,{document:o,hideTitle:n,header:t,reading:a==="reading",nativeInkBackground:i,renderContent:({content:l,componentData:s})=>(0,Mm.jsx)(nx,{content:l,data:s})})}var wo=W(De(),1);function Vd(e){return e.text?e.text:e.type==="widget"&&e.attrs?.kind==="text"?Vd(kl(e.attrs.data)):(e.content??[]).map(Vd).join(e.type==="doc"?`
60
+ `:"")}var Zd={ids:100,labels:20,labelChars:160},ix=e=>e.replace(/\s+/g," ").trim().slice(0,Zd.labelChars);function lx(e){if(e.type!=="widget"||e.attrs?.kind!=="text")return[];let t=e.attrs.data;return t&&typeof t=="object"?kl(t).content??[]:[]}function Am(e,t){if(t.length>=Zd.labels)return;let a=lx(e);if(a.length){for(let n of a)Am(n,t);return}if(e.content?.some(n=>n.type==="text")){let n=ix(Vd(e));n&&t.push(n);return}for(let n of e.content??[])Am(n,t)}function Gd(e,t){let a=new Map,n=new Map;Zn(e.content,i=>{let l=i.attrs?.id;if(!(typeof l!="string"||["doc","text"].includes(i.type??""))){a.set(l,i);for(let s of lx(i))Zn(s,c=>{typeof c.attrs?.id=="string"&&n.set(c.attrs.id,l)})}});let o=[],r=[];for(let i of t){let l=a.has(i)?i:n.get(i);l?o.includes(l)||o.push(l):r.push(i)}return{ids:o,missing:r,nodes:a}}function sx(e,t,a){let{document:n}=t,{ids:o,missing:r,nodes:i}=Gd(n,a.blockIds??[]);if(r.length)throw new Error(`Referenced content is not in the saved page: ${r.join(", ")}`);if(a.surfaceId&&!i.has(a.surfaceId))throw new Error(`Referenced Board is not in the saved page: ${a.surfaceId}`);let l=[];if(a.kind==="text"&&a.text)for(let d of a.text.split(`
61
+ `)){let f=ix(d);f&&l.length<Zd.labels&&l.push(f)}else{let d=o.length?o.map(f=>i.get(f)):[a.surfaceId&&i.get(a.surfaceId)||n.content];for(let f of d)Am(f,l)}let s=o.slice(0,Zd.ids),c=a.kind==="board"?"board":s.length?"selection":"page";return{type:"showai.reference",version:1,kind:c,projectId:e,pageId:n.id,title:n.title,hash:t.hash,...t.revision?{revision:t.revision}:{},...s.length?c==="board"?{nodeIds:s}:{blockIds:s}:{},...a.surfaceId?{surfaceId:a.surfaceId}:{},labels:l,...a.reference?{position:a.reference}:{}}}function GT(e){let t=e.blockIds??e.nodeIds??(e.surfaceId?[e.surfaceId]:[]),a=`showai://project/${encodeURIComponent(e.projectId)}/page/${encodeURIComponent(e.pageId)}`;return t.length?`${a}?blocks=${t.map(encodeURIComponent).join(",")}`:a}var Im=e=>(e.revision??e.hash).slice(0,7);function cx(e,t){return`${t}
62
+ ${GT(e)}
63
+ ${JSON.stringify(e)}`}var Vs=ct("reader",{"zh-CN":{draftNote:"\u4EA4\u4E92\u9884\u89C8 \xB7 \u66F4\u6539\u4EC5\u4FDD\u5B58\u5728\u6B64\u9884\u89C8\u4E2D",downloadOriginalSource:"\u4E0B\u8F7D\u539F\u59CB\u6E90\u6587\u4EF6",remoteInlineBlocked:"\u5BF9\u8BDD\u5185\u9875\u9762\u5FC5\u987B\u5B8C\u6574\u6253\u5305\u7EC4\u4EF6\uFF0C\u4E0D\u80FD\u4F7F\u7528\u8FDC\u7A0B\u4F9D\u8D56\u3002",remoteLoadFailed:"\u8FDC\u7A0B\u7EC4\u4EF6\u65E0\u6CD5\u52A0\u8F7D\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u3002",remoteLoading:"\u6B63\u5728\u6821\u9A8C\u5E76\u52A0\u8F7D\u5DF2\u53D1\u5E03\u7684\u56FA\u5B9A\u7248\u672C\u7EC4\u4EF6\u2026",remoteRequired:"\u6B64\u9875\u9762\u4F7F\u7528\u5DF2\u53D1\u5E03\u7684\u56FA\u5B9A\u7248\u672C\u7EC4\u4EF6\uFF0C\u9700\u8981\u8054\u7F51\u52A0\u8F7D\u3002",integrityUnavailable:"\u7EC4\u4EF6\u5B8C\u6574\u6027\u6821\u9A8C\u9700\u8981 HTTPS \u6216\u5728\u672C\u673A\u6253\u5F00\u9875\u9762\u3002",componentFetchFailed:"\u65E0\u6CD5\u52A0\u8F7D\u7EC4\u4EF6 {component}\uFF1A{reason}\u3002\u8BF7\u68C0\u67E5\u7F51\u7EDC\u548C\u53D1\u5E03\u670D\u52A1\u5668\u7684 CORS \u8BBE\u7F6E\u3002",networkFailed:"\u7F51\u7EDC\u8BF7\u6C42\u5931\u8D25",contentUnavailable:"\u6B64\u90E8\u5206\u5185\u5BB9\u6682\u65F6\u65E0\u6CD5\u52A0\u8F7D\uFF0C\u8BF7\u68C0\u67E5\u7F51\u7EDC\u540E\u5237\u65B0\u3002",contentUnverified:"\u6B64\u90E8\u5206\u5185\u5BB9\u672A\u901A\u8FC7\u5B8C\u6574\u6027\u6821\u9A8C\uFF0C\u6CA1\u6709\u52A0\u8F7D\u3002",componentChecksumFailed:"\u7EC4\u4EF6 {component} \u7684\u6587\u4EF6\u6821\u9A8C\u5931\u8D25\uFF08SHA-256 \u6216\u5B57\u8282\u6570\u4E0D\u4E00\u81F4\uFF09\u3002",lockedComponentMissing:"\u7F3A\u5C11\u9875\u9762\u9501\u5B9A\u7684\u7EC4\u4EF6 {component}\uFF0C\u539F\u9875\u9762\u672A\u88AB\u66FF\u6362\u3002",emptyPage:"\u9875\u9762\u5185\u5BB9\u4E3A\u7A7A\u3002",unreadablePage:"\u65E0\u6CD5\u8BFB\u53D6\u8FD9\u4EFD\u9875\u9762\u3002",openFailed:"\u65E0\u6CD5\u6253\u5F00\u9875\u9762",referenceSelection:"\u5F15\u7528\u9009\u533A\u5230\u5BF9\u8BDD\uFF08{count}\uFF09",referenceBlock:"\u5F15\u7528\u6B64\u5185\u5BB9\u5757\u5230\u5BF9\u8BDD",referencePage:"\u5F15\u7528\u6574\u9875\u5230\u5BF9\u8BDD",referenceClear:"\u53D6\u6D88\u5BF9\u8BDD\u5F15\u7528",referenceAdded:"\u5DF2\u52A0\u5165\u5BF9\u8BDD\u8F93\u5165\u6846 \xB7 \u5F15\u7528\u7248\u672C {version}",referenceCleared:"\u5DF2\u53D6\u6D88\u5BF9\u8BDD\u5F15\u7528",referenceUnavailable:"\u5F53\u524D\u5BF9\u8BDD\u4E0D\u63A5\u6536\u9875\u9762\u5F15\u7528\u3002",referenceHeadingSelection:"ShowAI \u5F15\u7528 \xB7 \u9009\u533A\uFF08{count} \u4E2A\u5185\u5BB9\u5757\uFF09\xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}",referenceHeadingBoard:"ShowAI \u5F15\u7528 \xB7 \u767D\u677F\u4E2D {count} \u4E2A\u5BF9\u8C61 \xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}",referenceHeadingBoardAll:"ShowAI \u5F15\u7528 \xB7 \u6574\u4E2A\u767D\u677F \xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}",referenceHeadingPage:"ShowAI \u5F15\u7528 \xB7 \u6574\u9875 \xB7\u300A{title}\u300B\xB7 \u7248\u672C {version}"},en:{draftNote:"Interactive preview \xB7 Changes are kept only in this preview",downloadOriginalSource:"Download original source file",remoteInlineBlocked:"Pages shown in a conversation must bundle their components; remote dependencies aren't allowed.",remoteLoadFailed:"Couldn't load remote components. Check your network.",remoteLoading:"Verifying and loading published component versions\u2026",remoteRequired:"This page uses published component versions and needs a network connection to load them.",integrityUnavailable:"Verifying components requires HTTPS or opening the page locally.",componentFetchFailed:"Couldn't load component {component}: {reason}. Check your network and the publishing server's CORS settings.",networkFailed:"Network request failed",contentUnavailable:"Part of this page can't be loaded right now. Check your network and refresh.",contentUnverified:"Part of this page failed verification and wasn't loaded.",componentChecksumFailed:"Component {component} failed verification (SHA-256 or size mismatch).",lockedComponentMissing:"Component {component} locked by this page is missing. The original page was not replaced.",emptyPage:"The page is empty.",unreadablePage:"Couldn't read this page.",openFailed:"Couldn't open page",referenceSelection:"Reference selection in chat ({count})",referenceBlock:"Reference this block in chat",referencePage:"Reference the page in chat",referenceClear:"Remove the chat reference",referenceAdded:"Added to the chat input \xB7 version {version}",referenceCleared:"Chat reference removed",referenceUnavailable:"This conversation doesn't accept page references.",referenceHeadingSelection:{one:"ShowAI reference \xB7 selection ({count} block) \xB7 \u201C{title}\u201D \xB7 version {version}",other:"ShowAI reference \xB7 selection ({count} blocks) \xB7 \u201C{title}\u201D \xB7 version {version}"},referenceHeadingBoard:{one:"ShowAI reference \xB7 {count} board object \xB7 \u201C{title}\u201D \xB7 version {version}",other:"ShowAI reference \xB7 {count} board objects \xB7 \u201C{title}\u201D \xB7 version {version}"},referenceHeadingBoardAll:"ShowAI reference \xB7 whole board \xB7 \u201C{title}\u201D \xB7 version {version}",referenceHeadingPage:"ShowAI reference \xB7 whole page \xB7 \u201C{title}\u201D \xB7 version {version}"}});var io=W(de(),1),FT="showai:conversation-reference";function ux(e){let t=e?JSON.parse(e).conversation:null;return t&&typeof t.projectId=="string"&&typeof t.pageId=="string"&&typeof t.hash=="string"?{projectId:t.projectId,pageId:t.pageId,title:typeof t.title=="string"?t.title:"",hash:t.hash,...typeof t.revision=="string"?{revision:t.revision}:{}}:null}var Rm=e=>e.dataset.blockId??e.dataset.surfaceId;function dx(e,t){let{clientX:a,clientY:n}=t,o=t.target instanceof Element?e7(t.target):null,r=window.getSelection(),i=r?.rangeCount?r.getRangeAt(0):null,l=o?.ranges??(i&&!i.collapsed?[i]:[]);if(!l.some(d=>[...d.getClientRects()].some(f=>a>=f.left&&a<=f.right&&n>=f.top&&n<=f.bottom)))return null;let c=[...e.querySelectorAll("[data-block-id],[data-surface-id]")].filter(d=>l.some(f=>{if(!f.intersectsNode(d))return!1;let u=document.createRange();return u.selectNodeContents(d),f.compareBoundaryPoints(Range.START_TO_START,u)<=0&&f.compareBoundaryPoints(Range.END_TO_END,u)>=0?!0:(f.compareBoundaryPoints(Range.START_TO_START,u)>0&&u.setStart(f.startContainer,f.startOffset),f.compareBoundaryPoints(Range.END_TO_END,u)<0&&u.setEnd(f.endContainer,f.endOffset),u.toString().trim()!=="")}));return{elements:c.filter(d=>!c.some(f=>f!==d&&d.contains(f))),text:o?.text??r?.toString()??""}}function px(e,t,a){let n=le(Vs),[o,r]=(0,wo.useState)(null),[i,l]=(0,wo.useState)(!1),[s,c]=(0,wo.useState)(""),d=(0,wo.useRef)(null),f=async(m,v="")=>{let k={reference:m,text:v};if(e.current?.dispatchEvent(new CustomEvent(FT,{bubbles:!0,composed:!0,detail:k})),!k.result)throw new Error(n("referenceUnavailable"));await k.result},u=m=>{if(!a)return;let{ids:v}=Gd(t,m.blockIds??[]),k=m.surfaceId&&!Gd(t,[m.surfaceId]).missing.length?m.surfaceId:void 0,w=sx(a.projectId,{document:t,hash:a.hash,revision:a.revision},{...m,blockIds:v,surfaceId:k,...m.kind!=="page"&&!v.length&&!k?{kind:"page"}:{}}),z=n(w.kind==="page"?"referenceHeadingPage":w.kind==="board"?w.nodeIds?.length?"referenceHeadingBoard":"referenceHeadingBoardAll":"referenceHeadingSelection",{title:w.title||a.title,count:(w.blockIds??w.nodeIds??[]).length,version:Im(w)});f(w,cx(w,z)).then(()=>{l(!0),c(n("referenceAdded",{version:Im(w)}))}).catch(P=>c(P.message))},g=()=>{f(null).then(()=>{l(!1),c(n("referenceCleared"))}).catch(m=>c(m.message))};(0,wo.useEffect)(()=>{let m=e.current;if(!a||!m)return;let v=null,k=z=>{z.button===2&&(v={at:z.timeStamp,selection:dx(m,z)})},w=z=>{let P=z.target;if(z.shiftKey||P.closest("input,textarea,select,a[href],[contenteditable=true]"))return;z.preventDefault();let j=v&&z.timeStamp-v.at<1e3?v.selection:dx(m,z);v=null,r({x:z.clientX,y:z.clientY,selection:j?.elements??[],text:j?.text??"",block:P.closest("[data-block-id],[data-surface-id]")})};return m.addEventListener("pointerdown",k,!0),m.addEventListener("contextmenu",w),()=>{m.removeEventListener("pointerdown",k,!0),m.removeEventListener("contextmenu",w)}},[e,a]),(0,wo.useEffect)(()=>{if(!o)return;let m=v=>{v instanceof KeyboardEvent&&v.key!=="Escape"||v instanceof PointerEvent&&d.current?.contains(v.target)||r(null)};return window.addEventListener("pointerdown",m,!0),window.addEventListener("keydown",m,!0),window.addEventListener("scroll",m,!0),()=>{window.removeEventListener("pointerdown",m,!0),window.removeEventListener("keydown",m,!0),window.removeEventListener("scroll",m,!0)}},[o]),(0,wo.useEffect)(()=>{if(!s)return;let m=setTimeout(()=>c(""),3e3);return()=>clearTimeout(m)},[s]),(0,wo.useEffect)(()=>{let m=d.current;if(!m||!o)return;let v=m.getBoundingClientRect();m.style.left=`${Math.max(8,Math.min(o.x,innerWidth-v.width-8))}px`,m.style.top=`${Math.max(8,Math.min(o.y,innerHeight-v.height-8))}px`,m.querySelector("button")?.focus()},[o]);let b=m=>{let v=nt(t,m)?.parent;return v?.type==="surface"&&v.attrs?.kind==="board"?v.attrs.id:void 0},p=(m,v)=>{let k=m.map(Rm),w=k.map(b);return w[0]&&w.every(z=>z===w[0])?{kind:"board",blockIds:k,surfaceId:w[0]}:v?{kind:"text",blockIds:m.map(Rm),text:v}:{kind:"blocks",blockIds:m.map(Rm)}},x=m=>{r(null),m()};return{contextMenu:o&&(0,io.jsxs)("div",{ref:d,className:"portable-options-menu portable-context-menu",role:"menu",style:{left:o.x,top:o.y},children:[o.selection.length?(0,io.jsxs)("button",{role:"menuitem",onClick:()=>x(()=>u(p(o.selection,o.text))),children:[(0,io.jsx)(Ni,{size:15}),n("referenceSelection",{count:o.selection.length})]}):o.block&&(0,io.jsxs)("button",{role:"menuitem",onClick:()=>x(()=>u(p([o.block]))),children:[(0,io.jsx)(Ni,{size:15}),n("referenceBlock")]}),(0,io.jsxs)("button",{role:"menuitem",onClick:()=>x(()=>u({kind:"page"})),children:[(0,io.jsx)(Ni,{size:15}),n("referencePage")]}),i&&(0,io.jsxs)("button",{role:"menuitem",onClick:()=>x(g),children:[(0,io.jsx)(Xa,{size:15}),n("referenceClear")]})]}),status:s&&(0,io.jsx)("div",{className:"portable-reference-status",role:"status",children:s})}}rt(`@charset "UTF-8";.portable-draft-note{padding:10px 24px;color:var(--text-secondary);background:var(--surface);border-bottom:1px solid var(--border);font-size:12px}:root{font-family:Inter,-apple-system,BlinkMacSystemFont,Segoe UI,sans-serif;font-synthesis:none;--bg: #fff;--surface: #fff;--text: #292d29;--text-secondary: #70756f;--muted: #8a8f87;--border: #e6e8e1;--accent: #34644e;--accent-soft: #edf3ea;--hover: #f2f4ef;--editor-bg: #fff;color-scheme:light}:root[data-theme=dark]{color-scheme:dark;--bg: #191d1a;--surface: #202621;--text: #e6eae3;--text-secondary: #a0aaa0;--muted: #8c978c;--border: #363f35;--accent: #a0c7a3;--accent-soft: #283b2d;--hover: #293029;--editor-bg: #191d1a}*{box-sizing:border-box}body{margin:0;background:var(--bg);color:var(--text)}button,input,select{font:inherit}button{cursor:pointer;background:transparent;border:1px solid transparent;color:inherit}button:hover{background:var(--hover)}button,a,input,select{outline-offset:4px}button:focus-visible,a:focus-visible{outline:2px solid var(--accent)}a{color:var(--accent)}html{scroll-behavior:smooth}.portable-options{position:fixed;right:24px;top:20px;z-index:30}.portable-options-trigger{width:36px;height:36px;display:grid;place-items:center;border-radius:8px;color:var(--text-secondary)}.portable-options-menu{position:absolute;right:0;top:43px;width:178px;padding:5px;border:1px solid var(--border);border-radius:10px;background:var(--surface);box-shadow:0 8px 32px #17221512;animation:menu-appear .12s ease-out}.portable-options-menu button{width:100%;display:flex;align-items:center;gap:10px;padding:10px;border-radius:6px;font-size:13px;text-align:left}.portable-options-menu svg{color:var(--text-secondary)}.portable-context-menu{position:fixed;right:auto;z-index:40;width:max-content;max-width:min(320px,calc(100vw - 16px))}.portable-reference-status{position:fixed;left:50%;bottom:18px;z-index:40;max-width:calc(100vw - 32px);padding:8px 14px;border:1px solid var(--border);border-radius:8px;background:var(--surface);box-shadow:0 8px 32px #17221512;color:var(--text-secondary);font-size:13px;transform:translate(-50%)}.portable-document{max-width:960px;margin:0 auto;padding:90px 44px 96px}.portable-title{font-weight:600;letter-spacing:-.035em;font-size:42px;line-height:1.22;margin:0 0 32px;overflow-wrap:anywhere}.portable-page-heading{display:flex;align-items:flex-start;gap:14px;min-width:0;margin-bottom:32px}.portable-page-icon{flex-shrink:0}.portable-page-heading .portable-title{flex:1;min-width:0;margin:0}.portable-partial .portable-document{padding:24px}.portable-partial .surface-reading-heading:empty{display:none}.portable-component .portable-document{padding:4px 0}.portable-content{overflow-wrap:anywhere}.portable-content>:first-child{margin-top:0}.portable-content p{white-space:pre-wrap}.portable-image{display:block;max-width:100%;height:auto;margin:22px auto;border-radius:5px;object-fit:contain}.portable-table-scroll>table{table-layout:fixed}.portable-table-scroll>table>tbody>tr>th,.portable-table-scroll>table>tbody>tr>td{min-width:70px}.portable-callout{display:flex;gap:11px;margin:22px 0;border-radius:6px;padding:14px 17px;background:var(--accent-soft)}.portable-callout.tone-sage{background:color-mix(in srgb,#a9c495 18%,var(--surface))}.portable-callout.tone-sand{background:color-mix(in srgb,#d5b677 19%,var(--surface))}.portable-callout.tone-blue{background:color-mix(in srgb,#93b9cd 18%,var(--surface))}.portable-callout.tone-rose{background:color-mix(in srgb,#cb9493 16%,var(--surface))}.portable-callout-icon{flex:0 0 24px;font-size:18px}.portable-callout>div{min-width:0;flex:1}.portable-callout>div>:first-child{margin-top:0}.portable-callout>div>:last-child{margin-bottom:0}.portable-toggle{margin:17px 0}.portable-toggle summary{cursor:pointer;font-weight:550}.portable-toggle summary::marker{color:var(--accent)}.portable-toggle-body{border-left:1px solid var(--border);margin:8px 0 0 7px;padding-left:21px}.portable-widget{margin:25px 0}.portable-error{max-width:600px;margin:15vh auto;padding:30px}.portable-error h1{font-size:24px;font-weight:500}.portable-error p{font-size:15px;line-height:1.8;color:var(--text-secondary)}.portable-network-note{color:var(--text-secondary);font-size:13px;line-height:1.6;margin:-12px 0 20px}.portable-network-error{padding:12px 14px;color:var(--text);border:1px solid color-mix(in srgb,var(--danger) 35%,var(--line));background:color-mix(in srgb,var(--danger) 6%,var(--paper));border-radius:6px;font-size:14px;line-height:1.6;overflow-wrap:anywhere}.portable-network-error p{margin:0}.portable-network-error details{margin-top:6px;color:var(--muted);font-size:12px}.portable-network-error summary{cursor:pointer;width:fit-content}@keyframes menu-appear{0%{opacity:0;transform:translateY(-4px)}to{opacity:1;transform:translateY(0)}}@media(max-width:700px){.portable-options{right:14px;top:12px}.portable-document{padding:76px 22px 64px}.portable-title{font-size:32px;margin-bottom:24px}.portable-page-heading{margin-bottom:24px}.portable-table-scroll>table{display:block;overflow-x:auto}}@media(prefers-reduced-motion:reduce){*{scroll-behavior:auto!important;transition:none!important;animation:none!important}}@media print{.portable-options,.portable-context-menu,.portable-reference-status{display:none!important}.portable-document{max-width:none;margin:0;padding:0}.portable-title{font-size:30px}.portable-content{font-size:11pt}body,:root{--bg: #fff;--surface: #fff;--text: #111;--text-secondary: #444;--border: #ddd;background:#fff!important;color:#000!important}a{color:inherit}button{border:0}table,figure,.widget-block{break-inside:avoid}}
64
+ `);rt(`:root,.studio,.studio.settings-view,.studio-modal-shade,.studio-context-menu,[data-showai-inline-root]{--font-sans: "Airbnb Cereal VF", "Circular", -apple-system, BlinkMacSystemFont, "PingFang SC", "Microsoft YaHei", sans-serif;--font-mono: "SFMono-Regular", Consolas, "Liberation Mono", monospace;--brand: #120a8f;--action: #120a8f;--action-hover: #0d076b;--text: #222222;--muted: #6a6a6a;--subtle: #929292;--paper: #ffffff;--surface: #fafafa;--line: #dddddd;--hover: #f7f7f7;--accent: var(--action);--accent-soft: #eeedf9;--brand-accent: var(--brand);--danger: #c13515;--warning: #9a6400;--info: #2f5f9e;--success: #2f7a4a;--selected: #f2f2f2;--bg: var(--paper);--border: var(--line);--text-secondary: var(--muted);--editor-bg: var(--paper);--radius-control: 8px;--radius-card: 16px;--radius-panel: 20px;--radius-pill: 999px;--space-unit: 8px;--shadow: 0 0 0 1px #00000005, 0 2px 6px #0000000a, 0 4px 8px #00000014;--shadow-dialog: 0 16px 64px #00000024;--studio-topbar-height: 56px;font-family:var(--font-sans);font-weight:500;font-synthesis:none;color-scheme:light;color:var(--text);letter-spacing:0;-webkit-font-smoothing:antialiased;text-rendering:optimizeLegibility}:root[data-theme=dark],:root[data-theme=dark] .studio,:root[data-theme=dark] .studio.settings-view,:root[data-theme=dark] .studio-modal-shade,:root[data-theme=dark] .studio-context-menu,[data-showai-inline-root][data-theme=dark]{--text: #f7f7f7;--muted: #b0b0b0;--subtle: #929292;--paper: #181818;--surface: #222222;--line: #414141;--hover: #2c2c2c;--accent: #aaa4ff;--brand-accent: #aaa4ff;--accent-soft: #25233f;--selected: #2c2c2c;--danger: #ff9c86;--warning: #f0bf63;--info: #93b8ef;--success: #86d3a0;--shadow: 0 0 0 1px #ffffff08, 0 2px 6px #00000030, 0 4px 8px #00000040;--shadow-dialog: 0 16px 64px #00000066;color-scheme:dark}:root,[data-showai-inline-root]{--ease-out: cubic-bezier(.23, 1, .32, 1);--ease-in-out: cubic-bezier(.77, 0, .175, 1);--duration-fast: .14s;--duration-base: .2s;--duration-slow: .32s}@keyframes showai-fade-in{0%{opacity:0}}@keyframes showai-pop-in{0%{opacity:0;scale:.96}}@keyframes showai-rise-in{0%{opacity:0;translate:0 8px}}@keyframes showai-shimmer{0%{background-position:100% 0}to{background-position:-100% 0}}.showai-text-shimmer{color:transparent;background:linear-gradient(90deg,var(--muted) 0%,var(--muted) 35%,var(--text) 50%,var(--muted) 65%,var(--muted) 100%) 0 0 / 200% 100%;-webkit-background-clip:text;background-clip:text;animation:showai-shimmer 2s linear infinite}button,input,textarea,select{font-family:inherit}button{transition:background-color .15s ease,color .15s ease,border-color .15s ease,transform .15s ease}button:focus-visible,a:focus-visible,summary:focus-visible{outline:2px solid var(--text);outline-offset:3px}input:is([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset]):focus-visible,select:focus-visible{outline:2px solid var(--text);outline-offset:2px}input:not([type=checkbox],[type=radio],[type=range],[type=color],[type=file],[type=button],[type=submit],[type=reset]):focus,textarea:focus{outline:none}input::placeholder,textarea::placeholder{color:var(--subtle)}::selection{background:var(--accent-soft);color:var(--text)}@media(prefers-reduced-motion:reduce){*,*:before,*:after{animation:none!important;transition:none!important;scroll-behavior:auto!important}}
65
+ `);rt(`:root{--reading-text: #494650;--reading-heading: #383042;--reading-accent: #120a8f;--reading-highlight: #e6e1fc;--reading-code: #f0eef9}:root[data-theme=dark]{--reading-text: #d4d1dd;--reading-heading: #e4dfec;--reading-accent: #bbb3ff;--reading-highlight: #37304f;--reading-code: #29243a}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-text){font-family:var(--font-sans);font-size:16px;font-weight:400;line-height:1.8;letter-spacing:0;color:var(--reading-text)}.sb-text>.sb-rich-text{font:inherit;line-height:inherit}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(h1,h2,h3,h4,h5,h6){color:var(--reading-heading);font-weight:600;letter-spacing:-.3px;scroll-margin-top:80px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) h1{font-size:28px;line-height:1.35;margin:40px 0 14px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) h2{font-size:22px;line-height:1.4;margin:34px 0 12px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) h3{font-size:18px;line-height:1.45;margin:26px 0 8px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(h4,h5,h6){font-size:16px;line-height:1.5;margin:20px 0 6px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(h1,h2,h3,h4,h5,h6)+:is(h2,h3,h4,h5,h6){margin-top:14px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) p{margin:0 0 14px}:is(.document-content,.portable-editor .tiptap,.portable-content) mark:not(:where(.sb-block *,.showai-custom-block *)),.sb-text .sb-rich-text mark{--showai-highlight-start: 43%;color:inherit;background:linear-gradient(transparent var(--showai-highlight-start),var(--showai-highlight-color, var(--reading-highlight)) var(--showai-highlight-start));box-decoration-break:clone;-webkit-box-decoration-break:clone;padding:0 1px;border-radius:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) mark[data-highlight-mode=full]{--showai-highlight-start: 0%}:is(.document-content,.portable-editor .tiptap,.portable-content) strong:not(:where(.sb-block *,.showai-custom-block *)),.sb-text .sb-rich-text strong{font-weight:600}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) mark{background-color:transparent!important}:root[data-theme=dark] :is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) mark{background-image:linear-gradient(transparent var(--showai-highlight-start, 43%),color-mix(in srgb,var(--showai-highlight-color, var(--reading-highlight)) 22%,transparent) var(--showai-highlight-start, 43%))}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) em{color:var(--reading-accent);font-style:normal;font-weight:550}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) a{color:var(--reading-accent);text-decoration:underline;text-underline-offset:4px;text-decoration-thickness:1px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) blockquote{border-left:3px solid color-mix(in srgb,var(--reading-accent) 45%,transparent);background:none;color:var(--reading-text);padding:2px 0 2px 16px;margin:18px 0;border-radius:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) blockquote p{margin:0 0 8px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul,ol){padding-left:1.5em;margin:0 0 14px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) li{margin:4px 0;padding-left:.2em}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) li>p{margin:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) li>:is(ul,ol){margin:4px 0 0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) ol{font-variant-numeric:tabular-nums}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list){list-style:none;padding-left:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list)>li{display:flex;align-items:flex-start;gap:10px;padding-left:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list)>li>label{flex:0 0 auto;display:inline-flex;align-items:center;height:1.8em}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list) input[type=checkbox]{appearance:none;-webkit-appearance:none;flex:0 0 auto;width:15px;height:15px;margin:0;border:1.5px solid color-mix(in srgb,var(--reading-text) 40%,transparent);border-radius:4px;background:transparent;cursor:pointer;--task-tick: #ffffff}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list) input[type=checkbox]:checked{border-color:var(--reading-accent);background-color:var(--reading-accent)}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list) input[type=checkbox]:checked:before{content:"";display:block;width:4px;height:8px;margin:1px 0 0 4px;border:solid var(--task-tick);border-width:0 2px 2px 0;transform:rotate(45deg)}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list) input[type=checkbox]:disabled{cursor:default}:root[data-theme=dark] :is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list) input[type=checkbox]:checked{--task-tick: #201c2e}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list) input[type=checkbox]:focus-visible{outline:2px solid var(--reading-accent);outline-offset:2px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) .portable-task-list>li>input[type=checkbox]{margin-top:calc(.9em - 7.5px)}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list)>li>div{flex:1;min-width:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list)>li>div>p{margin:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(ul[data-type=taskList],.portable-task-list)>li[data-checked=true]>div>p{color:var(--muted);text-decoration:line-through}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) li::marker{color:var(--reading-accent)}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) code{font-family:var(--font-mono);font-size:.875em;color:var(--reading-accent);background:var(--reading-code);border-radius:4px;padding:.1em .35em}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) pre,.sb-code pre{border:1px solid var(--line);border-radius:10px;background:var(--surface);color:var(--reading-text);padding:16px 20px;margin:18px 0;font:13.5px/1.7 var(--font-mono);white-space:pre;tab-size:2;overflow-x:auto}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) pre code{font:inherit;color:inherit;background:transparent;padding:0;border-radius:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) hr{border:0;border-top:1px solid var(--line);margin:28px 0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text)>:first-child{margin-top:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text)>:last-child{margin-bottom:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(blockquote,li,th,td,.callout-content>div,.toggle-body>div>div,.portable-callout>div,.portable-toggle-body)>:last-child{margin-bottom:0}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) :is(blockquote,li,th,td,.callout-content>div,.toggle-body>div>div,.portable-callout>div,.portable-toggle-body)>:first-child{margin-top:0}.document-content .document-image,.portable-editor .document-image,.portable-image,.sb-rich-text img,.sb-image img{border-radius:14px}:is(.document-content,.portable-editor .tiptap,.portable-content) :is(.tableWrapper,.portable-table-scroll):not(.sb-block *){overflow-x:auto;margin:18px 0}:is(.document-content,.portable-editor .tiptap,.portable-content) table:not(.sb-block table),.sb-rich-text table{border-collapse:collapse;width:100%;font-size:15px;line-height:1.6}:is(.document-content,.portable-editor .tiptap,.portable-content) :is(th,td):not(.sb-block :is(th,td)),.sb-rich-text :is(th,td){padding:8px 12px;border:1px solid var(--line);vertical-align:top;text-align:start}:is(.document-content,.portable-editor .tiptap,.portable-content) th:not(.sb-block th),.sb-rich-text th{background:var(--surface);color:var(--reading-heading);font-weight:600}:is(.document-content,.portable-editor .tiptap,.portable-content) :is(th,td):not(.sb-block :is(th,td))>p,.sb-rich-text :is(th,td)>p{margin:0}:is(.document-content,.portable-editor .tiptap,.portable-content) :is(th,td):not(.sb-block :is(th,td))>p+p,.sb-rich-text :is(th,td)>p+p{margin-top:6px}.sb-table table{font-size:inherit;line-height:inherit}.sb-table :is(th,td){padding:12px 16px;border-color:var(--line)}.sb-table th{background:var(--surface);font-weight:600}.sb-primitive{font-family:var(--font-sans)}.sb-image figcaption,.sb-primitive-editor{color:var(--muted);font-size:13px;line-height:1.5}.sb-image-empty{border-radius:14px;background:var(--surface);color:var(--muted)}.sb-primitive-editor :is(input,textarea){border:1px solid var(--line);border-radius:8px;padding:12px;background:var(--paper);color:var(--text)}.sb-code textarea{font-family:var(--font-mono);background:var(--paper);color:var(--text);border:1px solid var(--line);border-radius:8px;padding:12px}.sb-block{font-family:var(--font-sans);font-size:14px;font-weight:500;line-height:1.6;border-radius:16px}.sb-header{padding:20px 24px 16px}.sb-title{font-size:16px;font-weight:600}.sb-description{font-size:14px;line-height:1.6}.sb-block :is(.sb-button,.sb-icon-button){border-radius:8px}.sb-block .sb-button{min-height:36px;font-size:14px}.sb-metric-value{font-weight:700;letter-spacing:-.02em}.sb-bookmark-copy>strong{font-size:16px;line-height:1.4;font-weight:600}.sb-bookmark-copy>p{font-size:14px;line-height:1.6}.portable-document{max-width:1000px;padding:80px 64px 96px}.portable-title{font-size:32px;font-weight:700;letter-spacing:-.02em;line-height:1.25;margin-bottom:32px}.portable-options-trigger{border-radius:50%;width:40px;height:40px}.portable-options-menu{border-radius:16px;box-shadow:var(--shadow);padding:8px}.portable-options-menu button{border-radius:8px;min-height:40px;font-size:14px}.portable-toggle summary{font-weight:600}@media(max-width:700px){.portable-document{padding:76px 24px 64px}.portable-title{font-size:28px}.sb-header{padding:16px}:is(.document-content,.portable-editor .tiptap,.portable-content,.sb-rich-text) pre,.sb-code pre{padding:16px}}@media print{.portable-document{max-width:none;padding:0}.sb-block{--sb-accent: #222222}}.document-content .page-document-flow>:first-child:not(.document-content :not(:first-child) *){margin-top:0}.document-content .page-document-flow>:last-child:not(.document-content :not(:last-child) *){margin-bottom:0}
66
+ `);var pt=W(de(),1),ko=kt(Vs);function qT(e){let{code:t,params:a}=e??{},n=a?.component??"";return t==="INTEGRITY_UNAVAILABLE"?{summary:ko("contentUnavailable"),detail:ko("integrityUnavailable")}:t==="COMPONENT_FETCH_FAILED"?{summary:ko("contentUnavailable"),detail:ko("componentFetchFailed",{component:n,reason:a?.reason||ko("networkFailed")})}:t==="COMPONENT_CHECKSUM_FAILED"?{summary:ko("contentUnverified"),detail:ko("componentChecksumFailed",{component:n})}:{summary:ko("contentUnavailable"),detail:e instanceof Error?e.message:ko("remoteLoadFailed")}}function WT(e,t,a,n,o){let r=URL.createObjectURL(new Blob([$6(e,t,a,n,o)],{type:"application/json"})),i=window.document.createElement("a");i.href=r,i.download=`${e.title.replace(/[^\p{L}\p{N} _-]/gu,"").trim()||"page"}.showai.json`,i.click(),setTimeout(()=>URL.revokeObjectURL(r),1e3)}function KT({artifact:e,host:t}){let{inlineHost:a}=t,n=le(Vs),o=le(la),{document:r}=e,i=(0,ta.useMemo)(()=>{let z=t.readOptions();return z?JSON.parse(z).draft===!0:!1},[t]),[l,s]=(0,ta.useState)(()=>{let z=t.readOptions();return z?JSON.parse(z).theme==="dark":window.matchMedia("(prefers-color-scheme: dark)").matches}),[c,d]=(0,ta.useState)(!1),f=(0,ta.useRef)(null),u=(0,ta.useRef)(null),g=(0,ta.useMemo)(()=>ux(t.readOptions()),[t]),b=px(u,r,g),p=(0,ta.useRef)(null),[x,h]=(0,ta.useState)([]),[m,v]=(0,ta.useState)(null),[k,w]=(0,ta.useState)(!!e.remoteComponents?.length);return(0,ta.useEffect)(()=>{if(!e.remoteComponents?.length)return;if(a){v({summary:n("remoteInlineBlocked")}),w(!1);return}let z=new AbortController,P=!0;return w(!0),Y6(e.remoteComponents,{signal:z.signal}).then(j=>{P&&(h(j),v(null))}).catch(j=>{P&&v(qT(j))}).finally(()=>{P&&w(!1)}),()=>{P=!1,z.abort()}},[e.remoteComponents]),(0,ta.useEffect)(()=>{t.setTheme(l?"dark":"light")},[l,t]),(0,ta.useEffect)(()=>{if(!c)return;let z=j=>{f.current?.contains(j.target)||d(!1)},P=j=>{j.key==="Escape"&&(d(!1),p.current?.focus())};return window.document.addEventListener("pointerdown",z),window.document.addEventListener("keydown",P),()=>{window.document.removeEventListener("pointerdown",z),window.document.removeEventListener("keydown",P)}},[c]),(0,pt.jsxs)("div",{ref:u,className:`portable-app${e.selection?" portable-partial":""}${e.selection?.chrome==="none"?" portable-component":""}`,children:[i&&(0,pt.jsx)("div",{className:"portable-draft-note",role:"status",children:n("draftNote")}),(0,pt.jsxs)("div",{className:"portable-options",ref:f,hidden:e.selection?.chrome==="none",children:[(0,pt.jsx)("button",{ref:p,className:"portable-options-trigger","aria-label":o("pageOptions"),"aria-expanded":c,"aria-controls":"page-options",onClick:()=>d(!c),children:(0,pt.jsx)(p5,{size:19})}),c&&(0,pt.jsxs)("div",{className:"portable-options-menu",id:"page-options",children:[(0,pt.jsxs)("button",{onClick:()=>{WT(r,e.components,e.remoteComponents,e.presentation,e.selection),d(!1)},children:[(0,pt.jsx)(Ar,{size:15})," ",i?n("downloadOriginalSource"):o("downloadSource")]}),(0,pt.jsxs)("button",{onClick:()=>{s(!l),d(!1)},children:[l?(0,pt.jsx)(U5,{size:15}):(0,pt.jsx)(E5,{size:15}),o(l?"lightAppearance":"darkAppearance")]}),(0,pt.jsxs)("button",{onClick:()=>{d(!1),window.print()},children:[(0,pt.jsx)(R5,{size:15})," ",o("print")]})]})]}),b.contextMenu,b.status,(0,pt.jsx)(I4,{components:[...e.components??[],...x],inlineHost:a,children:(0,pt.jsx)(rx,{document:r,presentation:e.presentation,partial:!!e.selection,heading:(0,pt.jsxs)(pt.Fragment,{children:[!a&&!e.selection&&(r.icon||r.title)&&(0,pt.jsxs)("div",{className:"portable-page-heading",children:[r.icon&&(0,pt.jsx)("div",{className:"portable-page-icon",children:(0,pt.jsx)(No,{value:r.icon,size:48})}),r.title&&(0,pt.jsx)("h1",{className:"portable-title",children:r.title})]}),!!e.remoteComponents?.length&&(0,pt.jsx)("p",{className:"portable-network-note",children:n(k?"remoteLoading":"remoteRequired")}),m&&(0,pt.jsxs)("div",{role:"alert",className:"portable-network-error",children:[(0,pt.jsx)("p",{children:m.summary}),m.detail&&(0,pt.jsxs)("details",{children:[(0,pt.jsx)("summary",{children:o("details")}),(0,pt.jsx)("p",{children:m.detail})]})]})]})})})]})}function YT({host:e}){let t=le(Vs);(0,ta.useLayoutEffect)(()=>Dl(window.document),[]);let a=(0,ta.useMemo)(()=>{let n=e.readArtifact();if(!n||n.trim()==="null")return{error:ko("emptyPage")};try{return{artifact:X6(n)}}catch(o){return{error:o instanceof Error?o.message:ko("unreadablePage")}}},[e]);return a.artifact?(0,pt.jsx)(KT,{artifact:a.artifact,host:e}):(0,pt.jsxs)("main",{className:"portable-error",children:[(0,pt.jsx)("h1",{children:t("openFailed")}),(0,pt.jsx)("p",{children:a.error})]})}function fx(e,t){r7(o7(t.inlineHost?.lang||window.document.documentElement.lang||navigator.language));let a=(0,mx.createRoot)(e);return a.render((0,pt.jsx)(ta.StrictMode,{children:(0,pt.jsx)(YT,{host:t})})),()=>a.unmount()}var JT=0;function JH(e,{artifact:t,options:a,standalone:n=!1}){if(e.id||(e.id=`showai-cdn-${++JT}`),!/^[A-Za-z][\w-]*$/.test(e.id))throw new Error("The ShowAI root needs a simple id.");n||e.setAttribute("data-showai-inline-root",""),e.querySelectorAll(":scope > [data-showai-placeholder]").forEach(c=>c.remove());let o=e.ownerDocument.createElement("div");o.id=`${e.id}-root`,e.append(o);let r=Ym(e,{scoped:!n}),i=typeof t=="string"?t:JSON.stringify(t),l=a?JSON.stringify(a):null,s=fx(o,{inlineHost:n?null:e,readArtifact:()=>i,readOptions:()=>l,setTheme:c=>{(n?e.ownerDocument.documentElement:e).dataset.theme=c}});return()=>{s(),r(),o.remove()}}export{JH as mount};
67
+ /*! For license information please see reader-RLGTL4AG.js.LEGAL.txt */