@next-bricks/ai 1.32.12 → 1.32.13
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/bricks.json +1 -1
- package/dist/chunks/{3171.91a24644.js → 3171.1708a25e.js} +2 -2
- package/dist/chunks/{5552.36f8e3f6.js.map → 3171.1708a25e.js.map} +1 -1
- package/dist/chunks/{7146.0fde6302.js → 4765.23ac27f4.js} +2 -2
- package/dist/chunks/{7146.0fde6302.js.map → 4765.23ac27f4.js.map} +1 -1
- package/dist/chunks/4837.cd7a456c.js +2 -0
- package/dist/chunks/{4837.0531a4b3.js.map → 4837.cd7a456c.js.map} +1 -1
- package/dist/chunks/{5552.36f8e3f6.js → 5552.3f514caa.js} +2 -2
- package/dist/chunks/{3171.91a24644.js.map → 5552.3f514caa.js.map} +1 -1
- package/dist/chunks/{4765.11bedc6c.js → 7146.94c16495.js} +2 -2
- package/dist/chunks/{4765.11bedc6c.js.map → 7146.94c16495.js.map} +1 -1
- package/dist/chunks/7218.7acc340b.js +2 -0
- package/dist/chunks/{7218.d0fa9e09.js.map → 7218.7acc340b.js.map} +1 -1
- package/dist/chunks/{7736.e4045459.js → 7736.e36b1458.js} +2 -2
- package/dist/chunks/{7736.e4045459.js.map → 7736.e36b1458.js.map} +1 -1
- package/dist/chunks/9415.bd30c909.js +2 -0
- package/dist/chunks/{9415.f88a0ecb.js.map → 9415.bd30c909.js.map} +1 -1
- package/dist/chunks/948.50464f40.js +3 -0
- package/dist/chunks/948.50464f40.js.map +1 -0
- package/dist/chunks/chat-agent.cc01e6f5.js +2 -0
- package/dist/chunks/{chat-agent.34421bb8.js.map → chat-agent.cc01e6f5.js.map} +1 -1
- package/dist/chunks/main.4a9a96cd.js +2 -0
- package/dist/chunks/{main.0b25040b.js.map → main.4a9a96cd.js.map} +1 -1
- package/dist/{index.4f6d5411.js → index.ae72c418.js} +2 -2
- package/dist/{index.4f6d5411.js.map → index.ae72c418.js.map} +1 -1
- package/package.json +2 -2
- package/dist/chunks/4837.0531a4b3.js +0 -2
- package/dist/chunks/7218.d0fa9e09.js +0 -2
- package/dist/chunks/9415.f88a0ecb.js +0 -2
- package/dist/chunks/948.11164386.js +0 -3
- package/dist/chunks/948.11164386.js.map +0 -1
- package/dist/chunks/chat-agent.34421bb8.js +0 -2
- package/dist/chunks/main.0b25040b.js +0 -2
- /package/dist/chunks/{948.11164386.js.LICENSE.txt → 948.50464f40.js.LICENSE.txt} +0 -0
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
"use strict";(globalThis.webpackChunk_next_bricks_ai=globalThis.webpackChunk_next_bricks_ai||[]).push([[5125],{356:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(6758),o=n.n(r),a=n(935),i=n.n(a)()(o());i.push([e.id,":host{display:none}",""]);const s=i.toString()},829:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2559);function o(e,t){return e.get((0,r.A)(e,t))}},918:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2016);function o(e,t,n){(0,r.A)(e,t),t.set(e,n)}},935:e=>{e.exports=function(e){var t=[];return t.toString=function(){return this.map((function(t){var n="",r=void 0!==t[5];return t[4]&&(n+="@supports (".concat(t[4],") {")),t[2]&&(n+="@media ".concat(t[2]," {")),r&&(n+="@layer".concat(t[5].length>0?" ".concat(t[5]):""," {")),n+=e(t),r&&(n+="}"),t[2]&&(n+="}"),t[4]&&(n+="}"),n})).join("")},t.i=function(e,n,r,o,a){"string"==typeof e&&(e=[[null,e,void 0]]);var i={};if(r)for(var s=0;s<this.length;s++){var c=this[s][0];null!=c&&(i[c]=!0)}for(var l=0;l<e.length;l++){var u=[].concat(e[l]);r&&i[u[0]]||(void 0!==a&&(void 0===u[5]||(u[1]="@layer".concat(u[5].length>0?" ".concat(u[5]):""," {").concat(u[1],"}")),u[5]=a),n&&(u[2]?(u[1]="@media ".concat(u[2]," {").concat(u[1],"}"),u[2]=n):u[2]=n),o&&(u[4]?(u[1]="@supports (".concat(u[4],") {").concat(u[1],"}"),u[4]=o):u[4]="".concat(o)),t.push(u))}},t}},1369:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(7545);function o(e){var t=function(e){if("object"!=(0,r.A)(e)||!e)return e;var t=e[Symbol.toPrimitive];if(void 0!==t){var n=t.call(e,"string");if("object"!=(0,r.A)(n))return n;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(e)}(e);return"symbol"==(0,r.A)(t)?t:t+""}},1836:(e,t,n)=>{n.r(t),n.d(t,{ChatAgent:()=>J,ChatAgentComponent:()=>H,LegacyChatAgentComponent:()=>ae});var r,o=n(4635),a=n(918),i=n(6902),s=n(5536),c=n(6121),l=n(829),u=n(2740),h=n(8769),d=n.n(h),f=n(870),v=n(981),p=n(1921),g=n(9936),y=n(356);let A,w,m,b,k,C,I,S,E,M,R,j,P,T,W,x,L,N,U,_,q,O;const{defineElement:z,property:B,event:D,method:$}=(0,f.createDecorators)(),H=(0,h.forwardRef)(ae);let J;var F=new WeakMap,G=new WeakMap,K=new WeakMap,Q=new WeakMap,V=new WeakMap,X=new WeakSet,Y=new WeakMap,Z=new WeakMap,ee=new WeakMap,te=new WeakMap,ne=new WeakMap,re=new WeakMap;class oe extends v.ReactNextElement{constructor(){super(...arguments),(0,o.A)(this,X),(0,a.A)(this,F,(A(this),m(this))),(0,a.A)(this,G,(b(this),k(this))),(0,a.A)(this,K,(C(this),I(this))),(0,a.A)(this,Q,(S(this),E(this))),(0,a.A)(this,V,(M(this),R(this))),(0,a.A)(this,Y,(T(this),e=>{(0,s.A)(X,this,j).emit(e)})),(0,a.A)(this,Z,W(this)),(0,a.A)(this,ee,(N(this),e=>{(0,s.A)(X,this,x).emit(e)})),(0,a.A)(this,te,U(this)),(0,a.A)(this,ne,(O(this),e=>{(0,s.A)(X,this,_).emit(e)})),(0,a.A)(this,re,(0,h.createRef)())}get agentId(){return(0,l.A)(F,this)}set agentId(e){(0,c.A)(F,this,e)}get robotId(){return(0,l.A)(G,this)}set robotId(e){(0,c.A)(G,this,e)}get conversationId(){return(0,l.A)(K,this)}set conversationId(e){(0,c.A)(K,this,e)}get alwaysUseNewConversation(){return(0,l.A)(Q,this)}set alwaysUseNewConversation(e){(0,c.A)(Q,this,e)}postMessage(e){var t;return null===(t=(0,l.A)(re,this).current)||void 0===t?void 0:t.postMessage(e)}sendRequest(e,t,n){var r;return null===(r=(0,l.A)(re,this).current)||void 0===r?void 0:r.sendRequest(e,t,n)}lowLevelSendRequest(e,t,n){var r;return null===(r=(0,l.A)(re,this).current)||void 0===r?void 0:r.lowLevelSendRequest(e,t,n)}newConversation(){var e;null===(e=(0,l.A)(re,this).current)||void 0===e||e.newConversation()}render(){return d().createElement(H,{ref:(0,l.A)(re,this),agentId:this.agentId,robotId:this.robotId,conversationId:this.conversationId,alwaysUseNewConversation:this.alwaysUseNewConversation,onMessagesUpdate:(0,l.A)(Y,this),onBusyChange:(0,l.A)(ee,this),onConversationIdChange:(0,l.A)(ne,this)})}}function ae(e,t){let{agentId:n,robotId:r,conversationId:o,alwaysUseNewConversation:a,onMessageChunkPush:i,onMessagesUpdate:s,onBusyChange:c,onConversationIdChange:l}=e;const u=(0,h.useRef)(!1),d=(0,h.useRef)(1),f=(0,h.useRef)(!1),[v,y]=(0,h.useState)(null);(0,h.useEffect)((()=>{y(null!=o?o:null)}),[o]),(0,h.useEffect)((()=>{u.current&&(null==l||l(v))}),[v,l]);const A=(0,h.useRef)(0),w=(0,h.useCallback)((()=>A.current++),[]),[m,b]=(0,h.useState)([]),k=(0,h.useCallback)((e=>{null==i||i(e),b((t=>{const n=t[t.length-1];return n&&n.key===e.key?(n.content+=e.delta.content,[...t]):(null!=n&&n.partial&&(n.partial=!1),[...t,{...e.delta,key:e.key,partial:e.partial}])}))}),[i]),C=(0,h.useCallback)((async(e,t,n,r)=>{if(f.current)return null;(a||e)&&b((e=>0===e.length?e:[]));const o=d.current;let i;const s=async()=>{if(o!==d.current)throw i||(i=new Error("New conversation started")),i},l=w(),u=w();let h=a||e?null:v;null==c||c(f.current=!0);try{if(Array.isArray(t))for(const e of t){const t="assistant"===e.role;(t||"user"===e.role)&&(null==k||k({key:t?u:l,delta:{role:e.role,content:e.content}}))}else null==k||k({key:l,delta:{content:t,role:"user"}});const o=(0,g.createSSEStream)(new URL(n,`${location.origin}${(0,p.getBasePath)()}`).toString(),r);await Promise.race([o,new Promise((e=>setTimeout(e,1e3)))]),await s(),null==k||k({key:u,delta:{content:"",role:"assistant"},partial:!0});const i=await o;for await(const t of i)if(await s(),e){var A;const e=null===(A=t.choices)||void 0===A||null===(A=A[0])||void 0===A?void 0:A.delta;null!=e&&e.content&&k({delta:{role:e.role,content:e.content},key:u,partial:!0})}else null==k||k({delta:t.delta,key:u,partial:!0}),a||!t.conversationId||h||y(h=t.conversationId);await s(),b((e=>{const t=e[e.length-1];return null!=t&&t.partial&&(t.partial=!1),[...e]}))}catch(e){if(e&&e===i)throw e;console.error("stream failed:",e),await s(),b((e=>{const t=e[e.length-1];let n=e;return(null==t?void 0:t.key)===u&&(t.content?(t.partial=!1,t.failed=!0):n=e.slice(0,-1)),[...n,{role:"assistant",content:"系统错误",key:w(),failed:!0}]}))}return await s(),null==c||c(f.current=!1),h}),[v,a,w,c,k]);return(0,h.useImperativeHandle)(t,(()=>({lowLevelSendRequest:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return C(!0,...t)},sendRequest:function(){for(var e=arguments.length,t=new Array(e),n=0;n<e;n++)t[n]=arguments[n];return C(!1,...t)},postMessage:e=>C(!1,e,"api/gateway/easyops.api.aiops_chat.manage.LLMChatProxy@1.0.0/api/aiops_chat/v1/chat/completions",{method:"POST",body:JSON.stringify({agentId:n,robotId:r,input:e,stream:!0,conversationId:a||null===v?void 0:v}),headers:{"giraffe-contract-name":"easyops.api.aiops_chat.manage.LLMChatProxy"}}),newConversation(){d.current++,y(null),b((e=>0===e.length?e:[])),f.current&&(null==c||c(f.current=!1))}})),[C,n,r,a,v,c]),(0,h.useEffect)((()=>{u.current&&(null==s||s(m))}),[m,s]),(0,h.useEffect)((()=>{u.current=!0}),[]),null}r=oe,({e:[m,b,k,C,I,S,E,M,R,j,P,T,W,x,L,N,U,_,q,O,A],c:[J,w]}=(0,u.A)(r,[z("ai.chat-agent",{styleTexts:[y.A]})],[[B(),1,"agentId"],[B(),1,"robotId"],[B(),1,"conversationId"],[B(),1,"alwaysUseNewConversation"],[$(),2,"postMessage"],[$(),2,"sendRequest"],[$(),2,"lowLevelSendRequest"],[$(),2,"newConversation"],[D({type:"messages.update"}),1,"messagesUpdate",e=>(0,l.A)(V,e),(e,t)=>(0,c.A)(V,e,t)],[D({type:"busy.change"}),1,"busyChangeEvent",e=>(0,l.A)(Z,e),(e,t)=>(0,c.A)(Z,e,t)],[D({type:"conversationId.change"}),1,"conversationIdChangeEvent",e=>(0,l.A)(te,e),(e,t)=>(0,c.A)(te,e,t)]],0,(e=>re.has((0,i.A)(e))),v.ReactNextElement)),w()},2016:(e,t,n)=>{function r(e,t){if(t.has(e))throw new TypeError("Cannot initialize the same private elements twice on an object")}n.d(t,{A:()=>r})},2559:(e,t,n)=>{function r(e,t,n){if("function"==typeof e?e===t:e.has(t))return arguments.length<3?t:n;throw new TypeError("Private element is not present on this object")}n.d(t,{A:()=>r})},2740:(e,t,n)=>{n.d(t,{A:()=>s});var r=n(7545),o=n(6902);function a(e,t,n){"symbol"==(0,r.A)(t)&&(t=(t=t.description)?"["+t+"]":"");try{Object.defineProperty(e,"name",{configurable:!0,value:n?n+" "+t:t})}catch(e){}return e}var i=n(1369);function s(e,t,n,s,c,l){var u,h,d,f,v,p,g,y=Symbol.metadata||Symbol.for("Symbol.metadata"),A=Object.defineProperty,w=Object.create,m=[w(null),w(null)],b=t.length;function k(t,n,r){return function(o,a){n&&(a=o,o=e);for(var i=0;i<t.length;i++)a=t[i].apply(o,r?[a]:[]);return r?a:o}}function C(e,t,n,r){if("function"!=typeof e&&(r||void 0!==e))throw new TypeError(t+" must "+(n||"be")+" a function"+(r?"":" or undefined"));return e}function I(e,t,n,o,i,s,c,l,d,f,v){function p(e){if(!v(e))throw new TypeError("Attempted to access private element on non-instance")}var g=[].concat(t[0]),y=t[3],w=!c,b=1===i,I=3===i,S=4===i,E=2===i;function M(t,n,r){return function(o,a){return n&&(a=o,o=e),r&&r(o),R[t].call(o,a)}}if(!w){var R={},j=[],P=I?"get":S||b?"set":"value";if(d?(f||b?R={get:a((function(){return y(this)}),o,"get"),set:function(e){t[4](this,e)}}:R[P]=y,f||a(R[P],o,E?"":P)):f||(R=Object.getOwnPropertyDescriptor(e,o)),!f&&!d){if((h=m[+l][o])&&7!=(h^i))throw Error("Decorating two elements with the same name ("+R[P].name+") is not supported yet");m[+l][o]=i<3?1:i}}for(var T=e,W=g.length-1;W>=0;W-=n?2:1){var x=C(g[W],"A decorator","be",!0),L=n?g[W-1]:void 0,N={},U={kind:["field","accessor","method","getter","setter","class"][i],name:o,metadata:u,addInitializer:function(e,t){if(e.v)throw Error("attempted to call addInitializer after decoration was finished");C(t,"An initializer","be",!0),s.push(t)}.bind(null,N)};if(w)h=x.call(L,T,U),N.v=1,C(h,"class decorators","return")&&(T=h);else if(U.static=l,U.private=d,h=U.access={has:d?v.bind():function(e){return o in e}},S||(h.get=d?E?function(e){return p(e),R.value}:M("get",0,p):function(e){return e[o]}),E||I||(h.set=d?M("set",0,p):function(e,t){e[o]=t}),T=x.call(L,b?{get:R.get,set:R.set}:R[P],U),N.v=1,b){if("object"==(0,r.A)(T)&&T)(h=C(T.get,"accessor.get"))&&(R.get=h),(h=C(T.set,"accessor.set"))&&(R.set=h),(h=C(T.init,"accessor.init"))&&j.unshift(h);else if(void 0!==T)throw new TypeError("accessor decorators must return an object with get, set, or init properties or undefined")}else C(T,(f?"field":"method")+" decorators","return")&&(f?j.unshift(T):R[P]=T)}return i<2&&c.push(k(j,l,1),k(s,l,0)),f||w||(d?b?c.splice(-1,0,M("get",l),M("set",l)):c.push(E?R[P]:C.call.bind(R[P])):A(e,o,R)),T}function S(e){return A(e,y,{configurable:!0,enumerable:!0,value:u})}return void 0!==l&&(u=l[y]),u=w(null==u?null:u),v=[],p=function(e){e&&v.push(k(e))},g=function(t,r){for(var a=0;a<n.length;a++){var s=n[a],l=s[1],u=7&l;if((8&l)==t&&!u==r){var h=s[2],p=!!s[3],g=16&l;I(t?e:e.prototype,s,g,p?"#"+h:(0,i.A)(h),u,u<2?[]:t?f=f||[]:d=d||[],v,!!t,p,r,t&&p?function(t){return(0,o.A)(t)===e}:c)}}},g(8,0),g(0,0),g(8,1),g(0,1),p(d),p(f),h=v,b||S(e),{e:h,get c(){var n=[];return b&&[S(e=I(e,[t],s,e.name,5,n)),k(n,1)]}}}},4635:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2016);function o(e,t){(0,r.A)(e,t),t.add(e)}},5536:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2559);function o(e,t,n){return n((0,r.A)(e,t))}},6121:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(2559);function o(e,t,n){return e.set((0,r.A)(e,t),n),n}},6758:e=>{e.exports=function(e){return e[1]}},6902:(e,t,n)=>{n.d(t,{A:()=>o});var r=n(7545);function o(e){if(Object(e)!==e)throw TypeError("right-hand side of 'in' should be an object, got "+(null!==e?(0,r.A)(e):"null"));return e}},7545:(e,t,n)=>{function r(e){return r="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},r(e)}n.d(t,{A:()=>r})}}]);
|
|
2
|
-
//# sourceMappingURL=chat-agent.34421bb8.js.map
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
(()=>{var e,t,r,n,a,o,l,i,c,s,u,d,f,h,p,m,b,v,g,x,y,P,k,w={4861:(e,t,r)=>{Promise.all([r.e(2862),r.e(563),r.e(8769),r.e(9936),r.e(1916),r.e(870),r.e(9701),r.e(9435),r.e(8679),r.e(1361),r.e(9415),r.e(7736)]).then(r.bind(r,7736))}},j={};function S(e){var t=j[e];if(void 0!==t)return t.exports;var r=j[e]={id:e,loaded:!1,exports:{}};return w[e].call(r.exports,r,r.exports,S),r.loaded=!0,r.exports}S.m=w,S.c=j,S.n=e=>{var t=e&&e.__esModule?()=>e.default:()=>e;return S.d(t,{a:t}),t},S.d=(e,t)=>{for(var r in t)S.o(t,r)&&!S.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:t[r]})},S.f={},S.e=e=>Promise.all(Object.keys(S.f).reduce(((t,r)=>(S.f[r](e,t),t)),[])),S.u=e=>"chunks/"+e+"."+{114:"7e027455",726:"adaaef63",948:"11164386",1045:"25d6e587",1055:"b2aa915a",1122:"bb62eaf7",1370:"e8101b88",1438:"04dccef5",1889:"9c7bf977",1940:"c35a764f",2277:"2396e999",2862:"8a658734",3144:"6f60f9c3",3171:"91a24644",3426:"b119a7ea",4041:"cf1e36c0",4306:"1b04ea83",4658:"aeaf8df4",4765:"11bedc6c",4837:"0531a4b3",5250:"3dc75844",5384:"1f7eb0b2",5399:"b3a26801",5552:"36f8e3f6",6519:"cff91108",6773:"05ed2cfb",7146:"0fde6302",7218:"d0fa9e09",7304:"7cb62676",7721:"b476f12f",7733:"16375e48",7736:"e4045459",8989:"dad35fc8",9415:"f88a0ecb",9515:"ad1df5cd",9559:"222ac347",9844:"1a35968b"}[e]+".js",S.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),S.o=(e,t)=>Object.prototype.hasOwnProperty.call(e,t),e={},t="@next-bricks/ai:",S.l=(r,n,a,o)=>{if(e[r])e[r].push(n);else{var l,i;if(void 0!==a)for(var c=document.getElementsByTagName("script"),s=0;s<c.length;s++){var u=c[s];if(u.getAttribute("src")==r||u.getAttribute("data-webpack")==t+a){l=u;break}}l||(i=!0,(l=document.createElement("script")).charset="utf-8",l.timeout=120,S.nc&&l.setAttribute("nonce",S.nc),l.setAttribute("data-webpack",t+a),l.src=r),e[r]=[n];var d=(t,n)=>{l.onerror=l.onload=null,clearTimeout(f);var a=e[r];if(delete e[r],l.parentNode&&l.parentNode.removeChild(l),a&&a.forEach((e=>e(n))),t)return t(n)},f=setTimeout(d.bind(null,void 0,{type:"timeout",target:l}),12e4);l.onerror=d.bind(null,l.onerror),l.onload=d.bind(null,l.onload),i&&document.head.appendChild(l)}},S.r=e=>{"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},S.nmd=e=>(e.paths=[],e.children||(e.children=[]),e),(()=>{S.S={};var e={},t={};S.I=(r,n)=>{n||(n=[]);var a=t[r];if(a||(a=t[r]={}),!(n.indexOf(a)>=0)){if(n.push(a),e[r])return e[r];S.o(S.S,r)||(S.S[r]={});var o=S.S[r],l="@next-bricks/ai",i=(e,t,r,n)=>{var a=o[e]=o[e]||{},i=a[t];(!i||!i.loaded&&(!n!=!i.eager?n:l>i.from))&&(a[t]={get:r,from:l,eager:!!n})},c=[];return"default"===r&&(i("@babel/parser","7.27.2",(()=>S.e(6773).then((()=>()=>S(6773))))),i("@easyops-cn/brick-next-pipes","0.7.6",(()=>Promise.all([S.e(4306),S.e(563),S.e(1916),S.e(8679)]).then((()=>()=>S(4306))))),i("@next-core/cook","2.5.12",(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(1122))))),i("@next-core/element","1.2.19",(()=>S.e(1045).then((()=>()=>S(1045))))),i("@next-core/http","1.2.14",(()=>S.e(8989).then((()=>()=>S(8989))))),i("@next-core/i18n","1.0.85",(()=>Promise.all([S.e(9936),S.e(671),S.e(8443),S.e(5552)]).then((()=>()=>S(5552))))),i("@next-core/inject","1.0.60",(()=>Promise.all([S.e(563),S.e(9933),S.e(2277)]).then((()=>()=>S(2277))))),i("@next-core/loader","1.6.17",(()=>S.e(5399).then((()=>()=>S(5399))))),i("@next-core/pipes","2.0.36",(()=>S.e(6519).then((()=>()=>S(6519))))),i("@next-core/react-element","1.0.38",(()=>Promise.all([S.e(8769),S.e(870),S.e(9435),S.e(114)]).then((()=>()=>S(114))))),i("@next-core/react-runtime","1.7.37",(()=>Promise.all([S.e(563),S.e(8769),S.e(9701),S.e(4837)]).then((()=>()=>S(4837))))),i("@next-core/runtime","1.69.4",(()=>Promise.all([S.e(948),S.e(563),S.e(9936),S.e(1916),S.e(1361),S.e(8443),S.e(1321),S.e(4912)]).then((()=>()=>S(948))))),i("@next-core/supply","2.3.9",(()=>Promise.all([S.e(563),S.e(1916),S.e(9933),S.e(9559)]).then((()=>()=>S(9559))))),i("@next-core/theme","1.6.1",(()=>Promise.all([S.e(1889),S.e(1055)]).then((()=>()=>S(1889))))),i("@next-core/utils/general","1.8.6",(()=>S.e(1438).then((()=>()=>S(1438))))),i("@next-core/utils/storyboard","1.8.6",(()=>Promise.all([S.e(563),S.e(9936),S.e(1321),S.e(7146)]).then((()=>()=>S(7146))))),i("history","4.10.1",(()=>S.e(5384).then((()=>()=>S(5384))))),i("i18next-browser-languagedetector","7.2.2",(()=>S.e(726).then((()=>()=>S(726))))),i("i18next","22.5.1",(()=>S.e(7304).then((()=>()=>S(7304))))),i("js-yaml","3.14.1",(()=>S.e(9515).then((()=>()=>S(9515))))),i("lodash","4.17.21",(()=>S.e(5250).then((()=>()=>S(5250))))),i("moment/locale/zh-cn.js","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(3710))))),i("moment","2.30.1",(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(9420))))),i("react-dom","0.0.0-experimental-ee8509801-20230117",(()=>Promise.all([S.e(3144),S.e(8769)]).then((()=>()=>S(3144))))),i("react","0.0.0-experimental-ee8509801-20230117",(()=>S.e(4041).then((()=>()=>S(4041)))))),e[r]=c.length?Promise.all(c).then((()=>e[r]=1)):1}}})(),(()=>{var e;S.g.importScripts&&(e=S.g.location+"");var t=S.g.document;if(!e&&t&&(t.currentScript&&"SCRIPT"===t.currentScript.tagName.toUpperCase()&&(e=t.currentScript.src),!e)){var r=t.getElementsByTagName("script");if(r.length)for(var n=r.length-1;n>-1&&(!e||!/^http(s?):/.test(e));)e=r[n--].src}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/^blob:/,"").replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),S.p=e+"../"})(),r=e=>{var t=e=>e.split(".").map((e=>+e==e?+e:e)),r=/^([^-+]+)?(?:-([^+]+))?(?:\+(.+))?$/.exec(e),n=r[1]?t(r[1]):[];return r[2]&&(n.length++,n.push.apply(n,t(r[2]))),r[3]&&(n.push([]),n.push.apply(n,t(r[3]))),n},n=(e,t)=>{e=r(e),t=r(t);for(var n=0;;){if(n>=e.length)return n<t.length&&"u"!=(typeof t[n])[0];var a=e[n],o=(typeof a)[0];if(n>=t.length)return"u"==o;var l=t[n],i=(typeof l)[0];if(o!=i)return"o"==o&&"n"==i||"s"==i||"u"==o;if("o"!=o&&"u"!=o&&a!=l)return a<l;n++}},a=e=>{var t=e[0],r="";if(1===e.length)return"*";if(t+.5){r+=0==t?">=":-1==t?"<":1==t?"^":2==t?"~":t>0?"=":"!=";for(var n=1,o=1;o<e.length;o++)n--,r+="u"==(typeof(i=e[o]))[0]?"-":(n>0?".":"")+(n=2,i);return r}var l=[];for(o=1;o<e.length;o++){var i=e[o];l.push(0===i?"not("+c()+")":1===i?"("+c()+" || "+c()+")":2===i?l.pop()+" "+l.pop():a(i))}return c();function c(){return l.pop().replace(/^\((.+)\)$/,"$1")}},o=(e,t)=>{if(0 in e){t=r(t);var n=e[0],a=n<0;a&&(n=-n-1);for(var l=0,i=1,c=!0;;i++,l++){var s,u,d=i<e.length?(typeof e[i])[0]:"";if(l>=t.length||"o"==(u=(typeof(s=t[l]))[0]))return!c||("u"==d?i>n&&!a:""==d!=a);if("u"==u){if(!c||"u"!=d)return!1}else if(c)if(d==u)if(i<=n){if(s!=e[i])return!1}else{if(a?s>e[i]:s<e[i])return!1;s!=e[i]&&(c=!1)}else if("s"!=d&&"n"!=d){if(a||i<=n)return!1;c=!1,i--}else{if(i<=n||u<d!=a)return!1;c=!1}else"s"!=d&&"n"!=d&&(c=!1,i--)}}var f=[],h=f.pop.bind(f);for(l=1;l<e.length;l++){var p=e[l];f.push(1==p?h()|h():2==p?h()&h():p?o(p,t):!h())}return!!h()},l=(e,t)=>e&&S.o(e,t),i=e=>(e.loaded=1,e.get()),c=e=>Object.keys(e).reduce(((t,r)=>(e[r].eager&&(t[r]=e[r]),t)),{}),s=(e,t,r,a)=>{var l=a?c(e[t]):e[t];return(t=Object.keys(l).reduce(((e,t)=>!o(r,t)||e&&!n(e,t)?e:t),0))&&l[t]},u=(e,t,r)=>{var a=r?c(e[t]):e[t];return Object.keys(a).reduce(((e,t)=>!e||!a[e].loaded&&n(e,t)?t:e),0)},d=(e,t,r,n)=>"Unsatisfied version "+r+" from "+(r&&e[t][r].from)+" of shared singleton module "+t+" (required "+a(n)+")",f=(e,t,r,n,o)=>{var l=e[r];return"No satisfying version ("+a(n)+")"+(o?" for eager consumption":"")+" of shared module "+r+" found in shared scope "+t+".\nAvailable versions: "+Object.keys(l).map((e=>e+" from "+l[e].from)).join(", ")},h=e=>{throw new Error(e)},p=e=>{"undefined"!=typeof console&&console.warn&&console.warn(e)},b=(e,t,r)=>r?r():((e,t)=>h("Shared module "+t+" doesn't exist in shared scope "+e))(e,t),v=(m=e=>function(t,r,n,a,o){var l=S.I(t);return l&&l.then&&!n?l.then(e.bind(e,t,S.S[t],r,!1,a,o)):e(t,S.S[t],r,n,a,o)})(((e,t,r,n,a,o)=>{if(!l(t,r))return b(e,r,o);var c=s(t,r,a,n);return c?i(c):o?o():void h(f(t,e,r,a,n))})),g=m(((e,t,r,n,a,c)=>{if(!l(t,r))return b(e,r,c);var s=u(t,r,n);return o(a,s)||p(d(t,r,s,a)),i(t[r][s])})),x={},y={563:()=>g("default","lodash",!1,[0],(()=>S.e(5250).then((()=>()=>S(5250))))),8769:()=>v("default","react",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(4041).then((()=>()=>S(4041))))),9936:()=>g("default","@next-core/utils/general",!1,[1,1,8,6],(()=>S.e(1438).then((()=>()=>S(1438))))),1916:()=>g("default","moment",!1,[0],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(9420))))),870:()=>v("default","@next-core/element",!1,[1,1,2,19],(()=>S.e(3426).then((()=>()=>S(1045))))),981:()=>v("default","@next-core/react-element",!1,[1,1,0,38],(()=>Promise.all([S.e(870),S.e(9435),S.e(7733)]).then((()=>()=>S(114))))),1921:()=>g("default","@next-core/runtime",!1,[1,1,69,4],(()=>Promise.all([S.e(948),S.e(563),S.e(9936),S.e(1916),S.e(1361),S.e(8443),S.e(1321),S.e(4912)]).then((()=>()=>S(948))))),9435:()=>v("default","react-dom",!1,[6,0,0,0,,"experimental-ee8509801-20230117"],(()=>S.e(3144).then((()=>()=>S(3144))))),8679:()=>g("default","js-yaml",!1,[1,3,14,1],(()=>S.e(9515).then((()=>()=>S(9515))))),1361:()=>g("default","@next-core/http",!1,[0],(()=>S.e(1370).then((()=>()=>S(8989))))),4419:()=>g("default","@next-core/theme",!1,[1,1,6,1],(()=>S.e(1889).then((()=>()=>S(1889))))),9711:()=>v("default","@next-core/react-runtime",!1,[1,1,7,37],(()=>S.e(7218).then((()=>()=>S(4837))))),580:()=>g("default","@babel/parser",!1,[0],(()=>S.e(6773).then((()=>()=>S(6773))))),848:()=>g("default","i18next-browser-languagedetector",!1,[0],(()=>S.e(726).then((()=>()=>S(726))))),5630:()=>g("default","i18next",!1,[0],(()=>S.e(7304).then((()=>()=>S(7304))))),8443:()=>g("default","@next-core/i18n",!1,[1,1,0,85],(()=>Promise.all([S.e(671),S.e(3171)]).then((()=>()=>S(5552))))),9933:()=>g("default","@next-core/pipes",!1,[0],(()=>S.e(6519).then((()=>()=>S(6519))))),8377:()=>g("default","@easyops-cn/brick-next-pipes",!1,[0],(()=>Promise.all([S.e(4306),S.e(563),S.e(1916),S.e(8679)]).then((()=>()=>S(4306))))),1321:()=>g("default","@next-core/cook",!1,[0],(()=>Promise.all([S.e(1122),S.e(580)]).then((()=>()=>S(1122))))),1732:()=>g("default","history",!1,[0],(()=>S.e(5384).then((()=>()=>S(5384))))),1858:()=>g("default","moment/locale/zh-cn.js",!1,[0],(()=>Promise.all([S.e(7721),S.e(9844)]).then((()=>()=>S(3710))))),4167:()=>g("default","@next-core/supply",!1,[0],(()=>Promise.all([S.e(9933),S.e(1940)]).then((()=>()=>S(9559))))),5599:()=>g("default","@next-core/loader",!1,[0],(()=>S.e(5399).then((()=>()=>S(5399))))),6890:()=>g("default","@next-core/utils/storyboard",!1,[1,1,8,6],(()=>S.e(4765).then((()=>()=>S(7146))))),9283:()=>g("default","@next-core/inject",!1,[0],(()=>Promise.all([S.e(9933),S.e(4658)]).then((()=>()=>S(2277)))))},P={563:[563],580:[580],671:[848,5630],870:[870],1321:[1321],1361:[1361],1916:[1916],4912:[1732,1858,4167,5599,6890,9283],6519:[8377],8443:[8443],8679:[8679],8769:[8769],9415:[4419,9711],9435:[9435],9701:[981,1921],9933:[9933],9936:[9936]},k={},S.f.consumes=(e,t)=>{S.o(P,e)&&P[e].forEach((e=>{if(S.o(x,e))return t.push(x[e]);if(!k[e]){var r=t=>{x[e]=0,S.m[e]=r=>{delete S.c[e],r.exports=t()}};k[e]=!0;var n=t=>{delete x[e],S.m[e]=r=>{throw delete S.c[e],t}};try{var a=y[e]();a.then?t.push(x[e]=a.then(r).catch(n)):r(a)}catch(e){n(e)}}}))},(()=>{S.b=document.baseURI||self.location.href;var e={8792:0};S.f.j=(t,r)=>{var n=S.o(e,t)?e[t]:void 0;if(0!==n)if(n)r.push(n[2]);else if(/^(1(321|361|916)|8(443|679|70|769)|9(93[36]|435|701)|4912|563|580|671)$/.test(t))e[t]=0;else{var a=new Promise(((r,a)=>n=e[t]=[r,a]));r.push(n[2]=a);var o=S.p+S.u(t),l=new Error;S.l(o,(r=>{if(S.o(e,t)&&(0!==(n=e[t])&&(e[t]=void 0),n)){var a=r&&("load"===r.type?"missing":r.type),o=r&&r.target&&r.target.src;l.message="Loading chunk "+t+" failed.\n("+a+": "+o+")",l.name="ChunkLoadError",l.type=a,l.request=o,n[1](l)}}),"chunk-"+t,t)}};var t=(t,r)=>{var n,a,[o,l,i]=r,c=0;if(o.some((t=>0!==e[t]))){for(n in l)S.o(l,n)&&(S.m[n]=l[n]);i&&i(S)}for(t&&t(r);c<o.length;c++)a=o[c],S.o(e,a)&&e[a]&&e[a][0](),e[a]=0},r=globalThis.webpackChunk_next_bricks_ai=globalThis.webpackChunk_next_bricks_ai||[];r.forEach(t.bind(null,0)),r.push=t.bind(null,r.push.bind(r))})(),S.nc=void 0,S(4861)})();
|
|
2
|
-
//# sourceMappingURL=main.0b25040b.js.map
|
|
File without changes
|