59 lines
1.7 MiB
JavaScript
59 lines
1.7 MiB
JavaScript
|
|
try{let oe=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{},Ct=new oe.Error().stack;Ct&&(oe._sentryDebugIds=oe._sentryDebugIds||{},oe._sentryDebugIds[Ct]="b5b9c273-fc6e-4976-9cfa-b50fdc251cab",oe._sentryDebugIdIdentifier="sentry-dbid-b5b9c273-fc6e-4976-9cfa-b50fdc251cab")}catch(oe){}{let oe=typeof window<"u"?window:typeof global<"u"?global:typeof globalThis<"u"?globalThis:typeof self<"u"?self:{};oe.SENTRY_RELEASE={id:"22.14.4"}}(self.webpackChunk_mb2024_mb_proto=self.webpackChunk_mb2024_mb_proto||[]).push([[854],{474:(oe,Ct,T)=>{"use strict";T.d(Ct,{G:()=>F,n:()=>Z});const F=I=>{let{webpage:z}=I;return{wbp:z.url}},Z=I=>{let{wbp:z}=I;return{webpage:{url:z}}}},1002:(oe,Ct,T)=>{"use strict";T.d(Ct,{uw:()=>at,kX:()=>pt,qs:()=>B.qs,pt:()=>B.pt});var F=T(18381),Z=T(12211),I=T(74945),z=T(70933),D=T(60651),V=T(20089),ht=T(38502),ot=T(69594),S=T(67787);const O=S.Ay.div.withConfig({displayName:"styles__StyledItemElbowAnchorContainer",componentId:"sc-1cl5ucl-0"})([".anchor-container{.anchor{position:absolute;transition:all 0.3s;z-index:10;display:flex;justify-content:center;align-items:center;transform:translate(-50%,-50%);pointer-events:auto;cursor:",";svg{width:100%;height:100%;}}.anchor-top{top:0;left:50%;}.anchor-left{top:50%;left:0;}.anchor-right{top:50%;left:100%;}.anchor-bottom{top:100%;left:50%;}.arrow{position:absolute;transition:all 0.3s;z-index:10;display:flex;justify-content:center;align-items:center;transform:translate(-50%,-50%);pointer-events:auto;svg{width:100%;height:100%;}}.arrow-top{top:0;left:50%;}.arrow-left{top:50%;left:0;}.arrow-right{top:50%;left:100%;}.arrow-bottom{top:100%;left:50%;}}"],ot.M.defaultCreate);var $=T(72214);const q=(0,$.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,$.jsx)("circle",{cx:"10",cy:"10",r:"5.3",fill:"#fff",stroke:"#1684FC",strokeWidth:"1.5"})}),ft=(0,$.jsx)("svg",{width:"20",height:"20",viewBox:"0 0 20 20",fill:"none",xmlns:"http://www.w3.org/2000/svg",children:(0,$.jsx)("circle",{cx:"10",cy:"10",r:"5.3",fill:"#1684FC",stroke:"#fff",strokeWidth:"1.5"})});class K extends ht.PureComponent{render(){const{viewport:lt,hoverItem:A,highlightAnchor:kt,isShow:_t}=this.props;if(!_t)return null;const{scale:Mt,offset:At}=lt,jt={position:"absolute",left:0,top:0,transform:"matrix("+Mt+", 0, 0, "+Mt+", "+At.x+", "+At.y+")",pointerEvents:"none",zIndex:3};return(0,$.jsx)("div",{style:jt,children:(0,$.jsx)(it,{viewport:lt,hoverItem:A,highlightAnchor:kt})})}}class it extends ht.PureComponent{render(){const{viewport:lt,hoverItem:A,highlightAnchor:kt}=this.props,{x:_t,y:Mt,w:At,h:jt,r:Nt}=sdkStore.getHotBound(A.key),Vt=_t-At*.5-lt.offset.x/lt.scale,Wt=Mt-jt*.5-lt.offset.y/lt.scale,Ot="translate("+Vt+"px,"+Wt+"px) rotate("+Nt+"deg)",Dt={position:"absolute",width:At,height:jt,transform:Ot,cursor:"move"},{scale:Ht}=lt;let tt=Math.round(20/Ht);tt=tt>=1?tt:1;const Pt={width:tt+"px",height:tt+"px"},zt=["top","right","bottom","left"];return(0,$.jsx)(O,{className:"artboard-item",style:Dt,children:(0,$.jsx)("div",{className:"anchor-container",children:zt.map(te=>(0,$.jsx)("div",{children:(0,$.jsx)("span",{"data-cid":A.key,className:"anchor anchor-"+te+" elbow-anchor-start-point",style:Pt,children:kt===te?ft:q})},te))})})}}const nt=(0,Z.Mz)([z.$S,z.X_,z.ER],(mt,lt,A)=>{var kt,_t;return{scale:lt/100,size:{w:(kt=mt==null?void 0:mt.width)!=null?kt:0,h:(_t=mt==null?void 0:mt.height)!=null?_t:0},offset:A}}),vt=(0,Z.Mz)([nt,D.IL,I.rP,I.e8,I.Q1],(mt,lt,A,kt,_t)=>{if(!_t&&!A)return{isShow:!1};if(!lt)return{isShow:!1};const Mt=sdkStore.getHotItem(lt);return Mt?[V.x.WElbow,V.x.WTear].includes(Mt.hotAttr.type)?{isShow:!1}:{isShow:!0,viewport:mt,hoverItem:Mt,highlightAnchor:kt}:{isShow:!1}}),at=(0,F.Ng)(mt=>vt(mt))(K);var et=T(95549),yt=T(53732),rt=T.n(yt),ct=T(15186),G=T(18488),B=T(97453),W=T(18637);const ut=mt=>{let{widget:lt,mode:A}=mt;return(0,$.jsx)(H,{className:"no-position",children:(0,$.jsx)("svg",{className:rt()("vector","elbow-line-svg-"+lt.key),children:(0,$.jsx)(W.Tr,{widget:lt,mode:A})}
|
||
|
|
* @license React
|
||
|
|
* react-dom-server.browser.production.min.js
|
||
|
|
*
|
||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
|
|
*
|
||
|
|
* This source code is licensed under the MIT license found in the
|
||
|
|
* LICENSE file in the root directory of this source tree.
|
||
|
|
*/var F=T(38502);function Z(L){for(var J="https://reactjs.org/docs/error-decoder.html?invariant="+L,St=1;St<arguments.length;St++)J+="&args[]="+encodeURIComponent(arguments[St]);return"Minified React error #"+L+"; visit "+J+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var I=null,z=0;function D(L,J){if(J.length!==0)if(512<J.length)0<z&&(L.enqueue(new Uint8Array(I.buffer,0,z)),I=new Uint8Array(512),z=0),L.enqueue(J);else{var St=I.length-z;St<J.length&&(St===0?L.enqueue(I):(I.set(J.subarray(0,St),z),L.enqueue(I),J=J.subarray(St)),I=new Uint8Array(512),z=0),I.set(J,z),z+=J.length}}function V(L,J){return D(L,J),!0}function ht(L){I&&0<z&&(L.enqueue(new Uint8Array(I.buffer,0,z)),I=null,z=0)}var ot=new TextEncoder;function S(L){return ot.encode(L)}function O(L){return ot.encode(L)}function $(L,J){typeof L.error=="function"?L.error(J):L.close()}var q=Object.prototype.hasOwnProperty,ft=/^[: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]*$/,K={},it={};function nt(L){return q.call(it,L)?!0:q.call(K,L)?!1:ft.test(L)?it[L]=!0:(K[L]=!0,!1)}function vt(L,J,St,It,ee,Jt,pe){this.acceptsBooleans=J===2||J===3||J===4,this.attributeName=It,this.attributeNamespace=ee,this.mustUseProperty=St,this.propertyName=L,this.type=J,this.sanitizeURL=Jt,this.removeEmptyString=pe}var at={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(L){at[L]=new vt(L,0,!1,L,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(L){var J=L[0];at[J]=new vt(J,1,!1,L[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(L){at[L]=new vt(L,2,!1,L.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(L){at[L]=new vt(L,2,!1,L,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(L){at[L]=new vt(L,3,!1,L.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(L){at[L]=new vt(L,3,!0,L,null,!1,!1)}),["capture","download"].forEach(function(L){at[L]=new vt(L,4,!1,L,null,!1,!1)}),["cols","rows","size","span"].forEach(function(L){at[L]=new vt(L,6,!1,L,null,!1,!1)}),["rowSpan","start"].forEach(function(L){at[L]=new vt(L,5,!1,L.toLowerCase(),null,!1,!1)});var et=/[\-:]([a-z])/g;function yt(L){return L[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").
|
||
|
|
* @license React
|
||
|
|
* react-dom-server-legacy.browser.production.min.js
|
||
|
|
*
|
||
|
|
* Copyright (c) Facebook, Inc. and its affiliates.
|
||
|
|
*
|
||
|
|
* This source code is licensed under the MIT license found in the
|
||
|
|
* LICENSE file in the root directory of this source tree.
|
||
|
|
*/var F=T(38502);function Z(E){for(var Q="https://reactjs.org/docs/error-decoder.html?invariant="+E,bt=1;bt<arguments.length;bt++)Q+="&args[]="+encodeURIComponent(arguments[bt]);return"Minified React error #"+E+"; visit "+Q+" for the full message or use the non-minified dev environment for full errors and additional helpful warnings."}var I=Object.prototype.hasOwnProperty,z=/^[: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]*$/,D={},V={};function ht(E){return I.call(V,E)?!0:I.call(D,E)?!1:z.test(E)?V[E]=!0:(D[E]=!0,!1)}function ot(E,Q,bt,Et,ne,qt,he){this.acceptsBooleans=Q===2||Q===3||Q===4,this.attributeName=Et,this.attributeNamespace=ne,this.mustUseProperty=bt,this.propertyName=E,this.type=Q,this.sanitizeURL=qt,this.removeEmptyString=he}var S={};"children dangerouslySetInnerHTML defaultValue defaultChecked innerHTML suppressContentEditableWarning suppressHydrationWarning style".split(" ").forEach(function(E){S[E]=new ot(E,0,!1,E,null,!1,!1)}),[["acceptCharset","accept-charset"],["className","class"],["htmlFor","for"],["httpEquiv","http-equiv"]].forEach(function(E){var Q=E[0];S[Q]=new ot(Q,1,!1,E[1],null,!1,!1)}),["contentEditable","draggable","spellCheck","value"].forEach(function(E){S[E]=new ot(E,2,!1,E.toLowerCase(),null,!1,!1)}),["autoReverse","externalResourcesRequired","focusable","preserveAlpha"].forEach(function(E){S[E]=new ot(E,2,!1,E,null,!1,!1)}),"allowFullScreen async autoFocus autoPlay controls default defer disabled disablePictureInPicture disableRemotePlayback formNoValidate hidden loop noModule noValidate open playsInline readOnly required reversed scoped seamless itemScope".split(" ").forEach(function(E){S[E]=new ot(E,3,!1,E.toLowerCase(),null,!1,!1)}),["checked","multiple","muted","selected"].forEach(function(E){S[E]=new ot(E,3,!0,E,null,!1,!1)}),["capture","download"].forEach(function(E){S[E]=new ot(E,4,!1,E,null,!1,!1)}),["cols","rows","size","span"].forEach(function(E){S[E]=new ot(E,6,!1,E,null,!1,!1)}),["rowSpan","start"].forEach(function(E){S[E]=new ot(E,5,!1,E.toLowerCase(),null,!1,!1)});var O=/[\-:]([a-z])/g;function $(E){return E[1].toUpperCase()}"accent-height alignment-baseline arabic-form baseline-shift cap-height clip-path clip-rule color-interpolation color-interpolation-filters color-profile color-rendering dominant-baseline enable-background fill-opacity fill-rule flood-color flood-opacity font-family font-size font-size-adjust font-stretch font-style font-variant font-weight glyph-name glyph-orientation-horizontal glyph-orientation-vertical horiz-adv-x horiz-origin-x image-rendering letter-spacing lighting-color marker-end marker-mid marker-start overline-position overline-thickness paint-order panose-1 pointer-events rendering-intent shape-rendering stop-color stop-opacity strikethrough-position strikethrough-thickness stroke-dasharray stroke-dashoffset stroke-linecap stroke-linejoin stroke-miterlimit stroke-opacity stroke-width text-anchor text-decoration text-rendering underline-position underline-thickness unicode-bidi unicode-range units-per-em v-alphabetic v-hanging v-ideographic v-mathematical vector-effect vert-adv-y vert-origin-x vert-origin-y word-spacing writing-mode xmlns:xlink x-height".split(" ").forEach(function(E){var Q=E.replace(O,$);S[Q]=new ot(Q,1,!1,E,null,!1,!1)}),"xlink:actuate xlink:arcrole xlink:role xlink:show xlink:title xlink:type".split(" ").forEach(function(E){var Q=E.replace(O,$);S[Q]=new ot(Q,1,!1,E,"http://www.w3.org/1999/xlink",!1,!1)}),["xml:base","xml:lang","xml:space"].forEach(function(E){var Q=E.replace(O,$);S[Q]=new ot(Q,1,!1,E,"http://www.w3.org/XML/1998/namespace",!1,!1)}),["tabIndex","crossOrigin"].forEach(function(E){S[E]=new ot(E,1,!1,E.toLowerCase(),null,!1,!1)}),S.xlinkHref=new ot("xlinkHref",1,!1,"xlink:href","http://www.w3.org/1999/xlink",!0,!1),["s
|
||
|
|
Copyright (c) Microsoft Corporation.
|
||
|
|
|
||
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
|
purpose with or without fee is hereby granted.
|
||
|
|
|
||
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
|
***************************************************************************** */var Hc=function(r,t){return Hc=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])},Hc(r,t)};function Yt(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Hc(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var Rs=function(){return Rs=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++){e=arguments[n];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a])}return t},Rs.apply(this,arguments)};function Eg(r,t){var e={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&t.indexOf(n)<0&&(e[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(r);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i])&&(e[n[i]]=r[n[i]]);return e}function Lg(r,t,e,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,e):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,t,e,n);else for(var s=r.length-1;s>=0;s--)(o=r[s])&&(a=(i<3?o(a):i>3?o(t,e,a):o(t,e))||a);return i>3&&a&&Object.defineProperty(t,e,a),a}function Fc(r,t){return function(e,n){t(e,n,r)}}function Wc(r,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,t)}function Rg(r,t,e,n){function i(a){return a instanceof e?a:new e(function(o){o(a)})}return new(e||(e=Promise))(function(a,o){function s(c){try{u(n.next(c))}catch(d){o(d)}}function l(c){try{u(n.throw(c))}catch(d){o(d)}}function u(c){c.done?a(c.value):i(c.value).then(s,l)}u((n=n.apply(r,t||[])).next())})}function Og(r,t){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(c){return l([u,c])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return e.label++,{value:u[1],done:!1};case 5:e.label++,i=u[1],u=[0];continue;case 7:u=e.ops.pop(),e.trys.pop();continue;default:if(a=e.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){e.label=u[1];break}if(u[0]===6&&e.label<a[1]){e.label=a[1],a=u;break}if(a&&e.label<a[2]){e.label=a[2],e.ops.push(u);break}a[2]&&e.ops.pop(),e.trys.pop();continue}u=t.call(r,e)}catch(c){u=[6,c],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}var jc=Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]};function cf(r,t){for(var e in r)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&jc(t,r,e)}function Gc(r){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&r[t],n=0;if(e)return e.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function L(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var n=e.call(r),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(o)throw o.error}}return a}function J(){for(var r=[],t=0;t<arguments.length;t++)r=r.concat(L(arguments[t]));return r}function St(){for(var r=0,t=0,e=arguments.length;t<e;t++)r+=arguments[t].length;for(var n=Array(r),i=0,t=0;t<e;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)n[i]=a[o];return n}function It(r,t,e){if(
|
||
|
|
Copyright (c) Microsoft Corporation.
|
||
|
|
|
||
|
|
Permission to use, copy, modify, and/or distribute this software for any
|
||
|
|
purpose with or without fee is hereby granted.
|
||
|
|
|
||
|
|
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH
|
||
|
|
REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY
|
||
|
|
AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT,
|
||
|
|
INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
|
||
|
|
LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
|
||
|
|
OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
|
||
|
|
PERFORMANCE OF THIS SOFTWARE.
|
||
|
|
***************************************************************************** */var Gg=function(r,t){return Gg=Object.setPrototypeOf||{__proto__:[]}instanceof Array&&function(e,n){e.__proto__=n}||function(e,n){for(var i in n)Object.prototype.hasOwnProperty.call(n,i)&&(e[i]=n[i])},Gg(r,t)};function Hr(r,t){if(typeof t!="function"&&t!==null)throw new TypeError("Class extends value "+String(t)+" is not a constructor or null");Gg(r,t);function e(){this.constructor=r}r.prototype=t===null?Object.create(t):(e.prototype=t.prototype,new e)}var nb=function(){return nb=Object.assign||function(t){for(var e,n=1,i=arguments.length;n<i;n++){e=arguments[n];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(t[a]=e[a])}return t},nb.apply(this,arguments)};function $ot(r,t){var e={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&t.indexOf(n)<0&&(e[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var i=0,n=Object.getOwnPropertySymbols(r);i<n.length;i++)t.indexOf(n[i])<0&&Object.prototype.propertyIsEnumerable.call(r,n[i])&&(e[n[i]]=r[n[i]]);return e}function Jot(r,t,e,n){var i=arguments.length,a=i<3?t:n===null?n=Object.getOwnPropertyDescriptor(t,e):n,o;if(typeof Reflect=="object"&&typeof Reflect.decorate=="function")a=Reflect.decorate(r,t,e,n);else for(var s=r.length-1;s>=0;s--)(o=r[s])&&(a=(i<3?o(a):i>3?o(t,e,a):o(t,e))||a);return i>3&&a&&Object.defineProperty(t,e,a),a}function Qot(r,t){return function(e,n){t(e,n,r)}}function qot(r,t){if(typeof Reflect=="object"&&typeof Reflect.metadata=="function")return Reflect.metadata(r,t)}function tst(r,t,e,n){function i(a){return a instanceof e?a:new e(function(o){o(a)})}return new(e||(e=Promise))(function(a,o){function s(c){try{u(n.next(c))}catch(d){o(d)}}function l(c){try{u(n.throw(c))}catch(d){o(d)}}function u(c){c.done?a(c.value):i(c.value).then(s,l)}u((n=n.apply(r,t||[])).next())})}function est(r,t){var e={label:0,sent:function(){if(a[0]&1)throw a[1];return a[1]},trys:[],ops:[]},n,i,a,o;return o={next:s(0),throw:s(1),return:s(2)},typeof Symbol=="function"&&(o[Symbol.iterator]=function(){return this}),o;function s(u){return function(c){return l([u,c])}}function l(u){if(n)throw new TypeError("Generator is already executing.");for(;e;)try{if(n=1,i&&(a=u[0]&2?i.return:u[0]?i.throw||((a=i.return)&&a.call(i),0):i.next)&&!(a=a.call(i,u[1])).done)return a;switch(i=0,a&&(u=[u[0]&2,a.value]),u[0]){case 0:case 1:a=u;break;case 4:return e.label++,{value:u[1],done:!1};case 5:e.label++,i=u[1],u=[0];continue;case 7:u=e.ops.pop(),e.trys.pop();continue;default:if(a=e.trys,!(a=a.length>0&&a[a.length-1])&&(u[0]===6||u[0]===2)){e=0;continue}if(u[0]===3&&(!a||u[1]>a[0]&&u[1]<a[3])){e.label=u[1];break}if(u[0]===6&&e.label<a[1]){e.label=a[1],a=u;break}if(a&&e.label<a[2]){e.label=a[2],e.ops.push(u);break}a[2]&&e.ops.pop(),e.trys.pop();continue}u=t.call(r,e)}catch(c){u=[6,c],i=0}finally{n=a=0}if(u[0]&5)throw u[1];return{value:u[0]?u[1]:void 0,done:!0}}}var ib=Object.create?function(r,t,e,n){n===void 0&&(n=e),Object.defineProperty(r,n,{enumerable:!0,get:function(){return t[e]}})}:function(r,t,e,n){n===void 0&&(n=e),r[n]=t[e]};function rst(r,t){for(var e in r)e!=="default"&&!Object.prototype.hasOwnProperty.call(t,e)&&ib(t,r,e)}function ab(r){var t=typeof Symbol=="function"&&Symbol.iterator,e=t&&r[t],n=0;if(e)return e.call(r);if(r&&typeof r.length=="number")return{next:function(){return r&&n>=r.length&&(r=void 0),{value:r&&r[n++],done:!r}}};throw new TypeError(t?"Object is not iterable.":"Symbol.iterator is not defined.")}function O5(r,t){var e=typeof Symbol=="function"&&r[Symbol.iterator];if(!e)return r;var n=e.call(r),i,a=[],o;try{for(;(t===void 0||t-- >0)&&!(i=n.next()).done;)a.push(i.value)}catch(s){o={error:s}}finally{try{i&&!i.done&&(e=n.return)&&e.call(n)}finally{if(o)throw o.error}}return a}function nst(){for(var r=[],t=0;t<arguments.length;t++)r=r.concat(O5(arguments[t]));return r}function ist(){for(var r=0,t=0,e=arguments.length;t<e;t++)r+=arguments[t].length;for(var n=Array(r),i=0,t=0;t<e;t++)for(var a=arguments[t],o=0,s=a.length;o<s;o++,i++)n[i]=a[o];return n}function a
|
||
|
|
* ZRender, a high performance 2d drawing library.
|
||
|
|
*
|
||
|
|
* Copyright (c) 2013, Baidu Inc.
|
||
|
|
* All rights reserved.
|
||
|
|
*
|
||
|
|
* LICENSE
|
||
|
|
* https://github.com/ecomfe/zrender/blob/master/LICENSE.txt
|
||
|
|
*/var Gf={},Ks={};function i3(r){delete Ks[r]}function a3(r){if(!r)return!1;if(typeof r=="string")return Ef(r,1)<P0;if(r.colorStops){for(var t=r.colorStops,e=0,n=t.length,i=0;i<n;i++)e+=Ef(t[i].color,1);return e/=n,e<P0}return!1}var o3=function(){function r(t,e,n){var i=this;this._sleepAfterStill=10,this._stillFrameAccum=0,this._needsRefresh=!0,this._needsRefreshHover=!0,this._darkMode=!1,n=n||{},this.dom=e,this.id=t;var a=new pB,o=n.renderer||"canvas";Gf[o]||(o=nr(Gf)[0]),n.useDirtyRect=n.useDirtyRect==null?!1:n.useDirtyRect;var s=new Gf[o](e,a,n,t),l=n.ssr||s.ssrOnly;this.storage=a,this.painter=s;var u=!pr.node&&!pr.worker&&!l?new ZB(s.getViewportRoot(),s.root):null,c=n.useCoarsePointer,d=c==null||c==="auto"?pr.touchEventsSupported:!!c,h=44,f;d&&(f=We(n.pointerSize,h)),this.handler=new uB(a,s,u,s.root,f),this.animation=new FB({stage:{update:l?null:function(){return i._flush(!0)}}}),l||this.animation.start()}return r.prototype.add=function(t){this._disposed||!t||(this.storage.addRoot(t),t.addSelfToZr(this),this.refresh())},r.prototype.remove=function(t){this._disposed||!t||(this.storage.delRoot(t),t.removeSelfFromZr(this),this.refresh())},r.prototype.configLayer=function(t,e){this._disposed||(this.painter.configLayer&&this.painter.configLayer(t,e),this.refresh())},r.prototype.setBackgroundColor=function(t){this._disposed||(this.painter.setBackgroundColor&&this.painter.setBackgroundColor(t),this.refresh(),this._backgroundColor=t,this._darkMode=a3(t))},r.prototype.getBackgroundColor=function(){return this._backgroundColor},r.prototype.setDarkMode=function(t){this._darkMode=t},r.prototype.isDarkMode=function(){return this._darkMode},r.prototype.refreshImmediately=function(t){this._disposed||(t||this.animation.update(!0),this._needsRefresh=!1,this.painter.refresh(),this._needsRefresh=!1)},r.prototype.refresh=function(){this._disposed||(this._needsRefresh=!0,this.animation.start())},r.prototype.flush=function(){this._disposed||this._flush(!1)},r.prototype._flush=function(t){var e,n=Tu();this._needsRefresh&&(e=!0,this.refreshImmediately(t)),this._needsRefreshHover&&(e=!0,this.refreshHoverImmediately());var i=Tu();e?(this._stillFrameAccum=0,this.trigger("rendered",{elapsedTime:i-n})):this._sleepAfterStill>0&&(this._stillFrameAccum++,this._stillFrameAccum>this._sleepAfterStill&&this.animation.stop())},r.prototype.setSleepAfterStill=function(t){this._sleepAfterStill=t},r.prototype.wakeUp=function(){this._disposed||(this.animation.start(),this._stillFrameAccum=0)},r.prototype.refreshHover=function(){this._needsRefreshHover=!0},r.prototype.refreshHoverImmediately=function(){this._disposed||(this._needsRefreshHover=!1,this.painter.refreshHover&&this.painter.getType()==="canvas"&&this.painter.refreshHover())},r.prototype.resize=function(t){this._disposed||(t=t||{},this.painter.resize(t.width,t.height),this.handler.resize())},r.prototype.clearAnimation=function(){this._disposed||this.animation.clear()},r.prototype.getWidth=function(){if(!this._disposed)return this.painter.getWidth()},r.prototype.getHeight=function(){if(!this._disposed)return this.painter.getHeight()},r.prototype.setCursorStyle=function(t){this._disposed||this.handler.setCursorStyle(t)},r.prototype.findHover=function(t,e){if(!this._disposed)return this.handler.findHover(t,e)},r.prototype.on=function(t,e,n){return this._disposed||this.handler.on(t,e,n),this},r.prototype.off=function(t,e){this._disposed||this.handler.off(t,e)},r.prototype.trigger=function(t,e){this._disposed||this.handler.trigger(t,e)},r.prototype.clear=function(){if(!this._disposed){for(var t=this.storage.getRoots(),e=0;e<t.length;e++)t[e]instanceof ze&&t[e].removeSelfFromZr(this);this.storage.delAllRoots(),this.painter.clear()}},r.prototype.dispose=function(){this._disposed||(this.animation.stop(),this.clear(),this.storage.dispose(),this.painter.dispose(),this.handler.dispose(),this.animation=this.storage=this.painter=this.handler=null,this._disposed=!0,i3(this.id))},r}();function o_(r,t){var e=new o3(Qw(),r,t);return Ks[e.id]=e,e}function Ist(r){r.dispose()}function Dst(){for(var r in Ks)Ks.hasOwnPr
|
||
|
|
* wordcloud2.js
|
||
|
|
* http://timdream.org/wordcloud2.js/
|
||
|
|
*
|
||
|
|
* Copyright 2011 - 2019 Tim Guan-tin Chien and contributors.
|
||
|
|
* Released under the MIT license
|
||
|
|
*/window.setImmediate||(window.setImmediate=function(){return window.msSetImmediate||window.webkitSetImmediate||window.mozSetImmediate||window.oSetImmediate||function(){if(!window.postMessage||!window.addEventListener)return null;var e=[void 0],n="zero-timeout-message",i=function(o){var s=e.length;return e.push(o),window.postMessage(n+s.toString(36),"*"),s};return window.addEventListener("message",function(o){if(!(typeof o.data!="string"||o.data.substr(0,n.length)!==n)){o.stopImmediatePropagation();var s=parseInt(o.data.substr(n.length),36);e[s]&&(e[s](),e[s]=void 0)}},!0),window.clearImmediate=function(o){e[o]&&(e[o]=void 0)},i}()||function(e){window.setTimeout(e,0)}}()),window.clearImmediate||(window.clearImmediate=function(){return window.msClearImmediate||window.webkitClearImmediate||window.mozClearImmediate||window.oClearImmediate||function(e){window.clearTimeout(e)}}());var sx=function(){var t=document.createElement("canvas");if(!t||!t.getContext)return!1;var e=t.getContext("2d");return!(!e||!e.getImageData||!e.fillText||!Array.prototype.some||!Array.prototype.push)}(),lx=function(){if(sx){for(var t=document.createElement("canvas").getContext("2d"),e=20,n,i;e;){if(t.font=e.toString(10)+"px sans-serif",t.measureText("\uFF37").width===n&&t.measureText("m").width===i)return e+1;n=t.measureText("\uFF37").width,i=t.measureText("m").width,e--}return 0}}(),p8=function(r){if(Array.isArray(r)){var t=r.slice();return t.splice(0,2),t}else return[]},v8=function(t){for(var e,n,i=t.length;i;)e=Math.floor(Math.random()*i),n=t[--i],t[i]=t[e],t[e]=n;return t},ux=function(t,e){if(!sx)return;Array.isArray(t)||(t=[t]),t.forEach(function(Ut,Bt){if(typeof Ut=="string"){if(t[Bt]=document.getElementById(Ut),!t[Bt])throw new Error("The element id specified is not found.")}else if(!Ut.tagName&&!Ut.appendChild)throw new Error("You must pass valid HTML elements, or ID of the element.")});var n={list:[],fontFamily:'"Trebuchet MS", "Heiti TC", "\u5FAE\u8EDF\u6B63\u9ED1\u9AD4", "Arial Unicode MS", "Droid Fallback Sans", sans-serif',fontWeight:"normal",color:"random-dark",minSize:0,weightFactor:1,clearCanvas:!0,backgroundColor:"#fff",gridSize:8,drawOutOfBound:!1,shrinkToFit:!1,origin:null,drawMask:!1,maskColor:"rgba(255,0,0,0.3)",maskGapWidth:.3,layoutAnimation:!0,wait:0,abortThreshold:0,abort:function(){},minRotation:-Math.PI/2,maxRotation:Math.PI/2,rotationStep:.1,shuffle:!0,rotateRatio:.1,shape:"circle",ellipticity:.65,classes:null,hover:null,click:null};if(e)for(var i in e)i in n&&(n[i]=e[i]);if(typeof n.weightFactor!="function"){var a=n.weightFactor;n.weightFactor=function(Bt){return Bt*a}}if(typeof n.shape!="function")switch(n.shape){case"circle":default:n.shape="circle";break;case"cardioid":n.shape=function(Bt){return 1-Math.sin(Bt)};break;case"diamond":n.shape=function(Bt){var Gt=Bt%(2*Math.PI/4);return 1/(Math.cos(Gt)+Math.sin(Gt))};break;case"square":n.shape=function(Bt){return Math.min(1/Math.abs(Math.cos(Bt)),1/Math.abs(Math.sin(Bt)))};break;case"triangle-forward":n.shape=function(Bt){var Gt=Bt%(2*Math.PI/3);return 1/(Math.cos(Gt)+Math.sqrt(3)*Math.sin(Gt))};break;case"triangle":case"triangle-upright":n.shape=function(Bt){var Gt=(Bt+Math.PI*3/2)%(2*Math.PI/3);return 1/(Math.cos(Gt)+Math.sqrt(3)*Math.sin(Gt))};break;case"pentagon":n.shape=function(Bt){var Gt=(Bt+.955)%(2*Math.PI/5);return 1/(Math.cos(Gt)+.726543*Math.sin(Gt))};break;case"star":n.shape=function(Bt){var Gt=(Bt+.955)%(2*Math.PI/10);return(Bt+.955)%(2*Math.PI/5)-2*Math.PI/10>=0?1/(Math.cos(2*Math.PI/10-Gt)+3.07768*Math.sin(2*Math.PI/10-Gt)):1/(Math.cos(Gt)+3.07768*Math.sin(Gt))};break}n.gridSize=Math.max(Math.floor(n.gridSize),4);var o=n.gridSize,s=o-n.maskGapWidth,l=Math.abs(n.maxRotation-n.minRotation),u=Math.min(n.maxRotation,n.minRotation),c=n.rotationStep,d,h,f,p,v,g,m;function y(Ut,Bt){return"hsl("+(Math.random()*360).toFixed()+","+(Math.random()*30+70).toFixed()+"%,"+(Math.random()*(Bt-Ut)+Ut).toFixed()+"%)"}switch(n.color){case"random-dark":m=function(){return y(10,50)};break;case"random-light":m=function(){return y(50,90)};break;default:typeof n.color=="function
|
||
|
|
|
||
|
|
//# sourceMappingURL=5.fxqum-vendor-f8aaf1fb2db7ed4b19df.js.map
|