1(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[32470],{333:(e,t,r)=>{var n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,c=(e,t,r,c)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))i.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(c=a(t,l))||c.enumerable});return e},l=(e,t,r)=>(c(e,t,"default"),r&&c(r,t,"default")),s={};e.exports=c(n({},"__esModule",{value:!0}),s),l(s,r(11942),e.exports),l(s,r(67479),e.exports),l(s,r(35466),e.exports),l(s,r(89317),e.exports),l(s,r(54219),e.exports)},1071:(e,t,r)=>{"use strict";r.d(t,{l:()=>x});var n=r(15038);let a={}.hasOwnProperty;var o=r(62250),i=r(71863),c=r(42114);let l=[function(e,t,r,n){if("code"===t.type&&(0,i.m)(t,n)&&("list"===e.type||e.type===t.type&&(0,i.m)(e,n)))return!1;if("spread"in r&&"boolean"==typeof r.spread){if("paragraph"===e.type&&(e.type===t.type||"definition"===t.type||"heading"===t.type&&(0,c.f)(t,n)))return;return+!!r.spread}}],s=["autolink","destinationLiteral","destinationRaw","reference","titleQuote","titleApostrophe"],u=[{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"\r",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:"\n",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde","codeFencedMetaGraveAccent","codeFencedMetaTilde","destinationLiteral","headingAtx"]},{character:" ",after:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",before:"[\\r\\n]",inConstruct:"phrasing"},{character:" ",inConstruct:["codeFencedLangGraveAccent","codeFencedLangTilde"]},{character:"!",after:"\\[",inConstruct:"phrasing",notInConstruct:s},{character:'"',inConstruct:"titleQuote"},{atBreak:!0,character:"#"},{character:"#",inConstruct:"headingAtx",after:"(?:[\r\n]|$)"},{character:"&",after:"[#A-Za-z]",inConstruct:"phrasing"},{character:"'",inConstruct:"titleApostrophe"},{character:"(",inConstruct:"destinationRaw"},{before:"\\]",character:"(",inConstruct:"phrasing",notInConstruct:s},{atBreak:!0,before:"\\d+",character:")"},{character:")",inConstruct:"destinationRaw"},{atBreak:!0,character:"*",after:"(?:[ \r\n*])"},{character:"*",inConstruct:"phrasing",notInConstruct:s},{atBreak:!0,character:"+",after:"(?:[ \r\n])"},{atBreak:!0,character:"-",after:"(?:[ \r\n-])"},{atBreak:!0,before:"\\d+",character:".",after:"(?:[ \r\n]|$)"},{atBreak:!0,character:"<",after:"[!/?A-Za-z]"},{character:"<",after:"[!/?A-Za-z]",inConstruct:"phrasing",notInConstruct:s},{character:"<",inConstruct:"destinationLiteral"},{atBreak:!0,character:"="},{atBreak:!0,character:">"},{character:">",inConstruct:"destinationLiteral"},{atBreak:!0,character:"["},{character:"[",inConstruct:"phrasing",notInConstruct:s},{character:"[",inConstruct:["label","reference"]},{character:"\\",after:"[\\r\\n]",inConstruct:"phrasing"},{character:"]",inConstruct:["label","reference"]},{atBreak:!0,character:"_"},{character:"_",inConstruct:"phrasing",notInConstruct:s},{atBreak:!0,character:"`"},{character:"`",inConstruct:["codeFencedLangGraveAccent","codeFencedMetaGraveAccent"]},{character:"`",inConstruct:"phrasing",notInConstruct:s},{atBreak:!0,character:"~"}];var p=r(17329);function d(e){return e.label||!e.identifier?e.label||"":(0,p.s)(e.identifier)}function f(e){if(!e._compiled){let t=(e.atBreak?"[\\r\\n][\\t ]*":"")+(e.before?"(?:"+e.before+")":"");e._compiled=RegExp((t?"("+t+")":"")+(/[|\\{}()[\]^$+*?.-]/.test(e.character)?"\\":"")+e.character+(e.after?"(?:"+e.after+")":""),"g")}return e._compiled}var h=r(66459);let g=/\r?\n|\r/g;function y(e,t){let r;let n=[],a=0,o=0;for(;r=g.exec(e);)i(e.slice(a,r.index)),n.push(r[0]),a=r.index+r[0].length,o++;return i(e.slice(a)),n.join("");function i(e){n.push(t(e,o,!e))}}var m=r(81096);function b(e,t){return e-t}function v(e,t){let r;let n=/\\(?=[!-/:-@[-`{-~])/g,a=[],o=[],i=e+t,c=-1,l=0;for(;r=n.exec(i);)a.push(r.index);for(;++c<a.length;)l!==a[c]&&o.push(e.slice(l,a[c])),o.push("\\"),l=a[c];return o.push(e.slice(l)),o.join("")}function w(e){let t=e||{},r=t.now||{},n=t.lineShift||0,a=r.line||1,o=r.column||1;return{move:function(e){let t=e||"",r=t.split(/\r?\n|\r/g),i=r[r.length-1];return a+=r.length-1,o=1===r.length?o+i.length:1+i.length+n,t},current:function(){return{now:{line:a,column:o},lineShift:n}},shift:function(e){n+=e}}}function x(e,t){let r={associationId:d,containerPhrasing:P,containerFlow:A,createTracker:w,compilePattern:f,enter:function(e){return r.stack.push(e),function(){r.stack.pop()}},handlers:{...o.p},handle:void 0,indentLines:y,indexStack:[],join:[...l],options:{},safe:M,stack:[],unsafe:[...u]};!function e(t,r){var n,o,i,c;let l,s=-1;if(r.extensions)for(;++s<r.extensions.length;)e(t,r.extensions[s]);for(l in r)if(a.call(r,l))switch(l){case"extensions":break;case"unsafe":case"join":n=t[l],(o=r[l])&&n.push(...o);break;case"handlers":i=t[l],(c=r[l])&&Object.assign(i,c);break;default:t.options[l]=r[l]}return t}(r,t||{}),r.options.tightDefinitions&&r.join.push(j),r.handle=(0,n.A)("type",{invalid:k,unknown:O,handlers:r.handlers});let i=r.handle(e,void 0,r,{before:"\n",after:"\n",now:{line:1,column:1},lineShift:0});return i&&10!==i.charCodeAt(i.length-1)&&13!==i.charCodeAt(i.length-1)&&(i+="\n"),i}function k(e){throw Error("Cannot handle value `"+e+"`, expected node")}function O(e){throw Error("Cannot handle unknown node `"+e.type+"`")}function j(e,t){if("definition"===e.type&&e.type===t.type)return 0}function P(e,t){return function(e,t,r){let n;let a=t.indexStack,o=e.children||[],i=[],c=-1,l=r.before;a.push(-1);let s=t.createTracker(r);for(;++c<o.length;){let u;let p=o[c];if(a[a.length-1]=c,c+1<o.length){let r=t.handle.handlers[o[c+1].type];r&&r.peek&&(r=r.peek),u=r?r(o[c+1],e,t,{before:"",after:"",...s.current()}).charAt(0):""}else u=r.after;i.length>0&&("\r"===l||"\n"===l)&&"html"===p.type&&(i[i.length-1]=i[i.length-1].replace(/(\r?\n|\r)$/," "),l=" ",(s=t.createTracker(r)).move(i.join("")));let d=t.handle(p,e,t,{...s.current(),after:u,before:l});n&&n===d.slice(0,1)&&(d=(0,h.T)(n.charCodeAt(0))+d.slice(1));let f=t.attentionEncodeSurroundingInfo;t.attentionEncodeSurroundingInfo=void 0,n=void 0,f&&(i.length>0&&f.before&&l===i[i.length-1].slice(-1)&&(i[i.length-1]=i[i.length-1].slice(0,-1)+(0,h.T)(l.charCodeAt(0))),f.after&&(n=u)),s.move(d),i.push(d),l=d.slice(-1)}return a.pop(),i.join("")}(e,this,t)}function A(e,t){return function(e,t,r){let n=t.indexStack,a=e.children||[],o=t.createTracker(r),i=[],c=-1;for(n.push(-1);++c<a.length;){let r=a[c];n[n.length-1]=c,i.push(o.move(t.handle(r,e,t,{before:"\n",after:"\n",...o.current()}))),"list"!==r.type&&(t.bulletLastUsed=void 0),c<a.length-1&&i.push(o.move(function(e,t,r,n){let a=n.join.length;for(;a--;){let o=n.join[a](e,t,r,n);if(!0===o||1===o)break;if("number"==typeof o)return"\n".repeat(1+o);if(!1===o)return"\n\n\x3c!----\x3e\n\n"}return"\n\n"}(r,a[c+1],e,t)))}return n.pop(),i.join("")}(e,this,t)}function M(e,t){return function(e,t,r){let n=(r.before||"")+(t||"")+(r.after||""),a=[],o=[],i={},c=-1;for(;++c<e.unsafe.length;){let t;let r=e.unsafe[c];if(!(0,m.q)(e.stack,r))continue;let o=e.compilePattern(r);for(;t=o.exec(n);){let e="before"in r||!!r.atBreak,n="after"in r,o=t.index+(e?t[1].length:0);a.includes(o)?(i[o].before&&!e&&(i[o].before=!1),i[o].after&&!n&&(i[o].after=!1)):(a.push(o),i[o]={before:e,after:n})}}a.sort(b);let l=r.before?r.before.length:0,s=n.length-(r.after?r.after.length:0);for(c=-1;++c<a.length;){let e=a[c];!(e<l)&&!(e>=s)&&(!(e+1<s)||a[c+1]!==e+1||!i[e].after||i[e+1].before||i[e+1].after)&&(a[c-1]!==e-1||!i[e].before||i[e-1].before||i[e-1].after)&&(l!==e&&o.push(v(n.slice(l,e),"\\")),l=e,!/[!-/:-@[-`{-~]/.test(n.charAt(e))||r.encode&&r.encode.includes(n.charAt(e))?(o.push((0,h.T)(n.charCodeAt(e))),l++):o.push("\\"))}return o.push(v(n.slice(l,s),r.after)),o.join("")}(this,e,t)}},3417:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});
1let n=(0,r(19946).A)("CodeXml",[["path",{d:"m18 16 4-4-4-4",key:"1inbqp"}],["path",{d:"m6 8-4 4 4 4",key:"15zrgr"}],["path",{d:"m14.5 4-5 16",key:"e7oirm"}]])},6131:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Logs",[["path",{d:"M13 12h8",key:"h98zly"}],["path",{d:"M13 18h8",key:"oe0vm4"}],["path",{d:"M13 6h8",key:"15sg57"}],["path",{d:"M3 12h1",key:"lp3yf2"}],["path",{d:"M3 18h1",key:"1eiwyy"}],["path",{d:"M3 6h1",key:"rgxa97"}],["path",{d:"M8 12h1",key:"1con00"}],["path",{d:"M8 18h1",key:"13wk12"}],["path",{d:"M8 6h1",key:"tn6mkg"}]])},7866:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("BugOff",[["path",{d:"M15 7.13V6a3 3 0 0 0-5.14-2.1L8 2",key:"vl8zik"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M22 13h-4v-2a4 4 0 0 0-4-4h-1.3",key:"1ou0bd"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"m2 2 20 20",key:"1ooewy"}],["path",{d:"M7.7 7.7A4 4 0 0 0 6 11v3a6 6 0 0 0 11.13 3.13",key:"1njkjs"}],["path",{d:"M12 20v-8",key:"i3yub9"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}]])},8335:(e,t,r)=>{var n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,c={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(c,{usePluginSettings:()=>u}),e.exports=((e,t,r,c)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))i.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(c=a(t,l))||c.enumerable});return e})(n({},"__esModule",{value:!0}),c);var l=r(12115),s=r(333),u=e=>{let[t,r]=(0,l.useState)(e);return(0,l.useEffect)(()=>{s.lobeChat.getPluginSettings().then(e=>{e&&r(e)})},[]),[t,(0,l.useCallback)(e=>{r(e),s.lobeChat.setPluginSettings(e)},[])]}},8510:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),a(r(333),t)},11942:e=>{var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty,o={};((e,r)=>{for(var n in r)t(e,n,{get:r[n],enumerable:!0})})(o,{PluginChannel:()=>i}),e.exports=((e,o,i,c)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let l of n(o))a.call(e,l)||l===i||t(e,l,{get:()=>o[l],enumerable:!(c=r(o,l))||c.enumerable});return e})(t({},"__esModule",{value:!0}),o);var i=(e=>(e.createAssistantMessage="lobe-chat:create-assistant-message",e.fetchPluginMessage="lobe-chat:fetch-plugin-message",e.fetchPluginSettings="lobe-chat:fetch-plugin-settings",e.fetchPluginState="lobe-chat:fetch-plugin-state",e.fillStandalonePluginContent="lobe-chat:fill-plugin-content",e.initStandalonePlugin="lobe-chat:init-standalone-plugin",e.pluginReadyForRender="lobe-chat:plugin-ready-for-render",e.renderPlugin="lobe-chat:render-plugin",e.renderPluginSettings="lobe-chat:render-plugin-settings",e.renderPluginState="lobe-chat:render-plugin-state",e.triggerAIMessage="lobe-chat:trigger-ai-message",e.updatePluginSettings="lobe-chat:update-plugin-settings",e.updatePluginState="lobe-chat:update-plugin-state",e))(i||{})},12548:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("BookOpenText",[["path",{d:"M12 7v14",key:"1akyts"}],["path",{d:"M16 12h2",key:"7q9ll5"}],["path",{d:"M16 8h2",key:"msurwy"}],["path",{d:"M3 18a1 1 0 0 1-1-1V4a1 1 0 0 1 1-1h5a4 4 0 0 1 4 4 4 4 0 0 1 4-4h5a1 1 0 0 1 1 1v13a1 1 0 0 1-1 1h-6a3 3 0 0 0-3 3 3 3 0 0 0-3-3z",key:"ruj8y"}],["path",{d:"M6 12h2",key:"32wvfc"}],["path",{d:"M6 8h2",key:"30oboj"}]])},12767:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("ChevronsRight",[["path",{d:"m6 17 5-5-5-5",key:"xnjwq"}],["path",{d:"m13 17 5-5-5-5",key:"17xmmf"}]])},13052:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("ChevronRight",[["path",{d:"m9 18 6-6-6-6",key:"mthhwq"}]])},13277:(e,t,r)=>{"use strict";r.d(t,{A:()=>a});var n=r(95155);let a=r(12115).forwardRef(function(e,t){let{title:r="React",color:a="currentColor",size:o=24,...i}=e;return"default"===a&&(a="#61DAFB"),(0,n.jsxs)("svg",{xmlns:"http://www.w3.org/2000/svg",width:o,height:o,fill:a,viewBox:"0 0 24 24",ref:t,...i,children:[(0,n.jsx)("title",{children:r}),(0,n.jsx)("path",{d:"M14.23 12.004a2.236 2.236 0 0 1-2.235 2.236 2.236 2.236 0 0 1-2.236-2.236 2.236 2.236 0 0 1 2.235-2.236 2.236 2.236 0 0 1 2.236 2.236zm2.648-10.69c-1.346 0-3.107.96-4.888 2.622-1.78-1.653-3.542-2.602-4.887-2.602-.41 0-.783.093-1.106.278-1.375.793-1.683 3.264-.973 6.365C1.98 8.917 0 10.42 0 12.004c0 1.59 1.99 3.097 5.043 4.03-.704 3.113-.39 5.588.988 6.38.32.187.69.275 1.102.275 1.345 0 3.107-.96 4.888-2.624 1.78 1.654 3.542 2.603 4.887 2.603.41 0 .783-.09 1.106-.275 1.374-.792 1.683-3.263.973-6.365C22.02 15.096 24 13.59 24 12.004c0-1.59-1.99-3.097-5.043-4.032.704-3.11.39-5.587-.988-6.38-.318-.184-.688-.277-1.092-.278zm-.005 1.09v.006c.225 0 .406.044.558.127.666.382.955 1.835.73 3.704-.054.46-.142.945-.25 1.44-.96-.236-2.006-.417-3.107-.534-.66-.905-1.345-1.727-2.035-2.447 1.592-1.48 3.087-2.292 4.105-2.295zm-9.77.02c1.012 0 2.514.808 4.11 2.28-.686.72-1.37 1.537-2.02 2.442-1.107.117-2.154.298-3.113.538-.112-.49-.195-.964-.254-1.42-.23-1.868.054-3.32.714-3.707.19-.09.4-.127.563-.132zm4.882 3.05c.455.468.91.992 1.36 1.564-.44-.02-.89-.034-1.345-.034-.46 0-.915.01-1.36.034.44-.572.895-1.096 1.345-1.565zM12 8.1c.74 0 1.477.034 2.202.093.406.582.802 1.203 1.183 1.86.372.64.71 1.29 1.018 1.946-.308.655-.646 1.31-1.013 1.95-.38.66-.773 1.288-1.18 1.87-.728.063-1.466.098-2.21.098-.74 0-1.477-.035-2.202-.093-.406-.582-.802-1.204-1.
1183-1.86-.372-.64-.71-1.29-1.018-1.946.303-.657.646-1.313 1.013-1.954.38-.66.773-1.286 1.18-1.868.728-.064 1.466-.098 2.21-.098zm-3.635.254c-.24.377-.48.763-.704 1.16-.225.39-.435.782-.635 1.174-.265-.656-.49-1.31-.676-1.947.64-.15 1.315-.283 2.015-.386zm7.26 0c.695.103 1.365.23 2.006.387-.18.632-.405 1.282-.66 1.933-.2-.39-.41-.783-.64-1.174-.225-.392-.465-.774-.705-1.146zm3.063.675c.484.15.944.317 1.375.498 1.732.74 2.852 1.708 2.852 2.476-.005.768-1.125 1.74-2.857 2.475-.42.18-.88.342-1.355.493-.28-.958-.646-1.956-1.1-2.98.45-1.017.81-2.01 1.085-2.964zm-13.395.004c.278.96.645 1.957 1.1 2.98-.45 1.017-.812 2.01-1.086 2.964-.484-.15-.944-.318-1.37-.5-1.732-.737-2.852-1.706-2.852-2.474 0-.768 1.12-1.742 2.852-2.476.42-.18.88-.342 1.356-.494zm11.678 4.28c.265.657.49 1.312.676 1.948-.64.157-1.316.29-2.016.39.24-.375.48-.762.705-1.158.225-.39.435-.788.636-1.18zm-9.945.02c.2.392.41.783.64 1.175.23.39.465.772.705 1.143-.695-.102-1.365-.23-2.006-.386.18-.63.406-1.282.66-1.933zM17.92 16.32c.112.493.2.968.254 1.423.23 1.868-.054 3.32-.714 3.708-.147.09-.338.128-.563.128-1.012 0-2.514-.807-4.11-2.28.686-.72 1.37-1.536 2.02-2.44 1.107-.118 2.154-.3 3.113-.54zm-11.83.01c.96.234 2.006.415 3.107.532.66.905 1.345 1.727 2.035 2.446-1.595 1.483-3.092 2.295-4.11 2.295-.22-.005-.406-.05-.553-.132-.666-.38-.955-1.834-.73-3.703.054-.46.142-.944.25-1.438zm4.56.64c.44.02.89.034 1.345.034.46 0 .915-.01 1.36-.034-.44.572-.895 1.095-1.345 1.565-.455-.47-.91-.993-1.36-1.565z"})]})})},18314:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("ArrowUpFromDot",[["path",{d:"m5 9 7-7 7 7",key:"1hw5ic"}],["path",{d:"M12 16V2",key:"ywoabb"}],["circle",{cx:"12",cy:"21",r:"1",key:"o0uj5v"}]])},19302:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Network",[["rect",{x:"16",y:"16",width:"6",height:"6",rx:"1",key:"4q2zg0"}],["rect",{x:"2",y:"16",width:"6",height:"6",rx:"1",key:"8cvhb9"}],["rect",{x:"9",y:"2",width:"6",height:"6",rx:"1",key:"1egb70"}],["path",{d:"M5 16v-3a1 1 0 0 1 1-1h12a1 1 0 0 1 1 1v3",key:"1jsf9p"}],["path",{d:"M12 12V8",key:"2874zd"}]])},23323:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("ScrollText",[["path",{d:"M15 12h-5",key:"r7krc0"}],["path",{d:"M15 8h-5",key:"1khuty"}],["path",{d:"M19 17V5a2 2 0 0 0-2-2H4",key:"zz82l3"}],["path",{d:"M8 21h12a2 2 0 0 0 2-2v-1a1 1 0 0 0-1-1H11a1 1 0 0 0-1 1v1a2 2 0 1 1-4 0V5a2 2 0 1 0-4 0v2a1 1 0 0 0 1 1h3",key:"1ph1d7"}]])},24357:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Copy",[["rect",{width:"14",height:"14",x:"8",y:"8",rx:"2",ry:"2",key:"17jyea"}],["path",{d:"M4 16c-1.1 0-2-.9-2-2V4c0-1.1.9-2 2-2h10c1.1 0 2 .9 2 2",key:"zix9uf"}]])},30446:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Bug",[["path",{d:"m8 2 1.88 1.88",key:"fmnt4t"}],["path",{d:"M14.12 3.88 16 2",key:"qol33r"}],["path",{d:"M9 7.13v-1a3.003 3.003 0 1 1 6 0v1",key:"d7y7pr"}],["path",{d:"M12 20c-3.3 0-6-2.7-6-6v-3a4 4 0 0 1 4-4h4a4 4 0 0 1 4 4v3c0 3.3-2.7 6-6 6",key:"xs1cw7"}],["path",{d:"M12 20v-9",key:"1qisl0"}],["path",{d:"M6.53 9C4.6 8.8 3 7.1 3 5",key:"32zzws"}],["path",{d:"M6 13H2",key:"82j7cp"}],["path",{d:"M3 21c0-2.1 1.7-3.9 3.8-4",key:"4p0ekp"}],["path",{d:"M20.97 5c0 2.1-1.6 3.8-3.5 4",key:"18gb23"}],["path",{d:"M22 13h-4",key:"1jl80f"}],["path",{d:"M17.2 17c2.1.1 3.8 1.9 3.8 4",key:"k3fwyw"}]])},33786:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});
1let n=(0,r(19946).A)("ExternalLink",[["path",{d:"M15 3h6v6",key:"1q9fwt"}],["path",{d:"M10 14 21 3",key:"gplh6r"}],["path",{d:"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6",key:"a6xqqp"}]])},35466:(e,t,r)=>{var n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,c=(e,t,r,c)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))i.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(c=a(t,l))||c.enumerable});return e},l=(e,t,r)=>(c(e,t,"default"),r&&c(r,t,"default")),s={};e.exports=c(n({},"__esModule",{value:!0}),s),l(s,r(78878),e.exports),l(s,r(8335),e.exports),l(s,r(79543),e.exports),l(s,r(58058),e.exports)},36079:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("LayoutPanelTop",[["rect",{width:"18",height:"7",x:"3",y:"3",rx:"1",key:"f1a2em"}],["rect",{width:"7",height:"7",x:"3",y:"14",rx:"1",key:"1bb6yr"}],["rect",{width:"7",height:"7",x:"14",y:"14",rx:"1",key:"nxv5o0"}]])},46561:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Timer",[["line",{x1:"10",x2:"14",y1:"2",y2:"2",key:"14vaq8"}],["line",{x1:"12",x2:"15",y1:"14",y2:"11",key:"17fdiu"}],["circle",{cx:"12",cy:"14",r:"8",key:"1e1u0o"}]])},47589:function(e,t,r){"use strict";var n=this&&this.__createBinding||(Object.create?function(e,t,r,n){void 0===n&&(n=r);var a=Object.getOwnPropertyDescriptor(t,r);(!a||("get"in a?!t.__esModule:a.writable||a.configurable))&&(a={enumerable:!0,get:function(){return t[r]}}),Object.defineProperty(e,n,a)}:function(e,t,r,n){void 0===n&&(n=r),e[n]=t[r]}),a=this&&this.__exportStar||function(e,t){for(var r in e)"default"===r||Object.prototype.hasOwnProperty.call(t,r)||n(t,e,r)};Object.defineProperty(t,"__esModule",{value:!0}),t.Allow=t.MalformedJSON=t.PartialJSON=t.parseJSON=t.parse=void 0;let o=r(51363);Object.defineProperty(t,"Allow",{enumerable:!0,get:function(){return o.Allow}}),a(r(51363),t);class i extends Error{}t.PartialJSON=i;class c extends Error{}function l(e,t=o.Allow.ALL){if("string"!=typeof e)throw TypeError(`expecting str, got ${typeof e}`);if(!e.trim())throw Error(`${e} is empty`);return s(e.trim(),t)}t.MalformedJSON=c,t.parseJSON=l;let s=(e,t)=>{let r=e.length,n=0,a=e=>{throw new i(`${e} at position ${n}`)},l=e=>{throw new c(`${e} at position ${n}`)},s=()=>(h(),n>=r&&a("Unexpected end of input"),'"'===e[n])?u():"{"===e[n]?p():"["===e[n]?d():"null"===e.substring(n,n+4)||o.Allow.NULL&t&&r-n<4&&"null".startsWith(e.substring(n))?(n+=4,null):"true"===e.substring(n,n+4)||o.Allow.BOOL&t&&r-n<4&&"true".startsWith(e.substring(n))?(n+=4,!0):"false"===e.substring(n,n+5)||o.Allow.BOOL&t&&r-n<5&&"false".startsWith(e.substring(n))?(n+=5,!1):"Infinity"===e.substring(n,n+8)||o.Allow.INFINITY&t&&r-n<8&&"Infinity".startsWith(e.substring(n))?(n+=8,1/0):"-Infinity"===e.substring(n,n+9)||o.Allow._INFINITY&t&&1<r-n&&r-n<9&&"-Infinity".startsWith(e.substring(n))?(n+=9,-1/0):"NaN"===e.substring(n,n+3)||o.Allow.NAN&t&&r-n<3&&"NaN".startsWith(e.substring(n))?(n+=3,NaN):f(),u=()=>{let i=n,c=!1;for(n++;n<r&&('"'!==e[n]||c&&"\\"===e[n-1]);)c="\\"===e[n]&&!c,n++;if('"'==e.charAt(n))try{return JSON.parse(e.substring(i,++n-Number(c)))}catch(e){l(String(e))}else if(o.Allow.STR&t)try{return JSON.parse(e.substring(i,n-Number(c))+'"')}catch(t){return JSON.parse(e.substring(i,e.lastIndexOf("\\"))+'"')}a("Unterminated string literal")},p=()=>{n++,h();let i={};try{for(;"}"!==e[n];){if(h(),n>=r&&o.Allow.OBJ&t)return i;let a=u();h(),n++;try{let e=s();i[a]=e}catch(e){if(o.Allow.OBJ&t)return i;throw e}h(),","===e[n]&&n++}}catch(e){if(o.Allow.OBJ&t)return i;a("Expected '}' at end of object")}return n++,i},d=()=>{n++;let r=[];try{for(;"]"!==e[n];)r.push(s()),h(),","===e[n]&&n++}catch(e){if(o.Allow.ARR&t)return r;a("Expected ']' at end of array")}return n++,r},f=()=>{if(0===n){"-"===e&&l("Not sure what '-' is");try{return JSON.parse(e)}catch(r){if(o.Allow.NUM&t)try{return JSON.parse(e.substring(0,e.lastIndexOf("e")))}catch(e){}l(String(r))}}let i=n;for("-"===e[n]&&n++;e[n]&&-1===",]}".indexOf(e[n]);)n++;n!=r||o.Allow.NUM&t||a("Unterminated number literal");try{return JSON.parse(e.substring(i,n))}catch(t){"-"===e.substring(i,n)&&a("Not sure what '-' is");try{return JSON.parse(e.substring(i,e.lastIndexOf("e")))}catch(e){l(String(e))}}},h=()=>{for(;n<r&&" \n\r ".includes(e[n]);)n++};return s()};t.parse=l},47652:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("ArrowDownToDot",[["path",{d:"M12 2v14",key:"jyx4ut"}],["path",{d:"m19 9-7 7-7-7",key:"1oe3oy"}],["circle",{cx:"12",cy:"21",r:"1",key:"o0uj5v"}]])},47863:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("ChevronUp",[["path",{d:"m18 15-6-6-6 6",key:"153udz"}]])},47924:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Search",[["circle",{cx:"11",cy:"11",r:"8",key:"4ej97u"}],["path",{d:"m21 21-4.3-4.3",key:"1qie3q"}]])},48092:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("CircleFadingArrowUp",[["path",{d:"M12 2a10 10 0 0 1 7.38 16.75",key:"175t95"}],["path",{d:"m16 12-4-4-4 4",key:"177agl"}],["path",{d:"M12 16V8",key:"1sbj14"}],["path",{d:"M2.5 8.875a10 10 0 0 0-.5 3",key:"1vce0s"}],["path",{d:"M2.83 16a10 10 0 0 0 2.43 3.4",key:"o3fkw4"}],["path",{d:"M4.636 5.235a10 10 0 0 1 .891-.857",key:"1szpfk"}],["path",{d:"M8.644 21.42a10 10 0 0 0 7.631-.38",key:"9yhvd4"}]])},51140:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("ShieldPlus",[["path",{d:"M20 13c0 5-3.5 7.5-7.66 8.95a1 1 0 0 1-.67-.01C7.5 20.5 4 18 4 13V6a1 1 0 0 1 1-1c2 0 4.5-1.2 6.24-2.72a1.17 1.17 0 0 1 1.52 0C14.51 3.81 17 5 19 5a1 1 0 0 1 1 1z",ke
1y:"oel41y"}],["path",{d:"M9 12h6",key:"1c52cq"}],["path",{d:"M12 9v6",key:"199k2o"}]])},51363:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.Allow=t.ALL=t.COLLECTION=t.ATOM=t.SPECIAL=t.INF=t._INFINITY=t.INFINITY=t.NAN=t.BOOL=t.NULL=t.OBJ=t.ARR=t.NUM=t.STR=void 0,t.STR=1,t.NUM=2,t.ARR=4,t.OBJ=8,t.NULL=16,t.BOOL=32,t.NAN=64,t.INFINITY=128,t._INFINITY=256,t.INF=t.INFINITY|t._INFINITY,t.SPECIAL=t.NULL|t.BOOL|t.INF|t.NAN,t.ATOM=t.STR|t.NUM|t.SPECIAL,t.COLLECTION=t.ARR|t.OBJ,t.ALL=t.ATOM|t.COLLECTION,t.Allow={STR:t.STR,NUM:t.NUM,ARR:t.ARR,OBJ:t.OBJ,NULL:t.NULL,BOOL:t.BOOL,NAN:t.NAN,INFINITY:t.INFINITY,_INFINITY:t._INFINITY,INF:t.INF,SPECIAL:t.SPECIAL,ATOM:t.ATOM,COLLECTION:t.COLLECTION,ALL:t.ALL},t.default=t.Allow},51789:(e,t,r)=>{"use strict";r.d(t,{A:()=>W});var n,a,o,i,c,l,s,u,p,d,f,h,g,y,m,b,v,w,x=r(68296),k=r(12115),O=r(73751);function j(e,t){return t||(t=e.slice(0)),Object.freeze(Object.defineProperties(e,{raw:{value:Object.freeze(t)}}))}var P=(0,r(28968).rU)(function(e,t){var r=e.cx,x=e.css,k=e.token,O=e.isDarkMode,P=e.responsive,A=t.placement,M=t.type,C=t.title,S=t.primary,L=t.avatarSize,N=t.editing,E=t.time,I=x(n||(n=j(["\n padding-block: 8px;\n padding-inline: 12px;\n\n background-color: ",";\n border-radius: ","px;\n\n transition: background-color 100ms ",";\n "])),S?O?k.colorFill:k.colorBgElevated:O?k.colorFillSecondary:k.colorBgContainer,k.borderRadiusLG,k.motionEaseOut),T=x(a||(a=j(["\n padding-block-start: ",";\n "])),C?0:"6px"),_=x(o||(o=j(["\n margin-block-end: -16px;\n transition: background-color 100ms ",";\n "])),k.motionEaseOut),z=N&&x(i||(i=j(["\n width: 100%;\n "])));return{actions:r(x(c||(c=j(["\n flex: none;\n align-self: ",";\n justify-content: ",";\n "])),"block"===M?"flex-end":"left"===A?"flex-start":"flex-end","left"===A?"flex-end":"flex-start"),N&&x(l||(l=j(["\n pointer-events: none !important;\n opacity: 0 !important;\n "])))),avatarContainer:x(s||(s=j(["\n position: relative;\n flex: none;\n width: ","px;\n height: ","px;\n "])),L,L),avatarGroupContainer:x(u||(u=j(["\n width: ","px;\n "])),L),container:r("pure"===M&&_,x(p||(p=j(["\n position: relative;\n width: 100%;\n max-width: 100vw;\n padding: 16px;\n\n time {\n display: inline-block;\n white-space: nowrap;\n }\n\n div[role='menubar'] {\n display: flex;\n }\n\n time,\n div[role='menubar'] {\n pointer-events: none;\n opacity: 0;\n transition: opacity 200ms ",";\n }\n\n &:hover {\n time,\n div[role='menubar'] {\n pointer-events: unset;\n opacity: 1;\n }\n }\n\n "," {\n padding-block: ",";\n padding-inline: 8px;\n }\n "])),k.motionEaseOut,P.mobile,"pure"===M?"12px":"6px")),editingContainer:r(z,x(d||(d=j(["\n padding-block: 8px 12px;\n padding-inline: 12px;\n border: 1px solid ",";\n\n &:active,\n &:hover {\n border-color: ",";\n }\n "])),k.colorBorderSecondary,k.colorBorder),"pure"===M&&x(f||(f=j(["\n background: ",";\n border-radius: ","px;\n "])),k.colorFillQuaternary,k.borderRadius)),editingInput:x(h||(h=j(["\n width: 100%;\n "]))),errorContainer:x(g||(g=j(["\n position: relative;\n overflow: hidden;\n width: 100%;\n "]))),loading:x(y||(y=j(["\n position: absolute;\n inset-block-end: 0;\n inset-inline: ","\n ",";\n\n width: 16px;\n height: 16px;\n\n color: ",";\n\n background: ",";\n border-radius: 50%;\n "])),"right"===A?"-4px":"unset","left"===A?"-4px":"unset",k.colorBgLayout,k.colorPrimary),message:r("block"===M?I:T,x(m||(m=j(["\n position: relative;\n overflow: hidden;\n max-width: 100%;\n\n "," {\n width: 100%;\n }\n "])),P.mobile)),messageContainer:r(z,x(b||(b=j(["\n position: relative;\n overflow: hidden;\n max-width: 100%;\n margin-block-start: ","px;\n\n "," {\n overflow-x: auto;\n }\n "])),E?-16:0,P.mobile)),messageContent:r(z,x(v||(v=j(["\n position: relative;\n overflow: hidden;\n max-width: 100%;\n\n "," {\n flex-direction: column !important;\n }\n "])),P.mobile)),messageExtra:r("message-extra"),name:x(w||(w=j(["\n pointer-events: none;\n\n margin-block-end: 6px;\n\n font-size: 12px;\n line-height: 1;\n color: ",";\n text-align: ",";
1\n "])),k.colorTextDescription,"left"===A?"left":"right")}}),A=r(95155),M=(0,k.memo)(function(e){var t=e.actions,r=e.placement,n=e.type,a=P({editing:e.editing,placement:r,type:n}).styles;return(0,A.jsx)(O.Flexbox,{align:"flex-start",className:a.actions,role:"menubar",children:t})}),C=r(91651),S=r(24974),L=r(43825),N=(0,k.memo)(function(e){var t=e.loading,r=P({placement:e.placement}).styles;return t?(0,A.jsx)(O.Flexbox,{align:"center",className:r.loading,justify:"center",children:(0,A.jsx)(L.default,{icon:S.A,size:{fontSize:12,strokeWidth:3},spin:!0})}):null}),E=(0,k.memo)(function(e){var t=e.loading,r=e.avatar,n=e.placement,a=e.unoptimized,o=e.addon,i=e.onClick,c=e.size,l=void 0===c?40:c,s=e.alt,u=P({avatarSize:l}).styles,p=(0,A.jsxs)("div",{className:u.avatarContainer,children:[(0,A.jsx)(C.default,{alt:s||r.title,animation:t,avatar:r.avatar,background:r.backgroundColor,onClick:i,size:l,title:r.title,unoptimized:a}),(0,A.jsx)(N,{loading:t,placement:n})]});return o?(0,A.jsxs)(O.Flexbox,{align:"center",className:u.avatarGroupContainer,gap:8,children:[p,o]}):p}),I=(0,k.memo)(function(e){var t=e.borderSpacing;return t?(0,A.jsx)("div",{style:{flex:"none",width:t}}):null}),T=r(49366);function _(e){return(_="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function z(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}var F=(0,k.memo)(function(e){var t=e.message,r=e.error,n=P({placement:e.placement}).styles;return(0,A.jsx)(O.Flexbox,{className:n.errorContainer,children:(0,A.jsx)(T.default,function(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?z(Object(r),!0).forEach(function(t){var n,a,o;n=e,a=t,o=r[t],(a=function(e){var t=function(e,t){if("object"!=_(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=_(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==_(t)?t:String(t)}(a))in n?Object.defineProperty(n,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[a]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):z(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}
1({closable:!1,extra:t,showIcon:!0,type:"error"},r))})}),B=r(7066),R=(0,k.memo)(function(e){var t=e.editing,r=e.onChange,n=e.onEditingChange,a=e.text,o=e.message,i=e.placement,c=e.messageExtra,l=e.renderMessage,s=e.type,u=e.primary,p=e.onDoubleClick,d=e.fontSize,f=e.markdownProps,h=P({editing:t,placement:i,primary:u,type:s}),g=h.cx,y=h.styles,m=(0,x.Q)().mobile,b=(0,A.jsx)(B.A,{classNames:{input:y.editingInput},editButtonSize:"small",editing:t,fontSize:d,fullFeaturedCodeBlock:!0,markdownProps:f,onChange:r,onEditingChange:n,openModal:m?t:void 0,text:a,value:o?String(o):""}),v=l?l(b):b;return(0,A.jsxs)(O.Flexbox,{className:g(y.message,t&&y.editingContainer),onDoubleClick:p,children:[v,c&&!t?(0,A.jsx)("div",{className:y.messageExtra,children:c}):null]})}),D=r(30832),U=r.n(D),q=function(e){var t=U()(),r=U()(e);return r.isSame(t,"day")?r.format("HH:mm:ss"):r.isSame(t,"year")?r.format("MM-DD HH:mm:ss"):r.format("YYYY-MM-DD HH:mm:ss")},J=(0,k.memo)(function(e){var t=e.showTitle,r=e.placement,n=e.time,a=e.avatar,o=P({placement:r,showTitle:t,time:n}).styles;return(0,A.jsxs)(O.Flexbox,{className:o.name,direction:"left"===r?"horizontal":"horizontal-reverse",gap:4,children:[t?a.title||"untitled":void 0,n&&(0,A.jsx)("time",{children:q(n)})]})});function G(e){return(G="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}var Y=["avatarAddon","onAvatarClick","avatarProps","actions","className","primary","loading","message","placeholderMessage","placement","type","avatar","error","showTitle","time","editing","onChange","onEditingChange","messageExtra","renderMessage","text","errorMessage","onDoubleClick","fontSize","aboveMessage","belowMessage","markdownProps"];function V(e,t){var r=Object.keys(e);if(Object.getOwnPropertySymbols){var n=Object.getOwnPropertySymbols(e);t&&(n=n.filter(function(t){return Object.getOwnPropertyDescriptor(e,t).enumerable})),r.push.apply(r,n)}return r}function H(e){for(var t=1;t<arguments.length;t++){var r=null!=arguments[t]?arguments[t]:{};t%2?V(Object(r),!0).forEach(function(t){var n,a,o;n=e,a=t,o=r[t],(a=function(e){var t=function(e,t){if("object"!=G(e)||!e)return e;var r=e[Symbol.toPrimitive];if(void 0!==r){var n=r.call(e,t||"default");if("object"!=G(n))return n;throw TypeError("@@toPrimitive must return a primitive value.")}return("string"===t?String:Number)(e)}(e,"string");return"symbol"==G(t)?t:String(t)}(a))in n?Object.defineProperty(n,a,{value:o,enumerable:!0,configurable:!0,writable:!0}):n[a]=o}):Object.getOwnPropertyDescriptors?Object.defineProperties(e,Object.getOwnPropertyDescriptors(r)):V(Object(r)).forEach(function(t){Object.defineProperty(e,t,Object.getOwnPropertyDescriptor(r,t))})}return e}function $(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}let W=(0,k.memo)(function(e){var t,r=e.avatarAddon,n=e.onAvatarClick,a=e.avatarProps,o=e.actions,i=e.className,c=e.primary,l=e.loading,s=e.message,u=e.placeholderMessage,p=e.placement,d=void 0===p?"left":p,f=e.type,h=void 0===f?"block":f,g=e.avatar,y=e.error,m=e.showTitle,b=e.time,v=e.editing,w=e.onChange,j=e.onEditingChange,C=e.messageExtra,S=e.renderMessage,L=e.text,N=e.errorMessage,T=e.onDoubleClick,_=e.fontSize,z=e.aboveMessage,B=e.belowMessage,D=e.markdownProps,U=function(e,t){if(null==e)return{};var r,n,a=function(e,t){if(null==e)return{};var r,n,a={},o=Object.keys(e);for(n=0;n<o.length;n++)r=o[n],t.indexOf(r)>=0||(a[r]=e[r]);return a}(e,t);if(Object.getOwnPropertySymbols){var o=Object.getOwnPropertySymbols(e);for(n=0;n<o.length;n++)r=o[n],!(t.indexOf(r)>=0)&&Object.prototype.propertyIsEnumerable.call(e,r)&&(a[r]=e[r])}return a}(e,Y),q=(0,x.Q)().mobile,G=P({editing:v,placement:d,primary:c,showTitle:m,time:b,title:g.title,type:h}),V=G.cx,W=G.styles,Q=(0,k.useRef)(null),Z=(0,k.useRef)(null),X=function(e){if(Array.isArray(e))return e}(t=(0,k.useState)("block"===h?"horizontal":"vertical"))||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,c=[],l=!0,s=!1;try{o=(r=r.call(e)).next;for(;
1!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){s=!0,a=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw a}}return c}}(t,2)||function(e,t){if(e){if("string"==typeof e)return $(e,2);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return $(e,t)}}(t,2)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),K=X[0],ee=X[1];return(0,k.useEffect)(function(){if("pure"===h){ee("vertical");return}if(Q.current&&Z.current){var e=new ResizeObserver(function(){if(Q.current&&Z.current){var e=Z.current.clientWidth,t=Q.current.scrollWidth;console.log(t,54,e),ee(t+54>e?"vertical":"horizontal")}});return e.observe(Q.current),e.observe(Z.current),function(){return e.disconnect()}}},[h]),(0,A.jsxs)(O.Flexbox,H(H({className:V(W.container,i),direction:"left"===d?"horizontal":"horizontal-reverse",gap:q?6:12},U),{},{children:[(0,A.jsx)(E,H(H({},a),{},{addon:r,alt:(null==a?void 0:a.alt)||g.title||"avatar",avatar:g,loading:l,onClick:n,placement:d,size:q?32:void 0})),(0,A.jsxs)(O.Flexbox,{align:"left"===d?"flex-start":"flex-end",className:W.messageContainer,ref:Z,children:[(0,A.jsx)(J,{avatar:g,placement:d,showTitle:m,time:b}),z,(0,A.jsxs)(O.Flexbox,{align:"left"===d?"flex-start":"flex-end",className:W.messageContent,"data-layout":K,direction:"horizontal"===K?"left"===d?"horizontal":"horizontal-reverse":"vertical",gap:8,children:[(0,A.jsx)(O.Flexbox,{ref:Q,width:"100%",children:y&&(s===(void 0===u?"...":u)||!s)?(0,A.jsx)(F,{error:y,message:N,placement:d}):(0,A.jsx)(R,{editing:v,fontSize:_,markdownProps:D,message:s,messageExtra:(0,A.jsxs)(A.Fragment,{children:[y&&(0,A.jsx)(F,{error:y,message:N,placement:d}),C]}),onChange:w,onDoubleClick:T,onEditingChange:j,placement:d,primary:c,renderMessage:S,text:L,type:h})}),(0,A.jsx)(M,{actions:o,editing:v,placement:d,type:h})]}),B]}),q&&"block"===h&&(0,A.jsx)(I,{borderSpacing:32})]}))})},53904:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("RefreshCw",[["path",{d:"M3 12a9 9 0 0 1 9-9 9.75 9.75 0 0 1 6.74 2.74L21 8",key:"v9h5vc"}],["path",{d:"M21 3v5h-5",key:"1q7to0"}],["path",{d:"M21 12a9 9 0 0 1-9 9 9.75 9.75 0 0 1-6.74-2.74L3 16",key:"3uifl3"}],["path",{d:"M8 16H3v5",key:"1cv678"}]])},54219:e=>{var t=Object.defineProperty,r=Object.getOwnPropertyDescriptor,n=Object.getOwnPropertyNames,a=Object.prototype.hasOwnProperty;e.exports=((e,o,i,c)=>{if(o&&"object"==typeof o||"function"==typeof o)for(let l of n(o))a.call(e,l)||l===i||t(e,l,{get:()=>o[l],enumerable:!(c=r(o,l))||c.enumerable});return e})(t({},"__esModule",{value:!0}),{})},54416:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("X",[["path",{d:"M18 6 6 18",key:"1bl5f8"}],["path",{d:"m6 6 12 12",key:"d8bk6v"}]])},56287:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Pen",[["path",{d:"M21.174 6.812a1 1 0 0 0-3.986-3.987L3.842 16.174a2 2 0 0 0-.5.83l-1.321 4.352a.5.5 0 0 0 .623.622l4.353-1.32a2 2 0 0 0 .83-.497z",key:"1a8usu"}]])},56948:(e,t,r)=>{var n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,c={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(c,{onReceiveData:()=>s}),e.exports=((e,t,r,c)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))i.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(c=a(t,l))||c.enumerable});return e})(n({},"__esModule",{value:!0}),c);var l=r(11942),s=(e,t)=>{e.data.type===l.PluginChannel.renderPlugin&&t(e.data.props)}},58058:(e,t,r)=>{var n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,c={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(c,{useWatchPluginMessage:()=>p}),e.exports=((e,t,r,c)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))i.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(c=a(t,l))||c.enumerable});return e})(n({},"__esModule",{value:!0}),c);var l=r(12115),s=r(11942),u=r(56948),p=()=>{let[e,t]=(0,l.useState)({data:void 0,loading:!0}),r=e=>{(0,u.onReceiveData)(e,e=>{t({data:e.content,loading:!1})})};return(0,l.useEffect)(()=>(null==window||window.addEventListener("message",r),null==top||top.postMessage({type:s.PluginChannel.pluginReadyForRender},"*"),()=>{null==window||window.removeEventListener("message",r)}),[]),e}},60467:(e,t,r)=>{"use strict";r.d(t,{R:()=>p});var n=r(12115),a=r(90427);function o(e){return(o="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(e){return typeof e}:function(e){return e&&"function"==typeof Symbol&&e.constructor===Symbol&&e!==Symbol.prototype?"symbol":typeof e})(e)}function i(){i=function(){return t};var e,t={},r=Object.prototype,n=r.hasOwnProperty,a=Object.defineProperty||function(e,t,r){e[t]=r.value},c="function"==typeof Symbol?Symbol:{},l=c.iterator||"@@iterator",s=c.asyncIterator||"@@asyncIterator",u=c.toStringTag||"@@toStringTag";function p(e,t,r){return Object.defineProperty(e,t,{value:r,enumerable:!0,configurable:!0,writable:!0}),e[t]}try{p({},"")}catch(e){p=function(e,t,r){return e[t]=r}}function d(t,r,n,o){var i,c,l,s,u=Object.create((r&&r.prototype instanceof b?r:b).prototype);return a(u,"_invoke",{value:(i=t,c=n,l=new S(o||[]),s=h,function(t,r){if(s===g)throw Error("Generator is already running");if(s===y){if("throw"===t)throw r;return{value:e,done:!0}}for(l.method=t,l.arg=r;;){var n=l.delegate;if(n){var a=function t(r,n){var a=n.method,o=r.iterator[a];if(o===e)return n.delegate=null,"throw"===a&&r.iterator.return&&
vendor: 5,137 bytes, line 1
1(n.method="return",n.arg=e,t(r,n),"throw"===n.method)||"return"!==a&&(n.method="throw",n.arg=TypeError("The iterator does not provide a '"+a+"' method")),m;var i=f(o,r.iterator,n.arg);if("throw"===i.type)return n.method="throw",n.arg=i.arg,n.delegate=null,m;var c=i.arg;return c?c.done?(n[r.resultName]=c.value,n.next=r.nextLoc,"return"!==n.method&&(n.method="next",n.arg=e),n.delegate=null,m):c:(n.method="throw",n.arg=TypeError("iterator result is not an object"),n.delegate=null,m)}(n,l);if(a){if(a===m)continue;return a}}if("next"===l.method)l.sent=l._sent=l.arg;else if("throw"===l.method){if(s===h)throw s=y,l.arg;l.dispatchException(l.arg)}else"return"===l.method&&l.abrupt("return",l.arg);s=g;var o=f(i,c,l);if("normal"===o.type){if(s=l.done?y:"suspendedYield",o.arg===m)continue;return{value:o.arg,done:l.done}}"throw"===o.type&&(s=y,l.method="throw",l.arg=o.arg)}})}),u}function f(e,t,r){try{return{type:"normal",arg:e.call(t,r)}}catch(e){return{type:"throw",arg:e}}}t.wrap=d;var h="suspendedStart",g="executing",y="completed",m={};function b(){}function v(){}function w(){}var x={};p(x,l,function(){return this});var k=Object.getPrototypeOf,O=k&&k(k(L([])));O&&O!==r&&n.call(O,l)&&(x=O);var j=w.prototype=b.prototype=Object.create(x);function P(e){["next","throw","return"].forEach(function(t){p(e,t,function(e){return this._invoke(t,e)})})}function A(e,t){var r;a(this,"_invoke",{value:function(a,i){function c(){return new t(function(r,c){!function r(a,i,c,l){var s=f(e[a],e,i);if("throw"!==s.type){var u=s.arg,p=u.value;return p&&"object"==o(p)&&n.call(p,"__await")?t.resolve(p.__await).then(function(e){r("next",e,c,l)},function(e){r("throw",e,c,l)}):t.resolve(p).then(function(e){u.value=e,c(u)},function(e){return r("throw",e,c,l)})}l(s.arg)}(a,i,r,c)})}return r=r?r.then(c,c):c()}})}function M(e){var t={tryLoc:e[0]};1 in e&&(t.catchLoc=e[1]),2 in e&&(t.finallyLoc=e[2],t.afterLoc=e[3]),this.tryEntries.push(t)}function C(e){var t=e.completion||{};t.type="normal",delete t.arg,e.completion=t}function S(e){this.tryEntries=[{tryLoc:"root"}],e.forEach(M,this),this.reset(!0)}function L(t){if(t||""===t){var r=t[l];if(r)return r.call(t);if("function"==typeof t.next)return t;if(!isNaN(t.length)){var a=-1,i=function r(){for(;++a<t.length;)if(n.call(t,a))return r.value=t[a],r.done=!1,r;return r.value=e,r.done=!0,r};return i.next=i}}throw TypeError(o(t)+" is not iterable")}return v.prototype=w,a(j,"constructor",{value:w,configurable:!0}),a(w,"constructor",{value:v,configurable:!0}),v.displayName=p(w,u,"GeneratorFunction"),t.isGeneratorFunction=function(e){var t="function"==typeof e&&e.constructor;return!!t&&(t===v||"GeneratorFunction"===(t.displayName||t.name))},t.mark=function(e){return Object.setPrototypeOf?Object.setPrototypeOf(e,w):(e.__proto__=w,p(e,u,"GeneratorFunction")),e.prototype=Object.create(j),e},t.awrap=function(e){return{__await:e}},P(A.prototype),p(A.prototype,s,function(){return this}),t.AsyncIterator=A,t.async=function(e,r,n,a,o){void 0===o&&(o=Promise);var i=new A(d(e,r,n,a),o);return t.isGeneratorFunction(r)?i:i.next().then(function(e){return e.done?e.value:i.next()})},P(j),p(j,u,"Generator"),p(j,l,function(){return this}),p(j,"toString",function(){return"[object Generator]"}),t.keys=function(e){var t=Object(e),r=[];for(var n in t)r.push(n);return r.reverse(),function e(){for(;r.length;){var n=r.pop();if(n in t)return e.value=n,e.done=!1,e}return e.done=!0,e}},t.values=L,S.prototype={constructor:S,reset:function(t){if(this.prev=0,this.next=0,this.sent=this._sent=e,this.done=!1,this.delegate=null,this.method="next",this.arg=e,this.tryEntries.forEach(C),!t)for(var r in this)"t"===r.charAt(0)&&n.call(this,r)&&!isNaN(+r.slice(1))&&(this[r]=e)},stop:function(){this.done=!0;var e=this.tryEntries[0].completion;if("throw"===e.type)throw e.arg;return this.rval},dispatchException:function(t){if(this.done)throw t;var r=this;function a(n,a){return c.type="throw",c.arg=t,r.next=n,a&&(r.method="next",r.arg=e),!!a}for(var o=this.tryEntries.length-1;o>=0;--o){var i=this.tryEntries[o],c=i.completion;if("root"===i.tryLoc)return a("end");if(i.tryLoc<=this.prev){var l=n.call(i,"catchLoc"),s=n.call(i,"finallyLoc");if(l&&s){if(this.prev<i.catchLoc)return a(i.catchLoc,!0);if(this.prev<i.finallyLoc)return a(i.finallyLoc)}else if(l){if(this.prev<i.catchLoc)return a(i.catchLoc,!0)}else{if(!s)throw Error("try statement without catch or finally");if(this.prev<i.finallyLoc)return a(i.finallyLoc)}}}},abrupt:function(e,t){for(var r=this.tryEntries.length-1;r>=0;--r){var a=this.tryEntries[r];if(a.tryLoc<=this.prev&&n.call(a,"finallyLoc")&&this.prev<a.finallyLoc){var o=a;break}}o&&("break"===e||"continue"===e)&&o.tryLoc<=t&&t<=o.finallyLoc&&(o=null);var i=o?o.completion:{};return i.type=e,i.arg=t,o?(this.method="next",this.next=o.finallyLoc,m):this.complete(i)},complete:function(e,t){if("throw"===e.type)throw e.arg;return"break"===e.type||"continue"===e.type?this.next=e.arg:"return"===e.type?(this.rval=this.arg=e.arg,this.method="return",this.next="end"):"normal"===e.type&&t&&(this.next=t),m},finish:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];
1if(r.finallyLoc===e)return this.complete(r.completion,r.afterLoc),C(r),m}},catch:function(e){for(var t=this.tryEntries.length-1;t>=0;--t){var r=this.tryEntries[t];if(r.tryLoc===e){var n=r.completion;if("throw"===n.type){var a=n.arg;C(r)}return a}}throw Error("illegal catch attempt")},delegateYield:function(t,r,n){return this.delegate={iterator:L(t),resultName:r,nextLoc:n},"next"===this.method&&(this.arg=e),m}},t}function c(e,t,r,n,a,o,i){try{var c=e[o](i),l=c.value}catch(e){r(e);return}c.done?t(l):Promise.resolve(l).then(n,a)}function l(e){return function(){var t=this,r=arguments;return new Promise(function(n,a){var o=e.apply(t,r);function i(e){c(o,n,a,i,l,"next",e)}function l(e){c(o,n,a,i,l,"throw",e)}i(void 0)})}}function s(e,t){return function(e){if(Array.isArray(e))return e}(e)||function(e,t){var r=null==e?null:"undefined"!=typeof Symbol&&e[Symbol.iterator]||e["@@iterator"];if(null!=r){var n,a,o,i,c=[],l=!0,s=!1;try{if(o=(r=r.call(e)).next,0===t){if(Object(r)!==r)return;l=!1}else for(;!(l=(n=o.call(r)).done)&&(c.push(n.value),c.length!==t);l=!0);}catch(e){s=!0,a=e}finally{try{if(!l&&null!=r.return&&(i=r.return(),Object(i)!==i))return}finally{if(s)throw a}}return c}}(e,t)||function(e,t){if(e){if("string"==typeof e)return u(e,t);var r=Object.prototype.toString.call(e).slice(8,-1);if("Object"===r&&e.constructor&&(r=e.constructor.name),"Map"===r||"Set"===r)return Array.from(e);if("Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r))return u(e,t)}}(e,t)||function(){throw TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function u(e,t){(null==t||t>e.length)&&(t=e.length);for(var r=0,n=Array(t);r<t;r++)n[r]=e[r];return n}var p=function(){var e,t=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},r=t.src,o=t.type,c=void 0===o?"audio/mp3":o,u=(0,n.useRef)(null),p=s((0,n.useState)([]),2),d=p[0],f=p[1],h=s((0,n.useState)(0),2),g=h[0],y=h[1],m=s((0,n.useState)(0),2),b=m[0],v=m[1],w=s((0,n.useState)(!1),2),x=w[0],k=w[1],O=s((0,n.useState)(!0),2),j=O[0],P=O[1],A=(0,a.default)(r||null,l(i().mark(function e(){var t,n,a;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(r){e.next=2;break}return e.abrupt("return");case 2:return P(!0),e.next=5,fetch(r);case 5:return t=e.sent,e.next=8,t.arrayBuffer();case 8:f([n=e.sent]),a=new Blob([n],{type:c}),u.current||(u.current=new Audio),u.current.pause(),u.current.currentTime=0,u.current.src&&URL.revokeObjectURL(u.current.src),u.current.src=URL.createObjectURL(a),u.current.load();case 17:case"end":return e.stop()}},e)}))).isLoading;(0,n.useEffect)(function(){u.current||(u.current=new Audio);var e,t=function(){u.current&&(v(u.current.duration),P(!1))},r=function(){u.current&&y(u.current.currentTime)},n=(e=l(i().mark(function e(){return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(u.current){e.next=2;break}return e.abrupt("return");case 2:k(!1),u.current.currentTime=0,y(0);case 5:case"end":return e.stop()}},e)})),function(){return e.apply(this,arguments)});return u.current.addEventListener("ended",n),u.current.addEventListener("loadedmetadata",t),u.current.addEventListener("timeupdate",r),function(){u.current&&(u.current.pause(),u.current.load(),u.current.removeEventListener("ended",n),u.current.removeEventListener("loadedmetadata",t),u.current.removeEventListener("timeupdate",r),P(!0))}},[]);var M=(0,n.useCallback)(function(){try{var e;if(!u.current)return;k(!0),null===(e=u.current)||void 0===e||e.play()}catch(e){setTimeout(function(){M()},200)}},[]),C=(0,n.useCallback)(function(){u.current&&(k(!1),u.current.pause())},[]),S=(0,n.useCallback)(function(){u.current&&(k(!1),u.current.pause(),u.current.currentTime=0)},[]),L=(0,n.useCallback)(function(e){u.current&&(y(e),u.current.currentTime=e)},[]),N=(0,n.useCallback)(function(){u.current&&(u.current.pause(),u.current.currentTime=0,u.current.src&&URL.revokeObjectURL(u.current.src),u.current.src="",v(0),y(0))},[]);return{arrayBuffers:d,currentTime:g,download:(0,n.useCallback)(l(i().mark(function e(){var t;return i().wrap(function(e){for(;;)switch(e.prev=e.next){case 0:if(u.current){e.next=2;break}return e.abrupt("return");case 2:(t=document.createElement("a")).href=u.current.src,t.download="audio.mp3",t.click();case 6:case"end":return e.stop()}},e)}
1)),[]),duration:b,isLoading:A||j,isPlaying:x,pause:C,play:M,ref:u,reset:N,setTime:L,stop:S,url:(null==u||null===(e=u.current)||void 0===e?void 0:e.src)||""}}},63538:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Origami",[["path",{d:"M12 12V4a1 1 0 0 1 1-1h6.297a1 1 0 0 1 .651 1.759l-4.696 4.025",key:"1bx4vc"}],["path",{d:"m12 21-7.414-7.414A2 2 0 0 1 4 12.172V6.415a1.002 1.002 0 0 1 1.707-.707L20 20.009",key:"1h3km6"}],["path",{d:"m12.214 3.381 8.414 14.966a1 1 0 0 1-.167 1.199l-1.168 1.163a1 1 0 0 1-.706.291H6.351a1 1 0 0 1-.625-.219L3.25 18.8a1 1 0 0 1 .631-1.781l4.165.027",key:"1hj4wg"}]])},65932:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("BadgeCent",[["path",{d:"M3.85 8.62a4 4 0 0 1 4.78-4.77 4 4 0 0 1 6.74 0 4 4 0 0 1 4.78 4.78 4 4 0 0 1 0 6.74 4 4 0 0 1-4.77 4.78 4 4 0 0 1-6.75 0 4 4 0 0 1-4.78-4.77 4 4 0 0 1 0-6.76Z",key:"3c2336"}],["path",{d:"M12 7v10",key:"jspqdw"}],["path",{d:"M15.4 10a4 4 0 1 0 0 4",key:"2eqtx8"}]])},66029:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("ScanFace",[["path",{d:"M3 7V5a2 2 0 0 1 2-2h2",key:"aa7l1z"}],["path",{d:"M17 3h2a2 2 0 0 1 2 2v2",key:"4qcy5o"}],["path",{d:"M21 17v2a2 2 0 0 1-2 2h-2",key:"6vwrx8"}],["path",{d:"M7 21H5a2 2 0 0 1-2-2v-2",key:"ioqczr"}],["path",{d:"M8 14s1.5 2 4 2 4-2 4-2",key:"1y1vjs"}],["path",{d:"M9 9h.01",key:"1q5me6"}],["path",{d:"M15 9h.01",key:"x1ddxp"}]])},66766:(e,t,r)=>{"use strict";r.d(t,{default:()=>a.a});var n=r(71469),a=r.n(n)},67479:(e,t,r)=>{var n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,c={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(c,{fetchPluginMessage:()=>f,fetchPluginPayload:()=>h,fetchPluginSettings:()=>g,fetchPluginState:()=>d,postToFillPluginContent:()=>s,postToUpdatePluginSettings:()=>p,postToUpdatePluginState:()=>u}),e.exports=((e,t,r,c)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))i.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(c=a(t,l))||c.enumerable});return e})(n({},"__esModule",{value:!0}),c);var l=r(89317),s=l.lobeChat.setPluginMessage,u=l.lobeChat.setPluginState,p=l.lobeChat.setPluginSettings,d=l.lobeChat.getPluginState,f=l.lobeChat.getPluginMessage,h=l.lobeChat.getPluginPayload,g=l.lobeChat.getPluginSettings},71469:(e,t,r)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),!function(e,t){for(var r in t)Object.defineProperty(e,r,{enumerable:!0,get:t[r]})}(t,{default:function(){return l},getImageProps:function(){return c}});let n=r(3419),a=r(38883),o=r(33063),i=n._(r(51193));function c(e){let{props:t}=(0,a.getImgProps)(e,{defaultLoader:i.default,imgConf:{deviceSizes:[640,750,828,1080,1200,1920,2048,3840],imageSizes:[16,32,48,64,96,128,256,384],path:"/_next/image",loader:"default",dangerouslyAllowSVG:!1,unoptimized:!1}});for(let[e,r]of Object.entries(t))void 0===r&&delete t[e];return{props:t}}let l=o.Image},78878:(e,t,r)=>{var n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,c={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(c,{useOnStandalonePluginInit:()=>u}),e.exports=((e,t,r,c)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))i.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(c=a(t,l))||c.enumerable});return e})(n({},"__esModule",{value:!0}),c);var l=r(12115),s=r(333),u=e=>{(0,l.useEffect)(()=>{s.lobeChat.getPluginPayload().then(t=>{t&&e(t)})},[])}},79543:(e,t,r)=>{var n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,c={};((e,t)=>{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(c,{usePluginState:()=>u}),e.exports=((e,t,r,c)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))i.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(c=a(t,l))||c.enumerable});return e})(n({},"__esModule",{value:!0}),c);var l=r(12115),s=r(333),u=(e,t)=>{let[r,n]=(0,l.useState)(t);return(0,l.useEffect)(()=>{s.lobeChat.getPluginState(e).then(e=>{e&&n(e)})},[e]),[r,(0,l.useCallback)(t=>{n(t),s.lobeChat.setPluginState(e,t)},[e])]}},89317:(e,t,r)=>{var n=Object.defineProperty,a=Object.getOwnPropertyDescriptor,o=Object.getOwnPropertyNames,i=Object.prototype.hasOwnProperty,c={};((e,t)=>
1{for(var r in t)n(e,r,{get:t[r],enumerable:!0})})(c,{lobeChat:()=>s}),e.exports=((e,t,r,c)=>{if(t&&"object"==typeof t||"function"==typeof t)for(let l of o(t))i.call(e,l)||l===r||n(e,l,{get:()=>t[l],enumerable:!(c=a(t,l))||c.enumerable});return e})(n({},"__esModule",{value:!0}),c);var l=r(11942),s=new class{constructor(){this.getPluginPayload=()=>new Promise(e=>{if("undefined"==typeof window){e(void 0);return}let t=setTimeout(()=>{e(void 0),window.removeEventListener("message",r)},1e3),r=n=>{if(n.data.type===l.PluginChannel.initStandalonePlugin){let a=n.data.payload||n.data.props,o=a.apiName,i=JSON.parse(a.arguments||"{}");clearTimeout(t),e({arguments:i,name:o,settings:n.data.settings,state:n.data.state}),window.removeEventListener("message",r)}};window.addEventListener("message",r),null==top||top.postMessage({type:l.PluginChannel.pluginReadyForRender},"*")}),this.getPluginSettings=()=>new Promise(e=>{if("undefined"==typeof window){e(void 0);return}let t=r=>{r.data.type===l.PluginChannel.renderPluginSettings&&(e(r.data.value),window.removeEventListener("message",t))};window.addEventListener("message",t),null==top||top.postMessage({type:l.PluginChannel.fetchPluginSettings},"*")}),this.setPluginSettings=e=>{null==top||top.postMessage({type:l.PluginChannel.updatePluginSettings,value:e},"*")},this.getPluginMessage=()=>new Promise(e=>{if("undefined"==typeof window){e(void 0);return}let t=r=>{r.data.type===l.PluginChannel.renderPlugin&&(e(r.data.props.content),window.removeEventListener("message",t))};window.addEventListener("message",t),null==top||top.postMessage({type:l.PluginChannel.fetchPluginMessage},"*")}),this.setPluginMessage=(e,t)=>{null==top||top.postMessage({content:e,triggerAiMessage:t,type:l.PluginChannel.fillStandalonePluginContent},"*")},this.getPluginState=e=>new Promise(t=>{if("undefined"==typeof window){t(void 0);return}let r=n=>{n.data.type===l.PluginChannel.renderPluginState&&n.data.key===e&&(t(n.data.value),window.removeEventListener("message",r))};window.addEventListener("message",r),null==top||top.postMessage({key:e,type:l.PluginChannel.fetchPluginState},"*")}),this.setPluginState=(e,t)=>{null==top||top.postMessage({key:e,type:l.PluginChannel.updatePluginState,value:t},"*")},this.triggerAIMessage=e=>{null==top||top.postMessage({id:e,type:l.PluginChannel.triggerAIMessage},"*")},this.createAssistantMessage=e=>{null==top||top.postMessage({content:e,type:l.PluginChannel.createAssistantMessage},"*")}}}},90598:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("SquareAsterisk",[["rect",{width:"18",height:"18",x:"3",y:"3",rx:"2",key:"afitv7"}],["path",{d:"M12 8v8",key:"napkw2"}],["path",{d:"m8.5 14 7-4",key:"12hpby"}],["path",{d:"m8.5 10 7 4",key:"wwy2dy"}]])},93550:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("Coins",[["circle",{cx:"8",cy:"8",r:"6",key:"3yglwk"}],["path",{d:"M18.09 10.37A6 6 0 1 1 10.34 18",key:"t5s6rm"}],["path",{d:"M7 6h1v4",key:"1obek4"}],["path",{d:"m16.71 13.88.7.71-2.82 2.82",key:"1rbuyh"}]])},99689:(e,t,r)=>{"use strict";r.d(t,{A:()=>n});let n=(0,r(19946).A)("KeySquare",[["path",{d:"M12.4 2.7a2.5 2.5 0 0 1 3.4 0l5.5 5.5a2.5 2.5 0 0 1 0 3.4l-3.7 3.7a2.5 2.5 0 0 1-3.4 0L8.7 9.8a2.5 2.5 0 0 1 0-3.4z",key:"165ttr"}],["path",{d:"m14 7 3 3",key:"1r5n42"}],["path",{d:"m9.4 10.6-6.814 6.814A2 2 0 0 0 2 18.828V21a1 1 0 0 0 1 1h3a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h1a1 1 0 0 0 1-1v-1a1 1 0 0 1 1-1h.172a2 2 0 0 0 1.414-.586l.814-.814",key:"1ubxi2"}]])}}]);
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.